System Overview
Last updated
Last updated
There are three subsystems to the eChook Data Logging and Telemetry:
The Arduino based hardware with sensors on the car to collect the data.
An Android app to receive the data, log it to file, display it to the driver and upload it.
A website to display the data in real time to the rest of the team.
The decision to split the system up like this was primarily cost based. Once you start adding an SD card slot and SD card, GPS receiver, screen etc. to the hardware on the car, costs rise rapidly - but we all carry devices with memory, a screen, GPS and so much more in our pocket every day. By offloading as much of the functionality to the smartphone as possible we have been able to create far simpler and lower cost hardware.
The PCB design, Arduino code and Android app are open sourced under the MIT licence. This means that anyone is welcome to copy, modify and use the designs as they like. If a team has an existing data logging system on the car, it is possible to add a bluetooth module to that, connect to the eChook Android app and use the driver display, data logging and online telemetry free of charge.
The eChook nano board is a custom PCB with interfaces for sensors, an Arduino nano to read the sensors and a Bluetooth module to send collected data to the Android app. The board takes power from the +24V car batteries.
The board has been designed using circuits and components covered in the GCSE and A level Electronics Curriculum in the hope that teams can understand the board as much as possible. The PCB also uses through-hole components and generous solder pads to aid teams in soldering up the board in the classroom.
The PCB and circuit designs are available at github.com/eChook. You will need RS DesignSpark PCB to open and edit these files. It is free for everyone to use.
The brain of the eChook nano board is the Arduino. The Arduino platform was chosen due to its massive online following, meaning a large community and loads of support available. While C/C++ coding is often not covered in the UK curriculum, the online support makes the Arduino easy to get started with.
The code for the Arduino Nano on the eChook board is available from github.com/eChook. It has been written in a step-by-step fashion and commented every step of the way to explain what each bit of code is doing.
The eChook Companion app is available for Android devices and can be installed from the Google Play Store. As this is also open source, the code for the app can be found on Github.com/eChook
The app connects to the Bluetooth module on the eChook nano board and logs the incoming data. It also augments this data with sensors on the phone - primarily GPS location. The app can also use the GPS to count laps, which is added to the logged data. At the end of the session, there is the option to send a .csv data file through the standard Android sharing system, making it easy to add it to Google Drive or Dropbox, email it to someone, or send it using whichever app you choose.
Finally, if the phone has a data connection, the app can upload data in real time to the internet for telemetry.
The data.echook.uk website displays data uploaded from the phone in near real-time. Sign up (one login per car), enter the account details in the settings section of the eChook Android app to link them.