<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://www.accxproducts.com/wiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Zyphlar</id>
	<title>ACCX Products Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://www.accxproducts.com/wiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Zyphlar"/>
	<link rel="alternate" type="text/html" href="https://www.accxproducts.com/wiki/index.php?title=Special:Contributions/Zyphlar"/>
	<updated>2026-05-23T12:52:22Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.39.3</generator>
	<entry>
		<id>https://www.accxproducts.com/wiki/index.php?title=Open_Access_Quick_Start_Guide&amp;diff=546</id>
		<title>Open Access Quick Start Guide</title>
		<link rel="alternate" type="text/html" href="https://www.accxproducts.com/wiki/index.php?title=Open_Access_Quick_Start_Guide&amp;diff=546"/>
		<updated>2019-07-04T16:32:17Z</updated>

		<summary type="html">&lt;p&gt;Zyphlar: clarifying sketchbook path&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Steps to Getting Up and Running==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The Open Access comes fully assembled out of the box. Here are the steps involved in getting it up and running in your environment.&lt;br /&gt;
&amp;lt;BR&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Powering on and connecting===&lt;br /&gt;
&lt;br /&gt;
1. Unpack your Open Access Control and familiarize yourself with it. For initial programming, make sure the serial port jumpers are set to &amp;quot;USB&amp;quot; and that the &amp;quot;Reset Enable&amp;quot; jumper is closed. Details on the jumpers and hardware settings can be found here:&lt;br /&gt;
[[Open Access v4 Jumpers]]&lt;br /&gt;
&lt;br /&gt;
2. Connect your Open Access to a 12V power supply. Any 11.5-14V power supply capable of delivering at least 500ma will work. You can cut and strip the ends of a standard consumer wall-wart supply and attach them to the 12V-IN terminals. The Open Access is protected against reverse polarity, and will not be harmed if the 12V input is reversed.&lt;br /&gt;
&lt;br /&gt;
===Installing Open Access Software and Customizing===&lt;br /&gt;
1. Connect the Open Access to a computer using a standard USB-mini cable. &lt;br /&gt;
&lt;br /&gt;
2. Download the latest Arduino environment for your OS (WIndows, OSX or Linux) from:&lt;br /&gt;
http://arduino.cc&lt;br /&gt;
&lt;br /&gt;
3. Download the Open Access software. You can either get it here:&lt;br /&gt;
[[Open Access 4.0]]&lt;br /&gt;
&lt;br /&gt;
4. Unzip the package and install the libraries in your sketchbook under a directory called &amp;quot;libraries&amp;quot; and place the .ino and the .h file in a sketchbook folder. (Your Arduino IDE&#039;s sketchbook folder is set under the File&amp;gt;Preferences menu, usually something like &amp;lt;code&amp;gt;/home/your_username/Arduino&amp;lt;/code&amp;gt;)&lt;br /&gt;
&lt;br /&gt;
5. Open the project in the Arduino IDE, and you should now get both the .INO and the .h open in separate tabs. &lt;br /&gt;
&lt;br /&gt;
You can customize values like the enable password, timeouts, etc from the user.h file.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#define DEBUG 3                         // Set to 4 for display of raw tag numbers in BIN, 3 for decimal, 2 for HEX, 1 for only denied, 0 for never.               &lt;br /&gt;
#define VERSION 1.35&lt;br /&gt;
#define UBAUDRATE 9600                 // Set the baud rate for the USB serial port&lt;br /&gt;
&lt;br /&gt;
#define gonzo   0xFFFFFFF                  // Name and badge number in HEX. We are not using checksums or site ID, just the whole&lt;br /&gt;
#define snake   0xFFFFFFF                  // output string from the reader.&lt;br /&gt;
#define satan   0xFFFFFFF&lt;br /&gt;
const long  superUserList[] = { gonzo, snake, satan};  // Super user table (cannot be changed by software)&lt;br /&gt;
&lt;br /&gt;
#define PRIVPASSWORD 0x1234             // Console &amp;quot;priveleged mode&amp;quot; password&lt;br /&gt;
&lt;br /&gt;
#define DOORDELAY 5000                  // How long to open door lock once access is granted. (2500 = 2.5s)&lt;br /&gt;
#define SENSORTHRESHOLD 100             // Analog sensor change that will trigger an alarm (0..255)&lt;br /&gt;
#define KEYPADTIMEOUT 5000              // Timeout for pin pad entry. Users on keypads can enter commands after reader swipe.&lt;br /&gt;
#define CARDFORMAT 1                    // Card format&lt;br /&gt;
                                        // 0=first 25 raw bytes from card&lt;br /&gt;
                                        // 1=First and second parity bits stripped (default for most systems)&lt;br /&gt;
                                        &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The &amp;quot;Superusers&amp;quot; are optional card values that can be hard-coded in, should you lock yourself out accidentally. They are set by default to be disabled (FFFFFFFF).&lt;br /&gt;
&lt;br /&gt;
6. Compile and upload the sketch to the Open Access. Under Tools-&amp;gt;Boards, select the &amp;quot;Duemillanove, 16Mhz with Atmega328P.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Note:  If it fails to compile as-is, you may have an issue with the Arduino compiler. Some versions/platforms will complain about one of the libraries having an include of &amp;quot;WProgram.h&amp;quot; If that is the case, you can remove that line from the library.&lt;br /&gt;
&lt;br /&gt;
===Adding users and interactive configuration===&lt;br /&gt;
1. Once the program is uploaded, test it out by attaching an RFID reader to the &amp;quot;Reader1&amp;quot; input and swiping a card. You should see a relay click and its LED flash to indicate an &amp;quot;access denied.&amp;quot; &lt;br /&gt;
&lt;br /&gt;
2. Using the Arduino terminal or your favoraite comm program, connect over USB at 9600. Once connected, hit &#039;?&#039; for the menu. You should see:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
0:0:0  1/1/0 SUN Access Control System rebooted.&lt;br /&gt;
Valid commands are:&lt;br /&gt;
(d)ate, (s)show user, (m)odify user &amp;lt;num&amp;gt;  &amp;lt;usermask&amp;gt; &amp;lt;tagnumber&amp;gt;&lt;br /&gt;
(a)ll user dump,(r)emove_user &amp;lt;num&amp;gt;,(o)open door &amp;lt;num&amp;gt;&lt;br /&gt;
(u)nlock all doors,(l)lock all doors&lt;br /&gt;
(1)disarm_alarm, (2)arm_alarm,(3)train_alarm (9)show_status&lt;br /&gt;
(t)ime set &amp;lt;sec 0..59&amp;gt; &amp;lt;min 0..59&amp;gt; &amp;lt;hour 0..23&amp;gt; &amp;lt;day of week 1..7&amp;gt;&lt;br /&gt;
           &amp;lt;day 0..31&amp;gt; &amp;lt;mon 0..12&amp;gt; &amp;lt;year 0.99&amp;gt;&lt;br /&gt;
(e)nable &amp;lt;password&amp;gt; - enable or disable priveleged mode&lt;br /&gt;
(h)ardware Test &amp;lt;iterations&amp;gt; - Run the hardware test&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3. Set the date/time and program a user using the menu. If you hit &amp;lt;d&amp;gt;ate again, it should show an incrementing correct time. &lt;br /&gt;
&lt;br /&gt;
To obtain a tag number to program, read the serial number from the side of the card (most EM4100 tags have a serial that can directly entered) or swipe it and wait for a denied message at the terminal and then use that number. The format for entering users records is:&lt;br /&gt;
&amp;lt;pre&amp;gt;m 1 254 123457890&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where: 1 = user number (1..200), 254 = security level (0..254) and 123456890 is the tag ID in decimal format.&lt;br /&gt;
&lt;br /&gt;
Note: You can change the tag format or customize it in the code.&lt;br /&gt;
&lt;br /&gt;
===Connecting Open Access to a Server===&lt;br /&gt;
Open Access can be connected to any Linux, Windows or OSX server for remote control, logging and other needs. &lt;br /&gt;
&lt;br /&gt;
====Raspberry Pi Instructions====&lt;br /&gt;
To set up the Raspberry Pi and use it&#039;s on-board serial UART via the expansion header, you&#039;ll need to modify a couple of settings in Raspian. A step-by-step is here:&lt;br /&gt;
[[Raspberry Pi Setup]]&lt;br /&gt;
&lt;br /&gt;
====Basic Linux Monitoring====&lt;br /&gt;
[[Sheeva Plug Monitoring]]&lt;/div&gt;</summary>
		<author><name>Zyphlar</name></author>
	</entry>
</feed>