HUZZAH32 and CircuitSetup Split Single Phase Energy Meter Pi

For Adafruit customers who seek help with microcontrollers

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
DDomnick
 
Posts: 3
Joined: Sat Sep 11, 2021 11:09 am

HUZZAH32 and CircuitSetup Split Single Phase Energy Meter Pi

Post by DDomnick »

Am confused with pin translation between https://www.esphome-devices.com/devices ... with-ESP32 and Huzzah32.

GPIO5-Chip Select to Huzzah Pin 11?
GPIO18-CLK Pin to Huzzah Pin ??
GPIO19-MISO Pin to Huzzah Pin 13?
GPIO23-MOSI Pin to Huzzah Pin 12?

Any help appreciated!

User avatar
adafruit_support_mike
 
Posts: 67446
Joined: Thu Feb 11, 2010 2:51 pm

Re: HUZZAH32 and CircuitSetup Split Single Phase Energy Mete

Post by adafruit_support_mike »

If you mean the Huzzah32 breakout, its pinout lives here:

https://learn.adafruit.com/huzzah32-esp ... -3028149-8

Pin 5 is SCK
Pin 18 is MOSI
Pin 19 is MISO

and you can connect CS to any pin. Just make sure your code has the correct number for whatever pin you choose.

User avatar
DDomnick
 
Posts: 3
Joined: Sat Sep 11, 2021 11:09 am

Re: HUZZAH32 and CircuitSetup Split Single Phase Energy Mete

Post by DDomnick »

No, Sorry for omitting that, was not aware of two product by that name, I have the HUZZAH32 ESP32 Feather.
I am looking at https://learn.adafruit.com/adafruit-huz ... er/pinouts

SCK appears to be pin 11 on the HUZZAH32 Feather and is ESP32 GPIO5? Not GPIO18?

MISO appears to be pin 13 on the HUZZAH32 Feather and is ESP32 GPIO19?

MOSI appears to be pin 12 and is ESP32 GPIO18?

I understand I can move CS to another pin, I'm trying to understand what the pin relationships are on the Feather versus other ESP32 based boards, and why the developer of the Energy meter has pre-programmed ESP32 dev boards and coding that are so different that the Feather pins. Thanks again for your help!!!

User avatar
DDomnick
 
Posts: 3
Joined: Sat Sep 11, 2021 11:09 am

Re: HUZZAH32 and CircuitSetup Split Single Phase Energy Mete

Post by DDomnick »

Disregard @Mike. I think I have this figured out after more time studying.

SCK pin 11
MISO pin 13
MOSI pin 12
I will put CS on pin 10

User avatar
adafruit_support_mike
 
Posts: 67446
Joined: Thu Feb 11, 2010 2:51 pm

Re: HUZZAH32 and CircuitSetup Split Single Phase Energy Mete

Post by adafruit_support_mike »

Glad to hear you've got it. Happy hacking!

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

Return to “Microcontrollers”