Search found 7 matches

by Komfibrot
Wed Aug 10, 2022 12:40 pm
Forum: Programs, Libraries and Tools
Topic: Lora p2p with Raspberry pico and RFM95 SX1272
Replies: 1
Views: 12498

Re: Lora p2p with Raspberry pico and RFM95 SX1272

I would be interested in a solution as well :)
by Komfibrot
Mon Nov 08, 2021 8:45 am
Forum: Programs, Libraries and Tools
Topic: DHT11: InvalidPulseCount: Expected 84 but got 76 pulses
Replies: 11
Views: 10083

Re: DHT11: InvalidPulseCount: Expected 84 but got 76 pulses

Thank you, I changed the Line 135 & 136 according to your new code and I get float values. thank you!

Now I get no further questions about it. You helped me a lot!
by Komfibrot
Fri Nov 05, 2021 12:10 pm
Forum: Programs, Libraries and Tools
Topic: DHT11: InvalidPulseCount: Expected 84 but got 76 pulses
Replies: 11
Views: 10083

Re: DHT11: InvalidPulseCount: Expected 84 but got 76 pulses

Thanks to scruss and Roberthh for you helpf! The DHT-Library with PIO works out pretty good.

Unfortunately I get no decimal number for Temperature anymore, which would be helpful for a datalogger.
by Komfibrot
Thu Nov 04, 2021 10:22 am
Forum: Programs, Libraries and Tools
Topic: DHT11: InvalidPulseCount: Expected 84 but got 76 pulses
Replies: 11
Views: 10083

Re: DHT11: InvalidPulseCount: Expected 84 but got 76 pulses

Thank you for your advice, I tried it with the pull-up and without and nothing changed regarding the problems with the recieved pulses. If i try a simple code like the following, It works out fine. from machine import Pin from dht import DHT11, InvalidChecksum import utime # Defining the Pin of the ...
by Komfibrot
Tue Nov 02, 2021 3:01 pm
Forum: Programs, Libraries and Tools
Topic: DHT11: InvalidPulseCount: Expected 84 but got 76 pulses
Replies: 11
Views: 10083

Re: DHT11: InvalidPulseCount: Expected 84 but got 76 pulses

I changed the code following your advices and added the the append and the sensor.measure() function. Now i often get 80 or 82 pulses of the needed 84. A little improvement, but it's still not working. while True: try: f = open(fname, "r") exists = True f.close() print ("File " +str(fname)+ " exists...
by Komfibrot
Thu Oct 28, 2021 8:32 am
Forum: Programs, Libraries and Tools
Topic: DHT11: InvalidPulseCount: Expected 84 but got 76 pulses
Replies: 11
Views: 10083

Re: DHT11: InvalidPulseCount: Expected 84 but got 76 pulses

Thank you for your advice!

Unfortunately, it doesnt fix the problem. It seems to have problem with the creating the file on the sd and then start to write. Because if the file already exists on the sd card, the DHT11 is able to collect the data.
by Komfibrot
Wed Oct 27, 2021 2:30 pm
Forum: Programs, Libraries and Tools
Topic: DHT11: InvalidPulseCount: Expected 84 but got 76 pulses
Replies: 11
Views: 10083

DHT11: InvalidPulseCount: Expected 84 but got 76 pulses

I'm about to code Datalogger on a DEV-17745 or also known as the SparkfunThingsPlus. The Datalogger include an SDCard, RTC and the DHT11 Temperture and Humidty Sensor. I work with the dht.py library. After i added more code (Check if Filename already exists on SDCard, otherwise the File on the SDCar...