• Battery Test Results and Redesign

    David Hopkins07/20/2015 at 10:09 0 comments

    Unfortunately, the battery tests were disappointing, only 33 hours...

    assuming that the battery capacity was correct (1000mAh) and that all of it was used before the boost circuit collapsed...

    1000mAh @ 3.7V = 3700Wh

    3700Wh / 5V = 740mAh

    740mAh / 33h = 22mA (AVG) spread across the booster, RTC , Arduino and SD card which isnt too bad really

    redesign:

    The SD card will be turned around so that its accessable from the end with the USB port and the wires allowing the whole lot to be put into a tube of heatshrink.

  • battery testing in progress...

    David Hopkins07/17/2015 at 13:33 0 comments

    just a pic of the text file part way through...

  • Battery Testing and design revelations

    David Hopkins07/17/2015 at 12:05 0 comments

    based on some preliminary research, the lot should take about 20mA max when idle... this is frankly, sod all, so there's no reason it cant be powered off the constantly live feed from the car, circuit redesign needed, but means I can get rid of the LiPo and charger, and add another buck converter (one for sense wire, one for constant power)

    In other news, testing the battery power, just for personal interest really, this is modified main loop of the code showing the test code, every hour it adds a line to a text file to say its still alive, estimated lifetime should be a number of days, actually ill change it to every 20 mins, so I get better resolution...

  • Logging Test

    David Hopkins07/16/2015 at 09:08 0 comments

    Tested the logging this morning, hooked it up to a 12v bench supply and turned it on and off a number of times, of course, as the sleep time is 8 seconds, the resolution is no greater than 8 seconds, but frankly that's more than enough for my purposes.

    The CSV file that was created was opened in excel, column width adjusted and the format of the cells containing the calculated time changed from 'general' to 'time', the result is thus:

    there was a new session start last night as you can see, this was during a demonstration/explanation.

    Of course, using excel you can detect weekday, and filter on start time (AM/PM) to get the data required. once I have got the thing hooked up in the car I will probably run it for a week and see what the data looks like. in the meantime I really need to find out what the plug is called that plugs into the REC(rear electrical console) in the back of the Astra...

  • Wiring complete

    David Hopkins07/15/2015 at 11:03 0 comments

    all parts assembled and wired in, first run of code complete

    the switch is so that i can turn the whole thing off (disconnect the battery)

    the flying lead is so that i can test ignition on and off events without having to play about with a 12 v supply

    code will be on github soon, its fairly heavy on the Nano with 6 libraries running time, sleep, SD etc, im sure there can be som improvements there but we shall see.

    it could make expansion to further stages tricky, alternately, i could crack out a teensy3.1 if needed.

    'Front':

    'Back':

    further testing will involve a 12v supply and a longer period of time...

    also battery cpacity testing needs to be done: fully charge battery, then see how long it lasts

  • Components: Assemble!

    David Hopkins07/14/2015 at 08:01 0 comments

    main parts from left to right

    RTC, liPo charge/boost board, Arduino Nano and the adjustable buck converter set to 5V

    underneath is the bit of foam-board I'm going to be using, was going to mount it all on the battery but there is a change the buck converter might get a bit warm so thought I would play it safe and mount it all on a board.

    next, the battery and SD card, nothing special here really

  • Initial Sketch

    David Hopkins07/14/2015 at 07:57 0 comments

    Initial idea:

    Arduino Nano at the core of it all, logging to an SD card (uSD would be too fiddly), logging the date/time as reported by the RTC, battery system required so that it can log the 'power off' events, originally this was to be a supercap of some kind, but i have loads of lipos kicking around and no supercaps.

    Have realised since that only need one buck converter.