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)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.
MakerCloud Sample Program
Model Instructions
Fill in Wifi login information and MakerCloud MQTT topics
Fill in the corresponding RFID number for the product
Download the program and turn on the power, wait for the LED to completely light up
Press A to turn on the conveyor belt, B to turn if off
When the RFID Sensor detects a RFID chip, Micro:bit will display the ID and uploads the information to MakerCloud.
Last updated