aboutsummaryrefslogtreecommitdiffstats
path: root/README.adoc
blob: 698e25a8736de91ca61ab04ebdec626d6a4af664 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
== Various Arduino Snippets

Every now and then I create a small Arduino (test) project. I think I should
publish the stuff here — this is mostly cargo cult code that has been hammered
into some semi-working form.

=== lighting/strobe.ino

The code behind my https://xenoworld.de/2017/01/18/blink.html[fluorescent light demo].

=== humidity-led-indicator/

Code for a small project which uses a humidity sensor (DHT22) and an
APA102-RGB-LED to indicate if the current humidity is in an acceptable range.
*red* means it is too dry, *blue* means it is too humid, everything else is
something between yellow-orange and green.

It would also switch off the LED if it was too dark in the room, so it would
not annoy me at night.

At some point I will polish that code and move the whole thing from breadboard
to a more fixed setup. All components are here, but I haven't gotten around to
doing it yet. I'm targeting some ATTiny, though.

The original file name was `sketch_humidity_cargo_cult.ino`, so take that into
account…