1
Sniffer Nano v2.0
Overview
Sniffer Nano is designed for reading code from 125KHz card
compatible read-only tags and read/write card. It can be
applied in office/home security, personal identification,
access control, anti-forgery, interactive toy and production
control systems etc.
Basic features
Smaller than many other module
Low power consumption for embedded systems
Support setting Protocol and Baud by Serial command
Soldering package compatible with both SMD and DIP
Standard 100mil spacing package, can be directly used in bread board
Interrupt evoking trigger
Open source, based on Arduino. Support firmware update
Specifications
Microprocessor ATMega 168P/328P
PCB size 20mm X 19mm X 1.0mm
Indicators -
Power supply 5V DC
IO 14
Communication Protocol UART (Depend in firmware)
ROSH Yes
Sniffer Nano v2.0 iteadstudio.com 07.29.2010
2
Tech Support:
[email protected] Electrical Characteristics
Specification Min Type Max Unit
Input voltage 3.3 5 5.5 VDC
Current Consumption 10 30 50 mA
Reading Distance - 15 20 mm
Reading Speed 10 - 100 ms
Antenna 400 492 550 uH
Baud Rate 4800 9600 115200 bps
Hardware
Pad Description
Pad Location Pad Name Type Description
1 Reserve I/O (SPI chip select )
2 Reserve I/O (SPI master out slave in )
3 Reserve I/O (SPI master in slave out )
4 Reserve I/O (SPI clock pin)
5 RES I Reset
6 Vcc I 5V
7 Vss I GND
8 TXD I Serial port
9 RXD O Serial port
10 INT O Interrupt output (LOW)
11 Reserve I/O Can use for driving LED or Relay
12 Reserve I/O Can use for driving LED or Relay
13 ATN1 I Connect to antenna
Sniffer Nano v2.0 iteadstudio.com 07.29.2010
3
Tech Support:
[email protected] 14 ATN2 O Connect to antenna
This small module is designed as a plug-in, you can solder it on your board using contact pins or
solder pads. The pin-out is standards-compliant, so that it’s easy to insert into the bread board
and prototype board.
Applications
I/O
LED
Sniffer
Host UART I/O
Nano
I/O Relay
SPI
RF Buzzer
Schematic
Get the clearer pdf version schematic here:
Sniffer Nano v2.0 iteadstudio.com 07.29.2010
4
Tech Support:
[email protected] Software
Output data format
By default, when a card near the coil and the card ID are read out, the reader will pull the INT pin
low to generate an interrupt, and then expend the card ID via serial port. After output the card ID
the INT pin will be high again, the output process end.
Before ID data output, the INT was pull low .T1-T2=1.072ms
Before ending ID date output, INT is pulling high. T1-T2=1.946ms
Sniffer Nano v2.0 iteadstudio.com 07.29.2010
5
Tech Support:
[email protected] The whole data transmission time: T1-T2=9.194ms
The card ID data which output by the reader is ASCII encoding, user can read these ID data
directly.
AT command
Use the AT command, user can set the reader to different baud rate. Now the firmware support 3
baud rate: 4800bps, 9600bps (default), 115200bps.User just can send out the command when
INT pin is high, which means not ID data output from Sniffer Nano.
AT command format: “AT+”+ command code + Parameters.
Baud rate setting command: “AT+”+ “B”+ 0x01/ 0x02/ 0x03
(0x01:4800bps 0x02:9600bps 0x03:115200bps)
If setting success, the reader will return “OK”, and settings will take effect after restart the
module. If the parameters is invalid, will return “ERROR” and the baud rate will be set to 9600bps
after reset.
Firmware Update
In order to allow more users to more easily understand the code and participate in, we make our
firmware base on Arduino library. All the code will open source, so user can modify the code by
for meeting their special requirements.
Of cause, we will keep improving the firmware and publish them. Using the Arduino bootloader,
user can easily update their module via serial ports by Arduino IDE.
License
Attribution Non-Commercial Share Alike
cc by-nc-sa
Revision History
Rev. Description Release date
V1.0 Original version, including the basic introduction 3/11/2010
V2.0 New hardware 7/29/2010
Sniffer Nano v2.0 iteadstudio.com 07.29.2010