Hacklet 97 – Camera Projects

We last covered camera projects way back in Hacklet #11. A ton of camera projects have been added to Hackaday.io since then. While the rest of the world is taking selfies, hackers, makers, and engineers have been coming up with new ways to hack their image capture devices. This week on the Hacklet, we’re taking a look at some of the best camera projects on Hackaday.io!

pixelzFirst up is [aleksey.grishchenko] with PiXel camera. PiXel is a camera and a live video display all in one, We wouldn’t exactly call it high-definition though! A Raspberry Pi uses its camera module to capture images of the world. [Aleksey] then processes those images and displays them on a 32 x 32 RGB LED matrix. This matrix is the same kind of tile used in large outdoor LED signs. The result is a surreal low resolution view of the world. Since the Pi, batteries, and camera all hide behind the LED matrix, there is an unobstructed view of the world around you. [Aleksey] used  [Henner Zeller’s] matrix library to make this hack happen.

imagerNext up is [Esben Rossel] with Linear CCD module. [Esben] is building a Raman spectrometer, much like 2014 Hackaday Prize finalist [fl@C@] with his own ramanPi. The heart of a spectrometer is the linear image capture device. Both of these projects use the same TCD1304 linear CCD. Linear Charge Coupled Devices (CCDs) are the same type of device used in flatbed document scanners. The output of the CCD is analog, so an ADC must be used to capture the data. [Esben] is using an STM32F401RE on a Nucleo board as the control logic. The ST’s internal ADC converts the analog signal to digital. From there, it’s time to process all the spectra.

wiimote-cam[Chiprobot] brings the classic Wii remote camera to the internet of things with
ESP8266 meets Wii Mote Camera. The Wii remote uses a camera which doesn’t output images, instead it plots the location of up to four IR LEDs. Normally these LEDs are located in the poorly named sensor bar that is sold with the Wii. Hackers have been using these cameras in projects for years now. [Chiprobot] paired his camera with the modern classic ESP8266 WiFi module. The ‘8266 is programmed to read data from the camera’s I2C bus. It then sends the data as an SVG request to the W3C website. W3C returns a formatted image based on those coordinates. The resulting image is a picture of the IR LEDs seen by the camera. Kind of like sending your negatives out to be developed.

photoboothFinally, we have [GuyisIT] with Raspberry Pi Photobooth. Photo booths are all the rage these days. First it was weddings, but now it seems like every kids party has one. [GuyisIT] didn’t rent a booth for his daughter’s birthday, he built one using his Raspberry Pi and Pi camera. The project is written in python, based upon [John Croucher’s] code. When the kids press a button, the Pi Snaps a series of pictures. The tiny Linux computer then joins and rotates the images while adding in some superhero themed graphics. Finally the Pi prints the image on to a photo printer. The biggest problem with this hack is re-triggering. The kids loved it so much, they kept pressing the big red button!

If you want to see more camera projects, check out our updated camera 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!

Hacklet 93 – Robotics Toolkit And ESP8266 Packet Injection

You never know where a hack will take you. Sometimes a simple project will take on a life of its own and become a huge software framework. Other times, a reading blog can turn into a weekend project. Hackaday.io is the place to upload every project, big, small, or somewhere in between. This week on the Hacklet, we’re taking a look at two projects – one big, one small.

wifi1[Rand Druid] recently spent a Weekend on the Dark Side, creating an ESP8266 packet injector. The project started when [Rand] read about [Kripthor’s] deauth packet injection attacks right here on Hackaday. He initially created the WiFi denial of service throwie mentioned in the article. The basic Bill of Materials (BOM) for this device is an ESP8266 module, a DC/DC converter, a 9V battery, connectors, and a few resistors. This worked well, but some devices (most notably [Rand’s] son’s Android Phone) would disconnect and reconnect so quickly the attack had no practical impact.

 

double-wifi[Rand] fixed the problem by adding a second ESP8266 module. The first is the listener. It listens for WiFi access points. Once an AP is found, it sends this information to the second jammer” module via a unidirectional single line serial link. The jammer module pumps out deauth packets at full speed. He even managed to create a single executable which performs as both listener and jammer. At boot, the software sends out a series 0xFF bytes through the serial port. The listener has its serial transmit pin directly connected to the jammer’s serial receive line. When the jammer receives the 0xFF bytes, it jumps into the correct function. This was more than enough to kick that pesky Android phone off the network. As with the original article, we have to stress that you should only use modules like these for testing on your own equipment. Be careful out there folks!

 

bowler[Kevin Harrington] loves robots, but hates reinventing the wheel every time he creates a new machine. He’s built BowlerStudio: A robotics development platform to combat this problem. BowlerStudio was a semifinalist in the 2015 Hackaday Prize. BowlerStudio is a soup-to-nuts platform for creating all sorts of robots. [Kevin] has integrated Computer Aided Design (CAD), 3D modeling, kinematics, machine vision, and a simulation engine complete with physics modeling into one whopper of a software package. To prove how versatile the system is, he designed a hexapod robot in the CAD portion of the program. The robot then taught itself to walk in the simulation. Once the design was 3D printed, the real robot walked right off the bread board. [Kevin] linked the hardware and software with DyIO, another of his projects.

BowlerStudio is a huge boon for just about any robotics hacker, as well as educators. An entire curriculum could be created around the system. Thanks to its Java roots, BowlerStudio is also a multi-platform. [Kevin] has binaries ready to go for Windows, Mac, and Ubuntu.

The newest feature in BowlerStudio is JBullet. JBullet is a Java port of the Bullet physics library. Physics means that important real world effects like gravity and surface friction can now be added to simulations. In [Kevin’s] own words “This project is starting to feel more and more like a game engine targeted towards designing robotics and engineering tools.”

 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!

Hacklet 89 – Star Wars Projects

Star Wars is an inspirational force to be reckoned with. Few movie franchises have quite so many fans creating everything from elaborate cosplay outfits to fully functional robots. At the 2015 Hackaday SuperCon, former R2D2 driver Grant Imahara mentioned that LucasArts used to maintain a fleet of robots to be deployed at events. Once the execs realized hacker, maker, and hobbyist robots are now more advanced than the machines they built for the actual films, they mothballed the fleet. If you see R2 at a Star Wars event this season, it’s probably an enthusiast behind the controls. This week’s Hacklet is dedicated to the best Star Wars projects on Hackaday.io!

targetshootWe start with [Nathan Gray] and Star Wars Nerf Targets. [Nathan] needed a Star Wars themed game for an event for the kids, and he needed it fast. [Nathan] built a Nerf shooting gallery game with a Star Wars twist. The idea is to shoot the bad guys with Nerf darts. Targets have two sides, so you never can be sure if you’ll see a storm trooper or a friendly Wookie. Hits are detected by piezoelectric disks on each target. A control panel starts the game, keeps score, and plays some great sound effects. An Arduino compatible Teensy 2.0 keeps everything running smoothly. [Nathan] reports that the game was a hit with the kids, and everyone else at the party. Even Grandma had to give the Star Wars Nerf Targets game a try!

 

vaporatorNext up is Hackaday’s own [Brian Benchoff] with The Hackaday Prize Moisture Vaporator. The 2015 Hackaday Prize promo video called for something space related. Since Southern California has plenty of desert around, a moisture vaporator straight out of Tatooine was just what the doctor ordered. [Brian], [Matt], [Rich] and [Alek] handled most of the construction at the Hackaday Hackerspace in Pasadena. Final assembly was a team effort out in the field. The basic frame of the vaporator consisted of 1 x 3 lumber joined with pocket screws. An iron pipe served as the spine. [Brian] added plenty of greebles to give the vaporator just the right look. The result makes us long for a trip to Toshi Station to pick up some power converters.

life-signs[Davedarko] is up next with Towani Lifesign Wristdevice – Star Wars Ewoks. This was one of [Dave’s] earliest projects on Hackday.io, way down at project #616. He originally built it for the Sci-Fi contest we held in 2014. The Towani family was in the Ewoks movies, which were lesser known spinoffs of the original Star Wars films. The wristbands showing the family’s vitals were featured a few times in the movies. [Dave’s] version is more than a movie prop, it actually works. He’s using an open hardware pulse sensor along with an Arduino Mini to display status on a trio of LEDs.

bb8Finally, we have [Enrico] with Our own BB-8 droid. BB-8 made a splash when he rolled out on stage during Star Wars Celebration. Everyone wondered how the original was done. We’ve since found out that the BB-8 uses Sphero’s technology to get around. However, many of the movie scenes were done with good old-fashioned puppeteer work. [Enrico] is building his own version of BB-8 using holonomic wheels inside the sphere, with a magnetically attached head. He’s planning to 3D print the major parts of his droid. So far, [Enrico] has started testing with magnets. A few printed plastic parts from his R2D2 build have been standing in for the BB-8 shell.

If you want to see more Star Wars projects, check out our new Star Wars project list! If I missed your project due to a great disturbance in the force, don’t be a nerf herder! 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! May the force be with you.

Hacklet 88 – Projector Projects

Everyone loves a big screen TV. Back in the old days, anything over 27 ” was considered big. These days if you’re not sporting at least 50″, you’ll end up with display envy. One thing hasn’t changed though, those who want to go really, really big get into projectors. Hacking and projectors seem to go hand in hand. Anyone else remember those old DIY projection setups where the user would put their TV in a box upside down? This week’s Hacklet is all about projector hacks!

hushWe start with [Chaz] with Projector Hush Box . [Chaz] had a good projector, but still found himself with a problem. Projectors generate a lot of heat, which is dissipated via a fan. For whatever reason, projector companies seem to pick the loudest fans available. [Chaz’s] solution is to put the projector inside a box. Done right, this makes for a quiet projector. Done wrong, it makes an oven. [Chaz] projector hasn’t caught fire yet, so we think he did it right. Two quiet and efficient PC fans direct air through the box, and around baffles which keep the noise down. An anti-reflective coated glass window lets the light out but keeps the noise in. Sound deadening foam helps cut the sound down even further.

led-projNext up is [ric866] with 100w LED projector conversion. The killer with projectors these days are the bulbs. In some cases it’s more cost-effective to buy a new projector than to replace the bulb in an aging one. That’s how [ric866] ended up with a pair of old NEC projectors – one with a working bulb, and one without. Bulbs for this model aren’t cheap at £100. [ric866] found a cheap replacement in a 100 Watt LED. The LED in question only cost £8.99 from everyone’s favorite auction site. LEDs may be efficient, but anyone who’s played with powerful LEDs can tell you they still get hot. [ric866] had to cut up the projector’s case a bit to fit in a heat sink and fan. He also had to spend some time bypassing the various case interlock switches. The final products color calibration looks to be a bit off, but not too shabby for a quick mod!

baffle[Tom_VdE] is serious about recycling. He isn’t one to let an old laptop go to waste when it can be turned into a projector! Remember the “TV in a box” kit we mentioned up in the title? This is the modern version of that same idea. [Tom] tore down the laptop’s LCD and placed it in a CRT monitor case with the appropriate lenses. A setup like this needs length, and focus adjustments. [Tom] managed all that by building a collapsible baffle out of plywood. A build like this needs a lot of light, so [Tom] is using a 100 Watt LED (or two). A water cooling system will keep the LED’s from melting down. [Tom] is still in the prototype phase, but we can’t wait to see his first movie night with this upcycled laptop.

sensorcalFinally, we have [Alex] who built Automatic projector calibration, project #161 on Hackaday.io. [Alex] took his inspiration from [Johnny Chung Lee] to build a system which can map a projector to any angle, size, or position. The secret is phototransistors embedded in the corners of a rectangular piece of foamboard. An Arduino reads the phototransistors while the projector runs a calibration routine. [Alex] switched over to a scanning line from [Johnny’s] original binary pattern. The scan isn’t quite as fast as the binary, but it sure looks cool. Once the positions of the sensors are known, it’s just a matter of mapping the entire screen to a smaller piece of real estate. Toss in a few neat transitions, and you’ve got an awesome demo.

If you want to see more projector projects, check out our new projector project 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!

Hacklet 86 – Time-lapse Projects

“If I could save time in a bottle…” it’s not just an old song, it’s a passion for many photography hackers. Time-lapse photography is a way to show the movement of time through still images. These images are animated into what essentially is a video recorded at a super low frame rate. We’re talking one frame per minute or slower in some cases! The camera doesn’t have to be still for all this, but any motion must be carefully controlled. This has led hackers, makers, and engineers to create a myriad of time-lapse rigs. This week’s Hacklet is all about some of the best time lapse projects on Hackaday.io!

rig-1We start with [Swisswilson] and the simply named Timelapse rig. To say this rig is beefy would be an understatement. All the aluminum parts, with the exception of the gears, were machined by [Swisswilson]. Two Nema-23 Nema-17 motors are controlled by Sparkfun Easy Stepper Drive boards, while an Arduino Micro serves as the controller. The electronics are all housed in a sturdy box which also serves as a remote control. A joystick allows pan and tilt to be manually controlled. The bombproof construction is definitely a help here, as [Swisswilson] is using this rig with DSLR cameras. Combined with a lens, these setups can reach a pound or two.

 

pilapseNext up is [minWi], who put their script-foo to work with raspilapse. Raspilapse automates the entire process of taking photos, assembling them into a movie, and uploading to YouTube. The hardware is a Raspberry Pi Model B, with a RasPi Camera. The Pi shoots images then uploads them to a Virtual Private Server (VPS). [minWi] used an external server to save wear and tear on the Pi’s SD storage card. At the end of the day, the VPS uses ffmpeg to assemble the images into a video, then uploads the whole thing to YouTube. We’re betting that with a few script mods, this entire process could be run on a Raspberry Pi 2. If you’re really worried about the SD card, a USB flash drive could be used.

 

SunriseSunsetRig[Andyhull] takes us down to one frame per day with Sunset and Sunrise camera controller. [Andy] wanted to get shots of the sunrise every day. Once converted to a video, these shots are great for documenting the passing of the seasons. He used a Canon point and shoot camera along with the Canon Hack Devleoper’s Kit (CHDK) for his camera. The camera has its own real-time clock, and with CHDK, it can be programmed to shoot images at sunrise. The problem is power. Leaving the camera on all the time would quickly drain the batteries. Arduino to the rescue! [Andy] programmed an Arduino Pro Mini to turn the camera on just before sunrise, then shut it back down. The standby power of a sleeping ATmega328 is much lower than the camera’s, leading to battery life measured in weeks.

 

podFinally, we have [caramellcube] who added data to their time-lapse photos with Portable Observation Device (POD). POD was conceived as a device to aid paranormal investigators. The idea was to have a device that could take images and record data at a set interval from within a locked room. Sounds like a job for a Raspberry Pi! [caramellcube] started with Adafruit’s Raspberry Pi-based touchscreen camera kit. From there they added a second board controlled by an Arduino Nano. The Nano reads just about every sensor [caramellcube] could fit, including humidity, air pressure, magnetic field strength, acceleration, light (4 bands), sound, and static charge. The Nano allows [caramellcube] to connect all those sensors with a single USB port on the Pi. We’re not sure if [caramellcube] has found any ghosts, but we’re sure our readers can think of plenty of uses for a device like this!

If you want to see more time-lapse projects, check out our new time-lapse 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!

Hacklet 83 – Tiny Robot Projects

Hackers, makers, and engineers have been hacking on robot projects since the era of clockwork mechanics. Any robot is a cool project, but there is something particularly attractive about small ones. Maybe it’s the skill required to assemble them, or perhaps it’s the low-cost. Either way, there are lots of palm-sized robot projects on Hackaday.io. This week on the Hacklet, we’re going to highlight a few of them!

tinyrobot2We start with the granddaddy of them all, [shlonkin] and Tiny robot family. [Shlonkin] built line following robots that can hide under a US half-dollar coin. The robots are simple circuits – an ATtiny85 with an LED and pair of phototransistors. The code is provided both in Arduino’s wiring, and in straight C++. Two coreless motors, normally used in cell phones vibrators or quadcopters, provide the locomotion. These robots only know one thing – moving forward and following a line. They do it well though! We love this project so much that we hosted a tiny robot workshop at the 10th anniversary back in 2014.

toteWhen it comes to tiny walking robots, [Radomir Dopieralski] is the king. Many of his projects are small biped, quadruped, or even hexapod robots. He’s done things with 9 gram nano servos that we thought were impossible. Tote, an affordable spider robot, is his latest creation. Tote is a four-legged bot utilizing 12 9 gram servos. [Radomir] created a custom PCB for Tote, which acts as a carrier for its Arduino Pro Mini Brain. This robot is easily expandable – [Radomir] has experimented with the Teensy 3 series as well. Controlling the robot can be anything from an ESP8266 to an infrared remote control.

botbot[Alan Kilian] may well have the ultimate tease project with Hand-wound inductors for a tiny robot. [Alan] was using some tiny GM-10 motors on his micro-bot. The motors didn’t have inductance for the locked-antiphase drive controller. His solution was to wind some coils to provide a bit of added inductance. The mod worked, current consumption dropped from 116 ma to about 6 ma. We want to know more about that ‘bot though! It’s controlled by a Megabitty, [Monty Goodson’s] ATmega8 controller board from sometime around 2003. The lilliputian board has been very popular with the nano sumo crowd. Other than the controller, motors, and the plywood frame, [Alan] has left us guessing about his robot. If you see him, tell [Alan] to give us more info on his micro robot’s design and construction!

 

espbot[Ccates] jumped on the tiny robot bandwagon with Tiny wi-fi robot. Rather than go with an Arduino for control, [Ccates] grabbed the popular ESP-8266 WiFi module. The construction of the bot is inspired by [shlonkin’s] tiny robot family up above. This bot is controlled by the Xtensa processor embedded in the ESP-8266. Since it only drives forward, it only takes two GPIO pins to control the transistors driving the motors. Even the diminutive ESP-01 module has enough I/O for that. We’d love see some sensors and a full H-bridge on this micro beastie!

 

If you want to see more palm-sized robot projects, check out our new tiny robot projects list! These ‘bots are small, so I may have missed yours. If that’s the case, 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!

Hacklet 82 – Halloween Hacks 2015

Halloween is when the ghouls start haunting and the hackers start hacking. All hallows eve is the perfect holiday for eerie blinking LEDs, spooky audio oscillators, and wild animatronics. We had a double dose of Halloween hacks last year on the Hacklet. This year we’re bringing you even more of the best Halloween hacks on hackaday.io!

eyes1We start with [dougal] and Halloween Blinky Eyes. [Dougal] wanted to create the effect of creatures peeking at you from the dark corners of the room, and he’s certainly nailed it. A strip of WS2812 LEDs is the trick here. Pairs of LEDs light up, blink, and fade away like spooky eyes. The Strip is controlled by a Particle Core using Adafruit’s NeoPixel Library, though [Dougal] plans to move to the FastLed library. Everything is powered by a USB power pack. This hack isn’t much to look at with the lights on, so check out the video to see these eyes really shine!

 

witch1Next up is [controlmypad] with Blair the Witch Project. A normal trip to Home Depot turned paranormal when [controlmypad] spotted an awesome witch decoration. The free-standing mannequin had some basic animatronics and the all important manual trigger. [controlmypad] already had a discarded electric wheelchair. After replacing the chair batteries he modified it with a Sabertooth 2×32 Motor Controller and a standard radio control receiver. A spare channel was connected to Blair’s manual trigger. An aluminum tube joins the witch and the scooter. The hardest part of this hack was keeping Blair’s skirt out of the scooter wheels. Home Depot to the rescue! A simple hoop made of lawn edging plastic keeps the fabric and wheels apart.

 

tweet-trick

[Alex Cordonnier] and his team participated in Boilermake 2015, a 24 hour Hackathon at Purdue University. The fruit of their labor is Trick or Tweet, the tweeting Jack-o’-lantern. Yes folks, we now have the internet of gourds. Hiding inside Trick or Tweet is a Raspberry Pi and a Pi Camera. The pumpkin itself is also a giant capacitive touch switch. Touching the pumpkin triggers a count down after which Trick or Tweet snaps a photo. It then adds some spooky Halloween overlays, a pun or two, and throws the whole thing up on twitter @PumpkinPiPics. [Alex] hasn’t uploaded the code yet, but we’re guessing it consists of a few Python scripts. Pretty awesome for 24 hours of work!

 

hariSometimes Halloween hacks take on a life of their own. That’s exactly what happened when [Hari Wiguna] sat down with a few parts he ordered from China. Happy Halloween 2015 is the result. [Hari’s] order included some potentiometers, a two color OLED display, and some Arduino clones. In no time [Hari] had three pots wired up to the Arduino’s analog inputs. The OLED quickly followed, displaying graphics via the Arduino’s I2C bus. He really wanted a Jack-o’-lantern though. It took a bit more tweaking, but eventually [Hari] was successful. The first pot sets eye size.  The second controls eye rotation. The third pot changes the width of Jack’s mouth. [Hari] has all the code for this hack up on his most recent project log.

Not spooked enough? If you want to see more Halloween projects, check out our newly updated Halloween hacks 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!