logo elektroda
logo elektroda
X
logo elektroda

How to use ESPDUINO D1 R32 as a controller and select a library in Arduino IDE?

Menowski19 1659 5
ADVERTISEMENT
Treść została przetłumaczona polish » english Zobacz oryginalną wersję tematu
  • #1 17648831
    Menowski19
    Level 6  
    Hi,
    i have 2 quick questions about the Espduino R32 board with WiFi and Bluetooth.
    can it be used as a separate controller like the arduino, and if so, what should I choose in the arduino program as the library? because when I connect it to the UNO WiFi it doesn't work and I can't find the ESPDUINO library.
    thank you

    picture of my board attached
    Do you have a problem with Arduino? Ask question. Visit our forum Arduino.
  • ADVERTISEMENT
  • ADVERTISEMENT
  • #3 17648934
    Menowski19
    Level 6  
    ok, thank you.
    I will try after Christmas and let you know if it worked :) .
  • ADVERTISEMENT
  • Helpful post
    #4 17851575
    khoam
    Level 42  
    In the Arduino IDE you can configure this board as "DOIT ESP32 DEVKIT" or simply "ESP32 Dev Module". I have tested both cases.
    Most importantly the autoreset works every time the code is uploaded.
    The "digital" and "analogue" pins work in 3V3 logic - you need to keep this in mind before installing the overlays available for the Uno.
    The downside is that I never manage to upload code at 921600, so I had to switch to 115200.
    Board schematic attached (looks incomplete, but that's the only one on the manufacturer's website).

    And most important: LED_BUILTIN is on GPIO 2 ;) .
  • ADVERTISEMENT
  • Helpful post
    #5 17999790
    yarogniew
    Level 9  
    khoam wrote:
    .
    The downside is that I never manage to upload the code at 921600, so I had to switch to 115200.
    .

    I upload regularly on 921600 and this is via two USB HUBS. The first 3.0, the second 2.0. I'll be more careful now.;) For that, mine went crazy when I used printf(). But overall it's beautiful.
  • Helpful post
    #6 17999822
    khoam
    Level 42  
    After replacing the USB cable, with a better and shorter one, I also uploaded at 921600 without problems, but I switched to 512000 just to be safe (I don't use the Arduino IDE).

    yarogniew wrote:
    For that, mine went crazy when I used printf().
    .
    It depends on the context of the call ;) .
ADVERTISEMENT