Operation Guide

Set Up Procedure

  1. Start the ad-hoc network (or a standard wireless network which does not use packetfence).
  2. Start the light controller module. The LCD screen will show status signals. Wait until the LCD screen reaches the normal state (standard buttons and lighting status screen as shown in the figure below).
  3. Connect the motors to the shades and power up the motor control module by connecting it to a 5 volt DC power supply.
  4. Wait till ESP on module connects to the server ESP at the light controller module (can be viewed by connecting the serial ports of the light control module ESP to a serial terminal).
  5. Calibrate motors. Press both buttons for the one motor. Wait till shade stops moving. Press the other two buttons for the other motor.

Operating Procedure

  1. Manual control from shade control module
    1. Pressing and holding down an individual buttons on the motor control module (as shown below) moves the shade in one direction of the dimension (rotation or horizontal).
    2. Pressing an individual button twice moves that dimensional motor to the end.
  2. Manual adjustment from the light control module
    1. Pressing the increase button attempts to move the shades in the opening protocol.
    2. Pressing the decrease button attempts to move the shade in the closing protocol.
    3. Pressing the stop button stops the motion of the shades.
    4. Pressing the light  button toggles the electrical lighting (symbolized by an LED).
  3. Automatic lighting control
    1. Pressing the Increase Brightness button increases the desired brightness level.
    2. Pressing the Decrease Brightness button decreases the desired brightness level.
    3. If the current brightness level leaves a  ±5% threshold from the set brightness level, a command is sent to the motors to adjust the shades.
    4. Electrical Light: Turn off before attempting to decrease brightness. Turn on after increasing brightness and shades are maximally open.
    5. Pressing the stop button stops the motion of the shades.
  4. Web Interface (linked here Web_Interface)
    1. Pressing the increase button attempts to move the shades in the opening protocol.
    2. Pressing the decrease button attempts to move the shade in the closing protocol.
    3. Pressing the stop button stops the motion of the shades.

Light Control module (Normal operating mode shown on LCD screen)

Motor control module (Two buttons per motor/dimension)

Motor setup (with shade strings)


Troubleshooting

  1. Connect the serial ports of the ESP to a serial terminal using a USB-UART cable. This allows you to spy on the communication between the ESP module and the PIC.
  2. Press the No. Conn button on the light control module to remove all connections made with the ESP module on the light controller.