Posts | Comments

Planet Arduino

Archive for the ‘telemetry’ Category

USB battery banks are a dime-a-dozen and useful for recharging all of those devices in your life. But the typical cheap battery banks don’t provide you with much information about their status. You usually just get a few LEDs that provide a very general idea of how much battery life remains. Keenan Johnson needed more info for an upcoming project and so he hacked a USB battery bank to gather telemetry.

The most useful data about a USB battery bank is its voltage at any given time, which tells you approximately how much longer the batteries will last. But there is other telemetry that Johnson wanted to have, including the charging current and output current. This USB battery bank contains an HT66F018 microcontroller to monitor the battery cells and control charging/discharging, but it runs custom firmware and doesn’t make the telemetry accessible through a standard interface like I2C or SPI.

Fortunately for Johnson, the PCB inside the battery bank has handy pins marked P+, LOAD, and CHRG. Those correspond to battery voltage, output current, and charging current respectively. Johnson could measure those with a multimeter, but needed a better way to monitor the telemetry. To gather that, he connected a MKR WiFi 1010 board to the test points via an ADC (Analog-to-Digital Converter) module. Johnson programmed a simple interface that he could access remotely that shows him battery voltage, load current, and charge current, and also added an Adafruit NeoPixel LED status indicator.

The post Hacking a USB battery bank to gather telemetry appeared first on Arduino Blog.

[William Osman] set out to prove that unlike expensive commercial data logging rigs, he could get the same results for under twenty bucks. He wanted to build a wireless three-axis accelerometer for a race car project, allowing engineers to make modifications to the suspension based on the data collected.

The hardware consists of an Arduino Pro Mini connected to a three-axis accelerometer, and an nRF24L01 wireless module. Power is supplied by the race car’s 12 V, changed to 5 V by a linear regulator with the Pro Mini in turn supplying 3.3 V. The base station consists of an Arduino and another nRF24L01 module plugged into a laptop.

The telemetry system is based on COSMOS, an open-source, realtime datalogging platform put out by Bell Aerospace. COSMOS consists of fifteen separate applications depending on how you want to view and manage your telemetry. You can download [William]’s COSMOS config files and Arduino sketch on Google Docs.

We’ve published a bunch of pieces on telemetry, like this ESP8266 telemetry project, a rocket telemetry rig, and open sourcing satellite telemetry.

[Thanks, Dennis Nestor!]


Filed under: Arduino Hacks


  • Newsletter

    Sign up for the PlanetArduino Newsletter, which delivers the most popular articles via e-mail to your inbox every week. Just fill in the information below and submit.

  • Like Us on Facebook