#DMX512
#PIC16F870
#phase angle control
#analogue control
#digital lighting
#mains output
#dimming curves
#remote programming
#presets
Digital lighting controler PIC16F870
Description: This unit receives DMX 512 data and Analogue (0-10V) data and uses these to phase angle control mains output. Features: DMX 512 data Input. Analogue (0-10V) DC Input. 4 Output channels. Remotely programmable Internally saved Presets. 3 Modes of operation: Digital Lighting Data, Analogue Lighting Data, and Internal Presets. 3 Dimming Curves (Linear, S Curve, and Switch). DMX receive address set on Dip switches from 1-512. 7-segment Display shows operation mode, DMX base address, and preset being used. Designed to operate on 240Vac @ 50Hz. Auto tracks mains frequency. The design is based on the microchip PIC device. The PIC used is the 16F870, a 28 Pin device, running at 20MHz.
The dimming pack controls the power coming out by employing phase angle control of the mains.
The schematics show the circuit used for the main board. The display board is shown here with an explanation here.
The code in the PIC is here and explained here.
The labels for the outside of the box.
The Eagle generated schematics, assembly code, and hex file are all contained within the Zip File here.
Update Oct 2003 - Circuit diagram problem found; please add a 10K resistor from each analogue input to the PIC to ground. This is required to discharge the internal capacitor in the PIC A2D. The circuit diagram has been updated.
Update Nov 2003 - New circuit diagram drawn with Eagle schematics added and new assembly code added with basic/advanced display option.
Also to come soon - A 12-channel based lighting control based in a 19" rack unit with LCD display.
The circuit is designed to interface with DMX 512 data and an analogue input voltage ranging from 0V to 10V, allowing for precise control over lighting systems. The phase angle control method modulates the power delivered to the connected loads, effectively dimming the lighting fixtures based on the input received from the DMX or analogue sources. The system features four independent output channels, enabling the control of multiple lighting fixtures simultaneously.
The microcontroller at the heart of the system, the PIC16F870, operates at a clock speed of 20 MHz, ensuring efficient processing of incoming data and control signals. The configuration of the DMX address is facilitated through a series of dip switches, allowing users to set addresses ranging from 1 to 512, which is standard for DMX systems.
The 7-segment display provides real-time feedback to the user, displaying critical operational information such as the current mode of operation, the DMX base address, and the selected preset. This interface enhances usability and allows for quick adjustments during operation.
The design incorporates three distinct modes of operation: Digital Lighting Data, Analogue Lighting Data, and Internal Presets, which can be programmed and stored for future use. The inclusion of three dimming curves—Linear, S Curve, and Switch—provides flexibility in how the lighting responds to control signals, accommodating various lighting effects and user preferences.
Updates to the design have addressed potential issues, such as the addition of a 10K resistor for each analogue input to ground, which is essential for discharging internal capacitors within the PIC's ADC, ensuring accurate readings. The latest circuit diagrams and assembly code have been refined and are available for reference, ensuring that users have access to the most current design specifications.
Future enhancements are anticipated, including a 12-channel lighting control system housed in a 19" rack unit, further expanding the capabilities of this lighting control technology.This unit recieves DMX 512 data and Analogue (0- 10v) data and uses these to phase angle control mains output. Features: DMX 512 data Input. Analogue (0- 10v )DC Input. 4 Output channels. Remotley programmable Interally saved Presets. 3 Modes of operation Digital Lighting Data, Aanlogue Lighting Data and Internal Presets. 3 Dimming Curves ( Linear , S Curve and Switch ). DMX recieve address set on Dip switches from 1 - 512. 7 seg Display shows operation mode, DMX base address and preset being used. Designed to operate on 240Vac @ 50Hz. Auto tracks mains frequency. The Designed is based on the microchip Pic device. The Pic used is the 16F870 a 28 Pin device. running at 20Mhz. The dimming pack controls the power comming out bu enploying phase angle control of the mains. The schematics shows the circuit used for the main board, The display boardis shown here with an explanition here. The Code in the Pic is here and Explained here. The Labels for the outside of the box
The Eagle generated Schamatics, Asembley code and Hex file are all contained with in the Zip File Here .
Update Oct 2003 - Circuit Digram problem found please add a 10K resistor from each Analogue input to the Pic To Ground. This is required to discharge the internal capasistor in the PIC A2D the Cicruit Diagram has been updated.
Update Nov 2003 - New circuit Diagram Draw with Eagle schematics added and new Asembley code added with basic / Advaranced display option. Also To Come soon - A 12Channel Based Lighting Control Based in a 19" Rack unit with LCD display.
Our present car controller runs on a single PIC16F870 micro and provides functions for remote door locks, headlight reminder, and car finder. It is constructed using wire-wrap to allow for future expansion and is mounted using Velcro on the passenger...
The PIC16F870 keeps track of battery voltage as well as both charging and discharging currents. It also drives the 4 digit display and switches the AC and load relays. The basic operation is as follows: While AC power is available,...
This unit delivers 0 to 20 volts at up to 4 amps in 0.1 volt increments. The entire device runs on a PIC16F870 (about $3 in small quantities). This is basically a switching power supply with the voltage regulation done...
This unit is designed to interface TV sound, videotape sound, and 5.1 DVD sound to a 4 channel home theater system. It provides the following functions/options: Mix DVD center into front left/right for Phantom Center effect with optional boost on...
This device listens to conversations and then interjects words and phrases at inappropriate times. I got this box at a local thrift store for $1.50. It has a nice hinged top and a place to insert a panel with a...
A four-channel DMX512 controlled ringer. The Mk 3 will also incorporate a ringing supply generator, making it reproducible by those without access to the BT ringing supply Number 7. The ringer is microprocessor-controlled, utilizing a Parallax Propeller-based chip, specifically the...
The PIC16F870 chosen for this project has several analog channels. One of these is used to capture the DTMF tones and decode the digits. The actual phone connections are made using a 'hacked' 5 line expander from Radio Shack. This...
We use cookies to enhance your experience, analyze traffic, and (if you allow) serve personalized ads.
By clicking Accept All, you agree to our use of cookies.
Learn more