Inventory System Sample Program(FutureBoard)

RFID Chip Program

Use this program to check the ID of the RFID chips.

from time import sleep
from future import *
from sugar import *
def probeCallback():
  global x
    
  screen.fill((0, 0, 0))
  screen.text(str("Place RFID Tag"),5,10,1,(0, 119, 255))
  screen.text(str(RFID().uuid()),5,30,2,(0, 119, 255))
  screen.refresh()

x = 0

screen.sync = 0

screen.fill((0, 0, 0))

screen.text(str("Place RFID Tag"),5,10,1,(0, 119, 255))

screen.refresh()

sleep(1)

while True:
  RFID().probe(probeCallback if 'probeCallback' in dir() else None)
  sleep(0.2)

Sample Program

RFID Read/Write Program

Use this program to write or read data to the RFID tags. Press A to write data, press B to read data.

Sample Program

MakerCloud Sample Program

Sample Program

Model Instructions

  1. Fill in Wifi login information and MakerCloud MQTT topics

  2. Fill in the corresponding RFID number for the product

  3. Download the program and turn on the power, wait for the LED to completely light up

  4. Press A to turn on the conveyor belt, B to turn if off

  5. When the RFID Sensor detects a RFID chip, Micro:bit will display the ID and uploads the information to MakerCloud.

Last updated