I wanted to dust off my Arduino IDE and throw some code together to test my battery bank which as usual I’ve posted on YouTube. I’m not so sure I’ve got the current measuring code quite right though.
I was grateful to receive a package in the post from one of my subscribers. It contained everything I needed to build an LED PWM Dimmer circuit using an ESP8266-ESP01.
I used some code from Sparkfun as the basis of the code below and just made a few changes so that I could dim the LED rather than just turn it on and off.
I created this fairly simple circuit and Arduino sketch to check the labeled capacity of Lithium Ion 18650 batteries. It could easily be adapted to other types of batteries and discharge more than one battery at a time. If you power your arduino from a computer and monitor the serial port you can obtain results as it goes along and create pretty graphs of the results. http://admw.uk/iB
Continue Reading →
After receiving Julian’s comment on my first Arduino solar charge controller Youtube video I’ve been thinking of ways to reduce the power consumption, but after a fair bit of reading (and a bit of guessing) I’ve been able to come up with a working prototype. In the video below I look at the code, how to program ATTinys and the trade offs that come with reducing power consumption.
Continue Reading →
I attempted to build a fairly simple electronics kit to decorate the solar shed for Christmas. It’s a simple Astable Multivibrator based circuit which I couldn’t manage to get working as it should. Never fear – add a microcontroller and we’ll get those leds to flash! The code for this project is further down the page:
I’d had comments from people nervous about the soldering – which I too struggled with. So many components in such a small space made it tricky. I wondered if I could redesign the circuit board to make it a little easier. I also wondered if I could reduce the number of components used in the design.
I came up with this version: