CircuitPython and PCA9685 on ESP32 Huzzah board?

CircuitPython on hardware including Adafruit's boards, and CircuitPython libraries using Blinka on host computers.

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
jeffmorris
 
Posts: 10
Joined: Mon Sep 12, 2022 11:12 am

CircuitPython and PCA9685 on ESP32 Huzzah board?

Post by jeffmorris »

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?

User avatar
rooppoorali
 
Posts: 98
Joined: Sat Jul 16, 2022 12:04 pm

Re: CircuitPython and PCA9685 on ESP32 Huzzah board?

Post by rooppoorali »

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.

User avatar
jeffmorris
 
Posts: 10
Joined: Mon Sep 12, 2022 11:12 am

Re: CircuitPython and PCA9685 on ESP32 Huzzah board?

Post by jeffmorris »

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.

User avatar
rooppoorali
 
Posts: 98
Joined: Sat Jul 16, 2022 12:04 pm

Re: CircuitPython and PCA9685 on ESP32 Huzzah board?

Post by rooppoorali »

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.

User avatar
jeffmorris
 
Posts: 10
Joined: Mon Sep 12, 2022 11:12 am

Re: CircuitPython and PCA9685 on ESP32 Huzzah board?

Post by jeffmorris »

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

User avatar
adafruit_support_carter
 
Posts: 29483
Joined: Tue Nov 29, 2016 2:45 pm

Re: CircuitPython and PCA9685 on ESP32 Huzzah board?

Post by adafruit_support_carter »

At what point did the guide not work as shown?
https://learn.adafruit.com/circuitpytho ... t/overview

User avatar
jeffmorris
 
Posts: 10
Joined: Mon Sep 12, 2022 11:12 am

Re: CircuitPython and PCA9685 on ESP32 Huzzah board?

Post by jeffmorris »

"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?

User avatar
adafruit_support_carter
 
Posts: 29483
Joined: Tue Nov 29, 2016 2:45 pm

Re: CircuitPython and PCA9685 on ESP32 Huzzah board?

Post by adafruit_support_carter »

why won't CIRCUITPY Folder show up?
This is discussed on the first page of the guide:
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

User avatar
jeffmorris
 
Posts: 10
Joined: Mon Sep 12, 2022 11:12 am

Re: CircuitPython and PCA9685 on ESP32 Huzzah board?

Post by jeffmorris »

I tried creating the .env file using REPL and tried using Thonny but they don't work.

User avatar
adafruit_support_carter
 
Posts: 29483
Joined: Tue Nov 29, 2016 2:45 pm

Re: CircuitPython and PCA9685 on ESP32 Huzzah board?

Post by adafruit_support_carter »

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.

User avatar
jeffmorris
 
Posts: 10
Joined: Mon Sep 12, 2022 11:12 am

Re: CircuitPython and PCA9685 on ESP32 Huzzah board?

Post by jeffmorris »

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.

User avatar
adafruit_support_carter
 
Posts: 29483
Joined: Tue Nov 29, 2016 2:45 pm

Re: CircuitPython and PCA9685 on ESP32 Huzzah board?

Post by adafruit_support_carter »

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.

Locked
Please be positive and constructive with your questions and comments.

Return to “Adafruit CircuitPython”