Search found 141 matches

by martinayotte
Wed Aug 19, 2020 1:21 pm
Forum: ESP32 Arduino
Topic: NEWBIE Unable to use POST with JSON with ESP32 on ARDUINO
Replies: 3
Views: 5172

Re: NEWBIE Unable to use POST with JSON with ESP32 on ARDUINO

Code: Select all

"level,30"
to be a valid JSON, it should be instead :

Code: Select all

"\"level\":30"
by martinayotte
Tue Aug 11, 2020 4:14 pm
Forum: General Discussion
Topic: Running a MCP23017 on 5V
Replies: 14
Views: 19078

Re: Running a MCP23017 on 5V

Here is a quote from MCP23017 specs :
The INTn interrupt output can be configured as active-
low, active-high or open-drain via the IOCON register.
by martinayotte
Sun Jul 05, 2020 2:21 pm
Forum: General Discussion
Topic: accelstepper and watchdog
Replies: 4
Views: 6479

Re: accelstepper and watchdog

The ESP8266 forum is not dead : https://www.esp8266.com/index.php
by martinayotte
Fri Apr 03, 2020 2:05 pm
Forum: ESP-IDF
Topic: Button counter with interrupt
Replies: 6
Views: 12923

Re: Button counter with interrupt

Your while loop doesn't check buttonState anymore after entering the loop ...
You should do that instead :

Code: Select all

            while(gpio_get_level(GPIO_INPUT_IO_0) == 1) {
by martinayotte
Tue Jan 14, 2020 2:57 pm
Forum: General Discussion
Topic: 16 relays controlled by esp32 and mcp23017
Replies: 2
Views: 4813

Re: 16 relays controlled by esp32 and mcp23017

Do you have some MOSFETs or any kind of drivers, such as ULN2803, between MCP23017 and the relays ?
Because MCP23017 output can't provide enough current (max 25mA) to drive relay's coils directly ...
by martinayotte
Tue Dec 24, 2019 2:37 pm
Forum: Hardware
Topic: ULN2003 Stepper Motor
Replies: 2
Views: 5420

Re: ULN2003 Stepper Motor

ULN2003 isn't the best for that purpose, especially that saturation requires input level greater than 2.7V.
You're better using MOSFET with low Vgs, such AO3401, where saturation could be achieve with only 1.3V.
by martinayotte
Fri Dec 13, 2019 3:02 pm
Forum: General Discussion
Topic: ESP32 interface with I/O Expander
Replies: 4
Views: 6320

Re: ESP32 interface with I/O Expander

Do you placed a PullUp on RES pin of the TCA6424 ?
by martinayotte
Tue Dec 10, 2019 8:18 pm
Forum: ESP32 Arduino
Topic: [SOLVED] How to send a signal for a set amount of time ?
Replies: 6
Views: 9480

Re: How to send a signal for a set amount of time ?

GeorgeFlorian1 wrote:
Tue Dec 10, 2019 10:31 am
What do you think ?
You need another delay after bringing back the lines to HIGH ...
by martinayotte
Mon Nov 11, 2019 3:11 pm
Forum: ESP-IDF
Topic: Simple Timer Interrupt Not Working
Replies: 8
Views: 13293

Re: Simple Timer Interrupt Not Working

eowesi wrote:
Mon Nov 11, 2019 12:09 pm
The display shows "c : 0" continuously.
You need to have your declaration "uint32_t c = 0;" to be volatile, ie "volatile uint32_t c = 0;"