The Pi CNC Controller

pi

Back in the olden days, the latest and greatest CNC machines had minicomputers bolted onto their frames, replete with paper tape readers and seven segment displays. For the home CNC machinist of today, these hulking electronic brains are replaced with something a little more modern – desktop computers with parallel ports. Having a box filled with computers and motor drivers is just too cool though, and this tiny Raspberry Pi CNC controller fits the bill quite nicely.

The controller uses a Raspberry Pi as the brains of the device, but there aren’t too many options out there for stepper motor control in Pi land. There are, however, dozens of CNC shields or the Arduino. The Pi AlaMode board is able to provide voltage level conversion between the CNC shield and the pi, and also has the nice bonus of a battery-backed real time clock.

With some proper connectors, lighted buttons, and a beautiful cable sleeving job, this Pi CNC controller would be well suited for any of the desktop CNC  or engraving builds we see from time to time.

 

A Raspi Ambilight With HDMI Input

With the Raspberry Pi now most famously known as a $30 media PC, it only makes sense that the best uses for the GPIO pins on the Pi are used for an Ambilight. [Great Scott Labs] put up a great video on using the Pi as a uniquely configurable Ambilight with Hyperion and just about any video input imaginable.

This isn’t the first Ambilight clone [Great Scott] has put together, but for the first version the Ambilight functioned only under Raspbian and not any random HDMI input. The new version solves this by using an HDMI splitter box, feeding into an HDMI to composite converter, and finally into a USB composite capture dongle attached to the Raspi.

With the software in the instructions, the Raspi effectively mirrors the video coming from the video capture dongle. The Pi is running Hyperion to control a strip of WS2801 RGB LEDs, making the back of any TV glowey and blinkey.

Since [Great Scott] is using a component video signal as an input, the adapters necessary to have any device work with this Ambilight are readily available. We’d honestly like to see this build working with the old Commodore disk access screen border going nuts, so be sure to send that in if you ever get that working.

Continue reading “A Raspi Ambilight With HDMI Input”

LED IM status indicator

Green Light Go, Red Light Come Back Later

Depending on your taste for social interaction and tolerance for distraction, an open floor plan or “bullpen” office might not be so bad with a total of four people. Hackaday.io user [fiddlythings] likes it, but people often stop by to see him or one of his coworkers only to find them busy or absent. While their status is something they could plainly see in Microsoft Communicator from their own desk, some people like to chat in person or stop by on their way to and from meetings.

In order to save these visitors a few seconds, [fiddlythings] came up with an IM status indicator using their existing nameplates outside the door. Each of their names has a little silver dot by it which he backlit with a flattish RGB LED. These LEDs are driven by a Raspberry Pi and NPN transistors through a ribbon cable.

The plan was to imitate the Communicator status colors of green for available, red for busy, and yellow for away. [fiddlythings] dialed up a lovely shade of amber for away using a mix of red and green. Since he really only needs two colors, he’s using eight NPN transistors instead of twelve. The quick ‘n dirty proof of concept version used Python and a Pidgin IM console client called Finch. Once he got IT’s blessing, he implemented the final version in C++ using Libpurple to interface with Communicator.

This isn’t the first time we’ve seen a Pi used to indicate status—remember this mobile hackerspace indicator?

BrickPi Bookreader 1 And 2 Read Tablets Or Books Aloud, You Choose

BrickPi Bookreader 2

Have you ever wanted to relax with a good book but couldn’t due to the hassle of having to actually read and turn pages? Well, now BrickPi offers 2 solutions to that problem. They have you covered regardless if your document is on a tablet or resides in a physical book.

The original Bookreader will read out loud the displayed text on a tablet. brickpi bookreaderThis is not an application that runs on the tablet, it is a completely separate device that ‘reads’ the tablet screen. As you could guess from the BrickPi name, the brains behind the operation is a Raspberry Pi. A camera takes a photograph of the displayed text and the Raspberry Pi converts that image file to text using Optical Character Recognition. A Text-to-Speech engine then speaks the text in a robotic sounding voice. In order to change the page the Raspberry Pi controls a Lego Mindstorms arm that swipes across the tablet screen and the entire process is repeated.

 

Continue reading “BrickPi Bookreader 1 And 2 Read Tablets Or Books Aloud, You Choose”

Raspberry Pi Boiler Control Uses A Webcam To Read The Analog Gauge

sub-image

One of the biggest problems with home automation is trying to interface with old or analog devices. Do you upgrade the device just so you can automate it? Or do you find a workaround like [Seb] did?

[Seb] doesn’t have on-demand hot water, and as such has to turn on his boiler if he wants to have a hot bath or shower. Not very convenient having to wake up an hour early in the morning just to turn the boiler on so he can have a morning shower! Nonplussed with having to continue putting up with this, he decided to try his hand at home automation using a Raspberry Pi.

The problem is there’s no easy way to have feedback on what the boiler is doing — sure he can turn it on and off using a mains relay with the Pi’s GPIO, but how can he easily measure the temperature inside the boiler?

Continue reading “Raspberry Pi Boiler Control Uses A Webcam To Read The Analog Gauge”

The PebblyPi: A Smart Doorbell

PebblyPi

A Pebble smart watch, and a Raspberry Pi. They are a perfect match. This is probably what [Daniel] thought when he embarked upon his latest project, a smart doorbell called the PebblyPi (tip submitted by [Ben]).

The actual project is quite easy to implement. All you need really need is a Raspberry Pi, a switch, a resistor, and a Pebble Smart Watch (plus a smart phone). Using a simple Python script on the Raspberry Pi, button press notifications are sent to Pushover, which allows the notification to arrive on your smart phone (and thus your Pebble Smart Watch). Pushover is a very cool notification service for Android devices, iPhones, iPads, and your Desktop. The concept behind this project is great, and the fact that it is so simple to implement opens up many other possibilities for interfacing your home electronics with the Pebble Smart Watch (or even just your smart phone). The ability to create custom notifications on any of your devices using any internet connected system is amazing!

You could receive notifications from your absurdly accurate weather station, or even your soil moisture monitor. Have you used Pushover in any of your projects? The possibilities are endless!

Continue reading “The PebblyPi: A Smart Doorbell”

Input And Output On A Single Pin

IO

[Emilio] has a Raspberry Pi with a few sensors running totally headless. It’s a great way to gather data and post it on the Internet, but for the rare occasions when the Pi needs to be turned off for maintenance, [Emilio] needs to connect a monitor, a keyboard, and a mouse. Not a perfect solution when a simple pushbutton and indicator LED would suffice. There’s one problem with adding a simple button and LED combo: there’s only one GPIO pin available in the setup. That’s nothing a few resistors won’t fix.

After wiring up a very simple circuit on a piece of perfboard, [Emilio] met his design goal of being able to tell if the Pi was running and giving it a software reset button using only a single GPIO pin. The circuit requires only two resistors, and the software to make everything run – a simple Python script – toggles the pin between input and output, checking if the button is held down for five seconds. If it is, the Raspi powers off for [Emilio]’s routine maintenance.