Re: [NEW MEMBER] [HELP & SUPPORT] Reading data from diagnostic port, using Raspberry Pi and a dedicated CANBUS shield
Heinz-Jürgen Oertel <[email protected]> Sat, 18 Apr 2020 11:14:37 +0200
| Newsgroups | gmane.comp.hardware.bus.can |
|---|---|
| Organization | privat |
| Message-ID | <1816916.Ao4Q9vadRc@heinz> |
Hi Marco, besides the availability of CAN data and risks to access the bus on your bike, I would use another hardware platform for it, not the Raspberry. The Raspberry is good technical solution for a lot of applications, but may be overpowered for only collecting the CAN data an a SD card. Look for something micro controller based, something like an STM32 with on chip CAN and SD card interface. I'm sure there are boards available. It might be more difficult to program these boards. It's not so easy as logging in using ssh, writing code with vim and starting the on board C- compiler. You will need a PC based IDE, in most cases. Or find a board with MicroPython and CAN communication support. I'm sure it is available. Sorry, have no time to search one for you. Hope you got some more ideas to start - and good luck Heinz PS I found MicroPython for STM32F405 https://github.com/micropython/micropython/blob/master/docs/library/ pyb.CAN.rst Am Freitag, 17. April 2020, 23:42:05 CEST schrieb Marco Miani: > Greetings! My name is Marco, I am new in this group, and I am very happy to > be here. > > I have recently started using Raspberry Pi and I am amazed by how > versatile it is. One of the things I would like to try achieving, is using > a Raspberry Pi to read data in real time from diagnostic port of my > motorbike and log them on SD card. However, I have not the faintest idea > where to start from. I have never worked with CAN and would greatly > appreciate your help. The RSPi has an expansion board which I believe is > used to read data from the port, using signals H and L. This is the board: > https://www.amazon.it/gp/product/B07PQJMFVP/ref=ppx_yo_dt_b_asin_title_o02_s > 01?ie=UTF8&psc=1 > > > My experience and knowledge in this field, is very close to zero so I would > greatly appreciate some guidance and hints to be pointed in the right > direction. Some of my questions are: > 1. Is this technically possible, with the material I have, achieve my goal? > 2. Am I risking to damage or corrupt the ECU of my motorbike if I do real > time reading of the data, while riding the bike? > 3. I have a second RSPi and I would like to use that as "emulator" to > produce and spit out data downloaded from the internet ( > https://zenodo.org/record/3267184#.XpoiDcgzZPY). By so doing, I could build > up some experience. Possible? Advisable? > > Tell me if you need more info about the hardware. > I thank you for your possible comments, input, suggestions. > Kind regards, > Marco -- Archives and useful links: http://groups.yahoo.com/group/CANbus Subscribe and unsubscribe at www.vector.com/canlist/ Report any problems to <[email protected]>