Is He/She the One?

Sia Chang
Nov 18, 2020

So for this week, we are working with analog input and output to make a “love compatibility machine.”

I chose to use the photoresistor as the input control and a red LED light as the output as red is the color for love. ❤️

The user can measure his/her love compatibility by touching the heart and see if the red light remains on or disappears.

The following demonstration showcases when someone’s love is compatible as the light remains.

This one showcases when someone’s love is not compatible as the light disappears when he/she touches the heart.

One obstacle I ran into was forgetting to calibrate by pressing the button on the Arduino after uploading the code, so the circuit wasn’t running the way it’s supposed to. The LED was not turned on from the beginning. As I double-checked the circuit and the code, I opened the serial monitor and saw the line of auto-calibrating, I realized that was the reason.

Reference:

https://www.youtube.com/watch?v=EN3OV1uwNzE&list=PLnkvii1uWBvFuwqE1hRamWnhmSlYVhIOH&index=3

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

No responses yet

Write a response