Replies: 2 comments 5 replies
-
Here is the code we wrote for using the DHT22, as noted previously this code worked fine with simulated data, but we can't read data from the sensor.
|
Beta Was this translation helpful? Give feedback.
4 replies
-
Come mai usi la libreria un_official se non stai usando Lora? Ti consiglio di disinstallare dal tuo IDE quella libreria e installare quella ufficiale Heltec. Molti PIN GPIO della libreria ufficiale sono diversi, e alcuni non funzionanti su quella Non Ufficiale. Scusami scrivo Italiano, rispondo dal telefono adesso. Buon lavoro. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
As noted previously new to the world of Arduino and micro-electronics.
Have been able to get demo programs running on our 'Stick' just fine, and we even wrote our own app that creates synthetic temp/humidity data and successfully sends it to an MQTT broker via WiFi. All good! However, we went to install/use an actual DHT22 with no luck, verified that the DHT22 is fine via a Pi and GPIO interface. We took a step back and tried to make an external LED blink based on some basic code from a GPIO project kit, and again, no luck. Serial and Display print the right values. Clearly I'm having an issue either with pin assignments, or voltage (I think?). Here is the test code we tried, which we get no LED blinking. Yes there is a resistor inline with the LED and yes we used Gemini to convert Python to C++. Hoping that by posting here it will reach an audience already familiar with the Heltec boards.
Help greatly appreciated! Thanks in advance.
Beta Was this translation helpful? Give feedback.
All reactions