Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Made some changes to support a different display #5

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file not shown.
Binary file not shown.
Binary file not shown.
15 changes: 15 additions & 0 deletions Uno/DHT22/readme.md
Original file line number Diff line number Diff line change
@@ -1 +1,16 @@
Projects using the DHT22 Temperature/Humidity sensor with Arduino Uno

I'm adding my code to the project specifically for:
Using the ASAIR AM2302 (DHT22) Temp/Humidity sensor with a Velleman VMA412 2.8" 240x320 resistive touch screen
Draws a thermometer bulb graphic with two buttons for you to choose to display the temperature in
degree Celsius or Fahrenheit and shows humidity on an analog meter needle display.

Turns out that I had to make a lot of changes to the sketch made by GadgetReboot to make it usable on my display
the only thing that I have in common is that analog pin 5 isn't used on my shield also, changing it to a digital pin number 19
makes it usable for the sensor... However that's about it, my calibration is completely different in pin usage, the most outer
touch values and usable pixels.
Therefore I had to rewrite pretty much the whole sketch because for me it's completely unusable as is.
It's not perfect yet but at least I managed to get the proportions better so now it starts to fit on the screen,
I still need to figure out a couple things because I don't really know what I'm doing so I have to learn by changing one thing,
then upload the sketch to see what changed which is a lot of work and takes a long time but my added sketch will be usable for
anyone with a similar display that I'm using.