[Lab: Environment] LabDuino Work in Progress

 

For the first part of the LabDuino, we connected a photocell, as the analog input, and an LED, as the digital output, and made the LED dim according to how much light the photocell was exposed to. (Unfortunately I forgot to take a picture of this part.)

For the second part, I connected a force resistive sensor to a servo. Same problem appeared as before: the servo shakes all the time, due to the fast fluctuation of the analog input. After class, Michael helped me to solve this problem by sending the average number of 150 input values to the servo, so that it will move more smoothly. I understood the logic of this part, but we did not succeed yet with the new modified code. Hope we can fix it in next class.

IMG_2551

 

For the next, I can’t wait to use the parts that I have not used before, such as joysticks, accelerometers/gyros, LED matrixes, etc.

Leave a Reply

Your email address will not be published. Required fields are marked *