ibutton click PID: MIKROE 3045 Weight: 31 g

Similar documents
Color 7 click. PID: MIKROE 3062 Weight: 19 g

Pressure 4 click. PID: MIKROE 3020 Weight: 24 g

DIGI POT 3 click. PID: MIKROE 3016 Weight: 25 g

Flash 4 click. PID: MIKROE 3191 Weight: 24 g

PWR Meter click. PID: MIKROE 3169 Weight: 31 g

PIXI click PID: MIKROE Weight: 28 g

BroadR-Reach click PID: MIKROE Weight: 26 g

SQI FLASH click. PID: MIKROE-2828 Weight: 22 g

Stepper 6 click. PID: MIKROE 3214 Weight: 26 g

Gaussmeter click. PID: MIKROE 3099 Weight: 23 g

Accel 5 click. PID: MIKROE 3149 Weight: 24 g

Pedometer 3 Click. PID: MIKROE 3259 Weight: 24 g

Thermo 6 click PID: MIKROE-2769

RS485 3 click. How does it work? PID: MIKROE-2821

USB UART 4 click PID: MIKROE Weight: 23 g

Use the Grid-EYE click to detect absolute surface temperature without any contact. Or use it to detect the movement of people and objects.

4G LTE E click (Europe)

GSM 4 click MIKROE Weight: 33 g

ECG 2 click PID: MIKROE Weight: 30 g. Condition: New product. Table of contents

4G LTE-E click (Europe)

1.6inch SPI Module user manual

Breeze Board. Type A. User Manual.

MTi 1-series Development Kit

MTi 1-series Development Kit

Pmod modules are powered by the host via the interface s power and ground pins.

Breeze Board. Type B. User Manual.

USB-to-I2C. Ultra Hardware User s Manual.

USB-to-I2C. Professional Hardware User s Manual.

Please refer to "4. Evaluation Board" on page 2 for more information about these steps. Figure 1. System Connections

Prototyping Module Datasheet

CONTENTS. dspicpro4 KEY FEATURES 4 CONNECTING THE SYSTEM 5 INTRODUCTION 6

SimPLC. User Manual.

Win-I2CUSB Hardware User s Manual

AT90SO72 Summary Datasheet

Downloaded from Elcodis.com electronic components distributor

DEV-1 HamStack Development Board

PCB-STM32-F3U. Development baseboard for the STMicro Discovery-F3 module (STMicro part# STM32F3DISCOVERY)

ESPino - Specifications

Teensy 3.5/3.6 Breakout (Revision A, Standard)

USER'S MANUAL PICEBS2. Hes-so//Valais / ISI / sap - version 1.0 PICEBS2-1/10

Preliminary USERS MANUAL Ver. 1.0

CSCI 6907 PROJECT PROPOSAL LIGHTS OUT MANAGEMENT

PAC5523EVK1. Power Application Controllers. PAC5523EVK1 User s Guide. Copyright 2017 Active-Semi, Inc.

Wiring Section 3-3. NQ-Series communication ports support various types of (serial) communication.

CONTENTS BIGAVR2 KEY FEATURES 4 CONNECTING THE SYSTEM 5 INTRODUCTION 6

Audio Processing Platform - APP

6LoWPAN Development Platform Saker Manual

EXL x240 Graphic LCD Smart Module 3,8 SHORT FORM TECHNICAL SPECIFICATIONS. Via di Corticella, Bologna, Italy

Arduino Uno. Arduino Uno R3 Front. Arduino Uno R2 Front

Raspberry Pi board. EB080

EPT-200TMP-TS-U2 TMP102 Temperature Sensor Docking Board Data Sheet

Cookie User Manual. For NuMicro Edition 1.0. Rev. 1.0 Release: forum.coocox.org.

USER GUIDE ARDBOX ANALOG

RT Box controlcard Interface. User Manual January 2018

AT90SO36 Summary Datasheet

Manual iaq-engine Indoor Air Quality sensor

Sanguino TSB. Introduction: Features:

BIG8051. Development system. User manual

Adafruit Terminal Block Breakout FeatherWing

Microcontroller. BV523 32bit Microcontroller. Product specification. Jun 2011 V0.a. ByVac Page 1 of 8

TLE9869 Eval.Kit V1.0 Users Manual

ARDUINO MEGA ADK REV3 Code: A000069

VLSI AppNote: VSx053 Simple DSP Board

Product Manual. USB to Optical Adapter Industrial Isolated RS- 232/422/485. Coolgear, Inc. Version 2.1 December 2018 Model Number: USB-COMi-Si-M

Approved by: Date CET Initials Name Justification :20:12 NTJ Niels Thybo Johansen

AVR-P20 development board Users Manual

PIC-32MX development board Users Manual

LM53X Development and Evaluation Product Family

ARDUINO UNO REV3 SMD Code: A The board everybody gets started with, based on the ATmega328 (SMD).

This manual provides information for the final user application developer on how to use SPC57S-Discovery microcontroller evaluation board.

A1/B1 EB v2.0 User Manual V1.1 05/10/2017

Pridgen Vermeer Robotics Xmega128 Manual

A compact starter kit with your favorite microcontroller and two mikrobus sockets

Arduino Diecimila Pinouts 697B B8D-A50A-61944C26074F

AVR-Ready1. Additional Board. Manual. MikroElektronika

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

PANDORA HACKER GUIDE

Figure 1. Proper Method of Holding the ToolStick. Figure 2. Improper Method of Holding the ToolStick

Design and development of embedded systems for the Internet of Things (IoT) Fabio Angeletti Fabrizio Gattuso

Skywire BeagleBone Black Cape Data Sheet

AVR-Ready2. Additional Board. Manual. MikroElektronika

Logic Way GmbH, DIMM-CPU-CB09.odt

NanoDock DMC-3. Datasheet Daughter module carrier 4 daughterboard

Interfacing Techniques in Embedded Systems

HDBB Breakout board user s manual

BIGdsPIC6. Development System. User manual

ARDUINO UNO REV3 Code: A000066

Product description Rev. 3 11/06/14

USER GUIDE ARDBOX ANALOG

Sample board for USB DEVELOPPER KIT

ET-UARTSWD Users Guide

SM130-M2 Datasheet. Release SonMicro Elektronik

Arduino ADK Rev.3 Board A000069

Microcontrollers and Interfacing

RASPBERRY PI EXAMPLES WITH CLICK BOARDS

USB-to-I2C Basic. Hardware User s Manual.

ARDUINO YÚN MINI Code: A000108

mbed Command Module Adapter Board RS EDP CM mbed User Manual Version 1.02 Electrocomponents plc Page 1

SHIELD. mikromedia 5. for TIVA ARM

Arduino Uno R3 INTRODUCTION

Transcription:

ibutton click PID: MIKROE 3045 Weight: 31 g ibutton click - is an ibutton probe Click board. The ibutton is a technology based on the one-wire communication protocol, and a chip usually packed in a robust stainless steel casing. The button-shaped ibutton device has two contacts - the lid and the base. These contacts carry the necessary connections down to a sensitive silicone chip, embedded inside the metal button. When the ibutton touches the reader probe on the Click board, it establishes the communication with the host MCU, via the one-wire interface. The communication is almost instant, so it is enough to press the ibutton lightly to the probe contacts.

Due to its robustness, the ibutton can withstand much more stress than similar devices used to carry an information: tags, cards, and other such devices are prone to damage, while a chip packed inside a thick stainless steel can be highly resilient. This Click board carries an ibutton probe, along with two LEDs. It can be used to interface any ibutton with the host MCU, displaying the resulting status information on any of the two independently programmed LEDs. This Click board is very useful for building a wide range of applications that can utilize a wide number of different ibutton devices. Note: The Click board comes with the DS1990A, a serial number ibutton device with a unique 64-bit serial number. For more information on the serial number ibutton device, please visit the official product page. How does it work? ibutton click carries the CZ 0 PIN, a high-quality ibutton probe from Demiurge company. The metal probe ensures resistance to dirt, dust, moisture, shock and other environmental hazards while ensuring good alignment with the ibutton device, at the same time. The manufacturer guarantees compatibility with Maxim ibutton devices, but any other device compatible with the maxim ibutton can be read by the probe.

The ibutton device is capable of powering itself up through the data line by employing the so-called parasite power supply. This Click board is equipped with the pull-up resistor to the 3.3V mikrobus rail, providing power for the ibutton that way. So-called parasite PSU of the ibutton contains an internal capacitor, which provides enough current for the proper operation, once it has been charged by the data line. To allow proper functioning of the parasitic PSU, the idle state of the data line is HIGH, while the data line of the ibutton device is in an open-drain configuration, pulling the data line to a LOW logic level when asserted. The 1-Wire communication line is routed to the SMD jumper, which allows routing of the 1-Wire communication either to the PWM pin or to the AN pin of the mikrobus. These pins are labeled GP0 and GP1 respectively, the same as the SMD jumper positions, making the selection of the desired pin simple and straightforward. The green LED labeled as ST1 is routed to the RST pin of the mikrobus, while the red LED is labeled as ST2 and it is routed to the CS pin of the mikrobus. These two pins allow visual feedback from the software, for example, if the serial number of the docked ibutton matches the authorization criteria, the green LED can be used to signal it. These LEDs are can be used for any type of signalization, and are not directly connected with the ibutton device itself. Specifications Type 1-wire Applications An ideal solution for building a wide range of applications that can utilize a wide number of different ibutton devices On-board modules CZ-0-PIN, a high quality ibutton probe from Demiurg company Key Features The metal probe ensures good alignment of the ibutton device, two programmable LEDs that can be used for the status report, simple software development with the included library functions

Interface 1-wire Input Voltage 3.3V Click board size M (42.9 x 25.4 mm) Pinout diagram This table shows how the pinout on ibutton click corresponds to the pinout on the mikrobus socket (the latter shown in the two middle columns). Notes Pin Pin Notes 1-Wire Data IN/OUT GP0 1 AN PWM 16 GP1 1-Wire Data IN/OUT Red LED Cathode ST2 2 RST INT 15 NC Green LED Cathode ST1 3 CS RX 14 NC NC 4 SCK TX 13 NC NC 5 MISO SCL 12 NC NC 6 MOSI SDA 11 NC Power supply +3.3V 7 3.3V 5V 10 NC Ground GND 8 GND GND 9 GND Ground

Onboard settings and indicators Label Name Default Description PWR PWR - Power LED indicator ST1 ST1 - User programmable GREEN LED ST2 ST2 - User programmable RED LED JP1 GP0, GP1 Left 1-Wire data comm. pin selection: left position GP0, right position GP1 Software support We provide a demo application for ibutton click on our Libstock page, as well as a demo application (example), developed using MikroElektronika compilers. The demo can run on all the main MikroElektronika development boards. Library Description Initializes and defines the GPIO click driver and functions witch turn on or turn off the LED. Key functions: void ibutton_enablegreenled(uint8_t state); - The function enables or disables a green LED on click (RST pin) depending on the state of the parameter value. void ibutton_enableredled(uint8_t state); - The function enables or disables a red LED on the Click board (CS pin) depending the on the state of the parameter valuer. Example description The application is composed of three sections: System Initialization - Initializes the peripherals and pins. Application Initialization - Initializes the Click board driver. Application Task - Realizes communication between the ibutton and buffer (EEPROM) which includes reading, writing and comparing values.

void applicationtask() uint8_t check_flag; if(!ow_reset(ow_port, OW_PIN)) check_flag = Read_Key(); if(check_flag = 0) mikrobus_logwrite("key exist", _LOG_LINE); else mikrobus_logwrite("key doesn't exist", _LOG_LINE); else mikrobus_logwrite("add new key", _LOG_LINE); while(ow_reset(ow_port, OW_PIN)) if(check_state == 0) mikrobus_logwrite("insert ibutton", _LOG_LINE); check_state = 1; check_flag = Add_key(); if(check_flag == 0) mikrobus_logwrite("key added", _LOG_LINE); else mikrobus_logwrite("key already exist", _LOG_LINE); mikrobus_logwrite("read ibutton", _LOG_LINE); check_state = 0; Delay_ms(100); uint8_t Check_ibutton(uint8_t *ibutton_data) - Compares ibutton data values with buffer data values. uint8_t Check_CRC(uint8_t *ibutton) void Do_something(void) - Enables red LED on click and disables green LED on click. void Do_something_else(void) - Enables green LED on the Click board and disables red LED on click.

uint8_t Add_key() - Writes ibutton data to buffer data in first free location. uint8_t * Read_from_EEPROM(uint8_t key_num, uint8_t *buffer_data) - Reads data from the buffer (EEPROM). uint8_t Read_Key() - Reads ibutton data, compares this data with buffer data and depending on the comparison calls other functions to do something. uint8_t Get_Free_Location(uint8_t *buffer_data) - Returns the value of the first free buffer location. void Write_to_EEPROM(uint8_t key_num, uint8_t *buffer_data, uint8_t *ibutton_data) - Writes data to buffer (EEPROM). uint8_t *Get_data() - Realizes One wire communication. The full application code, and ready to use projects can be found on our Libstock page. Additional notes and information Depending on the development board you are using, you may need USB UART click, USB UART 2 click or RS232 click to connect to your PC, for development systems with no UART to USB interface available on the board. The terminal available in all MikroElektronika compilers, or any other terminal application of your choice, can be used to read the message. mikrosdk This click board is supported by mikrosdk - MikroElektronika Software Development Kit. To ensure proper operation of mikrosdk compliant click board demo applications, mikrosdk should be downloaded from the LibStock and installed for the compiler you are using. For more information about mikrosdk, visit the official page. https://www.mikroe.com/ibutton click 6 15 18