Skip to content

Pre-Final for Computer Architecture: A project using the KY-004 IR Receiver and KY-016 RGB LED for sensor-based communication and visual feedback in embedded systems.

License

Notifications You must be signed in to change notification settings

Aenjieee/Sensor-Integration

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 

Repository files navigation

KY-004 Key Switch & KY-016 RGB LED with Arduino

Components:

  • Arduino (e.g., Uno, Nano)
  • KY-004 Key Switch Module
  • KY-016 RGB LED Module
  • Jumper wires

KY-004 Key Switch (KY-004.ino)**

Wiring:

  • VCC5V, GNDGND, SIGPin 2

Function:

  • Reads HIGH when pressed, LOW when released.

For more details, check the full guide:
Using the Key Switch Module KY-004 with Arduino


KY-016 RGB LED (KY-016.ino)

Wiring:

  • VCC5V, GNDGND, R PinPin 9, G PinPin 10, B PinPin 11

Function:

  • Controls RGB color by adjusting Red, Green, and Blue pins.

For more details, refer to:
KY-016 RGB Full Color LED Module


Usage:

  1. Connect the modules.
  2. Upload KY-004.ino and KY-016.ino to Arduino.
  3. Test: Press the key switch and change LED colors.

Troubleshooting:

  • No output: Check connections.
  • LED issue: Verify RGB wiring.

This version includes the links for further details and keeps the information concise.

About

Pre-Final for Computer Architecture: A project using the KY-004 IR Receiver and KY-016 RGB LED for sensor-based communication and visual feedback in embedded systems.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages