Random Number Generator Is A Blast From The Past

Hackers love random numbers, or more accurately, the pursuit of them. It turns out that computers are so good at following our exacting instructions that they are largely incapable of doing anything that would fit the strict definition of randomness — which has lead to some elaborate methods of generating the unexpected.

Admittedly, the SB42 Random Number Generator built by [Simon Boak] isn’t exactly something you’d be using for cryptography. The method used to generate the digits, a pair of 555 timers sending pulses through linear-feedback shift registers, would at best be considered pseudo-random. Plus the only way of getting the digits out of the machine is by extracting them from the Nixie tubes with your Mark I Eyeballs. But it absolutely excels at the secondary reason many hackers like to build their own randomness rigs — it looks awesome.

Externally, it absolutely nails the look of a piece of vintage DIY year. Down to the classic white-on-black label tape. But open up the hood, and you’re treated to a real rarity these days: wirewrap construction. In an era where you can get PCBs made and shipped to your door for literally pennies, [Simon] is out there keeping the old ways alive. It doesn’t just look the part either. Unlike most modern projects we see, there isn’t a multi-core microcontroller behind the scenes doing all the work, it’s logic gates all the way down.

This isn’t the first random-ish number generator that we’ve seen use shift registers. But if you’re looking for something that might actually pass some randomness checks, and don’t mind working with something a bit spicy, you could check out some of the previous devices we’ve covered that used radioactive decay as an entropy source.

Continue reading “Random Number Generator Is A Blast From The Past”

This Vending Machine Is For The Birds

The early bird may get the worm, but [Stephen Chasey’s] birds only get to eat if they are smart. He’s created a vending machine for bird feeding. While this is a classic and simple exercise for a microcontroller, [Stephen’s] design is all op amps and 555 timers. The feeder comes on when it detects a warm body and waits for something to drop through a hole. Birds don’t have coins, so the hole will accept anything that will trigger the IR sensor within. In response, it dispenses a few peanuts. Rodents and squirrels won’t figure out the machinery, and so they can’t pilfer the peanuts meant for the pigeons — or other birds, even if they don’t start with the letter P.

A PIR sensor detects a warm body. A 555 keeps the system going for about 24 seconds after the last PIR event. Pairs of IR LEDs and phototransistors act as sensors that look through heat shrink tubing, which is, apparently, IR transparent. When a virtual coin drops through the hole, one of the sensors picks it up and starts another 555, which turns on a vibration motor. Another sensor watches for a nut to drop, which stops the motor. It also will time out after 11 seconds.

Continue reading “This Vending Machine Is For The Birds”

A Clock Timebase, No Microcontroller

Making an electronic clock is pretty easy here in 2023, with a microcontroller capable of delivering as many quartz-disciplined pulses as you’d like available for pennies. But how did engineers generate a timebase back in the old days, and how would you do it today? It’s a question [bicyclesonthemoon] is answering, with a driver for a former railway station clock.

The clock has a mechanism that expects pulses every minute, a +24V pulse on even minutes, and a -24V pulse on odd ones. He received a driver module with it, but for his own reasons wanted a controller without a microcontroller. He also wanted the timebase to be derived from the mains frequency. The result is a delve back into 1970s technology, and the type of project that’s now a pretty rare sight. Using a mixture of 4000 series logic and a few of the ubiquitous 555s [bicyclesonthemoon] recovers 50Hz pulses from the AC, and divides them down to 1 pulse per minute, before splitting into odd and even minutes to drive a pair of relays which in turn drive the clock. We like it, a lot.

Mains-locked clocks are less common than they used to be, but they’re still a thing. Do you still wake up to one?

Weird 555 Function Generator Uses Feedback

There are plenty of designs out there for sawtooth and triangle function generators, many of them using the humble 555 IC. Few are readily voltage controlled, making them difficult to work with using a DAC, though. Enter this useful design posted to EDN!

The nifty design allows both waveshape and amplitude to be controlled via voltage. You could hook up a couple of  potentiometers and call it done. Or, even better, you can control these parameters via PWM output from a microcontroller. Handy, no? It’s achieved by a fancy routing that sends feedback from the 555’s output pin to the CV input, instead of the usual design that uses the THR and TRG pins instead. The design also allows the production of both symmetrical and asymmetrical triangle waveforms, and as a bonus, the whole oscillator draws less than 4 mW of power.

If you’re looking for a nifty triangle/sawtooth generator that sits neatly in your otherwise-digital design, this could be for you. Or, you might like to explore the sheer mountain of other 555 hacks we’ve featured over the years. We even held a contest! If you’ve got new 555 hacks the world needs to see, don’t hesitate to drop them into the tipsline.

 

Test Your Capacity For Circuit Sculpture With Flashing Lights

Have you tried your hand at circuit sculpture yet? Well, if you were waiting for the ideal first project with a great build video to go along with it, keep reading. [4dcircuitry]’s 555-based flashing circuit sculpture ticks all the go-for-it boxen for us — the component list is short, the final circuit looks cool, and well, there are blinkenlights.

Of course, it’s not quite a zero-entry project. Although [4dcircuitry] makes it look oh-so easy build it in the video below, they are using 1206 components and an SOIC-packaged 555 timer here. On the other hand, they start by smartly laying everything out on double-stick tape before applying flux and soldering. Then when it’s time to run the wires that no one wants to see, [4dcircuitry] carefully tweezers it from the tape and flips it over, re-using the tape do solder up the back side.

Don’t have the patience to solder 1206? All component sizes are beautiful, as evidenced by this amazing circuit sculpture clock.

Continue reading “Test Your Capacity For Circuit Sculpture With Flashing Lights”

I See By Your Tattoo That You Are A Hacker

We spotted [Segfault]’s new tattoo on a fast failing bird app a few days ago. We thought it was nice looking piece of skin art, but without a write up couldn’t cover it. The bearer of the tattoo pointed us to this blog post about the tattoo, and now we really like it.

It’s fun on it’s own, but when you start staring at it you realize it’s full of hidden jokes and meanings. If you like puzzles, go hunting for them before you read the blog post. We also liked the reminiscence about [Segfault]’s early electronics experimentation days, and how the 555 timer IC figured prominently in them.

We’ve not covered a lot of tattoos here at Hackaday.  Mostly we cover the technology behind skin fused or embedded hacks. But occasionally some tattoo art catches our eye, as it did in this interesting barcode tattoo.

This Simple Light-Controlled Synth Has A Surprisingly Rich Sound

Audio synthesizers can range from vast racks of equipment with modules stitched together by a web of patch cords to a couple of 555s wired together in an Atari punk arrangement. This light-controlled synth comes in closer to the lower extreme of that range, but packs a sonic punch that belies its simplicity.

The project is the latest version of [lonesoulsurfer]’s “Moog Light Synthesizer,” which shares a lot of the circuitry found in his first version a couple of years ago. This one has a lot of bells and whistles, but it all starts with a PWM oscillator that contributes to the mean, growling quality of its sound. There’s also a low-pass filter that’s controlled by a couple of light-dependent resistors, which can be played by blocking them off with a fingertip. A couple of inverters form a drone oscillator that can be switched into the circuit, as well as a 555-based arpeggiator to chop things up a bit.

All those circuits, as well as support for a thirteen-key keyboard, live on one custom PCB. There’s also an off-the-shelf echo/reverb module that’s been significantly hacked to add to the richness of the sound. The custom wood and acrylic case make the whole thing look as good as it sounds.

We noted that [lonesoulsurfer]’s previous “Box of Beezz” drone synth seemed to evoke parts of the “THX Deep Note” at times; similarly, some of the sounds of this synth sound like they’d come from the soundtrack of a [Christopher Nolan] film  — check it out in the video below.

Continue reading “This Simple Light-Controlled Synth Has A Surprisingly Rich Sound”