Search found 20 matches

by der_kps
Sun Mar 07, 2021 10:22 pm
Forum: ESP8266 boards
Topic: ESP12-F, DHT22-code fails
Replies: 2
Views: 1978

Re: ESP12-F, DHT22-code fails

Solved, Powersupply causes the Problem! DHT22: 3.0V >= Vcc <=6V ESP12: 3.0V >= Vcc <=3.6V FTDI-Powersupply (PS): a) 3.1V b) 3.5V I think the accepted low/high potential between both units are in a critical situation. It works with PS b) It fails with PS a) Using 5V (USB) for DHT22 and reducing the ...
by der_kps
Fri Mar 05, 2021 11:28 am
Forum: ESP8266 boards
Topic: ESP12-F, DHT22-code fails
Replies: 2
Views: 1978

Re: ESP12-F, DHT22-code fails

Code update:

Code: Select all

except OSError as e:
    print('Failed to read sensor: ', e)
shows
Failed to read sensor: Errno [110] ETIMEDOUT

Timeout occurs immediately after

Code: Select all

sensor.measure()
by der_kps
Thu Mar 04, 2021 8:42 pm
Forum: ESP8266 boards
Topic: ESP12-F, DHT22-code fails
Replies: 2
Views: 1978

ESP12-F, DHT22-code fails

Hello, I've tested my new ESP12-F with the well known 'blink.py'; it works. In the next step I have this code: from machine import Pin from time import sleep import dht sensor = dht.DHT22(Pin(14)) while True: try: sleep(5) sensor.measure() temp = sensor.temperature() hum = sensor.humidity() print('T...
by der_kps
Wed Apr 08, 2020 9:29 am
Forum: ESP8266 boards
Topic: print using %s %, ESP8266 vs ESP32
Replies: 3
Views: 2834

Re: print using %s %, ESP8266 vs ESP32

Thanks for answering again! The len of request = conn.recv(1024) is 375 Bytes (nice to know) 8-) A simple print('Content =', request) doesn't make the result better. Trieing print('Content = {} {}'.format(len(request), str(request))) shows that it is impossible to do this print with ESP8266/D1mini p...
by der_kps
Tue Apr 07, 2020 7:33 pm
Forum: ESP8266 boards
Topic: print using %s %, ESP8266 vs ESP32
Replies: 3
Views: 2834

print using %s %, ESP8266 vs ESP32

Hello! I use this codesnippet at the end of my AP/STA Template. Further Connecting WLAN (ssid, pwd) is successfully done. # Connecting to WLAN, reading sensors, making webpage are done 1 s = socket.socket(socket.AF_INET, socket.SOCK_STREAM) 2 s.bind(('', 80)) 3 s.listen(1) #only one client 4 while T...
by der_kps
Sun Apr 05, 2020 8:13 pm
Forum: ESP8266 boards
Topic: import bme280.py fails
Replies: 2
Views: 2535

Re: import bme280.py fails

Ok,the small RAM (<36KB) might be a problem. But I think I don't understand the solution and have tried this: I open the bme280.py (or any other library) and download this file into the device. I do not run it (F5)! BMP280 (7kB) is a Sensor for Temp + Press; BME280 (11kB) is a Sensor for Temp + Pres...
by der_kps
Fri Apr 03, 2020 11:01 pm
Forum: ESP8266 boards
Topic: import bme280.py fails
Replies: 2
Views: 2535

import bme280.py fails

Hello, I've some programms running well in an ESP32 environment and I want to run them on a D1mini Pro (16MB) with ESP8266 firmware (flashed by uPyCraft). Several Problems occur. One of them is this: import bmp280.py is ok. I get at last the answer >>> import bme280.py fails with the answer: downloa...
by der_kps
Fri Apr 03, 2020 4:04 pm
Forum: ESP8266 boards
Topic: D1mini Pro Firmware drives an AP in background
Replies: 6
Views: 4838

Re: D1mini Pro Firmware drives an AP in background

Well,
'I'll kill that ...' AP.

Thanks to both!

der_kps
stay healthy!
by der_kps
Tue Mar 31, 2020 10:04 pm
Forum: ESP8266 boards
Topic: D1mini Pro Firmware drives an AP in background
Replies: 6
Views: 4838

Re: D1mini Pro Firmware drives an AP in background

Hello again!
Moments later I recognize that I've scrolled over the solution:
>>> import webrepl_setup
I set it to 'D' and restart.
AP seems not to be running but is still available in WLAN.
:idea:
Thanks
by der_kps
Tue Mar 31, 2020 9:28 pm
Forum: ESP8266 boards
Topic: D1mini Pro Firmware drives an AP in background
Replies: 6
Views: 4838

Re: D1mini Pro Firmware drives an AP in background

OK! 1.6. WiFi: 'WiFi configuration will be discussed in more detail later in the tutorial.' Where is later? 2.2. WebREPL - a prompt over WiFi The benefit should be an alternative to the known commandline. Actually I'm logged in (ipad) but can't get access (192.168.4.1). I try it later. And (hence?) ...