A few weeks ago, [sentdex] described how Python has changed his life. In particular, it has allowed him to mine Bitcoin automatically, teach other people programming, and realize a full in-car computer for less than $100 using a Raspberry Pi.
It’s based on a model B, which he’s enclosed in a beefy Pi camera case that sits on the dash of his Honda S2000. The screen is a $17 internet special with composite in, which keeps the BOM way down. A 3A switch wired into the ignition ensures that power to the Pi is not rudely interrupted.
A script takes the Pi directly into desktop mode when [sentdex] starts the car. His main goals for the project were setting up a dash cam and communicating with the OBD computer. The Pi pulls various data points including the throttle position, and the user moves through the list with the arrow keys of one of those roll-up keyboards.
In the future, he’d like to upgrade it to live graph the throttle position and add a sensor to show the brake position. Be sure to check out the walk-through/demonstration video after the break.
Continue reading “Delicious Dash Pi Driving Data”
A speaker is just about the simplest electronic component possible, just barely more complex than resistors and wire. They’re also highly variable in their properties, either in size, shape, frequency response, and impedance. Obviously, building custom speakers would be of interest to a lot of people, but there aren’t many people out there doing it. [Madaeon] is one of those people. He created a speaker from scratch, using nothing but magnets, wire, and a bit of UV curing resin.
The frame of the speaker contains a magnet, and the coil of wire is carefully attached to the 0.1mm thin speaker cone with a bit of UV curing resin. All the parts are available on Thingiverse, but you will need a UV resin printer with a low layer height to print this thing out.
The speaker was built by [madaeon] as a demonstration of what the printer he built can do. It’s a fairly standard resin-based 3D printer built around a DLP projector. It’s also cheap, and unlike some other cheap resin-based 3D printers, there’s a reasonable likelihood his will ship within the next few months.
[Pete] needed a rotary encoder for one of his project so he set out to build his own. As the name implies, a rotary encoder measures rotation by encoding “steps” into electrical signals which can be measured by a microcontroller (or used in numerous other ways). Knowing the degrees of movement for each step will allow you to calculate precise distance traveled in applications like robot wheels. Or you can simply use the rotating shaft as an input device which navigates menus or settings.
This concept is a good one to understand. We had originally planned to build rotary encoders for the multi-person Duck Hunt at Hackaday’s 10th Anniversary but the build-off crew had difficulty getting the system to work. In [Pete’s] case he’s using photointerrupters (apparently the IR beam is easily detected through the white paper but usually these parts would be cut out of the disk). We were using reflectance sensors. Either way there’s a trick to detecting which direction a rotary encoder is turning. We’ll explain that for you after the break.
Continue reading “Which Way Are We Going? Concepts Behind Rotary Encoders”
This tidy little ARM board is the Arietta G25. It’s based around an AT91SAM9G25 which is an ARM9 chip running at 400MHz. Paired with the DDR2 RAM (in 128 or 256 meg options) to the left, the board runs Linux and runs it well. After the break you can see the obligatory running of Doom. But in this case it doesn’t just run a demo, but is playable from momentary push buttons on a breadboard (props to the Arietta team for using wire wrap for that setup).
See the vertical row of pads between the processor and the SD card slot? That’s a breakout header designed to accept a WiFi module. In at €20-30 based on your RAM choice and just €7 for the WiFi module this board is certainly a contender for any embedded Linux projects. But it does have us wondering, should be thinking of these as ARM boards, or forget the low-level development and just think of them as a Linux machines with plenty of GPIO available?
The 20×2 pin header breaks out a lot of the SAM9’s features. We really like the interactive pinout posted for this device. For instance, there are three sets of USB host lines available. But you’ll want to click on each to see that one set is in use for the SD card, and another is used by the WiFi module. The documentation that has been posted for the Arietta G25 is one of its strongest point. Nice work there!
Continue reading “Arietta G25 Has Us Wondering Where ARM Boards Are Going”
[Ben Krasnow] has an inimitable knack for choosing the most interesting concepts for his experiments. We’re sure it’s a combination of base knowledge and epic-curiosity. This time around he’s showing off a vintage cigarette lighter whose quirk is not needing to be “struck” to produce a flame. It’s a catalytic lighter that uses platinum to ignite methanol vapors.
The concept shown in the video below is platinum’s catalyst properties with some types of flammable gasses. The image above shows the cap of the lighter which includes a protective cage around a hunk of fine platinum powder known as platinum black. It is suspended by platinum wire and as the hydrogen passes by the reaction causes the platinum black and wire to glow red-hot.
This simple, quick experiment fills in our own knowledge gaps. We were already familiar with the role that catalytic converters play in automobiles; consuming any unburned hydrocarbons before they exit a vehicle’s exhaust system. We also know the these devices are targets for thieves seeking the platinum (and other metals like palladium and rhodium) found inside. Now we know exactly how catalytic converters work and the integral role that platinum plays in the process. All thanks to [Ben’s] demonstration of how this lighter works.
Now, if you wear a platinum wedding band and your hand passes a jet of hydrogen are you likely to get burned?
Continue reading “The Platinum Catalyst Use In A Vintage Lighter”
The standard power adapter for Apple laptops is a work of art. The Magsafe connector has saved more than one laptop owned by the Hackaday crew, and the power brick with interchangeable plugs for different countries is a work of genius. Being a miracle of modern manufacturing doesn’t mean Apple gets it right all the time; the UK adapter doesn’t use the ground plug, leading to the power supplies singing at 50 Hz when plugged in. [Gareth] had had enough of the poor design of his charger and decided to fix it.
The Apple power adapter has two obvious connections, and another shiny metal disk meant for a connection to Earth. In most of the Apple charger ‘extension cords’, this earth connection is provided by the cord. In the smaller plug adapters – even ones where space is not an issue, like the UK plug – this connection is absent.
To fix this glaring oversight, [Gareth] shoved some aluminum foil where the earth terminal on the plug should go. A hole was drilled through the plug to connect this foil to the Earth socket terminal, and everything was covered up with kneadable epoxy.
No, aluminum foil probably won’t do its actual job of preventing horribleness in the event of an insulation failure or short. It will, however, silence the 50 cycle hum emanating from the power adapter, and that’s good enough for [Gareth].
The Raspberry Pi is an incredibly popular, cheap, and low power computer that also has a nifty camera add-on that is completely programmable. This opens up a log of possibilities for long-exposure photography, and [Jippo] has found the best use so far: long exposure astrophotography for capturing meteors, satellites, and star trails.
[Jippo] is using a stock Raspi and camera module with a little bit of custom software written by his friend [Jani Lappalainen] that grabs image data from the camera and saves it either as a time-lapse, or only when something significantly changes. This would include meteors and Iridium flares, as well as passing planes, reflections of satellites, and of course long-exposure star trails.
So far, [Jippo] has already captured enough images to amount to a great night of skywatching. There’s a great picture of a meteor, a few pictures of satellites reflecting the sun, and some great star trails. The software [Jippo] is using is available on his site along with a gallery of his highlight reel.