@brycej New upgrade now allows uncapped logging without any splitting. I also added an option to start logging only after time has been synchronized by GPS lock or automatically when connected to Wifi.
Here is the long upgrade announcement
After over a year since I first announced this project, I learned and made countless improvements on the firmware, app and online system.
This upgrade marks the first transition from the old source code into the newly, highly optimized and stable re-write. iTool app design is still mostly the same, with improvements and additions, but the core firmware of the module has been upgraded.
There are many reasons why this full re-write was necessary, and the most important one was to have a solid foundation to easily build upon. Some of the major changes are how logs are stored, folders hierarchy, proper simultaneous multi-vesc logging, new SD Card filesystem management system and full floating point precision on all logged data where applicable.
Things like Wifi, BLE, SD Card, CAN, UART, GPS and Vesc commands processing functionalities are now coded into modular, separate components that work and communicate between each other nicely using event queues, critical regions locking, semaphores and optimized tasks.
This makes it very easy to build new features and expand on it when necessary.
The work done on this new source code is not only beneficial for iLogger, but it is also going to be used as a solid foundation for all the other projects I’m currently working on, as they share many similar software components.
SD Card filesystem overhaul includes DMA speedup, improved buffering and timestamp handling, new byte encoding format that allows multi vesc logging and reduces storage space.
Setup guide page has been updated and has more details about most of the functionalities, check it out and let me know if you have any feedback Setup - WavRX
Important notes:
-
This upgrade requires manual flashing - all saved settings will be reset, unpair/forget previously paired iLogger and pair again.
-
Old log files format is absolute, back it up if its important. Online dashboard has also been updated to read and display the new records format.
Upgrading using SD Card:
-
Download and place update.bin firmware at the root of an SD Card.
-
Insert SD Card while iLogger is powered Off.
-
Hold reset button and turn ON ilogger.
-
Keep holding for 3 seconds then release reset button.
-
Blue LED will start flashing rapidly indicating firmware is being updated.
-
Do not interrupt, iLogger will automatically reboot after the update is done.
-
Get the new updated Android and iOS app. ( Android app is live, iOS under review, ready in a few hours)
-
Enjoy and post feedback if you encountered any issues.
-
Android download link (Already live): https://play.google.com/store/apps/details?id=com.wavrx.iTool
-
iOS TestFlight link (Under review, available in a few hours): TestFlight - Apple
iLogger Fw ver. 1.0.1 Most notable ChangeLog:
-
“New” Logging format is now byte encoded, Allowing full precision and reducing storage space. Can also store multiple vescs data + GPS into a single record.
-
“New” Folders hierarchy based on Year/Month/Day/Timestamps_.lg
-
“New” Life time stats - Saved on SD Card under LT.Dat - Records total odometer distance and overall run time.
-
“New” Multiple Export functions added : Formats are:
-
- PNG, JPEG, SVG, PDF, JSON, CSV, XLSX, HTML
-
“New” Automatic MTU negotiation and dynamic streaming rate of live data / records streaming to use the maximum supported rate over BLE.
-
“New” Log All ESCs: <On – Off> Logs all detected Vescs simultaneously or only the master unit. When using CAN, iLogger attempts to detect and Log all Vescs on CAN network. When using UART, both master and slave Vescs are logged.
-
“New” Log after time sync only: <On – Off> When toggled on, starts logging only after time has been synchronized automatically through Wifi or GPS lock.
-
“New” Logging Type: <Log Manually – Log on Power ON – Log After Elapsed Time>: Three possible logging modes can be selected.
-
- Log manually: Doesn’t start logging unless the “Start Logging” button is tapped, and doesn’t stop logging until “Stop Logging” button is tapped.
-
- Log After Elapsed Time: Starts logging automatically on Power ON after a specified delay in Seconds.
-
- Log on Power ON: Starts logging automatically on Power ON without delay.
-
“New” Log Start Delay (s): When Log after delay is selected, logging automatically starts after specified delay in seconds.
-
“New” UART Slave Vesc ID: When UART is used, specify slave vesc ID to allow dual VESC logging.
-
“New” Updated charts on the app fixing many performance issues.
-
“New” Logging status on the real time tab. Shows the current logging status.
-
“New” “Start Logging/Stop logging” button on the SD Card tab with elapsed time since logging started.
-
“New” Record viewing screen, shoes summary of all logged data (Multiple vescs and GPS data if available)
-
“New” Expanded viewing screen, shows a more detailed view of each vesc data.
-
“New” Power logs and calculation, shows total consumed power, max watts, regen, efficiency Wh/Mi etc…
-
“New” Longer logging sessions are now possible, without limit.
-
“New” Firmware version check when connecting to a device, making it easy to be notified when a new update is available
-
“New” switching back and forth between vescs on live data views (on Both CAN and UART)
-
“New” Timestamped faults
Online system was also updated to be compatible with the new records format
Re-designed to focus more on important data, added energy and efficiency calculations, general stats like runtime, distance etc…as well as toggle between Imperial and Metric
You can now switch between all logged vescs from the online viewer.
(View example at WavRX API: Dashboard)