selfmade01
Lieutenant
- Registriert
- Okt. 2012
- Beiträge
- 727
Hallo
ich versuche gerade ein Modbus-Anemometer bei mir am ESp8266 (später an einem ESP32_Cam) anzuschliessen.
Dabei bin ich auf folgende Webseite gestoßen
https://www.hackster.io/philippedc/arduino-esp8266-rs485-modbus-anemometer-45f1d8
und dem Code sowie der Doku auf Github
https://github.com/philippedc/Arduino-ESP8266-RS485-MODBUS-Anemometer
Verdrahten würde er den ESP8266 od den Mini wie auf dem Bild zu sehen
in Der Doku auf Github steht
Mir macht das schon ein bisschen Sorgen.
Auch das rumgefummel mit dem Upload bzw. Neustart und dem Abstöpseln des 5V ...
Braucht der MAX485 zur Datenübertragung 5V?
sollte ich hier besser zusätzlich mit einem Levelshifter arbeiten damit ich auf den Datenleitungen auch nur max 3.3v habe?
Grüße Jürgen
ich versuche gerade ein Modbus-Anemometer bei mir am ESp8266 (später an einem ESP32_Cam) anzuschliessen.
Dabei bin ich auf folgende Webseite gestoßen
https://www.hackster.io/philippedc/arduino-esp8266-rs485-modbus-anemometer-45f1d8
und dem Code sowie der Doku auf Github
https://github.com/philippedc/Arduino-ESP8266-RS485-MODBUS-Anemometer
Verdrahten würde er den ESP8266 od den Mini wie auf dem Bild zu sehen
in Der Doku auf Github steht
Some people will scream when they will see that I mix 5V supplied devices with the ESP8266 which works with a supply of 3.3V. In fact, you will definitively burn your esp8266 if you supply it with 5V – there is a 3.3V supply regulator on the Wemos D1 mini module – But, my anemometer is still working weeks after I built it. So it is possible to plug on an ESP8266 any 5V devices, when the 5V is only on the inputs / outputs of the microcontroller. In another words the ESP8266 is 5V tolerant, even if it must not been supplied over 3.3V. For the sceptics they can read this: https://www.ba0sh1.com/blog/2016/08/03/is-esp8266-io-really-5v-tolerant In fact I get an IDE error when I download the code. After several research I’ve found that D8 must be at 0 during download. D8 is the default CS pin for the SD card. But I’ve seen that D8 stays stuck at Vcc… So I invert D8 with D0. However it is not enough. So I finally decide to power off the 5V supply to all components – except ESP8266 – each time I download the code, then I switch on them back again.
Mir macht das schon ein bisschen Sorgen.
Auch das rumgefummel mit dem Upload bzw. Neustart und dem Abstöpseln des 5V ...
Braucht der MAX485 zur Datenübertragung 5V?
sollte ich hier besser zusätzlich mit einem Levelshifter arbeiten damit ich auf den Datenleitungen auch nur max 3.3v habe?
Grüße Jürgen