

Battery life depends on the size of your battery, power consumption of your keyboard, and the power level of your bluetooth.Plug the micro USB into the keyboard and double stick tape the electronics.Solder all batteries in PARALLEL to the trinket backpack.Solder the Data ( - ) pin(PS2 data) of the micro USB to pin 3 on the Bluefruit micro.Solder the Data ( + ) pin(PS2 clk) of the micro USB to pin 2 on the Bluefruit micro.Solder the micro USB power connections to ground and 3.3v on the Bluefruit Micro.

Solder the trinket backpack to the Bluefruit micro.(Optional) Cut the switch trace on the trinket backpack and solder a micro switch between the two contacts.Solder the 500mah jumper on the trinket backpack for batteries larger than 500mah.Again, Eric took care of all the mechanical design. And, we'd add some 'Wow' factor with WS2812 LED strips, relay control of a fog machine and crazy sound effects. Arcade buttons would be integrated into the system using a 32u4 based Arduino to inject keystrokes to the computer to mimic the use of hot keys. (Future tests to do::: Do independant current measuring tests with both the INA219 and a multimeter for a standard load.In this video, I show how I built a fully customizable keypad for my CNC using mechanical switches, an Arduino and a custom PCB manufactured by PCBWay, who y. You could also upgrade the LCD size from 16x2 to a 20x4 to read out things more clearly (will have to modify the contrast values). I also wanted to keep everything modular in case the INA219, Trinket, or LCD failed. Putting this all into a small form factor with a Trinket Pro with a battery and switch is the next challenge. I also realised that this device could be used to more accurately determine how much power was being delivered from a solar panel to a battery since the INA219 can measure current Bi-directionally. I could have relied on the data sheets or used a multimeter twice (once in series for current then again in parallel for voltage), but I wanted to have a simple, accurate read out of both on a neat little LCD screen.When I first saw the Adafruit's INA219 breakout board I was sure I wanted to try it out and see of it could help me understand the power consumption of my robot (so that I could optimize the battery size, and reduce power consupmtion where ever I could). I wanted a reliable way to determine how much power was being consumed in real time when say, the robot was simply powered on, the robot was running its motors, the robot was live streaming video back to my desktop or simply taking in analog sensor readings. One of the most important parts about making a robot is power management. It has been a wonderful exploratory journey of programming, physical computing and electronics. In early 2013 I officially got into hobby robotics by helping Kickstart the BrickPi: a Raspberry Pi robotics platform.
