*Setup instructions are still a work in progress, it will updated as more features are added.*
iLogger Pinout / Specifications
iLogger is an all in one logging solution for Vesc based ESCs. It has a compact design and supports both CAN and UART protocols.
- 2x CAN ports : CAN1 and CAN2. CAN1 connects to CAN port on Vesc, while CAN2 is used to forward CANL and CANH pins to the next node.
- 1x UART port
- 1x GPS port: Connects to most GPS based modules and allows location based logging as well as automatic time synchronization.
- 1x Micro SD card slot: Accepts up to 32GB formatted as FAT32.
- Orange LED: Power indicator
- GREEN LED: WIFI indicator
- BLUE LED: SD Card mount indicator
- Reset button: Used when upgrading firmware from an SD card, see bellow on how to update.
Before using your iLogger, download the infinity tool app from either Google Play store or iOS test flight:
- Format your Micro SD as FAT32.
- *Always insert or remove SD Card when iLogger is powered off*
- If using CAN, enable CAN Status Message Mode and set it to CAN_STATUS_1. Set CAN baud rate to CAN_BAUD_500K. Set CAN Status rate to 50Hz.
- If using UART, enable UART app and set baud rate to 115200
IMPORTANT NOTE: USE ONLY ONE PORT AT A TIME. DO NOT CONNECT BOTH CAN AND UART AS THIS WILL DAMAGE YOUR ILOGGER AND OR YOUR ESC.
- If connecting through CAN:
- Plug provided CAN cable into CAN1 port and to your CAN port on your ESC. If you have a dual Vesc they are already connected internally. If you have separate units, use the provided CANL/CANH cable and forward from CAN2 port on iLogger to second Vesc.
- Power on Vesc, iLogger orange LED should light up.
- If connecting through UART:
- Plug provided UART cable into UART port of iLogger and to your UART port on “Master” ESC.
- If running a Dual Vesc, make sure to plug iLogger to UART port of the Master Vesc, and specify Slave ID on the iLogger settings. Plugging iLogger to Slave Vesc won’t be able to correctly detect devices.
- Double check that Tx and Rx pins are correct. Tx pin should go into Rx pin of Vesc, while Rx pin goes into Tx pin. On some Vesc models those are swapped.
- Power on Vesc, iLogger orange LED should light up.
- If a GPS module is available
- Connect GPS to the GPS port and double check that pinout is correct. GPS modules that we sell are tested and have the correct pinout out of the box.
Each iLogger module comes with a unique 6 digits pin. If you have lost yours, please contact us at firstname.lastname@example.org with your order # number to assist you retrieving it.
How to pair BLE:
- Power on iLogger, open iTool app.
- Wait a few seconds until device appears under Devices tab
- Tap on “Connect”. A dialogue will popup to let you enter your 6 digit pin.
- After entering your pin, wait a few seconds for the pairing process to finish.
- There are no prompt notifying you if you enter the pin wrong. If you are having trouble connecting to the module its most likely because of a mistyped pin number. Close the app and restart iLogger, then try again.
- If the pairing prompt didn’t popup automatically on first connect, go to your Bluetooth devices menu, find iLogger and pair with it manually, then start the app.
It is very crucial to keep both app and iLogger firmware up to date as new fixes and improvements are regularly added.
There are two ways to update the firmware on iLogger:
- OTA (Over The Air Updates)
- Manually using SD Card.
- Once you connect to the module through iTool app, a pop up dialog will notify you if a new firmware update is available.
- Otherwise, tap on settings, Update, then OTA process will check if a new version is available. If an update is available, it will start automatically and will last between 2-5 minutes to finish. Do not interrupt or power off during that time.
- A confirmation dialog will popup if the update was successful and iLogger will automatically reboot, otherwise, an error message will appear explaining why.
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.
To get started logging Vesc data, and assuming your device is already paired with the iTool app, Tap on “Connect”, wait 3 seconds to initialize and read all BLE characteristics, then tap “Settings”
All device configuration is done under “Settings” tab:
Overal Status values:
- BLE connection status: Should display “Connected”.
- iLogger Fw: Displays current firmware ver. of the module
- Vesc Fw: Displays detected Vesc firmware version
- Vescs IDs: If multiple Vescs are detected through CAN, their IDs will be displayed here.
- CAN Receive: Displays CAN communication status.
- CAN Messages: Displays 1 if iLogger has been able to receive CAN message from Vesc.
- Wifi: Displays Wifi status along with SSID if connected.
- GPS: displays GPS status.
- SDCard: Displays SD Card status and used/total capacity if mounted successfully.
Setup Wifi Button:
Tap on setup wifi and enter access point SSID and password. If no password is required, leave empty. Tap on Ok. Module will auto restart and attempt to connect to WIFI.
If connected successfully Green LED will lit up.
Wifi is used for OTA updates, time and date synchronization and uploading logs to online account.
Chip ID Button:
Chip ID button display your unique hardware Chip ID. Keep this ID private as it is used to register your device on the online dashboard account.
Performs an online version check and starts OTA if a new firmware is available. Module should be connected to WIFI.
iLogger name: Can be used to customize a unique name for the device.
Port: < CAN – UART >: Used to select either CAN or UART communication.
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.
Log Start Delay (s): When Log after delay is selected, logging automatically starts after specified delay in seconds.
UART Slave Vesc ID: When UART is used, specify slave vesc ID to allow dual VESC logging.
Log All ESCs: <On – Off> Logs all detected Vescs simultaneously or only the master unit. When using CAN, iLoggers attempts to detects and Logs all Vescs on CAN network. When using UART, both master and slave Vescs are logged.
Log after time sync only: <On – Off> When toggled on, starts logging only after time has been synchronized automatically through Wifi or GPS lock.
Num Cells: Sets the number of battery cells.
Max Volt.(v) The maximum battery pack voltage (eg. 42).
Min Volt.(v) The minimum battery pack voltage (eg. 34).
Wheel size (mm): When size in mm. Used to calculate speed and traveled distance.
Poles: Number of motor poles (eg. 14)
Ratio (Wheel Teeth/Motor Teeth) : Gear ratio (eg. 3)
Units: <Metric – Imperial>: Converts telemetry between Metric or Imperial calculations.
CAN Baud Rate <50K – 125K – 250K – 500K – 1M>: Defaults to 500K.
UTC Offset: Sets correct UTC Offset for proper time synchronization.
Log frequency: iLogger automatically adjusts logging frequency when multiple Vescs are detected. It is highly recommended to leave it at 5Hz.
CAN ID: Sets iLogger own CAN ID, recommended to keep it set to 8.
BMS CAN ID: Sets the CAN ID of DiebieMS or similar. (Default 10).
Apply: After making any changes to settings, tap Apply and wait for iLogger to automatically reboot for changes to take effect.
Real time tab allows you to see real time data flow from iLogger.
Different displayed data are:
- ESC temperature
- Used port
- Battery voltage and percentage
- Logging status
- Detected Vesc IDs
- Duty and Motor current real time charts
- Speed – Duty – Motor current – RPM – Life Time recorded stats – SD Card
Life Time Stats
Life Time Stats:
Life time data is recorded on SD Card under file name LT.Dat. Make sure to not delete or modify that file.
Currently recorded life time stats are total odometer ( traveled distance) and total run time.
SD Card Browser
iTool app allows you to browse SD card over BLE.
To access SD Card, open RealTime tab and tap SD Card.
Logs are stored as:
- Year Folder
- Month Folder
- Day Folder
- Record time.lg
- Day Folder
- Month Folder
If logging manually, you can start and stop logging from the SD card tab.
Viewing a log:
There are two ways you can view a recorded log:
- Streaming over BLE from iTool app:
- Uploading to online cloud viewer.
1.Streaming over BLE:
Find a log by browsing through the Year/Month/Day/ folders.
Tap on a log, then select “VIEW”.
After the file is streamed, a Chart view will appear with all recorded Vesc data if available.
Each record has an expand button, which displays telemetry data in a more detailed view.
2.Uploading to online cloud viewer:
Tap on “Upload”. Log will start uploading automatically. When done, you will be given a generated unique URL that you can use and open on any browser for a more detailed and faster chart viewing. Uploaded logs are saved on the cloud and accessible from your online dashboard account
Online view allows you export logs in different formats.
Supported export formats are:
- PNG, JPEG, SVG, PDF
- JSON, CSV, XLSX, HTML
Delete a record from the SD card:
Swipe on any record to delete. A confirmation dialog will appear to confirm.
iLogger has the ability to detect and read data from DieBieMS based BMSs through CAN Bus.
Real time data is displayed including:
- Different cells voltages
- Pack voltage
- State Of Charge
Support for LLT is coming up soon.