CircuitPython and PCA9685 on ESP32 Huzzah board?
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- jeffmorris
- Posts: 10
- Joined: Mon Sep 12, 2022 11:12 am
CircuitPython and PCA9685 on ESP32 Huzzah board?
I installed CircuitPython on ESP32 Huzzah board but I don't know how to install PCA9685 library on the board. How do I install PCA9685 library on the board?
- rooppoorali
- Posts: 98
- Joined: Sat Jul 16, 2022 12:04 pm
Re: CircuitPython and PCA9685 on ESP32 Huzzah board?
Have you tried this?
https://learn.adafruit.com/micropython- ... n?view=all
It's based on ESP8266 and Feather M0/SAMD21-based boards, but it says that any CircuitPython board that supports I2C should work.
https://learn.adafruit.com/micropython- ... n?view=all
It's based on ESP8266 and Feather M0/SAMD21-based boards, but it says that any CircuitPython board that supports I2C should work.
- jeffmorris
- Posts: 10
- Joined: Mon Sep 12, 2022 11:12 am
Re: CircuitPython and PCA9685 on ESP32 Huzzah board?
I went to https://learn.adafruit.com/circuitpytho ... t/overview website and tried to install CircuitPython on ESP32 Huzzah board and I don't know if it worked.
- rooppoorali
- Posts: 98
- Joined: Sat Jul 16, 2022 12:04 pm
Re: CircuitPython and PCA9685 on ESP32 Huzzah board?
If you cannot be sure, try to run the 'Dimming LEDs' or 'Servo control' example given in the link that I posted in my previous answer. If these examples work, then your library has been properly installed, no doubt.
- jeffmorris
- Posts: 10
- Joined: Mon Sep 12, 2022 11:12 am
Re: CircuitPython and PCA9685 on ESP32 Huzzah board?
I get these messages in CircuitPython REPL window in MU Editor:
invalid header: 0xffffffff
invalid header: 0xffffffff
invalid header: 0xffffffff
invalid heaets Jul 29 2019 12:21:46
rst:0x10 (RTCWDT_RTC_RESET),boot:0x3 (DOWNLOAD_BOOT(UART0/UART1/SDIO_REI_REO_V2))
waiting for download
invalid header: 0xffffffff
invalid header: 0xffffffff
invalid header: 0xffffffff
invalid heaets Jul 29 2019 12:21:46
rst:0x10 (RTCWDT_RTC_RESET),boot:0x3 (DOWNLOAD_BOOT(UART0/UART1/SDIO_REI_REO_V2))
waiting for download
- adafruit_support_carter
- Posts: 29483
- Joined: Tue Nov 29, 2016 2:45 pm
Re: CircuitPython and PCA9685 on ESP32 Huzzah board?
At what point did the guide not work as shown?
https://learn.adafruit.com/circuitpytho ... t/overview
https://learn.adafruit.com/circuitpytho ... t/overview
- jeffmorris
- Posts: 10
- Joined: Mon Sep 12, 2022 11:12 am
Re: CircuitPython and PCA9685 on ESP32 Huzzah board?
"Setting up Web Workflow" in "CircuitPython on ESP32 Quick Start" guide. If the ESP32 HUZZAH32 (https://www.adafruit.com/product/3591) has USB port, why won't CIRCUITPY Folder show up?
- adafruit_support_carter
- Posts: 29483
- Joined: Tue Nov 29, 2016 2:45 pm
Re: CircuitPython and PCA9685 on ESP32 Huzzah board?
This is discussed on the first page of the guide:why won't CIRCUITPY Folder show up?
https://learn.adafruit.com/circuitpytho ... er-3124372
Were you trying to create the .env file via REPL?
https://learn.adafruit.com/circuitpytho ... pl-3124375
or by using Thonny?
https://learn.adafruit.com/circuitpytho ... ny-3124379
- jeffmorris
- Posts: 10
- Joined: Mon Sep 12, 2022 11:12 am
Re: CircuitPython and PCA9685 on ESP32 Huzzah board?
I tried creating the .env file using REPL and tried using Thonny but they don't work.
- adafruit_support_carter
- Posts: 29483
- Joined: Tue Nov 29, 2016 2:45 pm
Re: CircuitPython and PCA9685 on ESP32 Huzzah board?
Can you provide more information on what did not work. Were there error messages when you ran the commands? Or that worked but the board never showed up on the network? Or you were able to connect but something else happened?
You were able to connect to the REPL to run the commands. So at least that much is working. So seems related to either network configuration or something else preventing connecting to the board via a browser.
You were able to connect to the REPL to run the commands. So at least that much is working. So seems related to either network configuration or something else preventing connecting to the board via a browser.
- jeffmorris
- Posts: 10
- Joined: Mon Sep 12, 2022 11:12 am
Re: CircuitPython and PCA9685 on ESP32 Huzzah board?
I used ESP Web Flasher to flash adafruit-circuitpython-adafruit_feather_huzzah32-en_US-8.0.0-beta.0.bin file into ESP32 Huzzah32 board. After flashing and getting "To run the new firmware, please reset your device." message, I tried to reset the board but nothing happened.
- adafruit_support_carter
- Posts: 29483
- Joined: Tue Nov 29, 2016 2:45 pm
Re: CircuitPython and PCA9685 on ESP32 Huzzah board?
How were you able to access the REPL then? It sounds like the basic firmware flashing did not work as expected. Which would be needed to then access the REPL to create the .env file.
Please be positive and constructive with your questions and comments.