Search found 8 matches

by kissinno
Fri Aug 14, 2020 10:55 am
Forum: General Discussion
Topic: Running a MCP23017 on 5V
Replies: 13
Views: 2509

Re: Running a MCP23017 on 5V

Cool, thanks Apuder :-) BTW, what MCP23017 lib are your using? They are several but I haven't find yet any "advanced" lib" incuding Debounce, Longpress, Rizing & falling-edge detection. So far, with classical button connected to GPIO, I was really in love with YABL, Yet Another Button Library (for A...
by kissinno
Thu Aug 13, 2020 8:06 am
Forum: General Discussion
Topic: Running a MCP23017 on 5V
Replies: 13
Views: 2509

Re: Running a MCP23017 on 5V

Thanks you very much for all your valuable comments. My I2C: ADS1115 : 100kHz, 400kHz, 3.4MHz ADS1115 : 100kHz, 400kHz, 3.4MHz MCP23017 :100kHz, 400kHz, 1.7MHz I don't want to apply several I2C bus's, so I will have to limit to 400kHz. For 400kHz with 5cm bus, internal R's should be OK. At least, it...
by kissinno
Tue Aug 11, 2020 6:40 am
Forum: Hardware
Topic: MCP23017 i2C very slow
Replies: 7
Views: 2993

Re: MCP23017 i2C very slow

Yes, same results... (100kHz - 800kHz). Faster then 800kHz didn't work at all, no idea way. According to the spec 1,7MHz should work. Thanks for your support. 800khz maxi could be due to your pull-up resistors applied to SDA and SLA. Internal ESP32 pull-up are 30...80kOhm depending on manufacturers...
by kissinno
Tue Aug 11, 2020 6:22 am
Forum: General Discussion
Topic: Running a MCP23017 on 5V
Replies: 13
Views: 2509

Re: Running a MCP23017 on 5V

I'm gonna to do MCP23017 +5V supply with fast I2C ESP32 3.3V and INTA/INTB. I will have a short I2C length (5cm), so I'm not sure if I really need strong pull-up resistors (5kohm) for SDA and SCL at 400kHz or 1.7MHz. So, I think that I will first test with the internal 30...50kohm pull-up ESP32. If ...
by kissinno
Sat May 02, 2020 9:09 am
Forum: Hardware
Topic: About the CAN controller.
Replies: 174
Views: 137577

Re: About the CAN controller.

Be aware that they are some "FAKE" transceiver based on VP230 (SN65HVD230) !!! I've lost days with 2pcs CJMCU-230 coming from the same supplier on Aliexpress. They were almost working at low speed (125kb) & only for few seconds at 500kb... Forcing High Speed mode with Rs connected to GND did not he...
by kissinno
Tue Apr 14, 2020 9:30 pm
Forum: ESP-IDF
Topic: Can Bus off
Replies: 3
Views: 2356

Re: Can Bus off

Thanks to this CAN.c modified and shared by Spintec (big thank you!), I moved 1 step forward. At least now my CAN sniffer Win10 tool (PEAK CANsniffer USB compact) is able to writte to my ESP32: - ESP32 + CJMCU-230 (SN65HVD230, 3.3v) - 500kbit/s with Standard 11b - 3 PDO's sent every 5000ms, 1000ms a...
by kissinno
Tue Apr 14, 2020 2:43 pm
Forum: ESP32 Arduino
Topic: Using the official CAN driver
Replies: 9
Views: 4181

Re: Using the official CAN driver with Arduino

As you, I need to keep Arduino with my ESP32 project with CAN bus. I tried your basic exemple (CAN standard 11bit, 500kb) but it does not work. Don't forget to add Serial.begin(115200) is in Setup() if you want to get the messages. "CAN Driver installation success" & CAN Driver start success" are no...
by kissinno
Tue Apr 14, 2020 11:50 am
Forum: ESP32 Arduino
Topic: Using the official CAN driver
Replies: 9
Views: 4181

Re: Using the official CAN driver with Arduino

Also, as a update, I was able to get the official ESP-IDF CAN driver working perfectly in Arduino This is just basic stuff to get anyone started. #include <driver/can.h> #include driver/gpio.h> #include <esp_system.h> .... [/quote] As you, I need to keep Arduino with my ESP32 project with CAN bus. ...

Go to advanced search