ioios-io / pithy

The Pithy range from ioios
GNU General Public License v3.0
18 stars 4 forks source link

Pin numbers & PDF of the wiring diagram #3

Open mikeyyuen opened 3 years ago

mikeyyuen commented 3 years ago

Hello, would you mind putting a specification for what the different pins people should use in the esphome files?

e.g. https://github.com/ioios-io/demos/blob/main/Home%20Assistant%20with%20ESPHome/4.%20All-In-One/All-In-One-ESPHome-PithyScreen.yaml

I've noticed some of the examples in the demo folder use D1/2 for i2c and others use D3/4, I wondered if it might be different for different models, but I have a pith screen plus and couldn't get most of the demo's to work out of the box.

ioios-io commented 3 years ago

Hi Mike, Yes, I'll add that to the to-do list but can't promise when it'll hit Github. I appreciate it is useful information (the pins are on the front of the PCB but pre-built units will never see those).

In the meantime, here is a list of the pin mappings at least.

D0: DHT D1: PIR 1 D2: PIR 2 D3: I2C Clock D4: I2C Data D5: Encoder 1 D6: Encoder 2 D7: Encoder Switch TX: Side Switch RX: Neopixels

Thanks, John

mikeyyuen commented 3 years ago

Thank you, and your welcome for the pr! Glad I could help a little bit!