Making a CAN Bus on a breadboard with two ESP32 microcontrollers!

preview_player
Показать описание
In this video, I create a CAN bus on a breadboard! Using two ESP32 microcontrollers and two CAN transceivers. I use an open-source Arduino library for CAN communication with the ESP32 to transmit "HELLO123" over CAN from one ESP32 to the other.

[Great article on CAN]

[Arduino ESP32 CAN library]

[ESP32 Dev Module]

[CAN Bus Module Transceiver]

[Cheap Solering Iron]

_______________________________________
Track: Media by Aylex
_______________________________________
Рекомендации по теме
Комментарии
Автор

Thanks for this video. I've always wondered if i could use CAN bus commmunications in my projects.

Delali
Автор

I want to warn you all- my ESP32-D0WDQ6 (yes, I know - discontinued) didn't want to work with any of the chips. How much time and effort). Just replacing with ESP32-D0WD-V3 solved everything. Good Luck in Ur projects!

drrrqko
Автор

Really appreciate your lesson.
Thank you so much. Please keep it up so we can get more of amazing lession like this.

thile
Автор

The upload may be blocked, as you're using gpio0 in your wiring.
Try switching gpio0 to any other pin, as that's the pin that the BOOT button connects to.

LordPhobos
Автор

Good job 👏 hope in the future you do a tutorial how to connect with mcp2515

assemkhalifa
Автор

This video serves as an excellent introduction to the fundamental aspects of the CAN Bus setup. I'm eager to learn more so I can gain a deeper understanding of the communication system within my Ducati. I presume that if there's a need to continuously transmit dynamic data, such as throttle position codes, there must be a method to relay this information to the microcontroller without requiring a flash and reset of the device. In my scenario, the constantly changing throttle position codes would be transmitted over the CAN Bus to the Engine Control Unit (ECU) to regulate the engine's power output.

grahambrown
Автор

Finally an esp32 canbus project thank u

redmundperrz
Автор

thanks for you video i watched can connection btw esp and esp32 and also between stm32 and STM32 THAT U just posted can u do between stm32 AND esp32 with can protocol I NEED IT FOR MY project

kawtarbelhinani
Автор

Thanks again for this brother. Lots of help❤

Bravo_L
Автор

Hi, I cannot seem to get this library to compile for me. I keep getting this error. fatal error: esp_intr.h: No such file or directory". What am I missing? Thank you.

AlphonseMugisha
Автор

The ESP32 is a 3.3v chip. The dev board provides a 5v to 3.3v regulator. The can transceivers use 5v. You have them connected to the Vin pin, which is 5v from USB. The CAN H/L lines swing from 0 2.5 and 5 to 2.5. This normally would be too much for a ESP32. I thought maybe the resistors are placed there in the reference doc to help with the voltage difference. In series like this is not the best, it will slow down transmission. Using a logic converter is the best way. But it also looks like this particular chip can handle 3.3v signals. Not the one you have. Is seems to work though. Interesting.

chrisward
Автор

pin 0 on esp32 can cause probs pull high or use differnt pin

focusford
Автор

helow Ev, do you give me an idea from where I start my project w/c is helping stop collusion of two cars after proximity sensor sending a signal x- distance to clutch or brake system ( i.e, to follower car ) ?
( it most means of accident in my city ) . I am eager to listen any guideline that help me go steps .

habtamusium
Автор

5:41 you can use CAN or UART on any esp32 pins.

Андрей_Гурьянов
Автор

this projects seems interesting because very few tutorial and success dealing ESP32 to can bus network due to 3.3v, i hope you will make another video similar to that one but add an arduino uno and join the 3 MCU, it wil be more interesting

edinetgrunhed
Автор

Insteady of using the tja1050 can we use a TJA1040
High speed CAN transceiver

thaisclaudino
Автор

Sir, electric vehicles charger not on without bms battery.
Now sir how to on charger without bms battery?
Please guide

Hhtfvhrcbgrejkkjhffvbhb
Автор

Very nice video. it would be great to see the TCAN 1051 (i think the same), and this library to to transmit using CANOpen. do you have a video on CANOpen with this chip/MCU?

timblack
Автор

There is TJA1051 chip also, i think its good for 3.3v

redmundperrz
Автор

Hi sir, i have daly battery. But can't read massage, sending query. Using this code

milindtuplondhe