Designsheet WindClipper / ColorWave
This design is made for Aquarius, a fountain topped open air bar. Its basic
function is to adjust fountain height according to windspeed, so that no
water gets blown off the roof. An impulse based windmeter senses the windspeed,
while two frequency inverters, controlled through a RS485 channel are used
to drive the pumps. Included also is a 4 channel light dimmer. Thus a basic
water&lights play can be implemented.
Modules
-
4-bit 2x16 LCD
-
Bit-banged RS485
-
I2C bus interface.
-
Impulse based windmeter input.
-
Full-duplex RS232 interface using UART.
-
8 switch-inputs protected.
-
4 channel 220V dimmer opto-isolated.
-
0-xing Detector, dual connector for 0-xing detector.
-
16 buffered digital outputs for dimmer extension.
-
8 / 32K EEPROM 24C256.
-
+5V power supply for on board logic.
-
C/C voltage divider for live +12V trigger power.
-
Diagnostic led.
-
Parametric filterbank.
4-bit LCD interface
Connect DB4 to DB7 to 4 I/O lines, leave DB0-DB3 floating. Send MSN first,
then LSN. Init: send 0x3X 0x3X 0x3X 0x2X. The module is in 4-bit mode then.
Continue as with 8-bit mode.
Bit-banged RS485
Port assignments for 90S8515 uC
Pin |
Meaning |
PA0-PA7 |
Dimmers 0-7 |
PC0-PC3 |
Dimmers 8-11 on board |
PC4-PC7 |
Dimmers 12-15 |
PB0 |
RS-485 output |
PB1 |
Diagnostic led |
PB2 |
LCD E |
PB3 |
LCD A0 |
PB4-PB7 |
LCD D4-D7 |
PD0 |
RS-232 RxD |
PD1 |
RS-232 TxD |
PD2 |
0-xing detect phase U |
PD3 |
0-xing detect phase V |
PD4 |
I2C SDA |
PD5 |
I2C SCL |
PD6 |
Windmeter input |
PD7 |
Key Input |
Connector diagrams
This article was written by Arian van Dorsten jwasys@xs4all.nl
Please contact the author for the most recent version.