Skip to content

W5100S-EVB-Pico with IR Sensor

In this project, I will introduce how to control an IR sensor using the W5100S-EVB-Pico.

matthew

Published March 21, 2023

W5100S-EVB-Pico with IR Sensor

Components

Hardware components Software Apps and online services

Project description

In this project, we will introduce how to control an IR sensor using the W5100S-EVB-Pico. Supplies needed: W5100S-EVB-Pico IR Sensor Module Jumper wires An LED Resistor The IR sensor module is an infrared sensor that detects and outputs human movement. You can use it to control the LEDs. Below is the schematic for this project. The IR sensor module is connected to pin D2 of the W5100S-EVB-Pico, and the LED is connected to pin D8. Below is the source code for this project. void setup(){ pinMode(2, INPUT); pinMode(8, OUTPUT); Serial.begin(9600); } void loop(){ if(digitalRead(2) == HIGH){…

Keep reading with a free account

Guests can read 15 projects per visit. Log in or create a free account to read the full description, open the documents and join the comments.