diff --git a/content/blog/2022-11-04_neighbors-water-heater-automation.git b/content/blog/2022-11-04_neighbors-water-heater-automation.rst similarity index 87% rename from content/blog/2022-11-04_neighbors-water-heater-automation.git rename to content/blog/2022-11-04_neighbors-water-heater-automation.rst index d8c82e5..b0754f1 100644 --- a/content/blog/2022-11-04_neighbors-water-heater-automation.git +++ b/content/blog/2022-11-04_neighbors-water-heater-automation.rst @@ -26,6 +26,11 @@ The Lay Of The Land He has a `Bosch Tronic 6000C `_, with what appears to be a rotary encoder knob to set the temperature. I only spent a few minutes under his house while planning this and didn't think to any measuring of how many detents to rotate, or how long the dial took to rotate to 120°F, so my first pass of this project is done with estimations. +.. figure:: {static}/images/2022/11/04_heater.png + :alt: bosch heater with a temperature 7 segment LED set to 120F + :width: 920px + + Project Time - Round 1! ~~~~~~~~~~~~~~~~~~~~~~~ @@ -52,6 +57,9 @@ This held how many seconds after pressing Higher or Lower, that I would send the This seemed to work relatively well, but I figure I should just use a stepper motor if I was attempting to emulate one this way. I dug around in my closet and was able to find some parts. +.. figure:: {static}/images/2022/11/04_servo.png + :alt: blue case servo with a white arm, cables running off screen. sitting on a desk. + Project Time - Round 2! ~~~~~~~~~~~~~~~~~~~~~~~ @@ -74,6 +82,16 @@ I then apply a multiplier (TBD also... there's a lot of these as you can see!) a The endpoint ``/initialize`` runs ``stepper.moveTo`` with ten rotations CCW, and then resets the "known location" back to zero (this also runs on power on for now). + +.. figure:: {static}/images/2022/11/04_webpage.png + :alt: webpage controls, title "Water Heater Control", a blue slider with a green button saying "Set Temperature: 90", and red "Initialize to 90" button + :width: 920px + + +.. figure:: {static}/images/2022/11/04_stepper.png + :alt: blue case servo with a white arm, cables running off screen. sitting on a desk. + :width: 920px + In Action ~~~~~~~~~ @@ -87,6 +105,10 @@ Programming wise, I need to figure out how many steps is one degree. Is the rota Stay tuned to find out the exciting conclusion once I can go down below Frank's house. +.. figure:: {static}/images/2022/11/04_stepper_wheel.png + :alt: blue case servo with a white arm, cables running off screen. sitting on a desk. + :width: 920px + Code ~~~~ diff --git a/content/images/2022/11/04_webpage.png b/content/images/2022/11/04_webpage.png new file mode 100644 index 0000000..b4989cb Binary files /dev/null and b/content/images/2022/11/04_webpage.png differ diff --git a/themes/solarized/static/css/main.css b/themes/solarized/static/css/main.css index 82ff28d..dea8b5c 100644 --- a/themes/solarized/static/css/main.css +++ b/themes/solarized/static/css/main.css @@ -155,7 +155,7 @@ article ul { .right-panel-content img { margin: 1rem; - max-width: 50rem; + max-width: 920px; } .small {