Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
S
systemprogramming-4
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Eunchae Lee
systemprogramming-4
Commits
15b194f3
Commit
15b194f3
authored
1 year ago
by
Eunchae Lee
Browse files
Options
Downloads
Patches
Plain Diff
Update README.md
parent
d7fc2af7
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
README.md
+19
-4
19 additions, 4 deletions
README.md
with
19 additions
and
4 deletions
README.md
+
19
−
4
View file @
15b194f3
...
...
@@ -87,34 +87,49 @@ gcc -o client3 pir.c -lpthread -lwiringPi
1.
Connect the Sensors and Actuators
-
Rpi 1
-
DHT11 Sensor:
Connect the VCC pin of the DHT11 sensor to the 5V pin on the Raspberry Pi.
Connect the GND pin of the DHT11 sensor to the GND pin on the Raspberry Pi.
Connect the DATA pin of the DHT11 sensor to the GPIO pin(2) on the Raspberry Pi.
- RPi2
- Photoresistor:
Connect one leg of the photoresistor to a 3.3V pin on the Raspberry Pi.
Connect the other leg of the photoresistor to a GPIO pin(18) through a pull-down resistor.
- RPi3
- PIR Sensor:
Connect the VCC pin to the 5V pin on the Raspberry Pi.
Connect the GND pin to the GND pin on the Raspberry Pi.'
Connect the GND pin to the GND pin on the Raspberry Pi.
Connect the OUTPUT pin to the PWM(0) on the Raspberry Pi.
- LED:
Connect one leg to the GPIO pin(18) and the other to the GND pin.
- Servo Motor:
Connect the power pins to the 5V and GND pins, and the control pin to a GPIO pin(18).
- RPi4
- Piezo Buzzer:
Connect the VCC pin to the 5V pin on the Raspberry Pi.
Connect the GND pin to the GND pin on the Raspberry Pi.'
Connect the OUTPUT pin to the GPIO pin(20) on the Raspberry Pi.
- LED:
Connect one leg to the GPIO pin(18) and the other to the GND pin.
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment