Teensy 3.0 updated to Teensy 3.1

Tennsy Arduino compatible board series are great small boards with native USB. There are two major branches Teensy 2.0 and Teensy 3.0. First one is based on Atmega USB chips while 3.0 series comes with ARM Cortex microcontrollers. Recently a new Teensy 3.1 board was introduced. This is same form factor as Teensy3.0. When Comparing Teensy 3.1 to teensy 3.0 we notice that microcontroller speed increased from 48MHz to 72MHz, RAM increased from 16K to 64K. Flash memory also doubled to 256K. It now has 5V tolerant digital pins. Among other features there appeared CAN interface, 12 DAC. So, practically power is doubled with pretty much same price tag. Continue reading

DIY battery capacity tester

When you buy a new battery there is always a doubt if rated capacity is correct. Especially you can’t trust highly rated batteries that usually come from China. The only way to find out is to measure battery capacity by yourself and use a thick marker to write real value. So this project is pretty simple it uses a Teensy USB development board based on AVR USB chip. So data can be easily sent to PC via USB connection. There can be several ways of measuring battery capacity but this one uses pretty simple solution – it discharges battery with constant current. Circuit is built of LM317T adjustable voltage regulator. It is set to 2.5V which is lower that battery and stays like this during all discharge. Then output is loaded with 10 Ohm 10W resistor that draws constant 250mA of current. This way microcontroller simply reads voltage drop on battery during time and calculates battery capacity. There is also LCD screen attached where current status is displayed like current on load, voltage across battery, time and calculated capacity. So… Continue reading