Curriculum
Course: Bright Sparks No Code STEM Kit
Login

Curriculum

Bright Sparks No Code STEM Kit

STEM Projects

0/29
Text lesson

Flashing Danger Light 🚨⚑

Description:

Build a simple yet powerful flashing LED light that responds to button presses with your Bright Sparks No Code STEM Kit. When you press the button, the LED lights up; release it, and the LED turns off. Use this setup to send an SOS signal in Morse code: three short presses (S), three long presses (O), followed by three short presses (S). This project teaches basic circuitry and introduces the concept of Morse code, making it both educational and potentially life-saving.

Parts Used:

  • SparkBoard
  • 4 AA Battery Holder Power Supply
  • 5 ✘ Female to Female Jumper Wires
  • Push Button Module
  • Red/Green Led Module

Wiring Diagram:

Image

Wiring diagram of Flashing Danger Light

Steps:

  • Connect battery red wire to the positive screw terminal
  • Connect battery black wire to the negative screw terminal
  • Connect the button V to the VCC on the SparkBoard
  • Connect the button G to the GND on the SparkBoard
  • Connect the button S to the A1 pin on the SparkBoard
  • Connect the LED + to the MA1 pin on the SparkBoard
  • Connect the LED – to the MA2 pin on the SparkBoard

Now, when you press the button, the LED turns on, and when you release it, the LED turns off. You can use this setup to create a flashing LED by toggling the button, or send Morse code signals, such as SOS, by following the same procedure.