Тёмный
No video :(

CAN Bus signals on a breadboard with ESP32 microcontroller and Oscilloscope 

The EV Engineer
Подписаться 5 тыс.
Просмотров 8 тыс.
50% 1

In this video, I use a pocket-sized oscilloscope to measure CAN signals on a breadboard. The system consists of two ESP32 microcontrollers, each connected to a TJA1050 CAN transceiver. I use an open-source Arduino library for CAN communication.
The primary objective of this experiment is to determine if using 5V CAN transceivers with 3.3V microcontrollers is safe. As a bonus, we get to see the voltage levels adhere to the CAN protocol in real life. Enjoy!
[TJA1050 CAN TRANSCEIVER DATASHEET]
www.nxp.com/do...
[Great article on CAN]
circuitstate.c...
[Arduino ESP32 CAN library]
github.com/san...
[ESP32 Dev Module]
amzn.to/3HCIqwY
[CAN Bus Module Transceiver]
www.amazon.com...

Опубликовано:

 

28 авг 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 21   
@user-jd4cj5di3y
@user-jd4cj5di3y Год назад
I really enjoyed your video :) I was wondering if the CAN transceiver is really necessary for applications where the CAN nodes are close to each other with a distance of approximatively 20 cm (it would be for a communication between a dsPIC and a ESP32) ?
@EV_engineer
@EV_engineer Год назад
Hello, glad you enjoyed the video! CAN is designed for safety-critical applications, i.e. automotive or aerospace. In those cases, cables are long and we need to ensure signals aren't affected by interference. Definitely not necessary for short distances such as in this video
@imanuelpundoko6831
@imanuelpundoko6831 Месяц назад
do you ever tried NodeMCU esp8266 with mcp2515? or anyone have any experience to interfacing the esp8266 with mcp2515
@bennguyen1313
@bennguyen1313 9 месяцев назад
I understand trc2csv exists, but do you know if it's possible to convert a trc capture (I have a peak usb interface) to an asc or log format? For example, python-can logconvert doesn't seem to support trc.. the only way might be to do in multiple steps? 1) canlogconvert from trc to asc 2) logconvert to go from asc to log 3) Once it's in log format, it can be converted to csv using Log-CANverter ... or log plotted using cantools
@tomek19991999
@tomek19991999 11 месяцев назад
Thanks for video. So the result is that you can use TJA with power supply 5V, but with a resistor or without? If with resistor, than which one?
@Electronieks
@Electronieks 4 месяца назад
1k
@aerospace_andy
@aerospace_andy Год назад
thank you very much!
@redmundperrz7234
@redmundperrz7234 Год назад
Thanks for the can bus series video , now i know a little bit about voltage swing and in conclusion we can now use that setup together with arduino and MCP2515 transciever so they can communicate?
@EV_engineer
@EV_engineer Год назад
Absolutely!
@redmundperrz7234
@redmundperrz7234 Год назад
Thank you
@PremKumar-ex7pm
@PremKumar-ex7pm Год назад
I connected one esp32 with one tja1050 , the other side of tja1050 i.e CANH and CANL i have connected to one of the can network. i see that i am not getting any output i.e rx signals to esp32 could you suggest something on this error
@EV_engineer
@EV_engineer Год назад
When debugging it’s helpful to isolate the issue. Do you know that the CAN bus is active? Have you confirmed you can TX data from your transceiver? Do you also have a CAN bus on a breadboard or some other setup?
@PremKumar-ex7pm
@PremKumar-ex7pm Год назад
@@EV_engineer I have ecu which is transmitting rx signals.. Transceiver is not sending any Tx signals.. Yes can bus is active..
@PremKumar-ex7pm
@PremKumar-ex7pm Год назад
Could you help me out.. How to solve this?
@HuyLe-ki2dn
@HuyLe-ki2dn 4 месяца назад
Same problem! Have you fixed it?
@user-rk9zx3lt8k
@user-rk9zx3lt8k Год назад
thanks for your video, so if 3.3v from esp32 is not good solution for this can transceiver, what is alternative solution?
@EV_engineer
@EV_engineer Год назад
Just use 5V vcc, as written in the spec
@jeffreyrh
@jeffreyrh 10 месяцев назад
That library does not work with the ESP32 S3. Any ideas how to make this work on the S3?
@Electronieks
@Electronieks 4 месяца назад
By other esp32 board
@Alperic27
@Alperic27 Месяц назад
dude … u keep confusing transceivers with transmitters …… 🤦‍♂️
Далее
Using the ESP32 DAC - Voltages, Waveforms & Sounds
34:46
I Took a LUNCHBAR OFF A Poster 🤯 #shorts
00:17
Просмотров 8 млн
Only I get to bully my sister 😤
00:27
Просмотров 37 млн
BLDC Speed Control using Arduino and CANopen
9:24
Просмотров 5 тыс.
CAN Bus Communication Explained (Part 1)
33:44
Просмотров 234 тыс.
CAN Protocol Explained | Controller Area Network
12:09
CAN Bus Properties and Troubleshooting
18:09
Просмотров 1,3 млн
CAN Protocol Reverse Engineering with Wireshark
21:01