IoT Chameleon Lamp Does It With Python

If this Internet of Things thing is gonna leave the launchpad, it will need the help of practical and semi-practical project ideas for smartifying everyday items. Part of getting those projects off the ground is overcoming the language barrier between humans that want to easily prototype complex ideas and hardware that wants specific instructions. A company called Things on Internet [TOI] has created a system called VIPER to easily program any Spark Core, UDOO or Arduino Due with Python by creating a virtual machine on the board.

The suite includes a shield, an IDE, and the app. By modifying a simple goose neck IKEA lamp, [TOI] demonstrates VIPER (Viper Is Python Embedded in Realtime). They opened the lamp and added an 24-LED Adafruit NeoPixel ring, which can be controlled remotely by smartphone using the VIPER app. To demonstrate the capacitive sensing capabilities of the VIPER shield, they lined the head of the lamp with foil. This code example will change the NeoPixels to a random color each time the button is pressed in the app.

Check out the lamp demonstration after the break and stay for the RC car.

Continue reading “IoT Chameleon Lamp Does It With Python”

A Hacker-Friendly Blinky USB Stick

The availability of Smart RGB LED’s, either as individual units, as strips or even as panels, have made blinky light projects with all kinds of color control and transition effects easy to implement using even the simplest of controllers. Libraries that allow control of these smart LEDs (or Smart Pixels as they are sometimes called)  make software development relatively easy.

[overflo] at the Metalab hackerspace in Vienna, Austria recently completed development of usblinky – a hacker friendly blinky USB stick. It can control up to 150 WS2812B smart LED’s when powered via an external power supply, or up to 20 LED’s when powered via a computer USB port. The micro-controller is an ATTiny85 running the Micronucleus bootloader which implements software USB using vUSB. The hardware is based on the DigiSpark platform. The usblinky software sources are available on their Github repo. The section on pitfalls and lessons learned makes for interesting reading.

Metalab plans to run workshops around this little device to get kids into programming, as it is easy enough and gives quick visual feedback to get you started. To round off the whole project, [overflo] used OpenSCAD to design a customizable, 3D printable “parametric orb” which can house the LED strip and make a nice enclosure or psychedelic night light. Check out the mesmerizing video of the usblinky Orb after the break.

Thanks to [papst] for sending in this tip.

Continue reading “A Hacker-Friendly Blinky USB Stick”

chess robot

Lonely? Build Yourself A Chess Robot!

[Oriol Galceran] has constructed an interesting robotic chess player for his end of school project. It’s called the ChessM8, and is an impressive feat considering [Oriol] is only 17!  He’s using an Arduino Mega that connects to the host PC via a Python script.

The AI can be any chess engine that uses the Universal Chess Interface protocol, which [Oriol] points out that most of them do.  We’ve seen other chess robots here before, along with others that you can play on your wall and uses Nixie Tubes. But [Oriol’s] build is the largest of them all.

He says there’s a network of REED switches under the chess board to detect when a piece is present or not. It would be interesting to know how he dealt with debouncing issues, and if Hall Effect sensors might have been a better choice. Let us know in the comments how you would detect the chess piece.

And be sure to check out the video below to see the chess robot in action.

Continue reading “Lonely? Build Yourself A Chess Robot!”

Hard Drive Becomes Hard Drive Activity Light; Stores No Data

A while ago [Frank Zhao] built a computer in an aquarium. It’s exactly what you would expect – a bunch of parts stuffed into a container filled with mineral oil. Yes, there’s an i7 and a GTX970 in there, but there’s also a bunch of neopixels and a neat little bubbling treasure chest. That wasn’t enough for [Frank], and he wanted to add a HDD activity monitor. What’s the most absurd activity monitor for an SSD? An old platter-based drive, of course.

The build is relatively simple and something [Frank] put together from spare parts in a day. After cracking open an old PATA hard drive, the voice coil for the hard drive arm was connected to the motherboard’s HDD activity signal through a few MOSFETs. The platter motor is controlled by an MTD6501 motor driver, set to spin up when the circuit is on.

It’s a kludge as far as controlling the components of a hard drive go, but that’s not really the point. It’s just a neat project to show when the SSD in the aquarium computer is being accessed. That said, the activity monitor is currently disconnected because the old HDD is so freakin’ loud. It looks really cool, though.

Hackaday Links Column Banner

Hackaday Links: March 15, 2015

[Fran] and [Bil] are back again for the first Dinosaur Den of 2015. Highlights of this edition include a surprisingly young tri-power supply and Nixie display cards from 1965.

The game of Go has been turned into a sequencer. That’s a project from [Kristian Gohlke] and [Michael Hlatky]. It’s an industrial camera placed above a Go board, and some computer vision algorithms to detect stones on the board. There’s a 16×16 section to create drum patterns (black stones) or synth notes (white stones). Below that there’s a 16×3 grid for the bass notes, two 3×8 grids to control filters and effects, and a 3×3 grid to play percussive loops.

HOW TO REMOVE A GPS ANKLE MONITOR. We had to get the SEO right on this one. Here’s how you can ditch your probation officer for a weekend. Great news: his parents used their house for bail, now an entire family is homeless. Lesson learned: use a burner phone and call forwarding until you’re out of the country.

The Computer History Museum is doing a great series of interviews, and this one is with [Bob Dobkin], former director at National Semiconductor, and co-founder of Linear. Analog design isn’t wizardry, you just need a decade of experience.

[Simon] over at the Hack42 hackerspace finally found the time to repair their old Holborn 9120 terminal – the most space-age terminal ever built. The keyboard is an old Keytronic unit, and the foam underneath the keys had turned to dust. This was replaced with an Ikea mousepad, foam tape, and the foil from a discarded bag of chips. It worked, and they got their terminal to load our retro edition:

terminal

If you have some old hardware, try to point it at our retro site, take a picture (or post a writeup) and send it on in.

Mini Robot Wars Looks Fun And Only Slightly Scary

“Ahhhh! They’re so cute! Wait a second, does that little robot have a spinning blade of death?!?!?”  Yes, yes it does.

Welcome to Bristol University 2nd Annual Robot Wars Tournament. It’s loosely based on the old BBC show Robot Wars, where contestants would design and build fighting robots. This pint-sized version is just down right fun to watch. But don’t let their size fool you, some of these little bots pack a mean punch.

This competition follows the “Antweight World Series Rules” and must fit inside a 4 inch cube with a max weight of 150 grams. There are some not-so-fun rules attached to that, such as “No flame based weapons” and “no use of electricity as a weapon.” But hey, it still looks like a blast.

We can’t help but to think that a contest like this would be an amazing thing for local hacker spaces to set up and organize. The playing field seems to be a reasonable size, such that it could be set-up and torn-down without too much hassle. And with RC transmitters/receivers available so inexpensively these days, and ebay flooded with little robot parts from China, now seems like a perfect time to start a local robot competition. It might be a great way to draw people into making and hacking. You can watch the video of the competition and meet the makers after the break.

Continue reading “Mini Robot Wars Looks Fun And Only Slightly Scary”

Custom PLCs For Automation Industries

For many years, factories have used PLCs for automated control over industrial equipment. These systems are usually expensive, proprietary, and generally incapable of being reprogrammed. [Oliver], an engineering student in Ireland created a system for factories to develop their own application-specific PLCs as a final project for Automation Engineering.

In-house PLC creation has many benefits for manufacturers, not the least of which is the opportunity for customization. Making your own PLCs also means no licensing fees and total control over equipment automation. This system is a complete setup including an HMI interface with touchscreen input and a SCADA system for remotely controlling various pieces equipment of equipment from a laptop.

[Oliver] built a metal frame out of industrial-grade strut channel to house an XP machine, two monitors, and the beautifully breadboarded PLC design station. It’s based around a PIC16F887 and includes rugged features expected of a system that never goes into sleep mode, like eight channels of opto-isolation. [Oliver] also developed an environment for engineers to easily program their custom PLCs through a simple HMI interface and ladder logic.