Open Access Mega Testing and burn-in

From ACCX Products Wiki
Revision as of 10:20, 25 January 2013 by Arclight (talk | contribs) (Created page with "==Open Access Mega - Testing and burn-in== <br> '''1.''' Begin by applying 5-8V to the power input connector (X35). The green power LED should light. Measure the voltage at the...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Open Access Mega - Testing and burn-in


1. Begin by applying 5-8V to the power input connector (X35). The green power LED should light. Measure the voltage at the +5V terminal on the Arduino header. It should read 4.9-5.1VDC. Increase the voltage to 12-14V. The power reading should be the same. If your power supply measures current, the idle board should be drawing less than 100ma.

If there is no voltage present, disconnect power immediately and feel for any hot components, especially on the power supply circuit. This is often caused by a short or resistor/chip installed backwards.

2. Install an Arduino Mega (standard or 2560) and power up the board again. Compile and upload the latest code, un-commenting the "hardwaretest();" line to make it start in self-test mode. Connect to serial at 57,600, 8,N,1.

After it boots, verify that all relays click on and off, and try shorting each of the 2 reader input (D0/D1) and the 16 analog inputs to ground, one by one. They should all go from >200 to <50 if shorted. A diode install backwards or a short is usually the cause of trouble here.

3. Comment out the self-test and boot the Arduino into regular mode. Connect via serial and hit (?) to see a menu. Make sure your terminal is set to send a <CR> after each line.

Hit "e 1234" to enable privileged mode with the default password of 1234. Set the time and verify that the clock holds the time between reboots and power-off.

Connect up a reader to the reader inputs and try swiping a card. After 1-2 swipes (it may pick up noise from inserting the connector), it should give a consistent value. Be careful to hook up the '0' and '1' lines correctly. If they are reversed, all card readers will be inverted.

Add a card at position 1 or higher, using this command "a 1 254 1f23b6" or whatever card number you swiped. The security level "254" is the default that will open all doors and does not have a time restriction.

When you swipe that card again, you should see one relay click on for 5 seconds and then off again. Repeating the scan at the second reader should do the same for the second door relay.

Two other relays are configured by default for a door chime and siren. The remaining 4 relays can be configured for custom applications, such as signage, lighting, etc.

4. Hit command '3' to train the alarm sensors. This will measure the analog voltage at each of the 16 sensor inputs and store the value to eeprom. When you install alarm sensors, you will want to repeat this procedure again to get the "not activated" or "doors closed" values stored.

5. Optionally, burn in the system by leaving it plugged in for 24 hours prior to use in production. You can configure the hardware test for 100-200 iterations for a stress-test.