Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Arduino Code. Hall-effect Sensors 1. First review the homework you did for Hall-effect Sensors and study the codes used in Lesson 1, 2, and 3
Arduino Code.
Hall-effect Sensors 1. First review the homework you did for Hall-effect Sensors and study the codes used in Lesson 1, 2, and 3 of Sunfounder Sensor Kit V2.0 for Arduino. Then use a hall-effect sensor, an I2C LED, and two external LEDs to develop an application using hall-effect sensor as a counter. The code should achieve the following: a. First it will print out once your name on the first row of the LCD and the course number on the second row of the LCD display. Hint: this should be done before entering the loop() function. b. Once entering the loop(), the LCD will display how many times you use the magnet to trigger the hall- effect sensor. When the count reaches 10, the first LED will turn on, when the count reaches 20, the second LED turns on. c. Upload a video clip of your work to the blackboard's discussion forum in addition to submitting your answer to blackboard.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started