Skittles Sorter

Only Eat Red Skittles? We’ve Got You Covered.

Are you a bit obsessive compulsive with lots of certain things? We are too. Like Skittles! If you’re the kind of person who likes to sort their Skittles, you should seriously look into making your own 3D printed Skittles Sorter.

Built more to challenge his new 3D printer, [MrPrezident] was looking for a project to combine mechanical design with a bit of image recognition prowess — so he came up with this clever, and compact, Skittle sorting machine.

It uses an Arduino Uno with a ZITRADES color sensor module to identify the color of each candy. A small LED helps illuminate the Skittles to ensure an accurate color reading. Then, depending on the color, a series of gears rotate the Skittles piece to its designated color repository.

Theoretically it should also work with M&M’s (which are a bit smaller) but unfortunately, there are 6 colors of M&M’s and only 5 colors of Skittles. What would the machine do then!? We don’t see a reject bin!

Continue reading “Only Eat Red Skittles? We’ve Got You Covered.”

Simple USB Power Meter

The USB interface is being increasingly used as a power supply and charging port for all kinds of devices, besides data transfer. A meter to measure the electrical parameters of devices connected to a USB socket or charger would be handy on any hacker workbench. The folks at [electro-labs] designed this simple USB power meter which does just that.

The device measures voltage and current and displays them, along with the calculated power, on the small 0.5″ OLED display. The circuit is built around an ATmega328. To keep the board size small, and reduce component count, the microcontroller is run off its internal 8MHz clock. A low-resistance shunt provides current sensing which is amplified by the LT6106 a high side current sense amplifier before being fed to the 10 bit analog port of the ATmega. A MCP1525 precision voltage reference provides 2.5V to the Analog reference pin of the microcontroller, resulting in a 2.44mV resolution. Voltage measurement is via a resistive divider that has a range of up to 6V. An Arduino sketch reads voltage and current data on the analog ports and displays measurements on the display. The measured data is averaged to filter out noise.

The OLED display has a SPI interface and requires the u8glib library. The project uses all SMD parts, but is fairly easy to assemble by hand and could be a nice starter project if you want to wet your feet on surface mount assembly techniques. It’s designed using SolaPCB EDA software, and the source files for schematic and board layout are available as a ZIP archive. Download the BoM and Arduino code and you have everything needed to build this nifty device.

Thanks to [Abdulgafur] for sending in this tip. And if you are looking for a more comprehensive solution, check the awesome Friedcircuits USB Tester which we reviewed earlier and is available in the Hackaday Store.

Managing An Unmanaged Switch

Network switches come in two different flavors: managed, where you have some interface to configure and monitor the equipment, and unmanaged where the device just does what it is supposed to do and you can’t really control it. [Tiziano Bacocco] wanted to manage his cheap unmanaged switch, so he did what any good hacker would do: he opened it up.

Inside the Digicom 10/100 switch he found an IP178CH controller IC and a quick search turned up a data sheet. [Tiziano] noticed there were three ways to configure the switch: Some hardware pins could control very basic functions; an EEPROM (absent on the PCB) could configure the device; or the chip would accept commands via a synchronous serial port.

Since the datasheet covered the protocol required, [Tiziano] commandeered an Arduino Pro Mini and used it to send commands to configure the switch. A few resistors and some quick code allowed him to control VLAN and other functions on the switch via the USB port. Of course, he mentioned you could use a Raspberry Pi if you wanted a network interface–or maybe that’s a good excuse to use one of those Ethernet shields you got on clearance at Radio Shack.

Continue reading “Managing An Unmanaged Switch”

ESP8266 Web Server Farm

There seems to be a hacker maxim that whatever gadget you are working with, it would be better to have several of them running together. That might explain the ESP8266 web server farm that [Eldon Brown] has built. Yup, a web server farm made from three of everyone’s favorite WiFi dongle, the humble ESP8266.

Eldon’s server farm is currently serving web pages here, running on three ESP8266 boards. Or it was before this posting reduced it to a smoking ruin (screenshot below just in case). Each module is running a dynamic web page and some clever programming he came up with that makes transferring data over these cheap devices quicker.

His page isn’t anything too fancy but it is impressive considering it is running on about $30 worth of hardware, including the breadboard it is wired into. The page includes dynamically-generated graphics and some back-end stuff. I don’t think that it will replace any LAMP servers anytime soon (the ESP8266 took about 2.6 seconds to generate the page below), but it is an impressive hack. [Eldon] has made the full code of the web server that is running the pages available. So, lets add web server farm to the list of things that this neat little device can handle, next to plant weigher, Bitcoin price tracker, MP3 player and many more

Thanks to [PuceBaboon] for the tip!

Continue reading “ESP8266 Web Server Farm”

arduino alarm panel

Upgrading Your Alarm System With An Arduino

When [Doug] moved into his new house, he found an old alarm panel set up — but it had no monitoring service any more. Not wanting to pay a monthly fee to have it setup, he decided to try interfacing an Arduino with the system in order to push events to the net!

The cool thing is he was actually inspired by another similar project we shared on Hackaday a few years ago entitled Bending a Home Security Control Panel to Your Will. But that project only showed you how to interface the Arduino with the keypad — [Doug] went the extra mile and interfaced directly with the control board for more features.

He’s using an Arduino Uno and an Ethernet breakout board to hook it up to the network. This allows him to send text messages to himself when the alarm system is armed, disarmed, or triggered. All the code is available on GitHub in case you also have a DSC 1550 alarm system.

It’s a pretty slick hack, so don’t forget to check out the video after the break.

Continue reading “Upgrading Your Alarm System With An Arduino”

neopixals

Seven Segment Clock Made From Scratch

[David Hopkins] built a seven segment clock, but not in a way you would think.  Typically, if one wants to make something like this, one would start off with some seven segment LEDs. [David] wanted to kick it up a notch and use RGB LEDs to get access to the wide array of different colors, but found off the shelf assemblies cost prohibitive. So, he did what any good hacker would do. He made his own.

clockThe easy part consists of Neopixels, an Arduino Nano and a DS3231 Real Time Clock. The hard part consists of Plasticard and a polymorph diffuser. Plasticard also goes by the name of Polystyrene and comes in sheets. [David] describes Polymorph as a type of moldable nylon that softens with heat, with a working temperature low enough that boiling water will suffice.

He was able to cut out the individual segments to make an impressive looking desk clock.

Transformers, Birthday Cakes In Disguise

[Russel Munro] decided to go all-out for his son’s birthday cake: he made a Transformers robot cake that, well, transforms from a truck into a robot, Optimus Prime style. His impressive build has the actions of the original: first, the front rears up to lift the head, then the back lifts to form the body and the head and arms pop out of the top. Underneath the thin fondant exterior is a 3D printed body, driven by a mechanism in the base. He used fishing line to lift the parts, which is pulled by a motor salvaged from a CD player, being driven by an EasyDriver board from Sparkfun.

The main issue he had to overcome was weight: apparently he underestimated the weight of the fondant that covers the cake, and had to do some last-minute work to strengthen the drive mechanism, and skip plans for the more ornately decorated version that his wife had planned. But the look of glee on his son’s face when he operates it at the party is the best bit. In these days of CGI and computer games, it is good to remind the kids that there is still a lot of fun to be found in ingenuity and liberal quantities of hot glue.

Continue reading “Transformers, Birthday Cakes In Disguise”