CANFD datalogger based on Python and Raspberry PI
Tutor / directorMoreno Eguilaz, Juan Manuel
Document typeBachelor thesis
Rights accessOpen Access
This project pretends to show the development of a CAN FD datalogger in a way that one reader with basic knowledge in the field of electronics and programming in Python can understand the concepts treated in it, as they will be briefly explained before jumping into them. In first place, the basic concepts of the different types of communication between electronic devices and communication protocols that will be approached on this project such as SPI and CAN FD are explained, remarking their principal characteristics and different advantages. In second place, the hardware components used in the project are exposed, showing the specifications of each component. In the case of the CAN FD controller used in this project, the software part will also be explained, exposing how the data is stored, the different registers that are used and how they work and finally, how the data has to be sent to the controller in order to be correctly processed. Finally, the process of the datalogger development is explained step by step, starting for the modifications done to an already existing Python library in order to adapt it to this project and how some aspects of the original CAN FD driver are improved. Then, the making of the main script responsible of running all the libraries needed to set up the datalogger is described. For a more advanced datalogger, it is explained how hardware filters and masks can be implemented, improving the functionality of the CAN FD driver. Finally, some tests for the filters will be showcased in order to demonstrate their effectivity and the overall performance of the datalogger.
SubjectsComputer network protocols, Python (Computer program language), Raspberry Pi (Computer), Protocols de xarxes d'ordinadors, Python (Llenguatge de programació), Raspberry Pi (Ordinador)
DegreeGRAU EN ENGINYERIA EN TECNOLOGIES INDUSTRIALS (Pla 2010)