blog/_posts/2013-05-18-automatic-paraso...

20 lines
831 B
Markdown

---
title: "Self-reliant parasol [Arduino Uno R3]"
date: 2013-05-18
url: automatic-parasol-arduino-uno-r3
layout: post
category: Hacking
---
[![A missing blog post image](/img/blog/automatic-parasol-arduino-uno-r3.jpg)](/img/blog/automatic-parasol-arduino-uno-r3.jpg)
This project has to optimize the brightness rate of a place.
A photo-resistor is connected to an _Arduino_ which decides when the parasol has to go up, or go down.
This action depends on the wind and the luminosity : when wind rate is `LOW` and brightness too `HIGH`, the motor is launched and the status of the parasol changes.
There is two limit switches sending a `HIGH` state when pressed.
They stop the progression of the parasol.
Thanks to Lucas and PATT :+1:
Code [here](https://gist.github.com/HorlogeSkynet/86dc215ccf0a0a4b55ddad460a5fd49c).