Bidirectional pass counter v.2.1

From Awesome Baozam
Revision as of 22:57, 22 December 2016 by Baya (Talk | contribs)

Jump to: navigation, search

Description

The counter consists of two modules:

  • receiver - with three LEDs in the middle of the front panel, the WiFi setup hole upper three LEDs and two holes on the edges of the front panel (Fig. 1 top).
  • emitter - with one LED in the middle of the front panel (Fig. 1 bottom).

Both units have a rectangular hole for the power cord at bottom side (Fig. 2). White boxes on pictures are power cord connectors.

Specifications

Maximum distance between emitter and receiver 6 meters
IR wavelength 940 nm
Modulation frequency of the IR signal 38 kHz
Power supply 5 — 24 V DC
Communication standard 802.11b/g/n (WiFi) network with a password only
Used communication protocols TCP / IP, TLS 1.2, HTTPS, WebSocket
Power Consumption
emitter no more than 100 mW
receiver 1 W
Operating temperature range 5°C — 40°C, with relative humidity of 80%
Dimensions (WxHxD) 80mm x 40mm x 20mm
Material hull ABS plastic
Color grey, black

Installation

  1. Connect the power cords to the modules. The polarity does not matter.
  2. Fix the modules on both sides of the aisle at a height of 1.20 — 1.40 meters. The receiver must be placed horizontally (to account for the direction of the input/output).
  3. Connect the power supply. All LEDs on receiver should light for 2 seconds.
  4. The efficiency of the emitter can be checked using the smart-phone camera. When viewed from the front side on the emitter LED from a short distance (couple of centimeters) through the smart-phone camera, LED of working emitter will be painted in red-blue/purple color (Fig. 3).

Receiver LEDs flashing description:

  • Green LED (bottom, state indicator):
    1 blink per 5 seconds (0.2 Hz) - normal mode
    1 blink per second (1 Hz) - setup mode by Tuner over cloud
    10 blinks per second (10 Hz) - WiFi setup mode
  • Yellow LED (middle, pass indicator):
    10 blinks per second (10 Hz) - no beam from emmiter
    solid blink - input counted
    triple blink - output counted
  • Red LED (top, errors indicator):
    In normal conditions this led should not blink.
    If any error detected the LED will blink errors by circle. Time distance between errors is one second. The pattern of blink (3Hz) means following:
    single (1/10) - WiFi isn't connected, or 10Hz - device couldn't connect to the server
    double (2) - WiFi module is broken
    triple (3) - Device couldn't check Coordinated Universal Time
    quadruple (4) - Internal device timer does not start (is broken)
    quintuple (5) - Internal device timer does not work correctly (rare external high power electromagnetic pulses, water, etc)
    sextuple (6) - Device internal storage is broken

WiFi Setup

All Baozam devices use the same WiFi Setup procedure. The difference is in where placed and how the init setup button looks. The WiFi setup button is inside the WiFi setup hole under three colored LEDs on the front of the receiver (Fig. 1 top).

Setting and checking the operation of the device

  1. Go to the page at https://baozam.net
  2. In the "Inventory" section, select the desired device.
  3. Over the device page, click on the link «Tuner». When the next transfer data to the cloud the device will go into the settings mode.
    • The device sends data to the cloud every five (5 minutes). The device immediately reports about cutting/opening the beam, turning on. To avoid to wait up to five minutes, you can: a) cut off the beam - a message in 25 seconds, b) turn off/on the device.
    • After the device come into the setup mode you will get a message at the «Tuner» page, and all device parameters will be displayed.
  4. Hovering the cursor over the "blue" parameter causes the appearing of «Stream & Monitor» buttons.
    • Stream - on/off sending this parameter to the cloud.
    • Monitor - on/off immediate displaying parameter in the "Monitor" box at the page.
  5. You should check
    • Entering the emitter beam on the receiver sensors (parameters «left sensor» & «right sensor»). Turn on sensor monitors. Normal values ​​range 5 - 6. If the reading is less than 5, the emitter and receiver are not aligned or something overlaps the beam. Adjust the alignment, clean the beam path. If values are ​​greater than 7 look for the source of noise.
    • The direction of the entrance/exit. By default, the input direction is from left to right relative to the receiver. Turn on monitoring parameter «count_in». Cross the beam ... change the direction by using the «Mode Control» button. Use the drop-down button «LEFT to RIGHT is ENTER» or «LEFT to RIGHT is EXIT» to select the desired direction.

Important! If you change any parameter, be sure to save your changes («Settings» button - «Save»). Otherwise, when you turn off the device power your settings will be lost.

See also