• The Joys of Swamp-Cooler Bearings
  • Email
dochawk.org

cadillacs, microcontrollers, economics, politics, and law

  • arduino,  Microcontrollers

    Writing and Reading to the atMega EEPROM

    January 21, 2019

    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…

    Read More
    dochawk No Comments
  • Microcontrollers,  python,  raspberry pi

    Getting a Response Back from the atMega to the Pi

    January 7, 2019

    In the last installment, we managed to get the Pi to talk over BLE to the atMega, and for the atMega to turn on an LED to show that this had happened. While interesting, this on its own is of no use. We want to get a response back, too. Simply trying to use the readCharacteristic() function failed. Further investigation…

    Read More
    dochawk No Comments
  • arduino,  python,  raspberry pi

    Talking to the atMega from the Pi over Bluetooth BLE

    January 4, 2019

    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…

    Read More
    dochawk No Comments
  • Languages,  Microcontrollers,  python,  raspberry pi

    Starting with Python on Raspberry Pi

    January 1, 2019

    I’ve programmed in many languages over the years. So many, in fact, that I’d be hard pressed to name them all, and unlikely to succeed. One of the things that I’ve learned in the process is that most of them are easy to pick up: just find a small working program or three for reference, a reference manual, and start…

    Read More
    dochawk No Comments
  • arduino,  Microcontrollers

    Getting the atMega to Talk to an AT-09

    December 29, 2018

    First steps in talking to an AT-09 bluetooth device with an atMega MCU

    Read More
    dochawk No Comments
  • Microcontrollers,  raspberry pi

    Starting With a Raspberry Pi Zero W

    December 26, 2018

    While there are steps with the atMega waiting to be posted, let’s turn attention briefly to the Raspberry Pi. In particular, I have a Zero WH–the small one with wireless built in, and the headers pre-soldered by Adafruit. (OK, I have a couple more, as you might have expected, but that’s not the point today.). The atMegas are plenty for…

    Read More
    dochawk No Comments
  • arduino,  Gardening

    A Simple ATmega Circuit . . .

    September 5, 2018

    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…

    Read More
    dochawk No Comments
  • Home maintenance

    The Joys of Swamp-Cooler Bearings

    September 4, 2018

    This will probably be gutted as I replace it.  For the moment, I need to test this system. We’ve long appreciated our swamp cooler, which replaced a staggeringly large window mount that nearly kept the house cool when we returned to find the house nearly destroyed by tenants.  It made the living room unusable, and we had the big one…

    Read More
    dochawk No Comments
Savona Theme by Optima Themes