A Full IP Webcam With A Raspberry Pi

A Dropcam will run you about $150. Price out a Raspberry Pi, camera sensor, and a CCTV camera housing found on eBay, and it starts to look like there may be a cheaper replacement for a Dropcam sitting around on workbenches, if only someone can figure out the software. [Antoine] did just that, giving any Raspberry Pi the ability to stream H.264 video over a network.

[Antoine]’s software is based on the raspivid tool distributed from the foundation, but that only takes care of capturing and encoding H.264 video from the camera sensor. To add IP camera support, the Live555 RTSP library was mixed in and combined to stream video over the Raspi’s network connection.

With a camera dome enclosure from the usual outlets, [Antoine]’s project really starts to look professional. The specs are respectable, too: it can output a 1080 stream, and with a small modification to an Ethernet cord, this webcam has PoE. Future updates include the ability to record videos based on a trigger and possibly a webserver on the Pi for configuration. [Antoine] says he really isn’t up to speed with Javascript, so any help would be appreciated.

Discovering The Protocol In A USB VoIP Phone

[Daniel] picked up a cheap USB handset to use with his VoIP provider, and included in the box was a CD with all the software that would make this handset work with Windows. [Daniel] is running Linux on his main battlestation, rendering the included CD worthless. Using the handset under Linux would be a problem; although the speaker and mic worked, the buttons and screen did not. No problem, then: [Daniel] just played around with the command line until he figured it out.

The handset presented itself to the Linux box as a soundcard and HID device. The soundcard was obviously the speaker and mic, leaving the buttons and display as the HID device. [Daniel] checked this out by running a hexdump on the HID device and pressed a few buttons. His suspicions were confirmed, and he could easily read the button with a little bit of Python.

With the speaker, mic, and buttons on the handset figured out, [Daniel] turned his attention to the one bit of electronics on the phone he hadn’t yet conquered: the display. After firing some random data at the phone, the display blinked and showed a messy block of pixels, confirming the display was controlled through the HID driver. Loading up usbsnoop to see what the original software does to update the screed showed [Daniel] the data format the display accepts, allowing him to control everything in this VoIP phone.

A Watercooled Headlamp, Because Why Not?

There are extremely high powered LEDs out there, and most of the ‘creative’ uses of these are extremely high-powered flashlights, complete with heatsinks, forced air cooling, and beefy power supplies. [Christian] wanted to play around with one of these LEDs, but he wanted something a little more unique. He chose a headlamp, a build that is made even more impressive by the fact it is watercooled.

The body of the headlamp was milled out of aluminum, with a space for the LED in the front and channels in the back for coolant. Also in this enclosure are two buttons, a temperature sensor, and a port for the hose that carries the tubes and wires.

This hose connects to a large battery pack that houses four large lithium phosphate batteries and a boost converter built around an Arduino. The pack also houses a pump and reservoir that is able to keep the LED cool even at 130W.

Hackaday Links Column Banner

Hackaday Links: November 2, 2014

Russians blowing up capacitors! As we all know, electronics only work because of blue smoke. [kreosan] is releasing this blue smoke from a few hundred caps. Fun times, even if they are a large number of inert tube shields in their collection of caps.

[mayhugh1] over on the home model engine machinist forum has built an 18 cylinder radial engine. It’s based on the Hodgson 9-cylinder radial engine that has been around for a while. The crank case is machined from a 5″ diameter rod of aluminum. There’s a Picassa album of the engine being constructed as well.

[Richard] wanted a Minecraft server, but not just any Minecraft server; this one demanded a custom case. A grass block was the inspiration, acrylic the medium, and a quad-core Mini-ITX the guts of the project.

Halloween was last Friday, and as always the tip line filled up with costume builds. [Leif] built a Ghostbusters costume complete with Muon trap, [Jeff] printed out some steampunk post-apocolyptic goggles, and [Green Gentleman] made a death-a-corn, although we’re struggling to figure out why the last one isn’t called an acorn-‘o-lantern.

[Matthias Wandel], a.k.a. the woodgears.ca dude,  is well-known in certain circles for being a wizard of wood. One of the first projects that put him on the map was a pantorouter – a router to cut mortises and tenons. He’s going back to his roots and building a bigger version. This version uses models of routers that are available outside North America, and in the latest video [Matthias] has it dialed in very well.

The Open Source Remote Control was an entry for The Hackaday Prize that didn’t make the final cut. It’s now an indiegogo project, and has some really cool tech we can’t wait to see in mainstream RC transmitters.

Using Cell Phone Screens With Any HDMI Interface

Thanks to the worldwide proliferation of smartphones, tiny high-resolution displays are common and cheap. Interfacing these displays with anything besides a phone has been a problem. [twl] has a board that does just that, converting HDMI to something these displays can understand, and providing a framebuffer so these displays can be written to through small microcontrollers.

[twl] is using a rather large FPGA to handle all the conversion from HDMI to the DSI the display understands. He’s using an Xilinx Spartan-6-SLX9, one of the most hobbyist friendly devices that is able to be hand soldered. Also on the board is a little bit of SDRAM for a framebuffer, HDMI input, and a power supply for the LCD and its backlight.

On the things [twl] has in his ‘to-do’ list, porting Doom to run on a cellphone display is obviously right at the top. He also wants to test the drawing commands for the Arduino side of his board, allowing any board with the suffix ~’ino to paint graphics and text on small, cheap, high-resolution displays. That’s a capability that just doesn’t exist with products twice [twl]’s projected BOM, and we can’t wait to see what he comes up with.

You can check out the demo video of [twl]’s board displaying the output of a Raspberry Pi below. If you look very closely, you’ll notice the boot/default screen for the display adapter is the Hackaday Jolly Wrencher.

Continue reading “Using Cell Phone Screens With Any HDMI Interface”

Turning The Raspberry Into A CAD Workstation

Inventables has been working hard on a successor to the extremely popular Shapeoko CNC milling machine, and to bring digital fabrication to the masses, they’ve created Easel, possibly the easiest 3D design software you’ll ever use. [Sacha] was trying out the beta version of Easel and mentioned to the dev mailing list he was running his installation on a Raspberry Pi. One of the developers chimed in, and after a bit of back and forth we now have a workflow to use Easel with the Raspberry Pi.

Easel is a web app, but since the graphics, design, and g-code generation are handled locally, even the most rudimentary CAD suite would choke the decidedly low power Raspi. Instead, [Sacha] is using the Raspberry to grab 2D and 3D files, turn that into g-code for a machine, and send it off to a Shapeoko router.

Easel doesn’t yet have local sender support that works on Linux, so a separate piece of software is used to shoot the g-code over a serial port to the machine. That’s something that will probably be added in a later version of Easel, making a Raspberry Pi a great way to control router or milling machine.

A Remote Control, Swing Wing F-14

Anyone can build a remote control airplane with a sheet of foam, some glue, and a handful of servos. Building an F-14, complete with the swing wing mechanism? [Thomas] found built one that’ll take you right into the danger zone.

This was [Thomas]’ first go at scratch building a RC airplane, and wanted a lot of electronics inside. His choice of airframe was the venerable F-14 Tomcat, complete with wings that swing out for landing and swing in for high-speed flight. This isn’t just taking off-the-shelf receivers and putting them in a fancy airframe, either: [Thomas\ is reading the PWM signals from the receiver with a small electronics board, mixing the elevons with his own code, and implementing an auto stabilization system with an accelerometer.

Most of the work on the airframe was done by [Maybz] over on the RCGroups forums. That’s an impressive thread spanning seven years of posts. [Thomas] doesn’t see his F-14 as an end goal, though: he’s using this as a stepping stone to learn about building unstable planes for a more complex UAV.

Videos below, with a warning to headphone users.

Continue reading “A Remote Control, Swing Wing F-14”