It is time to get the atMega MCU to actually do something useful. In particular, I want it to activate a really to turn on a heater–but first I’ll experiment with a lamp. The point here is to control the temperature in my hothouse (even though the low quality thermostat on the Walmart heater already killed all of this year’s tomatoes). I want to be able to choose a temperature at which the heater comes on, and another at which it turns off. Eventually I may extend that to change heater power by how much the temperature needs to change–but not today. I *could* write these into the program, and leave…
-
-
Talking to the atMega from the Pi over Bluetooth BLE
Past posts have built an atMega328p nano board with bluetooth BLE and a DHT22 sensor, and also a quick peek at Python on a Raspberry Pi 0w. Now it’s time to combine them. Make sure your Pi is up to date if you haven’t already: sudo apt-get upgradesudo apt-get dist-upgrade And make sure that you have the bluez libraries and the python : sudo apt-get instal blues pi-bluetooth It appears that as of this writing (the end of 2018), all of the services needed for BLE are now included by default, and that it is not necessary to manually add support for experimental portions Use ssh to connect to your…
-
Getting the atMega to Talk to an AT-09
First steps in talking to an AT-09 bluetooth device with an atMega MCU
-
A Simple ATmega Circuit . . .
Simple, of course, is a category of “Famous Last Words” . . . Some months ago, I got frustrated with yet another commercial lawn sprinkler controller having gone out, and started my web research. This was not a cheap model, but rather almost $100 from a major brand name. I had three front yard lawn circuits, one back yard, and three more garden circuits on it (garden, berries, and trees). Nothing past the fourth control would work any longer–so I did what any red-blooded American male would do, hit the search engines, and got carried away (this year’s death of the lawn is a story for another day). I’d been hearing…