Circuit Documentation
Summary
This document provides a comprehensive overview of a circuit that includes an Arduino Nano as the central microcontroller interfaced with various components such as an RS-485 module, switches, pushbuttons, a relay module, power supply units, XLR connectors, a serial MP3 player, RF modules, and DMX communication hardware. The circuit is designed to handle both digital and analog signals, communication via RS-485 and RF 433MHz, audio playback, and power control through relays.
Component List
Arduino Nano
- Microcontroller board based on the ATmega328P
- Pins: D1/TX, D0/RX, RESET, GND, D2 to D13, VIN, 5V, A0 to A7, AREF, 3V3
RS-485 Module
- Module for RS-485 communication
- Pins: VCC, B, A, GND, RO, RE, DE, DI
Toggle Switch
- A switch with a single pole double throw (SPDT) configuration
- Pins: L1, COM, L2
Pushbutton (x2)
- Momentary pushbutton switches
- Pins: Pin 1, Pin 2, Pin 3, Pin 4
Rocker Switch (SPST)
- Single pole single throw (SPST) rocker switch
- Pins: 1, 2
5V 2-Relay Module (JD-VCC)
- A module with two 5V relays
- Pins: JD-VCC, VCC, GND, IN1, IN2, NO, COM, NC
5V Power Supply Unit (PSU)
- A power supply unit providing 5V output
- Pins: 5V+, GND, 5V OK, PE, N, L
XLR Connectors (Male and Female)
- Connectors for audio and DMX signals
- Pins: 1, 2, 3
Serial MP3 Player
- A module for playing MP3 files
- Pins: RX, TX, VCC, GND
433MHz RF Transmitter (Zender) and Receiver (Ontvanger)
- Modules for wireless communication at 433MHz
- Transmitter Pins: GND, 5V, DATA, ANT
- Receiver Pins: GND, DATA, CS, 5V, ANT
Connectors (230V, 5V, Yellow, White)
- Various connectors for power and signal interfacing
- 230V Connector Pins: Neuter, Fase
- 5V Connector Pins: GND, VCC
- Yellow Connector Pins: Output onder, Output boven
- White Connector Pins: Input onder, Input boven
Power 220V
- Main power input for the circuit
- Pins: hot wire, neutral wire
Wireless DMX
- A wireless DMX communication module
- Pins: 5V, DATA -, DATA +, GND, ANT
5V and GND Connectors
- Connectors for distributing 5V and ground throughout the circuit
Wiring Details
Arduino Nano
- D1/TX connected to RS-485 Module DI
- D0/RX connected to RS-485 Module RO
- RESET connected to Pushbutton Pin 2
- D2 connected to 433MHz Receiver DATA
- D3 connected to 433MHz Receiver CS
- D4 connected to Serial MP3 Player RX
- D5 connected to Serial MP3 Player TX
- D6 connected to Pushbutton Pin 3
- D7 connected to Relay Module IN2
- D8 connected to Relay Module IN1
- D9 connected to Yellow Connector Output boven
- D10 connected to 433MHz Transmitter DATA
- A3 connected to Yellow Connector Output onder
- A2 connected to White Connector Input boven
- A1 connected to White Connector Input onder
RS-485 Module
- B connected to XLR Male 3, XLR Female 3, Wireless DMX DATA +
- A connected to XLR Male 2, XLR Female 2, Wireless DMX DATA -
- RE and DE connected to Toggle Switch COM
Toggle Switch
- COM connected to RS-485 Module RE and DE
- L1 connected to XLR Male 1, XLR Female 1, GND
- L2 connected to 5V
Pushbuttons
- Pin 2 connected to Arduino Nano RESET
- Pin 3 connected to Arduino Nano D6 and GND
Rocker Switch (SPST)
- 1 connected to 5V
- 2 connected to Wireless DMX 5V
5V 2-Relay Module (JD-VCC)
- IN1 connected to Arduino Nano D8
- IN2 connected to Arduino Nano D7
- NO connected to Yellow Connector Output onder
- COM connected to Yellow Connector Output boven
5V PSU
- 5V+ connected to 5V
- GND connected to GND
- N connected to Power 220V neutral wire and Connector 230V Neuter
- L connected to Power 220V hot wire and Connector 230V Fase
XLR Connectors
- Male 3 and Female 3 connected to RS-485 Module B and Wireless DMX DATA +
- Male 2 and Female 2 connected to RS-485 Module A and Wireless DMX DATA -
- Male 1 and Female 1 connected to Toggle Switch L1 and GND
Serial MP3 Player
- RX connected to Arduino Nano D4
- TX connected to Arduino Nano D5
433MHz RF Modules
- Transmitter DATA connected to Arduino Nano D10
- Transmitter 5V connected to 5V
- Transmitter GND connected to GND
- Receiver DATA connected to Arduino Nano D2
- Receiver CS connected to Arduino Nano D3
Connectors
- 230V Connector Neuter connected to Power 220V neutral wire and 5V PSU N
- 230V Connector Fase connected to Power 220V hot wire and 5V PSU L
- 5V Connector GND connected to GND
- 5V Connector VCC connected to 5V
- Yellow and White Connectors interfaced with Arduino Nano and Relay Module as specified
Power 220V
- Neutral wire connected to 5V PSU N and Connector 230V Neuter
- Hot wire connected to 5V PSU L and Connector 230V Fase
Wireless DMX
- 5V connected to Rocker Switch 2
- DATA - connected to RS-485 Module A
- DATA + connected to RS-485 Module B
- GND connected to GND
Documented Code
Arduino Nano - sketch.ino
void setup() {
}
void loop() {
}
Arduino Nano - documentation.txt
(No additional documentation provided for the code)
This concludes the documentation for the circuit. The wiring details provide a clear connection map for each component, and the code section includes the basic structure for the Arduino Nano's program. Further implementation details should be added to the code as per the circuit's functional requirements.