Last week I did several exercises for the bike computer projects. I was introduced to different sensors and components through these exercises.
Exe 1: Temperature sensor
In this exercise I connected a temperature sensor to the Arduino circuit. The sensor turns the temperature information into analog data and send it back to the computer. In Arduino, I set the software to print the temperature data every second.
Exe 2: Magnet sensor
The circuit of magnet sensor is similar with the temperature one, but transmits digital data instead of analog data. There is only two status for digital data, 0 and 1.
Exe 3: Button
I tried to include a button to control other components in the circuit. A button also transmit digital data. The two status for button are HIGH for pushing down the button and LOW for releasing the button.
I also tried to get Arduino connected with Processing. It seemed to me that se connect them by setting a common port for these two software. We could map the data we collected from Arduino input to the variables in processing and further make changes in Processing canvas.
The video I attached shows how the temperature sensor works.












