Introduction To TensorFlow

I had great fun writing neural network software in the 90s, and I have been anxious to try creating some using TensorFlow.

Google’s machine intelligence framework is the new hotness right now. And when TensorFlow became installable on the Raspberry Pi, working with it became very easy to do. In a short time I made a neural network that counts in binary. So I thought I’d pass on what I’ve learned so far. Hopefully this makes it easier for anyone else who wants to try it, or for anyone who just wants some insight into neural networks.

Continue reading “Introduction To TensorFlow”

A Tiny Bench Power Supply

One of the more popular projects for beginners in electronics is a power supply. Yes, you can always go to Amazon and buy a nice power supply, but unfortunately, we haven’t set up our Amazon affiliate links yet. Instead, we’ll have to go with the next best thing and check out [Tron900]’s mini bench power supply build. It’s extremely capable and cute as a button.

The design goals for this project were to build a small and compact unit using mostly salvaged and recycled components, with all through-hole circuitry. The best guide you’ll ever find for a DIY power supply is one of [Dave Jones]’ earlier video series going over the construction of an adjustable power supply based on an LT3080. [Tron] didn’t have this regulator on hand and wanted to base his design around an op-amp instead. After rummaging through his parts, he found what he was looking for: a TIP3055 power transistor, a neat enclosure that could double as a heatsink and an AD680 voltage reference.

The design of this power supply was simulated in SIMETRIX, and after a few revisions [Tron] had a circuit that worked reasonably well. The circuit was populated on a piece of perfboard, a fantastic front panel was constructed, and one of those ubiquitous volt/ammeter panels added.

This is just a one-off project, but the results are fantastic. This is a very small, very capable power supply that does everything [Tron] needs. It’s accurate enough, at least when measured with a fancy benchtop HP meter, and looks adorable. What more could you want in a benchtop power supply?

ESP32 WiFi Hits 10km With A Little Help

[Jeija] was playing with some ESP32s and in true hacker fashion, he wondered how far he could pull them apart and still get data flowing. His video answer to that question covers the Friis equation and has a lot of good examples of using the equation, decibels, and even a practical example that covers about 10km. You can see the video below.

Of course, to get that kind of range you need a directional antenna. To avoid violating regulations that control transmit power, he’s using the antenna on the receiving end. That also means he had to hack the ESP32 WiFi stack to make the device listen only on one side. The hack involves putting the device in promiscuous mode and only monitoring the signals being sent. You can find the code involved on GitHub (complete with a rickrolling application).

Continue reading “ESP32 WiFi Hits 10km With A Little Help”

RadiantBee Is A Flying Microwave Antenna Calibration System

Many of the projects we link to here at Hackaday have extensive write-ups, pages of all the detail you could need. Sometimes though we happen upon a project with only a terse description to go on, but whose tech makes it one worth stopping for and unpicking the web of information around it.

Such a project is [F4GKR] and [F5OEO]’s RadiantBee, an attempt to use a beacon transmitter on a multirotor as an antenna calibration platform. (For more pictures, see this Twitter feed.) In this case a multirotor has a GPS and a 10 GHz beacon that emits 250 ms chirps, from which the receiver can calculate signal-to-noise ratio as well as mapping the spatial response of the antenna.

The transmitter uses a Raspberry Pi feeding a HackRF SDR and a 10 GHz upconverter, while the receiver uses an RTL-SDR fed by a 10 GHz to 144 MHz downconverter. The antennas they are testing are straightforward waveguide horns, but the same principles could be applied to almost any antenna.

There was a time when antenna design at the radio amateur level necessitated extensive field testing, physical measurements with a field strength meter over a wide area, correlation of figures and calculation of performance. But with computer simulation the field has become one much more set in the lab, so it’s rather refreshing to see someone producing a real-world simulation rig. If you ever get the chance to evaluate an antenna through real-world measurement, grasp it with both hands. You’ll learn a lot.

We’ve covered very few real-world antenna tests, but there is mention in this write-up of a radar antenna test of a measurement session on a football field.

Via Southgate ARC.

8-Bit Breadboard Computer Is Up To 8 Hours

[Ben Eater] posted some videos of an 8-bit computer with no CPU chip that he built completely on a breadboard a few years ago. After being asked for schematics, he finally admitted that he didn’t have any. So, instead, he decided to rebuild it and keep a video log of each step in the process. You can see his kickoff video, below, but you can also find 30 more recent videos covering topics from the ALU design and troubleshooting to the decimal LED display. He even uses an Arduino to program a EEPROM that he uses to replace a lot of logic.

You probably want to wait until you have some free time as there are around eight hours of videos so far. The videos start off with a simple 555 timer and work up from there. Each piece gets a test separate from the whole, so with luck you won’t have an impossible job trying to troubleshoot the whole thing at the end.

Continue reading “8-Bit Breadboard Computer Is Up To 8 Hours”

Wireless Nunchuck R/C Remote!

[Dan], admirably rose to the occasion when his son wanted a new toy. Being a dedicated father — and instead of buying something new — he took the opportunity to abscond to his workbench to convert a Wiimote Nunchuck into a fully wireless controller for his son’s old r/c car — itself, gutted and rebuilt some years earlier.

Unpacking the nunchuck and corralling the I2C wires was simply done. From there, he combined a bit of code, an Arduino pro mini, and two 1K Ohm resistors to make use of an Aurel RTX-MID transceiver that had been lying around. Waste not, want not.

A TI Stellaris Launchpad is the smarts of the car itself, in concordance with a TB6612FNG motor controller. The two Solarbotics GM9 motors with some 3D printed gears give the car some much needed gusto.

Continue reading “Wireless Nunchuck R/C Remote!”

Wirelessly Charge Your Phone From High Voltage Power Lines

Using nothing more than an antenna, a spark plug, a flyback transformer, a diode, and a car phone charger, [Kreosan] have implemented the world’s most dangerous cell-phone charger: wirelessly charging their phone from high voltage power lines. This is a demonstration of a hack that we thought was just an urban legend, but it’s probably best to leave this as just a demo — this one is probably illegal and definitely dangerous.

The charger works by holding an old TV aerial fairly close to high voltage overhead cables, and passing the resulting tiny current through a spark plug and a flyback transformer to ground. To charge the phone, they tapped the transformer, rectified it through a diode, and fed it into a car-plug phone charger. [Kreosan] claims to harvest enough “free” electricity to charge the phone. (Where by “free”, we mean stolen from the electric grid.)

If you regularly find yourself running out of charge and like a bit of danger why not make a power bank that looks like a bomb instead. Sure we don’t advise you take it on a plane but it seems like a much safer option than using overhead power lines.

Continue reading “Wirelessly Charge Your Phone From High Voltage Power Lines”