4.1.25. Multi Channel LED Safety Array
| Description In Project 80, learners will engineer an advanced 'Multi-Channel LED Safety Array' multi-component system. This design integrates 74HC595 Shift Register + Flame Sensor + Active Buzzer into a cohesive industrial automation unit.|------------------|----------------------------------------------------------------| | Use case |This project connects to real-world industrial and IoT applications such as: Project 80 provides essential master-level engineering skills for real-world IoT, safety, and control systems.|
Components (Things You will need)
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
|---|---|---|---|---|---|---|---|
Building the circuit
Things Needed:
- Arduino Uno Core Board = 1
- 74HC595 Shift Register = 1
- Flame Sensor = 1
- Active Buzzer = 1
- USB Cable & Jumper Wires = 1
- Bread Board
- LED
Mounting the component on the breadboard and wiring the circuit
Step 1: Inventory all modules listed in the Required Components table.
Step 2: Connect line [Sensor / Input Leads] to [Analog / Digital Pins] — (Primary signal input bus.).
Step 3: Connect line [Actuator / Display Leads] to [PWM / I2C Bus Pins] — (Primary control output bus.).
Step 4: Connect line [VCC / Power Lines] to [5V / 3.3V] — (System power rails.).
Step 5: Connect line [GND Lines] to [GND] — (Common ground reference.).
Step 6: Double-check all VCC, 5V, 3.3V, and GND polarities to prevent electrical shorts.
Step 7: Connect USB programming cable only after verifying all signal path wiring.

Make sure to connect the Arduino USB cable to the Arduino board.
PROGRAMMING
Step 1: Open your Arduino IDE. See how to set up here: Getting Started.
Step 2: Write the complete program implementing the system logic with appropriate pin definitions, setup configuration, and the main control loop.
// Project 80: Multi-Channel LED Safety Array
// Pin Definitions
const int DS_PIN = 2; // Data Pin (74HC595)
const int ST_CP_PIN = 3; // Latch Pin (74HC595)
const int SH_CP_PIN = 4; // Clock Pin (74HC595)
const int FLAME_PIN = A0; // Flame Sensor
const int BUZZER_PIN = 9; // Active Buzzer
void setup() {
pinMode(DS_PIN, OUTPUT);
pinMode(ST_CP_PIN, OUTPUT);
pinMode(SH_CP_PIN, OUTPUT);
pinMode(FLAME_PIN, INPUT);
pinMode(BUZZER_PIN, OUTPUT);
Serial.begin(9600);
Serial.println("System Initialized...");
}
void loop() {
int flameValue = analogRead(FLAME_PIN);
if (flameValue < 500) { // Threshold met
digitalWrite(BUZZER_PIN, HIGH);
updateShiftRegister(0xFF); // Turn on all LEDs
Serial.println("WARNING: Flame Detected!");
} else {
digitalWrite(BUZZER_PIN, LOW);
updateShiftRegister(0x00); // Turn off all LEDs
}
delay(100);
}
void updateShiftRegister(byte data) {
digitalWrite(ST_CP_PIN, LOW);
shiftOut(DS_PIN, SH_CP_PIN, MSBFIRST, data);
digitalWrite(ST_CP_PIN, HIGH);
}
Step 7: Save your code. See the Getting Started section
Step 8: Select the arduino board and port See the Getting Started section:Selecting Arduino Board Type and Uploading your code.
Step 9: Upload your code. See the Getting Started section:Selecting Arduino Board Type and Uploading your code
CONCLUSION
The system responds dynamically when physical conditions cross pre-programmed setpoints, driving output devices reliably.







