Download presentation
Presentation is loading. Please wait.
Published byJennifer Bruce Modified over 9 years ago
1
Software TCSP
2
2 project overview The Purdue Party Platform is a device that utilizes the well-established DMX protocol to control entertainment-oriented lighting fixtures. There are many readily available DMX controllers on the market; however, they often are very complex and have steep learning curves. We hope to create a device that is simple to use and oriented to the common college student. The PPP will be more aesthetically pleasing and user-friendly than its commercial counterparts.
3
3 PSSCs —An ability to manually control functions of a DMX lighting fixture, e.g. color, intensity, motor speed, operating mode (lighting fixture specific). —The timer module will be used to transmit DMX data over GPIO lines at the specified rate of 250 kbaud. —An ability to display current light settings to the user in a graphical manner. —The UART module will be used to control the serial LCD. —The software will also interpret user input through the RPG’s and keypad scanner
4
4 PSSCs —An ability to play back pre-programmed and user-created lighting sequences. —The software will have the pre- programmed sequences in flash, and the user programmed sequences in SRAM —An ability to advance through lighting sequences automatically or manually. —Periodic interrupts, such as through an RTI module, will be used to advance automatically. —User generated inputs, read by the keypad scanner, will be used to advance manually.
5
5 PSSCs —An ability to save/load lighting sequences to/from a removable flash memory device. —The SPI module will be used to write the user programmed sequences from SRAM to SD or read them from SD into SRAM.
6
6 initializations —ADC —10 bit —no averaging —1 conversion, no sequences —UART —115.2 Kbps —No parity —One stop bit —SPI —Master mode —100 KHz – 400 KHz
7
7 funcs\variables —Menu-servicing routine —Array of integers for current DMX settings —Array of integers for pre-set sequences, as well as user defined sequences —~1.5 kB / sequence —4 “preset” sequences (flash) —4 user-defined sequences (SRAM, USB/SD)
8
8 —Real-time processing is not necessary —DMX protocol: 250 kbaud —Minimum frame rate: 1 fps —State-machine (flag based) —DMX must be transmitted at minimum frame rate
9
9 dmx packet
10
10 block diagram
11
11 block diagram Main Program (Hierarchy) ADC ( Audio Input Circuit ) UART \ LCD routines (Channel Control) SD Read (SPI) Sequence Menu SD Write (SPI) Cycle LED Colors Execute Sequence Manually Advance Automatically Advance Send DMX Packets
12
12 Initializations DMX on? Process Input (Modify DMX channel, Advance sequence, Read\Write SD card, Etc.) Yes Keypad Input? Yes Timer Over ~1 sec? Yes Transmit DMX packet Reset Timer ADC on? Yes Threshold Crossed? Yes Change Internal LED color
Similar presentations
© 2024 SlidePlayer.com Inc.
All rights reserved.