revolution How does the ibutton work? Full kit including PCB, PICAXE-08M chip and ibutton key. Spare ibutton Key

Similar documents
ELECTRONIC DICE CHIP FACTORY ELECTRONIC DICE PROJECT. What is a microcontroller? Example use of a microcontroller.

Button Code Kit. Assembly Instructions and User Guide. Single Button Code Entry System

XYLOPHONE KIT ESSENTIAL INFORMATION. Version 2.0 CREATE YOUR OWN ELECTRONIC MUSICAL INTRUMENT WITH THIS

PICAXE EXPERIMENTER BOARD (AXE090)

SRI-02 Speech Recognition Interface

The GENIE Light Kit is ideal for introducing simple lighting projects, such as an electronic die, a wearable badge or a night-time warning system.

BuffaloLabs WiFi Lantern Assembly guide version 1

Assembly Guide. LEDs. With these assembly instructions, you can easily build your own SWT16. All required components are included in this kit.

DELUXE STEREO AMPLIFIER KIT

Post Tenebras Lab. Written By: Post Tenebras Lab

PICAXE CONNECT (AXE210)

VG-305A AC Traffic Light Controller Kit

ROBOT LINE TRACKING MOUSE KIT C-9801

Images Scientific OWI Robotic Arm Interface Kit (PC serial) Article

3 pyro output datalogger altimeter with an ATmega 328 microcontroller Kit assembly instructions

solutions for teaching and learning

MP3 audio amplifier. Build Instructions. Issue 2.0

Universal Keying Adapter 3+

MAIN PCB (The small one)

CP5176 Assembly guide. Soldering. CP5176 Assembly guide Main PCB PCB split. Document revision 2.1 Last modification : 12/11/17

Uzebox Kit Assembly Guide

RKP08 Component List and Instructions

solutions for teaching and learning

LCD Prototype Circuit on Solderless Breadboard. 840 Pin Solderless Breadboard ( # ND)

solutions for teaching and learning

Switches and Indicators 84

Build Your Own Home Security System

solutions for teaching and learning

Schematic Diagram: R2,R3,R4,R7 are ¼ Watt; R5,R6 are 220 Ohm ½ Watt (or two 470 Ohm ¼ Watt in parallel)

UF-3701 Power Board Construction Guide

Part 2: Building the Controller Board

Chill Interface PCB Assembly Instructions

Uzebox Kit Assembly Guide

QRPometer Assembly Manual Copyright 2012 David Cripe NM0S The 4 State QRP Group. Introduction

Onwards and Upwards, Your near space guide Overview of the NearSys Two Sensor Temperature Array Figure 1. A complete Two Sensor Temperature Array

Figure 1. A complete Temperature Sensor

Pacific Antenna Two Tone Generator

SECURE DIGITAL ACCESS SYSTEM USING IBUTTON

EE 354 August 1, 2017 Assembly of the AT89C51CC03 board

High Power (15W + 15W) Stereo Amplifier

Installation/assembly manual for DCC/Power shield

LushOne Inca Synth Module Build Instructions

SM010, Assembly Manual PCB Version 1.0

Number Name Description Notes Image 0101 Resistor, 100 ohm. brown-black-browngold. ¼ watt, 5% tolerance, red-red-brown-gold. brown-black-red-gold.

Q2 XBee Handheld Controller Assembly Guide

Dwarf Boards. DB021 : L298 dual motor driver

Example use of a microcontroller.

TuBbika SMR-4-PLUS voicecard

Dwarf Boards. DB057 : 40-pin controller board

AXE Stack 18. BASIC-Programmable Microcontroller Kit. An inexpensive introduction to microcontroller technology for all ability levels

dual bipolar voltage controlled step sequencer DIY ASSEMBLY MANUAL v1.03

EQ573 Assembly guide. EQ573 Assembly guide Main board 1. Diodes. 2. Resistors (1) 3. Test pins. 4. Ceramic capacitors.

Exclusive 2.5 GHz Frequency Counter

Advanced Strobe 1.0 Kit

RECORD & PLAYBACK KIT

Lab 0: Wire Wrapping Project: Counter Board

Shack Clock kit PCB Revision: QCU Rev 1 or QCU Rev 3

Introduction 1. Liquid crystal display (16 characters by 2 rows) Contrast dial: turn the dial to adjust the contrast of the display (see page 5)

Connecting igaging DigiMAG Scales to the Caliper2PC Interface A step by step Guide

Building the RGBW LED Controller

SharpSky Focuser Construction. SharpSky Focuser. Construction Document V st December 2012 Dave Trewren 1

BalloonSat Sensor Array

solutions for teaching and learning

Shack Clock kit. U3S Rev 2 PCB 1. Introduction

REX F-0-9 Standalone or Access Controller

Vector 3D printer complete wire list including extruder PWA listing

Attention: The connectors on the BMD16N are not normal network plugs. Never connect the decoder to a PC or any other network device!

AXE033 SERIAL/I2C LCD & CLOCK

Digital Circuits. Page 1 of 5. I. Before coming to lab. II. Learning Objectives. III. Materials

Connecting LEDs to the ADB I/O

IR TRANSMITTER BLOK PCB ASSEMBLY INSTRUCTIONS. Copyright EduTek Ltd Rev. 2

The Sudden Storm Kit. by QRPme. Builder s Guide. version4.2. for. Sudden Storm ][ Ver4 (red pcb) Updated 01/10/2012

Parts List: Part # Tools List: Instructions:

FOOTBALLER ROBOT KIT C-9893

Ritenergy Pro. Access Control Systems. Manual Programming Guide. (Firmware Version 3.XX) 1 Introduction Programming Guide ritelock.

Figure 1. The Programmable Flight Computer.

Digital Keypad Introduction

DIY Line Tracking Smart Car with AT89C2051

DP2 DOOR PHONE. For Technical Assistance Please Phone: (07)

HARDWARE OPERATIONS MANUAL

The Basic Counter. Hobby Electronics Soldering Kit. Instruction Guide

LED Knight Rider. Yanbu College of Applied Technology. Project Description

Assembly Instructions (8/14/2014) Your kit should contain the following items. If you find a part missing, please contact NeoLoch for a replacement.

Electronics Construction Manual

MAIN PCB (The small one with the square cut out from one side)

CONSOLE CONNECTOR KIT 9501 INSTALLATION INSTRUCTIONS

Step 1 - Modifying the power-supply from 12 to 16 Volts Increasing the power-supply voltage to 16V increases the headroom and reduces distortion. Also

BehringerMods.com. Instructions for modification of Behringer SRC analog inputs and outputs

Building the VMW Time Circuitry Meter by Vincent M. Weaver 6 May 2014

HUB-ee BMD-S Arduino Proto Shield V1.1

DIY KIT 140. Telephone Switcher MK2

What are output transducers An output transducer will convert electrical signals passed to it by the process into another form of energy.

Figure 1. The completed programming kit List of Parts

Thursday, September 15, electronic components

Figure 1. The BalloonSat Mini v4.0 Programmable Flight Computer. Parts List

Transcendent Frequency Counter

These are the illustrated step-by-step guidelines for upgrading your Quad 306 with the Dada Electronics upgrade-kit.

Constructing a Low-Cost Mobile Eye Tracker

into the EMU E4 Classic and E4 Platinum Samplers

Insert the male, 90 angled, 2x10 connectors into the corresponding 2x10 sockets and put them in place, flat under the PCB. Solder.

Transcription:

AXE109S LOG020 Full kit including PCB, PICAXE-08M chip and ibutton key. Spare ibutton Key The ibutton is an electronic chip armoured in a 16mm stainless steel can. Because of this unique, durable package, up-to-date information can travel with a person or object. The stainless steel button is rugged enough to withstand harsh outdoor environments; it is durable enough for a person to wear everyday on an accessory like a ring, key fob, wallet, watch, metal card or badge. It is also waterproof and so can be worn while washing or swimming. The information within the ibutton can be read by tapping it against a simple two-contact metal probe connected to the electronic reader circuit. This type of metal probe is much more durable than a magnetic swipe or smart-card, and the ibutton has a much larger memory capacity. Every ibutton produced has a unique serial number - to date over 50 million ibuttons have been manufactured. This serial number means that every single ibutton can be uniquely identified -no two ibuttons will ever have the same number. This feature makes the ibutton ideal for use as a key or tracking device - there will never be another key with the same serial number, and it would be very hard for an impostor to fake a duplicate key. The serial number is 14 digits long and, so that it can also be read by humans, it is also laser engraved on the bottom of the stainless steel can. How does the ibutton work? The silicon chip inside the stainless steel can is connected via two internal wires to the sides and front face of the ibutton. When the ibutton is momentarily touched against a probe, the side makes a ground (0V) connection, and the face makes a power/data connection. In a fraction of second the ibutton steals enough power from the probe to operate, and then transmits information (such as the serial number) via the same single connection. Because power and data are transmitted via the same wire, this type of connection is commonly referred to as a 1-wire interface. This 1-wire interface means that most ibuttons do not need an internal battery - they simply get the power they require to operate by touching against the reader probe. This means the devices never run-down, and because of the robust stainless steel can, they are extremely durable. The ibutton can transmit a large amount of information in a very short time - for instance it is almost impossible to tap an ibutton against a probe quicker than the time required by the ibutton to transmit it s serial number! This makes the ibutton an ideal device for applications such as locks where data has to be transmitted very quickly. The communications protocol used by the ibutton is fairly complex, because data is sent in both directions along the single-wire. For this reason it is normal to use a microcontroller to communicate with the ibutton. The PICAXE-08M microcontroller has a special readowsn (read-one-wire-serial-number) BASIC command to read this number.

2 Making an ibutton Probe To operate the ibutton it must be momentarily touched against a probe, which has two contact points - one contact hitting the base of the ibutton can, the other hitting the side of the can. In a fraction of a second the serial number is read from the ibutton and the lock accepts or rejects the ibutton. blue green yellow orange LED+ LED- 1-wire 0V Although off-the-shelf probes are available, as included with the kit, it is also very simple to make custom probes (and even key fobs) for the ibutton. Polymorph is a unique plastic material, which, when heated in hot water, becomes soft and pliable like clay. However when the plastic cools again it sets solid and so can be machined and drilled. If an ibutton, or metal contacts for a probe (e.g. a paper clip!), are embedded within the plastic when it is warm and pliable, they will become permanently fixed within the plastic when it sets. Home-made probe ibutton wires connected to metal strips for circuit connection moulded plastic e.g. Polymorph or polyester resin 2 metal strips bent to make the contacts

3 Reading an ibutton Serial Number The communications protocol used by the ibutton is fairly complex, because data is sent in both directions along the single-wire. For this reason it is common to use a microcontroller to communicate with the ibutton. The basic circuit for the ibutton reader is shown in figure below. Note that this circuit could be used as shown for a simple lock, but can also be used as a building-block to be incorporated within more complex circuits. J1 4.5V 4k7 10k C1 D1 output C2 ibutton V+ sin in4 in3 1 2 3 4 08M 8 7 6 5 0V out0 out1 out2 1k TR1 22k piezo switch serial 10k 0V The circuit is based around an 8 pin microcontroller, the low-cost PICAXE-08M. The circuit is fairly self-explanatory and includes the following features: ibutton probe probe LED input switch piezo sounder output pin - (input 4) for reading the signal from the engraved face of the ibutton - (output 0) indicator to show where to touch the ibutton - (input 3) manual push switch (active low) - (output 2) for generating beep sounds for user feedback - (output 1) for driving an output locking device such as solenoid or motor Although the output from output 1 is shown connected to a transistor, it could be used to feed a signal into another circuit.

4 Using the PICAXE Software Important Note The kits are provided with a PICAXE-08M microcontroller that has not already been programmed, and so it is necessary to program the microcontroller before use. This PICAXE program lights the output LED for 5 seconds after the correct ibutton has been hit. Note that you must alter the values to the unique code that is laser engraved in 2-12-2 format on the face of your ibutton.the code used in this sample program would be engraved in the format CC FF 554433221100 Each unique code uses the Hex digits 0-9 and A-F. Do not confuse D and 0! main: loop: let b6 = 0 ' reset family code to 0 low 0 ' LED off low 1 ' output off toggle 0 if pin3 = 0 then open pause 250 readowsn 4 if b6 <> 0 then test goto loop ' LED on or off ' switch pushed ' wait ' read serial number on input4 ibutton detected ' ibutton detected so check code ' if wrong code jump back to start test: sound 2,(50,50) ' beep high 0 ' probe LED on if b6 <> $FF then main '!!! modify all these if b7 <> $00 then main '!!! to your unique if b8 <> $11 then main '!!! serial number if b9 <> $22 then main if b10 <> $33 then main if b11 <> $44 then main if b12 <> $55 then main if b13 <> $CC then main 'Everything is ok so switch output on for 5 seconds open: sound 2,(100,50) ' beep high 1 ' LED on high 2 ' output on pause 5000 ' wait 5 seconds goto main

5 AXE109 ibutton Lock Kit Assembly Instructions red black + - blue green yellow orange - + D G + - PZO BTN LED PWR Contents: R1 4k7 resistor (yellow violet red gold) R2 1k resistor (brown black red gold) R3 330 resistor (orange orange brown gold) R4,R5 10k resistor (brown black orange gold) R6 22k resistor (red red orange gold) D1 1N4001 diode C1 100nF polyester capacitor Q1 BC548B transistor PZ piezo sounder CT1 10 pin header (snap down to 4 way) CT2,3,4 2 pin terminal block (may be supplied as 4 way - snap into 2x2) CT5 stereo download socket IC1 PICAXE-08M microcontroller and 8 pin socket BTN ibutton probe, ibutton key and plastic key fob holder PCB printed circuit board, battery snap and 4.5V battery box Note that parts IC2 and C2 are not required for this project. Assembly: 1. Solder the resistors and the diode D1 in position, ensuring the white bar of the diode is to the right. 2. Solder a resistor leg as a link between the two outer + holes on jumper J1. 3. Solder the 8 pin IC socket in position and insert the microcontroller. 4. Solder the capacitor C1 into position. 5. Solder the transistor Q1 into position, ensuring correct orientation of curved edge. 6. Snap the 10 pin header into a 4 and 6 pin section. Solder the four pin section into the LED and ibutton connection holes. 7. Solder the piezo in position, red wire to +, black wire to -. 8. Solder the stereo download socket into position, ensuring it clicks flat onto the PCB. 9. Solder the terminal blocks into position. connect the battery snap to the power connector CT2 (V+ red, 0V black) 10. Connect the probe to the 4 pin header, connecting the coloured wires as shown in the picture above.

6 Testing: 1. Connect 3x AA batteries into the battery holder. 2. Download the test program into the PICAXE-08M microcontroller. Do not forget to modify the test program to use your unique serial number. 3. Touch the ibutton against the probe. The LED should light and the piezo sound. Notes: The PICAXE-08M microcontroller must be programmed to react to the ibutton provided in the kit by modifying the program. The transistor output can be connected to external devices (e.g. a motor) via the 2 pin output screw terminal block. If you wish to power the transistor output with a different supply from the battery box, remove the jumper link J1. Connect the separate supply by linking both 0V supplies together in PWR connector CT2, and connecting V+ of the second power supply in the V+ hole of the output connector CT3. red black + - blue green yellow orange - + D G + - PZO BTN LED PWR