11/02/2020 at 19:46 •
After tinkering around with it for a while I was able to identify some issues with it.
Some of them are an easy fix, others will require some more attention.
The good news is that the main functionality (charger IC) appears to be working just fine so I was
able to write a micropython driver for it (see here).
The driver needs to be built into the firmware as a frozen module because of memory reasons.
The bad news is that the I2C level shifter and the MPPC IC are not connected in the way they
should be but I might be able to fix that with a bit of hot air and a steady hand.
I was also thinking about writing a proper Tasmota driver as well since I think it is a device that fits
well into that ecosystem. However I have no experience with the Tasmota API so that might
take some time...
10/20/2020 at 19:38 •
Today the prototype was shipped and it will arrive in one week. Yay!
I've uploaded the pictures the factory sent me.
I decided against soldering the SMD components myself, since I am not confident in
my abilities to solder components of this size.
10/18/2020 at 08:46 •
lls1-testplatform-code was updated and should now be ready for testing the prototype.
Since ampy occasionally crashes, i decided against using it and incorporate the MicroPython scripts into the firmware itself instead.
The assembly is in progress and it should arrive in the 1st week of November if everything goes well with shipping...
The MicroPython scripts development will start as soon as the prototype arrives.
there will be two MicroPython firmwares:
- testing device functionality
- connects to WiFi, gets current time and saves it to the RTC
- sets an RTC alarm
- sets voltages to 3 V and 2 V
- prints TEST_OK if everything went well
- prints TEST_FAIL if something went wrong
the RTC alarm will be read by the Raspberry Pi
the voltages will be verified by the Raspberry Pi
- contains all necessary drivers
- opens a WiFi AP
- starts a WebREPL
- starts a main loop printing some device info
10/04/2020 at 20:33 •
the test-platform code is publicly available here: https://gitlab.com/leonardp/lls1-testplatform
- code for flashing esp firmware
- verify successful firmware upload
- MicroPython test-firmware
- code for uploading MicroPython Firmware
- test it all with the prototype
the estimated time of arrival for the prototype is at the end of October...
09/27/2020 at 18:55 •
added pictures for the test/programming platform.
it's a raspberrypi shield (obviously) and the sd image is build with nixos (see: lls1-test.nix).
pictures of the assembled testplatform and the code running on it will follow soon...
09/24/2020 at 13:48 •
- Testing Jig PCB Design
- Testing Jig PCB Order
- Testing Jig Parts Order
- Prototype PCB Design
- Prototype Order
- Testing Jig RaspberryPi Image
- Test Procedure Flowchart
- Testing Jig Code
- Prototype Code (Micropython ESP8285)