Hacklet 114 – Python Powered Projects

Python is one of today’s most popular programming languages.  It quite literally put the “Pi” in Raspberry Pi. Python’s history stretches back to the late 1980’s, when it was first written by  Guido van Rossum. [Rossum] created Python as a hobby project over the 1989 Christmas holiday. He wanted a language that would appeal to Unix/C hackers. I’d say he was pretty successful in that endeavor. Hackers embraced Python, making it a top choice in their projects. This week’s Hacklet focuses on some of the best Python-powered projects on Hackaday.io.

pytoolWe start with [Jithin] and Python Powered Scientific Instrumentation tool, his entry in the 2015 Hackaday Prize. [Jithin] has created an “electronics lab in a box” style tool that can compete with commercial products with price tags in the thousands. Python Powered Scientific Instrumentation tool uses simple microcontroller powered hardware to create programmable gain amplifiers, waveform generators, LCR meters, CC sources and more. The microcontroller handles all the real-time operations. Data processing happens on a connected PC running Python scripts. Popular Python libraries like Scipy make signal processing and waveform displays easy.

 

pymusicNext up is [Bill Peterson] with jamPi. [Bill] loves his music keyboard, but hates having to lug around a laptop, audio interface, and all the associated cables. He needed a device which would be as flexible as a PC-based synthesizer, but as simple and compact as a MIDI sound module. JamPi does all this and more. [Bill] is using fluidsynth to generate sound. The control and interface software is handled in Python with the help of the fluidsynth.py module. All this functionality is wrapped up in a simple box with a 2 line character LCD. Now [Bill] is ready to jam anytime, anywhere.

openmv-featureNext is [i.abdalkader] with OpenMV, his entry in the 2014 Hackaday Prize. [i.abdalkader’s] goal was to create “the Arduino of machine vision”. He’s well on his way to accomplishing that. In 2015, OpenMV had a successful Kickstarter campaign. After a few manufacturing glitches, customers are now receiving their devices. OpenMV is a low-cost Python-powered machine vision device. An ARM microcontroller coupled to a simple image sensor makes up the core of the device. The camera is programmed in MicroPython, with the help of many image processing libraries created by the OpenMV team. [i.abdalkader] even created his own IDE using Glade and PyGTK.

pyfaceFinally we have [osannolik] with Calibration and Measurement Tool. Have you ever want to display a few debug parameters from your embedded project, but didn’t have the display real estate (or any display at all)? What about changing a parameter without pulling out your JTAG setup and firing up your debugger? [Osannolik] has created a simple Python powered PC-based front end which can be used as a Swiss army knife for developing embedded systems. Variables can be displayed in real-time, parameters changed. Even graphs are available thanks to pyqtgraph.

If you want more Python-powered goodness, check out our new Python-powered project list! Did I miss your project? Don’t be shy, just drop me a message on Hackaday.io. That’s it for this week’s Hacklet. As always, see you next week. Same hack time, same hack channel, bringing you the best of Hackaday.io!

HALT In The Name Of Testing

“Did I forget something?” It’s that nagging feeling every engineer has when their project is about to be deployed – it may be a product about to be ramped into production, a low volume product, or even a one off like a microsatellite. If you have the time and a few prototypes to spare though, there are ways to alleviate these worries. The key is a test method which has been used in aerospace, military, and other industries for years – Highly Accelerated Life Testing (HALT).

How to HALT

The idea behind HALT testing can be summed up in a couple of sentences:

  • Beat your product to death.
  • Figure out what broke.
  • Fix it, and fix the design.
  • Repeat.

Sounds barbaric, and in many cases it is. HALT testing is often associated with giant test chambers which are literally designed to torture anything inside them. Liquid nitrogen shock cools the chamber as low as -100°C. The Device Under Test (DUT) can soak at that temperature for hours. Powerful heaters then blast the chamber, causing temperature rises of up to 90°C per minute, topping off at up to 200°C. Pneumatic hammers beat on the chamber table causing vibrations at up to 90 Grms and 10 KHz. Corrosive sprays simulate years of rain and humidity. These chambers are literally hell on earth for any device unlucky enough to be placed inside them. It’s easy to see why this sort of testing is often referred to as “Shake and Bake”.

Continue reading “HALT In The Name Of Testing”

Hacklet 113 – New Robots

I start each day checking out the new and updated projects over on Hackaday.io. Each day one can find all manner of projects – from satellites to machine vision to rockets. One type of project which is always present are robots- robot arms, educational ‘bots, autonomous robots, and mobile robots. This week’s Hackaday.io had a few great robot projects show up on the “new and updated” page, so I’m using the Hacklet to take a closer look.

bot1We start with [Jack Qiao] and Autonomous home robot that does things. [Jack] is building a robot that can navigate his home. He’s learned that just creating a robot that can get itself from point A to point B in the average home is a daunting task. To make this happen, he’s using the Simultaneous Localization and Mapping (SLAM) algorithm. He’s implementing SLAM with the help of Robotic Operating System (ROS).  The robot started out as a test mule tethered to a laptop. It’s evolved to a wooden base with a mini ITX motherboard. Mapping data comes in through a Kinect V2, which will soon be upgraded to a Neato XV-11 LIDAR system.

 

tyrobotNext up is [Tyler Spadgenske] with TyroBot. TyroBot is a walking robot with some lofty goals, including walking a mile in a straight line without falling down. [Tyler’s] inspiration comes from robots such as Bob the Biped and Zowi. So far, TyroBot consists of legs and feet printed in PLA. [Tyler] is going to use a 32 bit processor for [TyroBot’s] brain, and wants to avoid the Arduino IDE at any cost (including writing his own IDE from scratch). This project is just getting started, so head on over to the project page and watch TyroBot’s progress!

 

friendbotNext is [Mike Rigsby] with Little Friend. Little Friend is a companion robot. [Mike] found that robots spend more time charging batteries than interacting. This wouldn’t do for a companion robot. His solution was to do away with batteries all together. Little Friend is powered by super capacitors. An 8 minute charge will keep this little bot going for 75 minutes. An Arduino with a motor shield controls Little Friend’s DC drive motors, as well as two animated eyes. If you can’t tell, [Mike] used a tomato as his inspiration. This keeps Little Friend in the cute zone, far away from the uncanny valley.

 

logi-botFinally we have the walking robot king, [Radomir Dopieralski], with Logicoma-kun. For the uninitiated, a Logicoma is a robot tank (or “logistics robot”) from the Ghost in the Shell series. [Radomir] decided to bring these cartoon tanks to life – at least in miniature. The bulk of Logicoma-kun is built carefully cut and sculpted acrylic sheet. Movement is via popular 9 gram servos found all over the internet. [Radomir] recently wrote an update outlining his new brain for Logicoma-kun. An Arduino Pro Mini will handle servo control. The main computer will be an ESP8266 running Micropython. I can’t wait to see this little ‘bot take its first steps.

If you want more robotic goodness, check out our brand new mobile robot list! Did I miss your project? Don’t be shy, just drop me a message on Hackaday.io. That’s it for this week’s Hacklet, As always, see you next week. Same hack time, same hack channel, bringing you the best of Hackaday.io!

Skateboard Hackers Trick On 3D Printed Wheels

The team over at [Braille Skateboarding] is willing to ride just about anything. This week they’re testing out 3D printed skateboard wheels. We’re not just talking rolling around here, the [Braille] team takes their experiments out to the skate park and gives them to the locals to test out. Tail whips, jumps, ollies, and grinds were on the agenda. The skaters were a bit apprehensive, as this is the third time they’ve tested 3D printed wheels.

The first set shattered upon landing a jump. That set appears to have been made from PLA with about 10% infill. The second set were made from NinjaFlex, which had no shattering problems, but was so squishy that the wheels simply flattened under the weight of the riders. The third set, printed by [Nick Lindenmuth] work great. They have a bit of give, but don’t shatter. We’re guessing this set is either ABS or one of the more exotic filaments. It’s pretty amazing that 3D printers are capable of spitting out wheels that not only handle the load of rider, but the shock load of coming down from jumps and tricks.

Check out the video after the break. If you want to see more skateboard projects, check out this skateboarding themed Hacklet!

Continue reading “Skateboard Hackers Trick On 3D Printed Wheels”

Hacklet 112 – Skateboard Projects

Skateboarding is a sport that was born of hacking. The identity of the person who first nailed roller skate wheels to a board with a milk crate box is lost to history. Those crate scooters were a staple of the 1940’s and 1950’s neighborhoods. Everyone built their own scooter, so the designs evolved. Eventually the milk crates disappeared. At some point, surfers realized that they could use these wheeled boards to surf the concrete jungle. Things just took off from there. Skateboarding is now a multi-billion dollar industry, but at its heart there are still hackers trying out new designs. This week’s Hacklet is all about skateboarding projects.

long1We start with [brian.rundle] and Electric Longboard. [Brian] built his board using trucks and mechanical parts from a DIY skateboard online shop. The motor is a brushless outrunner R/C plane motor from HobbyKing. Batteries are of the LiPo variety. An Arduino Nano provides the PWM signal which drives the Electronic Speed Control (ESC). Throttle control is via RF link using the popular Nordic Semi NRF2401. [Brian] is focusing on building a safe skateboard. He designed it to carry two batteries, though only one is in use at a time. Rather than use a switch, he’s created a fool-proof system with arming plugs and jumpers. Each battery has its own arming plug. There is one jumper, so only one battery can be connected to the board at a time.

brake1Next up is [suiram21] with Longboard Brake. Downhill longboarding can be a dangerous sport. Running downhill at 40MPH or more with no brakes makes for quite an adrenaline rush. [suiram21] loves longboarding but wanted the safety of having a brake if and when he needed it. He started with a Onda board, which is a longboard with large diameter wheels. He 3D printed brackets for a cable actuated braking system. The brake is activated by stepping on a lever at the rear of the board. A lever presses a bicycle brake pad into the inside edge of the tire. This brings the board to a gentle stop. [suiram21] is thinking of adding a second brake to the other wheel to increase braking authority.

speedo1Next we have [edbraun] with Skateboard Speedometer by inventED. [edbraun] wanted to know how fast he was going. A GPS would work, but GPS signals are often blocked in cities. A more accurate way to gather speed data is directly from the wheels. Two tiny magnet plugs are placed in holes drilled in the wheel. A hall effect sensor detects the magnets and passes this data on to an Arduino Pro Mini. Once the speed is calculated, it’s sent to a Bluetooth radio. [edbraun’s] Android phone receives the data and displays current speed and total distance traveled. The speedometer and its slick 3D printed case almost hide between the trucks and the board itself. Nice work [edbraun]!

josh1Finally we have Hackaday alum [Josh Marsh] and EV Commuter Longboard. [Josh] uses an electric longboard for his daily commute. His project is an excellent overview and tutorial on building an electric skateboard from scratch. Like many others, [Josh] utilizes R/C Airplane brushless motors and speed controllers. An Arduino or similar microcontroller is all you need to drive these devices. For batteries, [Josh] loves LiPo packs. Long form six cell affairs provide 22.2 Volts with a capacity of 5000 mAh or more. Plenty of power for carving your way to work!

If you want to see more skateboard projects, check out our new skateboard projects list! If I missed your project, don’t be shy, just drop me a message on Hackaday.io. That’s it for this week’s Hacklet. As always, see you next week. Same hack time, same hack channel, bringing you the best of Hackaday.io!

Forming Voltron’s Blazing Sword For Real

Activate interlock! Dynotherms connected! Infracells up! Mega thrusters are go! If you grew up in the 80’s you undoubtedly know that quote means it’s time to form Voltron. The 1984 Lion Force Voltron series has shown an incredible amount of staying power. These 5 lions have come together to form no less than 3 reboot series, the most recent coming out just this month from Dreamworks and Netflix.

[Matt and Kerry Stagmer], blacksmiths for the Man at Arms web series haven’t forgotten Voltron either. Every episode of the original series ended with the mighty robot defeating enemies using an iconic blazing sword. While they might not be able to bring us 5 robot lions which join together to form one mega robot, [Matt and Kerry] can bring us a human sized version of Voltron’s sword (YouTube).

Starting with a high-resolution image of a toy version of the sword, [Matt] traced the outline. The shape was sent over to a plasma cutter. Rather than cut one sword, two outlines were cut. One in 1/4″ steel, the other in 3/16″. A CNC was used to cut grooves in the 1/4″ section. These grooves became the manifold for propane gas jets. Separate jets were cut around the perimeter of the sword. With this complete, the two pieces were carefully TIG welded together.

This sword isn’t all prop and no chop. The upper sections were heat-treated and sharpened to a razor edge. We won’t go so far as to call this practical. It wields more like an ax than a sword. At the end of the day it doesn’t really matter though – this blazing sword is completely awesome.

Hacklet 111 – Advanced Microscopy Projects

Last week on the Hacklet we covered optical microscopy projects. Those are the familiar scopes that many of us have at work or even at home on our benches. These are scopes that you typically can use with your eye, or an unmodified camera. This week we’re taking a look at more extreme ways of making small things look big. Electron streams and the forces of a single atom can be used to create incredibly magnified images. So let’s jump right in and check out the best advanced microscopy projects on Hackaday.io!

blubeamWe start with [andreas.betz] and BluBEAM – a scanning laser microscope. [Andreas] aims to create a scanning confocal microscope. The diffraction limit is the law of the land for standard optical microscopes. While you can’t break the law, you can find ways around it. Confocal microscopy is one technique used quite a bit in medicine and industry. Confocal scopes are generally very expensive, well outside the budget of the average hacker. [Andreas] hopes to break that barrier by creating a scanning confocal microscope using parts from a PlayStation 3 Blu-Ray optical drive. Optical drives use voice coils to maintain focus. [Andreas] had to create a custom PCB with a voice coil driver to operate the PS3 optics assembly. He also needed to drive the laser. BluBeam is still very much a work in progress, so keep an eye on it!

stmNext up is [MatthiasR.] with DIY Scanning tunneling microscope. Open atmosphere scanning tunneling microscopes are popular on Hackaday.io. I covered [Dan Berard]’s creation in Hacklet 103. Inspired by Dan, [Matthias] is building his own STM.

Environmental vibration is a huge problem with high magnification microscopes. [Matthias] is combating this by building a vibration isolation platform using extruded aluminum. He’s currently working on the STM preamplifier, which amplifies and converts the nano amp STM values to voltages which can be read by a digital to analog converter. [Matthias] is using the venerable Analog ADA4530 for this task. With an input bias of 20 femtoamps (!) it should be up to the task.

desemNext we have [Jerry Biehler] AKA [macona] with Hitachi S-450 Scanning Electron Microscope. Scanning electron microscopes have to be the top of the microscopy food chain. Jerry got his hands on a 1980’s vintage Hitachi SEM which was no longer working. The problem turned out to be a dodgy repair made years earlier with electrical tape. Fast forward a couple of years of use, and [Jerry] has done quite a lot to his old machine. He’s learned how to make his own filaments from tungsten wire. The slow oil diffusion vacuum pump has been replaced with a turbomolecular pump. The SEM now resides in [Jerry’s] living room, which keeps it at a relatively constant temperature.

Bild1Finally, we have [beniroquai] with Holoscope – Superresolution Holographic Microscope. Holoscope is a device which increases the resolution of a standard camera by using the physical properties of light to its advantage. Precise tiny shifts of the object being magnified cause minute changes in a reflected image, which is captured by a Raspberry Pi camera. The Pi can then reconstruct a higher resolution image using the phase data. [beniroquai] has put a lot of time into this project, even sacrificing an expensive Sony connected camera to the ESD gods. I’m following along with this one. I can’t wait to see [beniroquai]’s first few images.

If you want to see more advanced microscopy projects, check out our new advanced microscope projects list! If I missed your project, don’t be shy, just drop me a message on Hackaday.io. That’s it for this week’s Hacklet. As always, see you next week. Same hack time, same hack channel, bringing you the best of Hackaday.io!