Failed to use CAN with M5Stack
-
返信: M5Stack with CAN
I tried the follow library, changed pin to GPIO17/16
https://github.com/nhatuan84/arduino-esp32-can-demoBut it does not work. I used oscilloscope to check the output from pin GPIO 17/16, There is no any output.
Could someone give me an example code that works, and a picture of connection.
Thanks! -
@hayashi
Hi hayashiI want to confirm which module you used?
Is that one?
https://www.aliexpress.com/store/product/M5Stack-New-COMMU-Module-Extend-RS485-TTL-CAN-I2C-Port-with-MCP2515-TJA1051-SP3485-Development-Board/3226069_32954475633.html?spm=a2g1y.12024536.productList_5885011.subject_1 -
@watson
I didnot use any extend module, only connect M5Stack to a CAN-tranceiver. Also I am going to buy that module. Could you tell me how to use that module? -
@hayashi
I have some test program about thisCOMMUmodule. Recently, I'll add those example codes to m5stack's documentation. -
@watson
Thank you, please inform me if you upload that sample codes.
I have another question, why there is a CAN controller MCP2515 on the extend module? Does not M5STACK include CAN controller? -
@hayashi
Hey, here's the example about CAN.
https://github.com/m5stack/M5-ProductExampleCodes/tree/master/Module/COMMU/Arduino/CAN
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login