Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Mr. Ndugu is using an HC-SR505 PIR motion sensor module in a lab project. Suggest to Mr. Ndugu a proper way to connect this sensor

Mr. Ndugu is using an HC-SR505 PIR motion sensor module in a lab project. Suggest to Mr. Ndugu a proper way to connect this sensor to the Open1768 development board (i.e. to which pins, etc …) and to configure the selected pins! 

 Write a c code and let us assume that Mr. Ndugu wants to detect a rising edge of a signal generated by the sensor over the pin P2.7 (Pin 7 of Port2). later change the c code lines in such a way that the LED0 &LED1 on the Open 1768 development board are switched ON while LED1 and LED2 are switched OFF if a rising edge is detected on pin P2.7


Step by Step Solution

3.44 Rating (147 Votes )

There are 3 Steps involved in it

Step: 1

aThis is the code to detect a rising edge of a signal generated by the sensor over the Pi... 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

Managerial Accounting An Introduction to Concepts Methods and Uses

Authors: Michael W. Maher, Clyde P. Stickney, Roman L. Weil

10th Edition

1111822239, 324639767, 9781111822231, 978-0324639766

More Books

Students also viewed these Mathematics questions

Question

What is the complement of p?

Answered: 1 week ago

Question

Differentiate the function. r(z) = 2-8 - 21/2 r'(z) =

Answered: 1 week ago

Question

7. How does caffeine increase arousal?

Answered: 1 week ago

Question

3. During which part of a nights sleep is REM most common?

Answered: 1 week ago