Segway Build You Can Do Yourself

We’ve seen lots of Segway variants on Hackaday, but they don’t always have detailed instructions on how they made it… Well lucky for us, [Bob] from [Making Stuff] just finished his extensive Segway project with tons of videos of the build!

Inspired by other self-balancing scooter projects he had seen online, [Bob] wanted to try his hand at building one. So he took bits and pieces from designs he liked, and came up with his own solid looking Segway clone design. Using Google Sketchup he drew up the frame, and from there it was all hands on deck. A bit of TIG welding later and it was time for the components.

Some small slight mechanical hiccups aside, the longest part of the project was the electronics and software — getting it to work like a real Segway. After writing his own code he ran into a few roadblocks, but luckily he was able to get some help from someone at his local Maker meetup which saved a lot of troubleshooting on his end.

Continue reading “Segway Build You Can Do Yourself”

Simple, Cheap Nitrate Tester Is Open Source

Too much of a good thing can be a bad thing, and nitrate pollution due to agricultural fertilizer runoff is a major problem for both lakes and coastal waters. Assessing nitrate levels commercially is an expensive process that uses proprietary instruments and toxic reagents such as cadmium. But [Joshua Pearce] has recently developed an open-source photometer for nitrate field measurement that uses an enzyme from spinach and costs a mere $65USD to build.

The device itself is incredibly simple – a 3D printed enclosure houses an LED light source and a light sensor. The sample to be tested is mixed with a commercially available reagent kit based on the enzyme nitrate reductase, resulting in a characteristic color change proportional to the amount of nitrate present. The instrument reads the amount of light absorbed by the sample, and communicates the results to an Android device over a Bluetooth link.

Open-source instruments like this can really open up educational opportunities for STEM groups to get out into the real world and start making measurements that can make a difference. Not only can this enable citizen scientists and activists, but it also opens the door for getting farmers involved in controlling nitrate pollution at its source – knowing when a field has been fertilized enough can save a farmer unnecessary expense and reduce nitrate runoff.

There are a lot of other ways to put an open-source instrument like this to use in biohacking – photometery is a very common measuring modality in the life sciences, after all. We’ve seen similar instruments before, like a DIY spectrophotometer, or this 2015 Hackaday Prize entry medical tricorder with a built-in spectrophotometer. Still, for simplicity of build and potential impact, it’s hard to beat this instrument.

Hackaday Prize Entry: A Tiny Tool For Car Hacking

A car from 1940 would have been an almost completely mechanical device. These days though, a car without electricity wouldn’t run. It’s not the engine – it’s the computers; the design details of which automotive manufacturers would love to keep out of the hands of hardware hackers like us. [Mastro Gippo] wanted to build a small and powerful CAN bus reverse engineering tool, and the Crunchtrack hits it out of the park. It’s a CAN bus transceiver, GPS receiver, and GSM modem all wrapped up into a single tiny device that fits under your dash.

[Mastro] has a slight fetish for efficiency and tiny, tiny devices, so he’s packaging everything inside the shell of a standard ELM327 Bluetooth adapter. This is a device that can fit in the palm of your hand, but still taps a CAN bus (with the help of a computer), receives GPS, and sends that data out over cell phone towers.

The device is based on the STM32 F3 ARM microcontroller (with mbed support), a ublox 7 GPS module, and an SIM800 GSM module, but the story doesn’t stop with hardware. [Mastro] is also working on a website where reverse engineering data can be shared between car hackers. That makes this an excellent Hackaday Prize entry, and we can’t wait to see where it goes from here.

The 2015 Hackaday Prize is sponsored by:

Irrighino, An Arduino Yun Based Watering System

There are many different ways to keep your plants watered on a schedule. [Luca Dentella] just created a new one by building the irrighino watering system. He used standard off the shelf, hardware to keep it simple. Irrighino is a complete watering system based on the Arduino Yun, featuring a user friendly AJAX interface. This allows scheduling in a manner similar to creating appointments in Outlook. It’s also possible to manually control the various water solenoids. The code is fully customizable and open source, with code available from [Luca’s] github repository. The web interface is divided in to three tabs – “runtime” for manual control, “setup” to configure the scheduling, and “events” to view system logs.

The Arduino Yun activates solenoid valves via a relay shield. A switch panel has indicator Status LED’s and three position switches. These allow the outputs to be switched off or on manually, or controlled via the Yun when in auto mode. [Luca] describes how to read three states of the switch (On-Off-On) when connected to a single analog input of the Arduino. He’s also got another tutorial describing how to connect a USB WiFi adapter to the Yun. This is handy since the Yun is mounted inside an enclosure where the signal strength is very weak. While the Yun has on-board WiFi, there is no possibility to attach an external antenna directly to the test SMA socket.

One interesting part is the commercial rain sensor. It’s a switch surrounded by a spongy material. When this material absorbs rain water, it begins to expand and triggers the switch. The Arduino sees the sensor as a simple digital input.

Check a short demo of his system in the video after the break.

Continue reading “Irrighino, An Arduino Yun Based Watering System”

Zynq And The OPL3 Music Synthesizer

We’re big fans of the Zynq, which is an answer to the question: what do you get when you cross a big ARM processor with a big FPGA? So it isn’t surprising that [GregTaylor’s] project to emulate the OPL3 FM Synthesis chip in an FPGA using the Zynq caught our eye.

The OPL3 (also known as the Yamaha YMF262) was a very common MIDI chip on older PC sound cards. If you had a Sound Blaster Pro or 16 board, you had an OPL3 chip in your PC. The OPL3 was responsible for a lot of the music you associate with vintage video games like Doom. [Greg] not only duplicated the chip’s functions, but also ported imfplay from DOS to run on the Zynq’s ARM processors so he could reproduce those old video game sounds.

The Zybo board that [Greg] uses includes an Analog Devices SSM2603 audio codec with dual 24-bit DACs and 256X oversampling. However, the interface to the codec is isolated in the code, so it ought to be possible to port the design to other hardware without much trouble.

To better match the original device’s sampling rate with the faster CODEC, this design runs at a slightly slower frequency than the OPL3, but thanks to the efficient FPGA logic, the new device can easily keep up with the 49.7 kHz sample rate.

Using an FPGA to emulate an OPL3 might seem to be overkill, but we’ve seen worse. If you prefer to do your synthesis old school, you can probably get a bulk price on 555 chips.

Continue reading “Zynq And The OPL3 Music Synthesizer”

Superconducting Hoverboard

The French Built The Superconducting Hoverboard 4 Years Before Lexus

The internet only just got over Lexus’ real working hover board, but as it turns out, a team of researchers from the University of Paris Diderot already built one, over 4 years ago (machine translation)!

Using the same principles as the hover board Lexus build, the researchers built a very expensive neodymium magnet track to test the board on. Only difference here is that they didn’t hide the magnets. The hover board itself was machined out of wood, and houses a large sealed metal tray which contains the superconducting bricks.

Pour in some liquid nitrogen through the funnel, and you’re ready to witness some of the quantum properties of superconductors! The board floats a few centimeters above the magnetic rails, and in their tests was able to lift people over 100 kg in weight (hint for most Americans… there are 2.2 pounds to one kilogram).

Continue reading “The French Built The Superconducting Hoverboard 4 Years Before Lexus”

DEF CON Vs IoT: On Hackability And Security

Ahh DEF CON! One group of hackers shows off how they’ve broken into all sorts of cool devices and other hackers (ahem… “security professionals”) lament the fact that the first group were able to do so. For every joyous “we rooted the Nest thermostat, now we can have fun” there’s a doom-mongering “the security of network-connected IoT devices is totally broken!”.

And like Dr. Jekyll and Mr. Hyde, these two sides of the hacker persona can coexist within the same individual. At Hackaday, we’re totally paranoid security conscious, but we also like to tinker with stuff. We believe that openness and security are best friends forever. If you can open it, you can see if it’s well-made inside, at least in principle. How do we reconcile this with the security professional’s demand for devices that only accept signed binary firmware updates so that they can’t be tampered with?

We’ve got no answers, but we’ve got plenty of questions. Read on, and let us know what you think.

Continue reading “DEF CON Vs IoT: On Hackability And Security”