Overengineering A USB Hub

hub

Like many of us, I’m sure, [Nick] doesn’t like digging around behind his computer case for a spare USB port and ended up buying a small USB hub for his desk. The hub worked perfectly, but then [Nick] realized an Ethernet port would be a nice addition. And a DC power supply. Then feature creep set in.

What [Nick] ended up building is a monstrosity of a desk hub with two 24V,  5V, 3.3V 50 Watt DC outputs on banana plugs, a five-port USB hub, four-port Ethernet switch, three mains sockets, 32 digital I/Os, UART, SPI, and I2C ports, a 24×4 LCD or displaying DC current usage and serial input, cooling fans, and a buzzer just or kicks.

The case is constructed out of 6mm laser cut acrylic, and the electronics are admittedly a bit messy. That said, this box does seem very useful and even plays the theme from Mario Brothers, as seen in  the video below.

Continue reading “Overengineering A USB Hub”

Building A Software Defined Radio With A Teensy

[Rich, VE3MKC] has been wanting to get into Software Defined Radio for a while now, but didn’t want to go the usual PC route. He initially thought the Raspberry Pi would be the best platform for a small, embedded device that could manipulate audio, but after discovering the ARM-powered Teensy 3.0, had an entirely different project in mind.

[Rich] is using a SoftRock SDR to take RF from an antenna and downconvert it into the audio range. Doing DSP for SDR is fairly computationally intensive, but he found a Teensy 3.0 with the audio adapter board was more than up to the task.

So far, [Rich] is running the audio from the SoftRock to the Teensy where the audio is digitized and multiplied with a VFO, sent through a filter and then sent to the output of the headphone jack to a speaker. The volume pot on the audio adapter board is used to tune the VFO, something [Rich] be replacing with a proper encoder sometime in the future.

In the videos below, you can see [Rich] listening in on a contest with a tiny TFT display showing everybody on the air. It’s a very cool build, and even though it’s still very early in development, there’s still a whole lot of CPU cycles for the Teensy to do some very cool stuff.

Continue reading “Building A Software Defined Radio With A Teensy”

A Tutorial On Using Linux For Real-Time Tasks

[Andreas] has created this tutorial on real-time (RT) tasks in Linux. At first blush that sounds like a rather dry topic, but [Andreas] makes things interesting by giving us some real-world demos using a Raspberry Pi and a stepper motor. Driving a stepper motor requires relatively accurate timing. Attempting to use a desktop operating system for a task like this is generally ill-advised. Accurate timing is best left to a separate microcontroller. This is why we often see the Raspi paired with an Arduino here on Hackaday. The rationale behind this is not often explained.

[Andreas] connects a common low-cost 28BYJ-48 geared stepper motor with a ULN2003 driver board to a Raspberry Pi’s GPIO pins. These motors originally saw use moving the louvers of air conditioners. In general, they get the job done, but aren’t exactly high quality. [Andreas] uses a simple program to pulse the pins in the correct order to spin the motor. Using an oscilloscope, a split screen display, and a camera on the stepper motor, [Andreas] walks us through several common timing hazards, and how to avoid them.

The most telling hazard is shown last. While running his stepper program, [Andreas] runs a second program which allocates lots of memory. Eventually, Linux swaps out the stepper program’s memory, causing the stepper motor to stop spinning for a couple of seconds. All is not lost though, as the swapping can be prevented with an mlockall() call.

The take away from this is that Linux is not a hard real-time operating system. With a few tricks and extensions, it can do some soft real-time tasks. The best solution is to either use an operating system designed for real-time operation, or offload real-time operations to a separate controller.

Continue reading “A Tutorial On Using Linux For Real-Time Tasks”

3D Printed Hydrofoil Boat RC Flies

hydrofoil boat

[Wersy] has been trying out different designs for 3D printed RC boats — his latest is a hydrofoil!

He’s using a high power RC plane out-runner motor, which he found is simply… too powerful. It would cause his first boat to flip and sink if he opened the throttle up too much! To counter this — and make full use of his motor — he’s made new two boats; a hydrofoil, and a dual-hulled  air(?) boat.

He based the hydrofoil’s profile off of NACA 63-412, a typical profile for sailboat hydro foils like the Moth. What he found was it’s still extremely difficult to get the right balance between the pitch of the wings, and the throttle output to hit a steady condition for driving smoothly. It works, but it will still needs a few more iterations!

His other solution, a quasi-jet engine-dual-hulled-boat is pretty fun too — he’s 3D printed a large impeller for his motor, and strapped it in between two of his boats! It’s quite a bit more stable to drive, and looks pretty unique!

Stick around after the break to see both of them in action.

Continue reading “3D Printed Hydrofoil Boat RC Flies”

Sci-Fi Contest Roundup: I Am Iron Man

Back when Iron Man 2 and The Avengers were out in theaters, the Hackaday tip line couldn’t go a week without an arc reactor build being submitted. In keeping with the Internet’s fascination with blinkey glowey things, we expected a huge influx of arc reactors for our Sci-Fi contest. We were pleasantly surprised: all the submissions from the Marvel universe are top-notch, and the two Iron Man entries we have are simply amazing.

Motorized Helmet

1[James Bruton] is working on a replica of the Iron Man movie helmet, complete with a motorized face plate, light up eyes, and an OLED display for a reasonable facsimile of the horribly unrealistic on-screen heads-up display.

While a few bits and bobs of the mechanics were 3D printed, [James] is making the majority of the helmet just as how the on-screen version was made. The helmet was first carved out of sheet foam, then molded and cast into very strong rigid fiberglass. [James] put up a great tutorial series on how he did this and other parts of his Iron Man costume.

Anamatronic

2The other Iron Man costume from [jeromekelty] and [Greg Hatter] doesn’t stop at just the helmet. They’re doing everything: shoulder-mounted rocket pods, hip pods, forearm missiles, back flaps, and boots with a satisfying electronic kerthunk sounding with every step.

Inside the custom molded suit are at least four Arduinos, four XBees, an Adafruit WaveShield, and at least 20 servos for all of the Iron Man suit components. The mechanics are actuated via RFID with a tag in a glove; when the wearer waves their hand over some part of the suit, one of the mechanical features are activated.

It’s impressive to say the least, and one of the best documented projects we’ve seen in the Sci-Fi contest.

There’s still time to put together your own Sci-Fi project for the contest. Grab your soldering iron and fiberglass resin, because there’s some seriously great prizes up for grabs.

 

A High-Speed Logic Gate Board For The Easy-Phi Project

A (long) while ago I presented you the Easy-phi project, which aims at building a simple, cheap but intelligent rack-based open hardware/software platform for hobbyists. With this project, you simply have a rack to which you add cards (like the one shown above) that perform the functions you want.

During these last months my team has been finishing the design and production of several different boards so I’ll start showing them off during these next weeks. Today I present you the High Speed Logic Gate Board, a quantum-physicist requested easy-phi module that can perform logic AND/OR functions at <2GHz speeds. This quite technical write-up is mainly about the constraints that high-speed signals pose for schematics design but is also about the techniques that are used for HS signals termination and monitoring. I hope, however, it’ll give our readers a nice overview of what the insides of a high-speed system may look like. All the files used for this board may be found on the official GitHub repository.

HexDrake — A Low Cost 2-DOF Hexapod

hexdrake low cost hexapod

[David’s] been making robots since he was 16. After conquering the basics, he wanted to build something a bit more interesting than a simple wheeled-robot — he wanted to buy a hexapod but they were too expensive — so he decided to design his own low-cost version!

It’s made out of hand-cut wood, SG90 servos, an Arduino and a 16-channel servo controller. A 2.4GHz remote control sends commands to the Arduino which then communicates to the USC servo controller, allowing for intricate control of the 14 servos that make up the HexDrake.

He’s also added a few LED arrays for the eyes of his robot, which in the future will be animated to give expression to his little hexapod.

It’s an extremely well built little bot, and [David’s] made a very in-depth Instructable for anyone who would like to follow in his footsteps. Stick around after the break to see it scurry around!

Continue reading “HexDrake — A Low Cost 2-DOF Hexapod”