Review: FriedCircuits USB Tester

Over the last decade or so, USB has somehow changed. It’s not just for connecting printers, keyboards, mice, and webcams any more. It’s not even just for stuff you would have plugged into a serial port. It’s a power outlet. If you want to charge your phone, plug it into a power outlet that can deliver up to 2.5 Watts. Unintended consequences, I guess. If you ever find yourself in 1995 again, go over to Intel and tell them to bump up the current limit.

Being a power outlet, having a device to measure current, voltage, power, and all the other intricacies of the what’s going on inside a USB cable would be neat. The USB Tester from Fried Circuits is that device.

DSC_0009The Fried Circuits USB tester isn’t so much a single device, but a small set of tools that allow you to probe everything going on inside a USB cable. In its simplest form, it’s just a board with a USB A connector at one end, a USB micro connector at the other, and breakouts for measuring current, voltage, the differential data signals, and that weird ID pin that’s useful if you’re working with USB chargers or OTG devices.

This breakout board also has two rows of five pins broken out. That’s for the USB Tester Backpack, which is really the heart of this device. This backpack features a microcontroller and a 128×64 resolution OLED display for current, voltage, and power monitoring, reading the voltage on the data lines, and graphing everything on the display. Everything you would ever want to know about a USB port – except for the actual bits being shoved through, of course – is right there on the display. Press the button on the side a few times, and whatever info you need will be presented in tall, very readable numbers.

The Entire Reason For Buying One

If you’re only going to use this to look at voltages, amps, and current flowing through a USB cable, you’re throwing your money away with this USB Tester. If simple, at-a-glance monitoring is what you need, you can hop on Amazon and get a USB current/voltage meter for $15. Even Adafruit has one for $7.50. If you only need to read the volts and amps for a USB device, your money is better spent elsewhere.

USBData
The Fried Circuits Java app.

The Fried Circuits USB tester does something none of these other USB meters can do. It can log all the data to a computer over USB.

In my initial review of the USB Tester for the Hackaday Store, the only ‘official’ option for recording data from the Tester to a computer was a Java app. The developer of the USB Tester, [Will], chose Java because of the ‘write once, run anywhere’ Sun and Oracle have been shoving down our throats for the last 20 years. In theory, Java was an excellent choice for a datalogging solution for the USB Tester.

In practice, however, it just didn’t work. By [Will]’s own admission, it was the first thing he’s ever done in Java, and I think he set some of the options in NetBeans wrong. I could not get the data logging app to run on my Windows 8 box, or my OS X box, or my Linux boxxen. The only way I could run this app was by digging out an old XP box. Apparently, [Will]’s copy of NetBeans was configured for Java 5 or something.

[Will] knew about this problem, and last month he officially teamed up with [Edouard Lafargue] of wizkers.io. This is a platform for scientific instruments that runs in a Chrome App. The choice of running instrumentation in a Chrome app may seem odd, but this is apparently the new hotness; you can program an Arduino in a Chrome app, and there’s a lot of interesting stuff happening in this space.

You can try out the Chrome app right here, and with the USB Tester everything works as intended:

Wizkers
The Wizkers.io app.

The Wizkers.io app can do everything you would expect from a datalogging app. It will tell you the volts, amps, watts, mWh, and mAh of the device currently under test. There are pretty graphs, and everything can be downloaded to a computer for further analysis.

It might seem like cheating to review this device with a 3rd party app, but by [Will]’s own admission, there were problems with the Java-based logger, and the Chrome app works perfectly. There’s also the delicious irony that a Chrome app is more portable than one written in Java. I appreciate that.

Of course the USB Tester also outputs this data over a serial connection (in JSON format, too!). If you just want to connect this to a computer, solder up some wires to the TX and RX lines.

Conclusion

If you want a device that just tells you how many mA a USB device is sucking up, you don’t need this. You can buy something for less than $10 that will tell you that. If you’re developing some USB hardware, you’ll eventually want to characterize how much power your device is drawing and when it’s drawing that much power. This will require a data logging tool, and apart from cutting up a few USB cables and wiring it into an expensive power supply, you can’t do better than the Fried Circuits USB tester.

Hacklet 52 – Breakout Board Projects

Starting a design with a new part can be hard. What power supply voltage(s) does it need? Are there any support component requirements? What is the footprint? What about the I/O voltage levels? Breakout boards are designed to answer all those questions for you. Breakouts help when you’re designing with a new part – be it a microcontroller, a sensor, a motor driver, or anything else. They also are a huge help when you’re trying to knock out a quick hack, and just need to get something working quick. Fast to integrate, often breadboard friendly, breakouts just make things easier! This week’s Hacklet is about some of the best breakout board projects on Hackaday.io!

32f4We start with [Christoph] and STM32F030F4P6 breakout board. Inspired by the Teensy 3.0, [Christoph] set out to build a simple, easy to use, and small breakout board for an ARM processor. The STM32F030F4P6 is a great starting point. At only 20 pins, it’s one of the smallest ARM based chips around. He added the basic things needed to bring this chip up: decoupling caps, a reset button, headers for ST’s software debugger, and of course an LED for a blinky hello world program. The resulting board is physically tiny, but this lilliputian ARM board packs Coretex M0 powered punch!

drvNext up is [al1] and DRV8836 Breakout. Sooner or later, everyone wants to drive a motor in one of their projects. It’s a rite of passage, just like blinking an LED. Motors pull a lot of current though, so external transistors or driver chips are almost always necessary. TI’s DRV8836 chip packs two full H-bridges into one package. That’s enough to drive two DC motors or one stepper. Handling 1.5 amps of current per driver in a tiny package means that thermal coupling is important. The DRV8836 has a large thermal pad which has to be soldered to keep the magic smoke in. [al1] dropped the chip, along with the correct thermal footprint and decoupling capacitors onto a simple breakout. The result is easy to use motor drivers for the masses.

espHackaday.io power user [davedarko] took cues from his favorite designs to create Ignore this ESP8266 board. In [Dave’s] own words, “I stole from every one. The huzza from Adafruit, [Matt’s] breakout board, [Al1s] board, NodeMCUs DevKit.” Hey [Dave] there’s no stealing in open source hardware! There is  only design reuse with attribution, which is exactly what you’re doing. [Dave’s] breakout can use both popular ESP8266 footprints: the ESP-01 and ESP-12. He’s added power, reset/programming buttons, and the all important serial header to talk to the module. Going serial allows dave to keep costs down by not including an expensive serial to USB chip in the BOM. Most of us have FTDI cables (or clones) bouncing hanging around anyway. We definitely like the logo on this one!

bbbFinally we have [The Big One] with uBBB 32u4. uBBB 32u4 is a bigger brother of µbbb, a Hackaday.io project [Warren] and [The Big One] worked on. µbbb uses an Atmel ATmega32u2 processor. [The Big One] has expanded the faimly to include an ATmega32u4. If you’re wondering, uBBB stands for “Micro Bare Bones Board” At 1.65″ x 0.8″, this is a micro board. It still manages to  include everything you need to get the processor up and running fast. Crystal, buttons, decoupling caps, and LEDs – everything is here. A mini USB connector makes communicating with the ATmega a snap!

If you want to see more breakout boards, check out our new breakout board list! If I’ve forgotten to add you to the list, just drop me a message on Hackaday.io. That’s it for this week’s Hacklet, As always, see you next week. Same hack time, same hack channel, bringing you the best of Hackaday.io!

Caption CERN Contest – Work Until You Drop

Week 19 of the Caption CERN Contest is now in the record books, though we’re sure we’ll be getting “safety update” emails from HR about the incident for the next several weeks. Thanks to everyone who threw caution to the wind and submitted a caption! This definitely is some sort of medical or emergency room at CERN. We’re still not quite clear as to why they need a full-sized skeleton though. We have to wonder how many lab pranks that poor former-human has been part of.

The Funnies:

  • “The second test subject survived a bit better than the first, and if you’re wondering, the first test subject is standing in the corner”- [jakewisher125]
  • “It soon became apparent that it had been a mistake to entrust site security to sharks with lasers.” -[Robb Smith]
  • “What do you mean blink once if it hurts? Are you serious?” – [Rollyn01]

This week’s winner is [Will Frankian] with “Dr. Banks never tried eyeballing the electron beam alignment again”. Congrats [Will]! Enjoy your LightBlue Bean from The Hackaday Store!

Week 20

cern-20-smAnyone who’s worked on a major project, be it professional, personal, or for a contest like The Hackaday Prize, knows about marathon sessions. Those times when you put in your all and just push the project ahead until you drop. This scientist has definitely given his all and then some! He’s catching a few winks right under the blackboard where he presumably has been working. This image has no caption, though it’s attached to an album entitled Linac control room. None of the pictures seem to show much of a control room though. It seems that back in 1966, CERN’s photographer was a bit more interested in the sleeping scientists than the science itself!

What do you think is happening in this image? Can you make anything interesting out from the diagrams on the blackboard? Give it a shot! This week’s prize is a Stickvice from The Hackaday Store.

Add your humorous caption as a comment to this project log. Make sure you’re commenting on the contest log, not on the contest itself. As always, if you actually have information about the image or the people in it, let CERN know on the original image discussion page.

Good Luck!

recycled delta 3d printer

Delta 3D Printer Made From Unorthodox Parts

Over here at Hackaday, we love stuff made from other (unrelated) stuff. Maybe it’s the ingenuity behind the build or the recycling of parts… or it could be both. Either way, it’s cool and a side benefit of re-using parts from the junk drawer is that it keeps the project cost down, maybe enough that the project wouldn’t even be feasible without the re-use of parts.

That brings us to the topic of this post, a Delta-style 3D Printer made from recycled parts not typically seen in such a machine. It was built by DIYer [hesamh] and is almost unrecognizable visually. The usual extruded aluminum or precision shaft frame has been replaced with 5 pieces of MDF, finger-jointed together at the seams. Attached to the 3 vertical MDF frame pieces are rail and carriage assemblies scavenged from Epson dot matrix prints saved from the scrap yard. The best part is that these rail/carriage assemblies already had stepper motors and belts installed!

The end effector is also unique among delta-style printers. This one is made from aluminum plate and provides a mount for the extruder. There is no need for a bowden tube setup when the extruder is mounted on the end effector, although the increase in mass may reduce the printer’s top speed. That’s fine by us as we’d rather have a good-looking slow print than a fast ball of spaghetti. Another scavenged stepper motor is used for the extruder. The accompanying belt pulley acts as a direct drive feed gear.

The print bed is a re-purposed flatbed scanner. The guts were removed and a heating element was placed under the glass. The bed heater is controlled separately by way of a household thermostat. An Arduino Leonardo and 4 stepper drivers replace the normally used Mega/RAMPS/Pololu combo. Overall, this is a cool build that shows what is possible with a little thought and resourcefulness. The only part used in this build that was actually made for use in a 3D Printer is the hotend!

Hackaday Prize Entry: Recording RC Planes With Third Person View

With the latest advancements in small, cheap video transmitters, it’s no surprise First Person View remote-controlled aircraft are so popular. It’s the easiest way to get into a cockpit without having to spend thousands of dollars and fifty or so hours on a pilot’s license. Despite all the technical challenges of FPV flying, there’s still one underserved part of recording RC aircraft: third person view, or as it’s more commonly called, ‘handing a camcorder to your friend.’

[Walker Eric] would like to do something about that. He’s always wanted nice videos of him flying his plane, and he can’t film and fly at the same time. He can build a robot, though, and that’s his entry for The Hackaday Prize.

[Walker]’s project uses a base station with a camcorder mounted on a gimbal. The electronics for this setup are surprisingly simple – just a GPS beacon transmitting telemetry down to the base station. By comparing this data to a GPS receiver on the ground station, the direction of the plane can be computed.

There are a few problems with this setup. Altitude measurement with GPS isn’t very accurate, so [Walker] is using a pressure sensor as an altimeter on the GPS beacon. The current setup works great, and is a fantastic improvement over the OpenCV setup [Walker] tested out before moving to GPS.

[Walker] already has some incredible video of him flying some planes and quads around his local field shot with this system. You can check those out below.


The 2015 Hackaday Prize is sponsored by:

Continue reading “Hackaday Prize Entry: Recording RC Planes With Third Person View”

A Real Dash For A Truck Simulator

[Leon] plays Euro Truck Simulator 2, and like any good simulator, there are people out there building consoles, cockpits, and dashboards. In [Leon]’s case, he wanted a dashboard for his virtual trucks and cobbled one together out of a dash taken from a VW Polo.

This project was inspired by [Silas Parker] and his Arduino-based dashboard made out of a cardboard box, some servos, and a few LEDs. It worked, but [Leon] realized just about every dashboard made in the last decade or so has a CAN bus. You can just buy a CAN bus shield for an Arduino, and a dashboard can be easily found at any junkyard.

Right now, [Leon] is in the process of finding the CAN bus addresses of the relavent dials and LEDs on the dashboard. He found the tachometer at 0x280, and a bunch of indicator lights can be found at 0x470. Combined with a standard computer steering wheel and the telemetry SDK for Euro Truck Simulator 2, [Leon] has the beginnings of a virtual big rig on his desk.

Cheap, Easy To Build Robot For Beginners

Robotics kits are a great way to get folks , young and old, interested in hacking and learning the basics. Quite often, the cost puts them off – it’s no fun if you mess things up while learning how to put an expensive kit together. Many kits are too polished and that leads to beginners feeling that they’ll never be able to build something complex like a robot. The Shonkbot is what the team at Bristol Hackspace came up with for a robot that is obvious in its working and encouragingly easy to build, even for kids (with supervision).  To that effect, they completely avoided custom PCBs and laser cut bits. The Shonkbot is built from easily available parts and some commonly available materials. They aimed to build it for £5, but managed £15. With proper planning and time, they guess it can be brought down to £10.

The Shonkbot is built using an Arduino Nano, two stepper motors with their drivers, a 3xAA battery box and some bits and bobs. Assembly takes about an hour for a 10-year-old and then they can reprogram it in another workshop or at home. The “frame” of the Shonkbot is an old CD-ROM or DVD disk. Everything is hot glued to this frame. At the centre of the disk, a Sharpie is inserted and the Arduino code then allows the robot to draw on paper. Upgrades include adding an IR LED, a photo transistor and a buzzer to allow the Shonkbot to detect objects, or communicate with other Shonkbots. Build instructions are detailed in this document, and the code is available from the Github repository. Here is a photo album from their first build workshop which was held recently.

Thanks to [Matthew Venn] from the Bristol Hackspace for sending in this tip. Check the robot in action in the video below.

Continue reading “Cheap, Easy To Build Robot For Beginners”