Cavern Remote user guide
Setting up
Ambient lighting control is using the Firmata protocol. Use a board on a serial port that supports Firmata, Arduino is one of them. In case of any Arduino, a StandardFirmata example should be loaded on the target.
All configuration is in web\_cavern.js, including the port and the controlled pins. Cavern Remote only controls 2 relays with 2 ports or 4 relays with pairs in parallel. The wiring guide is:
- The
relayPowerRedandrelayGreenBluepins should connect to the Vcc pins of +12V/red and green/blue relays' respectively. If you use single relays, split the Vcc between both enable pins. - Wire the R/G/B relays to NO and +12V to NC.
- JDVcc should be supplied from a different source than the Vcc pins for current distribution. Ground distribution should also be considered between all ground pins of the Arduino.
- The other pin variables set the signal pins which control each relay (active high). Also set and check the COM port.
Master

Turn on or off all connected lights.
This is only an advertisement and keeps Cavern free.
Color picker

Use a color preset and toggle lights accordingly.
Manual relay control

Manually cut power supply or toggle individual colors.