Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Instructions In TinkerCAD, connect a hobby gearmotor to Arduino via L 2 9 3 D chip. Connect a 9 V battery to the chip to

Instructions
In TinkerCAD, connect a hobby gearmotor to Arduino via L293D chip. Connect a 9V battery to the chip to power the motor. Also connect a distance sensor to the same Arduino. Write an Arduino code that will turn the motor on at full speed if the distance is more than 20 inches and reverse the motor at half the full speed if the distance is less than 20 inches.
Take screenshot(s) that clearly shows the code and the circuit at a readable zoom. level. Include screenshot(s) and a TinkerCAD link to this system, on the page1 of your submission pdf file. (15 points)
In TinkerCAD, connect a servomotor to Arduino. Also connect a light sefisor (photoresistor) to the same Arduino. Write an Arduino code that will turn the servo to 90 degrees if the light (as measured at an analog input pin) is larger than 500 and turn the servo to 0 degrees if less than 500.
Take screenshot(s) that clearly shows the code and the circuit at a readable zoom level. Include screenshot(s) and a TinkerCAD link to this system, on the page 2 of your submission pdf file. (15 points)
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Marketing The New Profit Frontier

Authors: Ed Burnett

1st Edition

0964535629, 978-0964535626

More Books

Students also viewed these Databases questions