Search found 10 matches

by MStackoverflow
Mon Dec 16, 2019 9:32 pm
Forum: ESP32 Arduino
Topic: ESP32 + CAN Comm
Replies: 4
Views: 904

Re: ESP32 + CAN Comm

Learning how the J1939 protocol works would be benificial for you. Documentation is pretty hard to find, but here's some basics : J1939 has extended bit addresses (29-bit) compare to CANOpen or OBDII. Each address contains a standardized type of information for vehicle. The address contains a PGN nu...
by MStackoverflow
Tue Dec 03, 2019 9:52 pm
Forum: General Discussion
Topic: ESP-NOW ways to ignore broadcast?
Replies: 0
Views: 317

ESP-NOW ways to ignore broadcast?

Hi, I want to make a private network. I have 2 ESP32 talking to each other with unicast messages but broadcast messagegs can still be received. I'm afraid that someone could flood the network with broadcast messages and jam the ESP32s. I already filter the messages when I receive them, but the ESP32...
by MStackoverflow
Tue Dec 03, 2019 6:58 pm
Forum: ESP IoT Solution
Topic: ESPNOW access via pc or phone
Replies: 5
Views: 3452

Re: ESPNOW access via pc or phone

I guess if you want a quick hack you could add an ESP32/ESP8266 which bridge one of the esp on the network via bluetooth, then send the information to your local network, which could be controlled by your phone. Or, I don't know if it's possible, take ESP-NOW messages and send it directly to a wifi ...
by MStackoverflow
Mon Dec 02, 2019 9:38 pm
Forum: ESP32 Arduino
Topic: ESP32 + CAN Comm
Replies: 4
Views: 904

Re: ESP32 + CAN Comm

Hi, Do you have control over the device that is sending the CAN messages? The reason why you don't receive 1.3 is because the sender is not sending 1.3 Usually, REAL numbers in CAN protocols have 32 bits (4-bytes), unless there is a "per bit" value like in J1939/OBDII protocols. 16-bits "REAL" are r...
by MStackoverflow
Mon Nov 25, 2019 11:04 pm
Forum: ESP32 Arduino
Topic: ESP-NOW help with encryption (PMK/LMK)
Replies: 3
Views: 1337

Re: ESP-NOW help with encryption (PMK/LMK)

Hi, sorry for double posting.

Anyone can help me?
by MStackoverflow
Tue Oct 15, 2019 5:26 pm
Forum: ESP32 Arduino
Topic: Can bus issue , stuck messages
Replies: 10
Views: 3259

Re: Can bus issue , stuck messages

Depending on how critical is your application, I would recommend to enable One-Shot mode ONLY if it is necessary.
by MStackoverflow
Tue Oct 15, 2019 5:20 pm
Forum: ESP32 Arduino
Topic: ESP32 RC War tank toy with android App
Replies: 4
Views: 971

Re: ESP32 RC War tank toy with android App

What developper program are you using for the android application? What language? If you want to do a quick test, you can use bluetooth instead of wifi as it is easier. with the "MIT App Inventor", you can create a quick app for testing https://appinventor.mit.edu/ https://appinventor.pevest.com/201...
by MStackoverflow
Tue Oct 08, 2019 3:26 pm
Forum: ESP32 Arduino
Topic: Using the official CAN driver
Replies: 9
Views: 2562

Re: Using the official CAN driver with Arduino

Have you seen this library from miwagner?

https://github.com/miwagner/ESP32-Arduino-CAN
It is a port from the official CAN driver, it work as expected.
by MStackoverflow
Tue Oct 08, 2019 3:22 pm
Forum: ESP32 Arduino
Topic: Can bus issue , stuck messages
Replies: 10
Views: 3259

Re: Can bus issue , stuck messages

Hi, The ESP32 has a built-in CANbus controller. With the library you are using, it's taking the SPI bus to use the CAN. Have you tried connecting the TJA1050 directly to the CANbus RX/TX pins (GPIO4/GPIO5)? You have to make sure the RX pins is 3.3v on the TJA1050, or you'll burn the pin. Look at thi...
by MStackoverflow
Mon Oct 07, 2019 6:20 pm
Forum: ESP32 Arduino
Topic: ESP-NOW help with encryption (PMK/LMK)
Replies: 3
Views: 1337

ESP-NOW help with encryption (PMK/LMK)

Hi, I have to do a module for a project and security is needed. I want to encrypt the communication. I've read the docs and I can't make the esp_now_peer_info_t::encrypt work. I've made a peers on both sides (master/slave), put the same peer LMK, put the same PMK, set the slave into APSTA mode. when...

Go to advanced search