# PLC Projects

Self-directed curriculum in PLC programming focused on building automation and HVAC controls, targeting the Houston industrial market.

## Tools
| Tool | Purpose |
|------|---------|
| OpenPLC Editor | IEC 61131-3 ladder logic programming |
| STM32 Nucleo F411RE | Real hardware I/O (32-bit ARM microcontroller) |
| STM32CubeProgrammer | Firmware uploads to Nucleo board |

## Hardware
- STM32 Nucleo F411RE microcontroller
- Buttons, LEDs, resistors, relay modules
- ![Nucleo F411RE Pinout](Nucleo_F411RE_Pinout_Map.jpg)
- [Pin Mapping Reference](nucleo-f411re-pinout.md)

## Completed Projects

| # | Project | Focus | Status |
|---|---------|-------|--------|
| 01 | Basic I/O | Digital inputs/outputs, button debouncing |
| 02 | Latching Circuits | Industrial latch patterns, seal-in logic |
| 03 | Timers | TON, TOF, TP timer instructions |
| 04 | Counters | CTU up-counter with R_TRIG edge detection |
| 05 | Physical Relay Control | Ladder logic controlling DPDT relay with transistor driver |

## What I'm Learning
- IEC 61131-3 ladder logic programming standards
- Real hardware integration (wiring, I/O interfacing, transistor drivers)
- Industrial control patterns (Start/Stop, seal-in circuits, interlocks)
- Systematic debugging and troubleshooting methodology
- Hardware-software integration with embedded systems

## Why OpenPLC + Real Hardware
Hands-on experience with actual wiring, physical I/O, and debugging with multimeter builds skills that translate directly to industrial PLCs. Working with real relay modules, buttons, and LEDs demonstrates the bridge between ladder logic and physical automation equipment used in building automation and HVAC systems.
