Broadcast Engineer at BellMedia, Computer history buff, compulsive deprecated, disparate hardware hoarder, R/C, robots, arduino, RF, and everything in between.
2504 stories
·
3 followers

Why Doesn’t IRON MAN’s Suit Kill Him? [Science Video]

1 Share

¨

It doesn’t kill him because SCIENCE! And Future Science!

hy doesn’t Tony Stark’s insides turn into goo as he accelerates in his suit? Kyle dives into the inertia of Iron Man on Because Science.

[Nerdist]

The post Why Doesn’t IRON MAN’s Suit Kill Him? [Science Video] appeared first on Geeks are Sexy Technology News.

Read the whole story
Share this story
Delete

Your Arduino Packaging Could Sway a Court Case

1 Share

Our friends over at Adafruit just made an interesting suggestion regarding the Arduino vs. Arduino saga. They noticed that the packaging for the Arduino UNO includes a pamphlet that states:

Manufactured under license
from Arduino by
SMART PROJECTS S.r.l.

Wow. That’s pretty interesting. Smart Projects is the former name of Arduino SRL. If you missed it, go back and read some of our previous coverage. Specifically, Arduino SRL is claimingto be the real trademark holder and has gone as far as forking the Arduino IDE and upping the version number in what appears to be an attempt to direct users toward their newly founded Arduino.org website/ecosystem/quagmire. If they feel they own the trademark why would they include this statement in their packaging?

Finding this in the a unit from a September 2014 is interesting. But Adafruit’s post is a call to action. We share their curiosity of discovering how far back official Arduino hardware has included such license notices. So, head on down to your work bench… start peeling back years worth of discarded hacks, clipped leads, fried servos, and other detritus. Find the packaging and take a picture. Bonus points if you have an invoice that associates a date with it. Either way, post the pictures on your social media hub of choice with #TeamArduinoCC. You can also embed it in the comments using HTML IMG tags if you wish.

Standard “I am not a lawyer” disclaimer applies here. We know you aren’t either so let’s all share what we think this means to pending lawsuits in the comments. Does this matter and why?


Filed under: Arduino Hacks , Hackaday Columns
Read the whole story
Share this story
Delete

A Scary Powerful Jacob’s Ladder

1 Share

What to do with an extremely high voltage transformer and power supply… what to do…  what to do… Short it out Jacob’s Ladder style of course! Fresh from [Gristronics], a team of hackers had the opportunity to play around with a 11,000V transformer… and some copper pipe.

It’s 2.5m tall (just over 8′) and produces an awe-inspiring electrical arc. The transformer takes in 240V and spits out 11,000V. To help stabilize it, they’re even using some microwave oven capacitors to act as a ballast. The transformer is affectionately named “Betsy”. They even have a giant contactor (think relay with steroids) to act as the main switch.

During the initial setup, they noticed it wasn’t working very well, so they setup a camera to record at 240fps to see what was going on — turns out the coils were shorting to each other. After fixing the insulation, they got it working consistently — and holy cow is that a big arc.

If you watch to the end, they even show off some close up images of the copper pipe — pretty cool to see the damage caused by the electricity in a close-up.

[Thanks for the tip Patrick!]


Filed under: misc hacks
Read the whole story
Share this story
Delete

Driving A Brushless DC Motor Sloooooooowly

1 Share

Driving a brushless DC (gimbal) motor can be a pain in the transistors. [Ignas] has written up a nice article not only explaining how to do just this with an Arduino, but also explaining a little bit on how the process works. He uses a L6234 Three Phase Motor Driver, but points out that there are other ways to interface the BLDC motor with the Arduino.

warningA warning is warranted – this is not for the faint of heart. You can easily destroy your microcontroller if you’re not careful. [Ignas] added several current limiting resistors and capacitors as advised in the application note (PDF warning) to keep things safe.

Everything worked well at high speeds, but for slower speeds the motor was choppy. [Ingus] solved this riddle by changing over to a sine wave to drive the motor. Instead of making the Arduino calculate the wave, he used a look up table.

Be sure to check out his blog for full source and schematics. There is also a video demonstrating just how slow he can make the motor move below.


Filed under: Arduino Hacks
Read the whole story
Share this story
Delete

VCF East X: The Mega Mix

1 Share

The Vintage Computer Festival East was last weekend, and now it’s time to wrap everything up. We’re going to start this off with a video of the biggest, most intolerable jerk on the planet walking around the boardwalk at Ashbury Park. Thanks to [Fran] for filming it.

That video, despite the wretched casting director, included the reveal of the PDP Straight-8, the 50-year-old minicomputer that was repaired and refurbished by [David Gesswein] just this year. You can see some pictures of that and more below, and a little more on [David]’s website.

DSC_0253 DSC_0251 DSC_0252 DSC_0250

DSC_0250 DSC_0251 DSC_0252 DSC_0253

Music

Old computers mean chiptunes, the bleeps and bloops of SIDs, POKEYs, and those weird Yamaha things, right? Nope. [Anthony Stramaglia] exhibited a Fairlight CMI, one of the first digital sampling synthesizers. This is actually [Bob Moog]’s Fairlight. Before digging into the the technical details and pics, here’s a short jam session:

The Fairlight CMI is basically a dual-CPU computer based on the 6800. The computer includes two 8″ floppy drives for storing samples, and a number of voice cards to buffer and play the samples. A green CRT (with a lightpen) is the UI, and yes, you can draw samples on it. It’s an awesome piece of tech that can be heard on just about every record made in the 80s.

DSC_0364 DSC_0359 DSC_0361 DSC_0360 DSC_0361 DSC_0360 DSC_0359 DSC_0355

Apple Oddities

A working Lisa 1
A working Lisa 1

The Apple Lisa was released in early 1983 at a price of about $10,000 USD. Nearly all of these units were defective, with the Twiggy floppy drives failing left and right. In 1984, Apple released the Lisa 2 for about $5,000 USD, replacing the Twiggys with reliable Sony disk drives. The Lisa 1s were quietly disposed of. You would be correct to assume that Lisa 1s are incredibly rare, and a working Lisa 1 is nearly unheard of.

[Cory Little] brought in a few of the rarer Apples for his exhibit. Included is a IIc+, with the terrible LCD, a III+, a Lisa 1 and Lisa 2, and a very interesting Apple I that is completely wire-wrapped, just like the [Woz] original.

A working Lisa 1 DSC_0256 DSC_0336 DSC_0340 Autographed by Woz IIc+ with the LCD The underside of the wire-wrap job DSC_0337 DSC_0339 DSC_0337 The underside of the wire-wrap job DSC_0336 DSC_0256 Autographed by Woz DSC_0339 IIc+ with the LCD DSC_0340 A working Lisa 1

The Consignment Shop

If you go to a Vintage Computer Festival, you’re going to come away with more than you came in with, and I’m not talking about a deeper appreciation of the history of recent technology. No, people are selling old computers here, and there are some goodies.

The appreciation of mechanical keyboards Eventually sold for $200 A guy came in with a box of core memory boards. He sold them for less than $10/board. The supply/demand/cost curve was all kinds of screwed up on this one. DSC_0171 DSC_0176 Terminal keyboard for two dollars They sold out of all the ET cartridges. If someone knows what this weird style of 80s art is, tell me. A bizarre digitizer for a trash 80. Used for CAD, drafting, etc DSC_0183 Good lord An AT&T UNIX system keyboard. Not shown - the UNIX system. Because the two guys that bought it bought just about everything. Emates! They all needed power adapters, but they only cost about $30-$40.

That’s just about it from VCF East X, at least until the videos from [Brian Kernighan] and [Bob Frankston] are uploaded. Until then, I will leave you with this:

k 2


Filed under: classic hacks, cons , Featured
Read the whole story
Share this story
Delete

Logic Noise: Sequencing in Silicon

1 Share

In this session of Logic Noise, we’ll combine a bunch of the modules we’ve made so far into an autonomous machine noise box. OK, at least we’ll start to sequence some of these sounds.

A sequencer is at the heart of any drum box and the centerpiece of any “serious” modular synthesizer. Why? Because you just can’t tweak all those knobs and play notes and dance around at the same time. Or at least we can’t. So you gotta automate. Previously we did it with switches. This time we do it with logic pulses.

The 4017 Decade Counter

The featured chip this session, the one that gets it all done, is the 4017 Decade Counter. It’s a strange chip, left over from the days when people wanted to count things using IC logic chips instead of just running the input into a microcontroller. But therein lies its charm and usability.

4017_pinout

At its simplest, you input a clock signal and one of ten different outputs (Q0-Q9) is set high while the others are all low. On the next rising edge of the clock, the next output is set high and the previous is set low. This goes on until the count loops around the end.

One feature that makes the 4017 super useful is the reset pin. When a high voltage is set on reset, the first output (Q0) is set high and all the others zeroed out — the chip starts counting at zero again. The cool trick here is that you can connect the reset pin up to one of the Q outputs and the counter will automatically reset once it reaches that output. If reset is connected to Q2, for example, the count will go Q0 then Q1, and then immediately reset back to Q0 again: Q0, Q1, Q0, Q1… If you wanted an octal (divide by eight) counter, you just hook the reset pin up to Q8.

4017_timing

Eight steps is pretty standard (boring?) and you can get nice groove patterns by selecting odd sequence lengths. But if you want your standard drum machine, hooking the reset up to Q8 is the way to go.

Looking at the timing diagram, notice that the reset pin can also be used asynchronously. That is, the chip will reset as soon as the reset line goes high — it doesn’t wait to finish the current clock cycle. Here, for instance, we hit reset while clock step five (on Q4) was still active.

Async reset means that your reset source can come from outside the 4017 chip and its counter. For instance, you could connect the reset line through a pushbutton to VCC and reset the sequence at will. (If you do this, consider a pulldown resistor on the reset line to keep the voltage level well-defined when the button isn’t pressed.)

There are two more pins left over. The “Carry Out” pin is low when Q0-Q4 is high and high when Q5-Q9 are high. When the chip is counting up to ten, this produces a nice square wave with a cycle once for every ten counts. As the name suggests, this can be fed into another 4017’s clock input and you’ll have a count-to-100 device. Chain up the next carry out to a third 4017, and you can count up to 1,000 clock pulses. (Tie all the reset lines together to zero them at once, if you’re actually counting.) Carry out is less useful for us, but we’ll play around with it a tiny bit next session anyway.

Finally, there’s the “Inhibit” pin. In most implementations of the 4017 chips, setting inhibit high makes the chip ignore the incoming clock pulses. Some manufacturers’ chips have some slightly more clever logic where the inhibit line can be dual-purposed to count up for high-to-low transitions if the “clock” line is held low and the “inhibit” line toggled. We’ll not be using this feature, so just remember to tie the inhibit line (pin 13) to ground so that it’s not glitching around.

Back to what matters here. We’ve got a chip that’ll put out logic voltage signals on one pin after the other, clockable and resettable. That’s the heart of a simple sequencer. Most of what we’ll be doing this session is making these voltage steps play well with our quick-and-dirty CMOS logic synth modules.

The Basic Sequencer

The sequencer that we’ll be building up this session is nothing more than a 4017 clocked by a 40106-based oscillator that’s running at a “tempo” frequency rather than at audio rates. Indeed, you could stop there. But for the low, low price of another 4017 logic chip, some LEDs and resistors, you can have something deluxe.

Our version of this simple sequencer is going to be built from two 4017s with the clock and reset lines in common between them. This means that the two 4017’s will run in lockstep with one another at all times. We can use one 4017 for driving our synth devices and the other for driving ten status LEDs, without having to worry about the LEDs pulling the output voltages low if they draw too much current.

dual_4017s.sch

 

Of course, if you don’t want the LEDs, you can entirely omit the second 4017 from the circuit. Or if you’re feeling lucky, you could hang the LEDs off of the signal outputs directly. But since we’ll be already demanding a little bit more current from the 4017s than they’re designed for, we think it’s easily worth the extra chip for insurance and convenience. Plus, it makes for a lot cleaner layout on the breadboard.

Gating Oscillators with the 4017 Sequencer

The first thing you’d probably like to do with the sequencer is to play a bunch of notes. The quick-and-dirtiest way to do that with our current setup is to construct one oscillator per note you’d like to play and then have that oscillator sound only when the corresponding “Q” output of the 4017 is set high. That should be easy enough, and it is.

If you remember back from our first session, we used a diode to create a hard-sync oscillator sound by gating one oscillator with another. The oscillators all work by charging up a capacitor through the feedback resistor, recall, so if you can drain enough current out to prevent the capacitor from charging up, you can silence the oscillator.

4017_and_oscillators.sch

 

First look at the single audio oscillator on the top right, connected to the 4017 through input “A”. When the corresponding 4017 output is low, whatever current passes through the feedback resistor (RV2) to charge up the capacitor (C2) will get sucked out the diode (D1) into the 4017, and the oscillator won’t oscillate. When the 4017’s output is high, the diode blocks and the oscillator is free to do its thing. Easy and done.

The Diode OR Gate

But what if we want one note to fire multiple times? Here’s an interfacing trick that can be handy, called “Mickey-mouse” logic or less imaginatively, diode logic. The idea is that you can set up the desired default logic state with a pull-up or pull-down resistor, and then override it with signals coming in through a bunch of diodes. To add more inputs to the OR all you have to do is add more diodes to the circuit, which makes it useful when you need something odd like a seven-way OR function.

diode_or.schConsider inputs B, C, and D in this snippet from our full schematic. When none of B, C, or D are high voltage, none of the diodes (D2-D4) will be conducting, and the pulldown resistor (R3) will set the voltage going into diode D5 low, pulling current out of the oscillator and stopping it from working. When any of B, C, or D are logic high the 4017 will pass current through the corresponding diode and out to the junction with the resistor. When this point is high, the diode D5 won’t conduct and the oscillator runs, just as in the single-step version above it.

Why the diodes D2-D4? If one stage of the 4017 is high, say B, the other two must be low. Without the diodes in the circuit, we’d be shorting the two pins of the 4017 together, and all bets are off about the voltage at the junction labelled “Diode OR”. These diodes keep one pin of the 4017 from fighting with another.

Picking the value for the resistor in the diode OR circuit is a little critical. It needs have a low enough resistance that it can pull down the oscillator circuit. So R3 needs to be less than the value we’ve got dialed in on the variable resistor that tunes the oscillator (RV3). But R3 needs to be large enough that when the 4017 pushes its high voltage through the output diodes, the voltage at the junction rises enough to block diode D5.

The 4017 is only specified for an input or output drive current of three milliamps with a 10V supply, and only one milliamp at 5V, which means that we should use a pulldown resistor no smaller than 2.2K as a pulldown if we want a voltage higher than VCC/2 at the diode OR’s junction. Use something even larger helps reduce the demand for current on the 4017.

Indeed, it’s this requirement for the 4017 to source a bunch of current that motivates using a second 4017 to handle the LEDs. Our 4017 datasheets only specifies three milliamps of output drive or sink current connected to a 10V supply. (And this drops to one milliamp at 5V VCC.) With 1K resistors on the LEDs, we’re probably already drawing five to ten milliamps — way more than the chip is specified for. Adding more load to a single 4017 chip to drive the diode OR, or even more outputs, is asking for trouble. You could imagine buffering each output of the 4017, but at some point it’s just easier to toss another 4017 into the design.

Anyway, technical details aside, that handles controlling individual oscillators from the sequencer. And we’ve seen how to run one oscillator from multiple sequencer stages. With six oscillator per 40106 chip, you should be able to make reasonable melodies with a minimum of parts.

Gate-to-Trigger Pulse Circuit

Now it’s time to drive our percussion. If you remember the two-diode VCA from our Cowbell session, we actually built out a “gate to trigger” converter. In modular synth lingo, a “gate” signal is a logic signal that stays high as long as (for instance) a key is pressed, and then drops back down low instantly when it’s released. The 4017’s individual outputs look a lot like a gate signal — each output is high during its complete step and only during its step. Or cymbal’s decaying amplitude circuit, on the other hand, needed a quick pulse at the start of the step, called a “trigger” signal.

diode_vca_interface.sch

At the heart of the gate-to-trigger circuit is a capacitor (C1). Changes in voltage on one side of the capacitor let a bit of current through until the capacitor has charged up enough to resist further current. This turns the leading and trailing edges of our gate signal into positive and negative spike pulses.

We choose to only pass the positive voltage spike by using a diode (D5). The remaining problem, that we glossed over in the Cowbell session, is that the negative spike doesn’t pass through D5. In fact, without the diode pointing up from ground (D7) in the circuit, the right-hand plate of the capacitor C1 would get stuck at a negative voltage with respect to ground. Additional positive pulses sent through from the 4017 on the left-hand side would maybe raise the voltage up as high as zero volts, but certainly wouldn’t be enough to pass through diode D5 and make a sound. In short, you’d have one hit and then you’d never hear it again.

The diode up from ground (D7) prevents this situation by charging the right-hand side of C1 up to at least a diode-drop less than 0V after each negative spike. This makes the gate to pulse circuit work a little bit like a pump; when charge is pushed through the capacitor from the 4017 side, it passes through D5, and when charge is pulled back the other way it is sourced through the D7 “check valve” from ground.

If you buy that analogy, the rest of the cymbals interface circuit should be clear. A diode OR on the left-hand side allows multiple cymbal hits. Again, the choice of the pulldown resistor is important, but here there is a lot less demand for it to be tiny. The resistor R2 is only responsible for discharging the left-hand side of capacitor C1 between hits. If you’re running fast sequences, experiment with lower values.

Variable Trigger Pulse for the Twin-T Drum

Again, for the bass drum sound, we’re going to need a gate-to-trigger circuit, and aside from using a smaller capacitor than the one above, it’s just the same. But one thing we really like about twin-t drum circuits is the volume dynamics across different input voltage spikes. That is, if you hit the twin-t with a small voltage spike it’s quiet, and if you hit it with a large voltage spike it gets loud. Adding in this kind of variation into your drum patterns make them sound less robotic, so it’s worth thinking about and spending a couple of resistors on. And indeed, that’s all that we’ll need.

4069_drums_interface.sch

This circuit combines the outputs from the 4017 in an effective voltage divider. Since only one of the 4017’s outputs will be high at any given time, we can figure this out pretty quickly. When A goes high, there’s a voltage divider to ground formed by the 22K resistor R1 and the two 100K resistors in parallel, R2 and R3, for 50K. The voltage output at the junction of the resistors is 22 / 72 * VCC, or about 2.75V with a 9V supply.

When either of B or C is high, the effective resistor to ground has the parallel resistance of 22K and 100K resistors, or 18K. The resulting voltage spike has a peak around 1.4V, so it sounds a bit quieter. All of these pulses have to pass through the diode D1 as well, so they’re probably attenuated even further. You can just play around with the values until they sound right.

Output Mixer and Final Details

Finally, all of the various sound sources are combined simply by passing them through 100K resistors and connecting them together at the amplifier’s input. This simple summing “mixer” is quick and dirty and works just fine. If you want one sound source quieter or louder, you can change these resistor values within reason: how much you can get away with depends on the input impedance of the amplifier you’ve got it hooked into. Factors of two are probably OK. Experiment.

A more engineered solution involves removing the DC offset from each sound source and summing them (probably with variable gain) using operational amplifiers or similar. That’s a great idea, but that’s also another project in itself.

Inspiration

The classic 4017-based sequencer is the “Baby 10“.  The original was intended to drive voltage-controlled analog gear, so it put out an adjustable voltage with each step in addition to the on-off gate signals that we’re using. If you’ve got anything that’ll take control voltages, it’s easily worth the ten potentiometers to build out a full Baby 10. You’ll find tons of links on the web.

Next Session

This session was all about sequencing for control. Next session we’ll go back to crazy. We’ll continue to use the 4017, although next time in “unexpected” ways. But the main attraction is going to be a shift register, specifically the 4015. Mayhem ensues!


Filed under: digital audio hacks, Featured, musical hacks, slider
Read the whole story
Share this story
Delete
Next Page of Stories