Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

please solve it correctly . Configure below circuit connected to make Arduino_1 and Arduino_2 talk to each other through Software Serial Communication. Note that digital

please solve it correctly .

image text in transcribedimage text in transcribed

Configure below circuit connected to make Arduino_1 and Arduino_2 talk to each other through Software Serial Communication. Note that digital Pins 0 and 1 are not used in the circuit because both will be busy communicating Serially with 2 computer stations to print out some Values over the computer screens. Switch Common Ground Pin from Arduino 2 to Pin of Arduino_1 Pin B from Arduino_2 to Pin 2 of Arduino_1 O UNO Arduino 2 Arduino_1 Write a code to read status of Switch_1 from Arduino_1 and turn the two LEDs connected to Arduino_1 ON if Switch_1 is pressed. Print Status of Switch_1 over the Serial monitor of Arduino_1. Then let Arduino_1 communicate serially with Arduino_2 to turn the two LEDs connected to Arduin_2 ON when Switch_1 is pressed as well. Print "Hello" over Serial Monitor of Arduino_2 when Switch_1 is pressed. There is a photoresistor connected to Arduino_2 to sense if Arduino_2 LEDs are ON or OFF. When a person presses Switch_2 on Arduino_2, the LEDs on Arduino_1 will turn OFF after checking that Arduino_2 LEDs are ON (LEDs of Arduino_2 stay ON after turning Arduino_1 LEDs OFF). Print Status of Switch_2 over the Serial monitor of Arduino_2. Write your name and ID # as comments on the first line of your codes. From TinkerCAD screen, click "Send To" button at the upper right Corner, then click over "Invite people down the pop-up window that appears, then click "Copy" button. This copied link will guide the TA for your HW Solution. Paste your HW solution link over eLearning as your HW submission. Do not amend the solution at all after submission, otherwise your HW attempt will be discarded from grading

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

Lab Manual For Database Development

Authors: Rachelle Reese

1st Custom Edition

1256741736, 978-1256741732

More Books

Students also viewed these Databases questions