Updated Simple ESPSomfy RTS device (markdown)

rstrouse 2023-02-26 17:11:12 -08:00
parent d975a52924
commit dd9f600e4f

@ -49,6 +49,11 @@ The hardest part of the inital connection is determining which pins are which on
***NOTE:*** The pinout for the ESP32 will be different if you chose an ethernet model. The GPIO pins below will not be available on your board. The ethernet PHY steals many if these. However, you can simply read through the datasheet and choose from the list of available pins. So you do not have to disconnect your radio to use the serial port though you should not choose GPIO0 or GPIO2 for any of the radio pins. As an aside start with one of the input only GPIOs for the RX. These are typically GPIO32+.
# Suggested Pins
The pin settings below are only suggestions for specific models of the ESP32
## ESP-WROOM-32/ESP32S Models
If you are going to connect ESPSomfy RTS with wifi. These devices are plentiful, inexpensive, and reliable. They are also more user friendly in that they do not require any external USB interfaces to program them.
| Pin | Description | ESP Pin |
| --- | ----------- | ------- |
@ -69,6 +74,66 @@ Here is a picture for those of you who need to see it to believe it.
![image](https://user-images.githubusercontent.com/47839015/219157617-f7d8fca2-0191-4b66-b4cb-a2f507c3a42d.png)
## WT32-ETH01 Models
This is a wired ethernet model that allows you to connect via a wired ethernet cable or wifi. However, there are many fewer pins available to connect the transceiver. Below are the suggested pins.
| Pin | Description | ESP Pin |
| --- | ----------- | ------- |
| 1 | GND | GND |
| 2 | VCC | 3v3 |
| 3 | GDO0 - This is the RX Pin | GPIO 35 |
| 4 | CSN | GPIO 12 |
| 5 | SCK | GPIO 14 |
| 6 | MOSI | GPIO 15 |
| 7 | MISO | GPIO 04 |
| 8 | GDO2 - This is the TX pin | GPIO 02 |
GPIO 02 may need to be disconnected during initial firmware load or the firmware load will fail. After that you can use the OTA upload features for loading firmware onto ESPSomfy RTS from any connected device.
## Olimex ESP32-PoE/EVB
This little board uses power over ethernet so you can run one cable to the device without any additional power requirements. There are more available pins on this device so you have a few more choices than the WT32-ETH01 boards. However, here is a suggestion for the configuration. All of the pins below are on the UEXT connector so if your build a connector then you can simply connect it between the transceiver and the connector header. There will be no need for a breadboard. Kinda dumb that there are no mounting holes though.
| Pin | Description | ESP Pin |
| --- | ----------- | ------- |
| 1 | GND | GND |
| 2 | VCC | 3v3 |
| 3 | GDO0 - This is the RX Pin | GPIO 36 |
| 4 | CSN | GPIO 13 |
| 5 | SCK | GPIO 14 |
| 6 | MOSI | GPIO 15 |
| 7 | MISO | GPIO 16 |
| 8 | GDO2 - This is the TX pin | GPIO 04 |
## LilyGO T-Internet POE
So where do these names come from. Anyway, this is another PoE card. You will need the programmer card to load the initial firmware but after that it can sit in a drawer so years from now you pick it up and think... "what is this to?". You know like that key to something you don't know what it belongs to. Again there are not many pins available but there are just enough to get the transceiver hooked up.
| Pin | Description | ESP Pin |
| --- | ----------- | ------- |
| 1 | GND | GND |
| 2 | VCC | 3v3 |
| 3 | GDO0 - This is the RX Pin | GPIO 35 |
| 4 | CSN | GPIO 12 |
| 5 | SCK | GPIO 14 |
| 6 | MOSI | GPIO 15 |
| 7 | MISO | GPIO 16 |
| 8 | GDO2 - This is the TX pin | GPIO 04 |
## wESP POE
This is an interesting little board in that it it seems to have quite a few more pins available. It also has a cool logo of a paper wasp that has no function whatsoever but it is well done. Like some of the other options, you need to buy the serial converter to load the initial firmware and toss it in the drawer.
| Pin | Description | ESP Pin |
| --- | ----------- | ------- |
| 1 | GND | GND |
| 2 | VCC | 3v3 |
| 3 | GDO0 - This is the RX Pin | GPIO 39 |
| 4 | CSN | GPIO 05 |
| 5 | SCK | GPIO 18 |
| 6 | MOSI | GPIO 13 |
| 7 | MISO | GPIO 32 |
| 8 | GDO2 - This is the TX pin | GPIO 33 |
# More Polished Version
If you are like me and cannot bear to have something that looks all cobble up when you want to show it off you can create a more polished version using a breadboard, a couple of headers, and some kynar wire soldered to the back of the board. Below is a picture of the finished project. I built 3 of these out of all the radios that I bought.