Ardunio Coding - Tech W3

Using the same example from previous exercises in Tech Workshops, the fading light example, I tried to re-code it using two different inputs. 

The first was with a temperature sensor that turned the light on when it ranged between 50 to 55.

The second attempt was using the same input with the potentiometer, but coding so that when the potentiometer is turned within a certian range the light will turn on. 

I tried to create proximations to make this work. It was through the serial printer that we checked that it was possible as it depended on the room temperature. 


                                            


The second exercise was to try and find a differnt piece of code and use different sensors to test. In the following videos I followed an example to make the fan work.


However, I found an issue with the code, as while it said to use the switch button, the button did not work and it was instead the motor and relay that was powering the fan. The on/off switch did not work.




Comments

Popular posts from this blog

Week 13.2 - A3 Finalising Code

Recommended Readings (2)

First Arduino Experiment