RFID1356 08: Set Low Power Mode

This program shows how to set low power mode in RFID1356 module

Required Materials

1 x Waspmote 1 x Battery 1 x Coin cell 1 x RFID 13.56MHz board 1 x RFID 13.56MHz antenna 1 x RFID Tag


- Remember to connect the battery to Waspmote for proper operation. - Don't write address 0, 3, 7, 11, 15, ... if you are not an advanced user. You could leave your tag unaccessible. - Address 0 contains the IC manufacturer data. This block has read-only access. - Address 3, 7, 11 contains the secret keys A and B. Writing in them will change access keys and conditions. - This example can be executed in Waspmote v12 and Waspmote v15


 *  ------ [RFID1356_08] RFID set low power state  -------- 
 *  Explanation: This program shows how to set low power mode in RFID1356 module
 *  Copyright (C) 2015 Libelium Comunicaciones Distribuidas S.L. 
 *  http://www.libelium.com 
 *  This program is free software: you can redistribute it and/or modify 
 *  it under the terms of the GNU General Public License as published by 
 *  the Free Software Foundation, either version 3 of the License, or 
 *  (at your option) any later version. 
 *  This program is distributed in the hope that it will be useful, 
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of 
 *  GNU General Public License for more details. 
 *  You should have received a copy of the GNU General Public License 
 *  along with this program.  If not, see . 
 *  Version:           0.1
 *  Design:            David Gascón 
 *  Implementation:    Yuri Carmona, Luis Miguel Marti

#include <WaspRFID13.h>

void setup()
  // init USB port
  USB.println(F("RFID_08 Example"));  

  // switch on the RFID module

void loop()
  // 1. Set sleep mode
  // 1.1. put RFID to sleep
  USB.println(F("1. RFID in sleep mode"));
  // 1.2. set red LED during sleep time 
  USB.println(F("RED LED switched off"));
  Utils.setLED(LED0, LED_OFF);
  // 1.3. wait 20 seconds in sleep mode  
  USB.println(F("While RFID is in sleep mode --> wait for 20 seconds...\n"));

  // 2. Wake up the RFID module
  // 2.1. wake RFID up
  USB.println(F("2. RFID wakes-up"));  
  // 2.2. switch LED off when leaving sleep mode
  USB.println(F("RED LED switched on"));
  Utils.setLED(LED0, LED_ON);
  // 2.3. wait 5 seconds
  USB.println(F("While RFID is in normal mode --> wait for 5 seconds...\n"));


RFID_08 Example
Your Firmware version is : FF FF FF FF
1. RFID in sleep mode
RED LED switched off
While RFID is in sleep mode --> wait for 20 seconds...

2. RFID wakes-up
RED LED switched on
While RFID is in normal mode --> wait for 5 seconds...

Last updated