Hackaday Prize Entry: High Speed Sampling For The Raspberry Pi

The Raspberry Pi has become a firm favorite in our community for its array of GPIOs and other interfaces, as well as its affordable computing power. Unfortunately though despite those many pins, there is a glaring omission in its interfacing capabilities. It lacks an analogue-to-digital converter, so analog inputs have to rely on an expansion card either on those GPIOs or through the USB port.

Most people remain content with simple ADCs such as Microchip’s MCP3008, or perhaps a USB sound card for low frequency moving targets. But not [Kelu124], he’s set his sights on something much faster. The original Pi is reputed to be capable of handling a 10Msamples/s ADC, so he thinks its faster successors should be able to work much faster. To that end, he’s created an ADC pHAT which he thinks should be good for twice that figure.

The choice of silicon is a CA3306E, a 6-bit device that’s rated at 15Msamples/S. It’s something of a dated device as is shown by its DIP package, and a quick look through major suppliers shows it to be no longer available. Happily though, when you look at his GitHub repo it emerges that he’s also producing a board based on the ADC08200, so his software is targetable at other chips.

Whether or not you need your Pi to serve as video digitizer or high-speed instrument, it’s useful and interesting to take a look at a board like this one in action. We often don’t use the raw power of our single board computers, and this project proves that should we ever need to, we can.

If ADCs interest you, take a look at [Bil Herd]’s series on delta-sigma ADCs.

Thanks [Fustini] for the tip.

Vintage Vending Machine Makes The Perfect Gift

Nothing says ‘I Love You’ like an old vending machine, and if it is a restored and working vintage Vendo V-80 cola dispenser then you have yourself a winner. [Jan Cumps] from Belgium was assigned the repair of the device in question by a friend. He started off with just a working refrigerator and no electronics. In a series of repairs, he began with replacing the mechanical coin detector’s switches with optical and magnetic sensors to detect the movement of the coin. These sensors are in turn connected to an Arduino which drives the dispensing motor. The motor itself had to be rewound as part of the repair. Since the project is on a deadline, the whole thing is finished using protoboards and through-hole parts. The final system works by dispensing one frosty bottle every time a coin is inserted.

In contrast to most vending machine repairs, this project was a simple one. Instead of using an off-the-shelf coin detector, a simple LED and photodiode pair brought the hack to life. This could easily be adapted to any machine and even be used to create a DIY vending machine on the cheap.  Continue reading “Vintage Vending Machine Makes The Perfect Gift”

TI 99/4A Weather Station

If you still have a drawer full of slap bracelets from the 1990s because, you know, they might come back, then you’ll appreciate [Vorticon’s] latest project. Sure, we see lots of weather stations, but this one is controlled by a TI 99/4A computer. This home computer from the 1980s was actually ahead of its time with a 16-bit processor.

The sensors use Xbee modules and an Arduino Uno. Of course, the Uno has more power than the TI computer, but that’s not really the point, right? He’s made a series of videos detailing the construction (you can see the first one below, but there are five, so far).

Continue reading “TI 99/4A Weather Station”

U.S Air Force Is Going To Get Hacked

[HackerOne] has announced that US Dept of Defense (DoD) has decided to run their biggest bug bounty program ever, Hack the Air force.

You may remember last year there was the Hack the Pentagon bug bounty program, Well this year on the coattails of last year’s success the DoD has decided to run an even bigger program this year: Hack The Air force. Anyone from “The Five Eyes” countries (Australia, Canada, New Zealand, the United Kingdom and of course the United States) can take part. This is a change in format from the Pentagon challenge which was only open to U.S citizens and paid out a total of around $75,000 in bug bounties.

Now obviously there are rules. You can’t just hack The Air Force no matter how much you want “All their base are belong to you”. The DoD want computer hackers to find bugs in their public facing web services and are not so much interested in you penetration testing their weapons systems or any other critical infrastructure. Try that and you may end up with a lovely never-ending tour of Guantanamo Bay Naval Base.

Afroman Makes A UHF Oscillator From A Potato

If you have ever worked with simple logic gates, there is a good chance that at some point you will have built a ring oscillator from a chain of inverters. With the addition of a resistor and a capacitor, you can easily make a square wave oscillator up into the megahertz range with standard logic chips.

[Afroman] received some rather special logic chips, from an unexpectedly named company, Potato Semiconductor. They specialise in making versions of common 74 series logic that smash the usual 100+ MHz barrier of the faster conventional 74 series chips, and extend their bandwidth up to over 1 GHz. Using one of their 74GU04 parts, he made a ring oscillator relying only on the stray capacitances of its gate inputs for its timing, and while he didn’t manage to achieve a GHz he did measure it at about 373 MHz. He took a look with a spectrum analyser, and as you might expect from a logic circuit found strong harmonics in the GHz range.

Now normally there would be no news in someone making a ring oscillator with a 7404. It really wouldn’t be a hack with a run-of-the-mill 74LS or 74HC part. But this Potato part is sufficiently unusual that it deserves a bit of attention in its own right. After all, we’re not used to logic chips that can work at those kinds of frequencies.

We’ve put his video below the break. Meanwhile, the Potato Semiconductor website makes for an interesting browse, and proves that there is plenty of life left in the venerable 74 series.

Continue reading “Afroman Makes A UHF Oscillator From A Potato”

The Mother Of All Belt Grinders

It seems like everyone is building belt grinders these days. You might think [Jeremy Schmidt] is just hoping on the bandwagon, but you’d be wrong. He took a full two years to design the perfect belt grinder for his needs. Now he’s built his perfect beast, and we must say, it’s quite impressive!

[Jeremy] had seen grinders which can tilt, but most of them tilt the entire machine, including the table. He designed his machine with an independent table. This means the belt can be placed at any angle, while the table remains flat. He’s achieved some really interesting finishes with a course grind on a 45-degree angle to the workpiece.

No build is without its problems. In [Jeremy’s] case it was building the box which acts as a receiver for the machine and the tables. Regular square tube stock wasn’t quite rigid enough, so bar stock was the way to go. The first attempt at building the box resulted in a warped tube, due to the stresses of welding. [Jeremy] was more careful the second time, moving from section to section of the four welds. This kept the heat from building up, and the box stayed straight.

The final result is an incredibly rigid machine which definitely will withstand anything that [Jeremy] can throw at it.

If you want to see more belt grinders at work, check out [Bob]’s treadmill belt grinder, or [Mike’s] conversion.

Continue reading “The Mother Of All Belt Grinders”

A LED Strip Clock As Linear As Time

We love custom clocks here at Hackaday, and are always thrilled to see each inventive means of time-keeping. In a seldom-seen take on the familiar device, the [Bastel Brothers]’s LED Strip Clock’s sleek profile finds itself in good company.

The clock is a two-metre strip of 60 LEDs; every minute past the current hour corresponds to one lit LED, every fifth LED is turned to red in order to make reading minutes easier. So 3 red LEDs +3 green LEDs=18 minutes, with the hour marked by a third color. Sounds complex, but the [Brothers] are quick to say you get used to it quickly, especially when the 6 o’clock LED is centered at some noticeable object or feature.

Continue reading “A LED Strip Clock As Linear As Time”