CANFD Data Logger based on Arduino
View/Open
canfd-datalogger-based-on-arduino-arnau-sastre-2.3.pdf (4,691Mb) (Restricted access)
annex-canfd-datalogger-based-on-arduino.zip (3,539Mb) (Restricted access)
Document typeBachelor thesis
Date2020-07-27
Rights accessRestricted access - author's decision
All rights reserved. This work is protected by the corresponding intellectual and industrial
property rights. Without prejudice to any existing legal exemptions, reproduction, distribution, public
communication or transformation of this work are prohibited without permission of the copyright holder
Abstract
This project is aimed at developing and releasing a robust code for a CANFD Data logger based on Arduino. It uses a MCP2517FD click board attached to an Arducam ESP32 motherboard through an UNO click shield as its hardware. The storage of the data file is done in Arducam’s SD slot, supporting up to 32 Gb of space. Developed in Arduino IDE, an initial example of ACANFD library was used to write the source code. It implements a dual mode that supports simulation through an ExternalLoopBack in simulation mode and a normal ListenOnly mode which is used in all the implementation regarding a data logger nowadays. Using a CPU interrupt function CANFD messages are dispatched through different filters to be sent to the SD after being counted for statistical purposes. In simulation mode a Ticker is used to send 100 messages filled with randomized data to check a correct functioning of the data recording. Checking different interval times between sent frames, the writing time is approximately is 20 milliseconds, making it an important point since intervals under this load the FIFO with sent messages that await the writing function to pop them out. Both the software and the hardware make an elegant and compact solution avoiding visible cables that fits perfectly the needs of vehicles such as cars or motorbikes that do not have available space in its tight electronic structures.
SubjectsComputer network protocols, Arduino (Programmable controller), Protocols de xarxes d'ordinadors, Arduino (Controlador programable)
DegreeGRAU EN ENGINYERIA EN TECNOLOGIES INDUSTRIALS (Pla 2010)
Files | Description | Size | Format | View |
---|---|---|---|---|
canfd-datalogge ... duino-arnau-sastre-2.3.pdf![]() | 4,691Mb | Restricted access | ||
annex-canfd-datalogger-based-on-arduino.zip![]() | 3,539Mb | application/zip | Restricted access |