Search found 140 matches

by martinayotte
Tue Aug 11, 2020 4:14 pm
Forum: General Discussion
Topic: Running a MCP23017 on 5V
Replies: 11
Views: 962

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: 409

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: ESP32 IDF
Topic: Button counter with interrupt
Replies: 6
Views: 2803

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: 704

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: 863

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: 791

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: 1210

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: ESP32 IDF
Topic: Simple Timer Interrupt Not Working
Replies: 8
Views: 1312

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;"
by martinayotte
Thu Nov 07, 2019 10:01 pm
Forum: Hardware
Topic: PCB power layout ESP32WROOM
Replies: 4
Views: 980

Re: PCB power layout ESP32WROOM

IBABBLED wrote:
Wed Nov 06, 2019 9:06 pm
1. What are the smallest acceptable footprints sizes for C1, C2, C3 and R1 (e.g. 0603, 0402)?
For R1/C2/C3, yes, it could be 0603 or 0402, but for C1, since it is 10uF, I doubt ...

Go to advanced search