Organizing transistors

SAMSUNG

Late last year, [matseng] set up an interesting challenge for himself: design a new PCB every week, send it off to a fab house, and build a new project. It’s a grueling endeavor, but some of these projects are actually very useful and cool. One of the best so far is the TraId – a board that identifies a transistor type and pinout with a nice LED interface.

This build was partly inspired by Dangerous Prototypes’ Part Ninja, a board that determines the pinouts and values of transistors, resistors, caps, and diodes. The TraId is a much more cut down version usable only for transistors, displaying the orientation of the pins and type of transistor on a set of 8 LEDs.

Although the design is very sparse, we could imagine something like this being very useful in a hackerspace, lab, or anywhere else the gremlins of chaos come to reorganize parts drawers. If you’d like to build your own, all the required files are up on the gits.

Avalanche pulse generator design

avalanche-pulse-generator

This avalanche pulse generator is a great way to test your mettle as an Electronics Engineer. The challenge is to truly understand how each part of the design works. We certainly got a failing grade when first studying the schematics more than a week ago. But we’re slowly beginning to understand what’s going on under the hood.

The concept of an avalanche transistor is some wicked voodoo from the analog side of the street which leverages a transistor’s breakdown voltage to achieve a predictable result. In laymen’s terms it (mis)uses a transistor to produce a really fast pulse. The write-up linked above references several previous avalanche pulse generator designs, but this one is a bit different in how it produces about 50V from a pair of AAA batteries using a multivibrator circuit.

Even if you have no idea what’s going on here you may be interested in the last few paragraphs where the circuit is measured using a cutting-edge Teledyne LeCroy Wavemaster 820Zi-A. That’s a 20 GHz scope with a 15.3″ screen which you’ll never ever own.

Water tank level meter prevents overflow

roof-water-tank-level-meter

Most of the homes in the area where [Raikut] lives have tanks on the roof to hold water. Each is filled from a well using a pump, with gravity serving as a way to pressurize the home’s water supply. The system isn’t automatic and requires the home owner to manually switch the pump on and off. [Raikut] made this process a lot easier by designing an LED bar indicator to monitor the water level.

The sensor is very simple. Each LED is basically its own circuit controlled by a transistor and a few resistors. A 5V signal is fed from 7805 linear regulator into the tank. The base of each transitor is connected to an insulated wire, each extending different depths in the tank. As the water rises it completes the circuit, illuminating the LED.

[Raikut] is conservation minded and built a buzzer circuit which is activated by the LED indicating the highest water level. If someone walks away from the pump switch while it’s filling the alarm will sound as it gets to the top and they can turn it off before it wastes water.

[via Reddit]

Bluetooth headset garage door opener update

bluetooth-headset-garagedoor-opener-update

[Lou Prado] sent in a link to his new video on using a Bluetooth headset as a garage door opener for your Android device. This isn’t a new hack, and we’ve actually seen him pull it off once before back in 2011. But we’re running this as an update for a couple of reasons. First off, we had forgotten about the hack and it’s worth revisiting. Secondly, the headset which he used with the initial hack has gone out of production. He chose a new model, and the assembly video (embedded after the break) which he made is a treasure trove of best practices to use when hacking consumer electronics.

Here’s how the hardware part of the hack goes. He removes the speaker from the headset and solders the base of a transistor in-line with a resistor to the red wire. The emitter connects to the grounded frame of the USB charging cable which is plugged into an outlet next to your garage door opener. The collector of the transistor is then connected to the garage door opener, along with a common ground connection, allowing audio from the headset to trigger the transistor to open the door.

The systems is secure based on Bluetooth pairing, which was done with his phone before starting the hardware hack.

Continue reading “Bluetooth headset garage door opener update”

How computers work, starting with transistor gates

[Andrew Gibiansky] has just started a tutorial series called Computing with Transistors. It’s purpose is to pull back the many veiled layers between high level languages and the controlling of electrons. And fittingly this first post starts off by explaining voltage source, load, and current. Don’t be thrown by its simplicity though. [Andrew] quickly moves on to talk about switching transistors and how they are used to build gates like the OR NOR gate seen above.

If this is the least bit interesting you should also look back at the post about Nand 2 Tetris. It’s an online course that works its way through The Elements of Computing Systems text book. We’ve been following that journey ourselves, having made it through the hardware build in about a week. The assembler took about the same amount of time, and right now we’re in debugging hell trying to get the last function call and return parts of the VM translator to work right. We’ve used most of the skills needed in this journey before, but never all in one project. It really has shed a lot of light on the gaps in our knowledge, and we’re having a lot of fun at the same time!

[via Reddit]

Robot servo control using smartphone audio jack

[Jim] has an old Android phone he’d like to use as a Robot brain. It’s got a lot of the things you’d want in a robot platform; WiFi, Bluetooth, a camera, an accelerometer, etc. But he needed some way to make the mobile, mobile. What he came up with is a chassis with servos that can be controlled by the phone’s audio port.

To start his adventure he crafted a square wave audio file in Audacity and then played it back on the Android music player. By monitoring the output on an oscilloscope he found the wave was well produced, with peaks of about 1V. With that in mind he designed a circuit using two transistors to amplify the signal, thereby creating a usable input for the servo motors. Each motor has one of these circuits connected to it, with the left and right channels from the audio jack driving them separately. In the clip after the break you can see he even wrote a simple Android app to extend the idea to a more usable level.

This is a similar technique as used by the recon robot we saw about a year ago.

Continue reading “Robot servo control using smartphone audio jack”

Junkyard scavenging nets a tachometer to play with

We never thought to hit the automotive junkyard to find electronics we could play with. But [Istimat] was able to pull this working tachometer from an otherwise destroyed motorcycle dashboard. The Kawasaki part has just three pins on the back of it. By connecting 12V to the IGN pin, ground to GND, and tapping a 12V wire on the unlabeled pin he was able to make the needle dance and knew he was getting somewhere.

His microcontroller of choice for the project is an Arduino board. But the 5V logic levels aren’t going to put out the square wave needed to drive the device. A search of the internet led him to a 2-transistor circuit which lets him get the results seen in the video. His plan is to add functionality that uses the Arduino to pull data in from just about any source and display it on the dial. That computer desk that featured all the CPU load readouts immediately comes to mind.

Do you think the square wave circuit is more complicated than necessary? Could this be done with just one NPN transistor and a pair of resistors?

Continue reading “Junkyard scavenging nets a tachometer to play with”