Перейти к содержимому
Hub Nexus

Автора пока нетВзять себе

Версия 3Обновлено 3 мин чтения

Поддержка

Auroville, a self-sustaining community in India of more than 3,000 people, ran its guest payments on trust. A guest opened an account and deposited money, then paid anywhere in the city by writing the account number and amount and signing. With more guests arriving each year, many left before the money could be processed, services lost money, and it was hard to tell where people were staying or whether they were guests at all. This Appropedia project documents the contactless smartcard system Cynergy developed, and in particular the open-source handheld reader built for places with no computer or internet.

The version 2.0 RFID handheld

The version 2.0 handheld (photo: Capiscuas on Appropedia, CC BY-SA 3.0).

The system

The company Cynergy proposed and built the solution around Mifare Classic contactless cards, which hold 1K of data and can be read from up to 5 cm away. Contactless cards avoid problems with moisture or damage to the card or reader and can be fully waterproof. Cards are reusable and valid only while the guest is there, so they cannot be passed on without being officially recharged or reactivated. Guests top up a balance and pay at more than 100 outlets for services, food and products.

PartWhat it does
Web applicationThe core: records cards, guests and transactions, and syncs with the existing financial database. Written in PHP with a MySQL back end and SOAP services
Cross-platform application (Aurocard)Runs on Linux and Windows, written in C with open source libraries. Reads a card and lets a point-of-sale owner deduct funds if the balance is enough. Keeps a blacklist of cards, stores any number of transactions offline and processes them when a connection is available. An administrator version links and unlinks guests and adds funds
Handheld deviceReads cards and deducts funds where there is no computer or internet, such as taxi services and some activities

The handheld

A market survey found no device that did what was needed: a battery-operated contactless reader and writer, able to run a custom application, with USB sync to a computer, a graphical screen and a keypad, and a battery that lasts about a day. Cynergy designed one from scratch.

Its program, written in C, runs on a Microchip processor, with peripherals on an I2C bus. The 13.56 MHz Mifare antenna is etched onto the circuit board, and one chip handles all reads and writes. A separate chip charges the battery from USB or an external supply, and a low-cost lithium cell phone battery keeps costs down. A 128 by 64 pixel backlit screen works day and night. Over USB it syncs with the Aurocard application and updates its blacklist, and an onboard memory holds up to 1,000 transactions for later processing. At the time it was built, the page says, each unit cost less than $100, under half the price of anything comparable on the market.

Electronics of the version 2.0 handheld

The case of the version 1.1 handheld

The version 2.0 electronics and the version 1.1 case (photos: Capiscuas on Appropedia, CC BY-SA 3.0).

Open hardware, still needing help

The hardware schematics and firmware for version 2.0, compiled with Microchip’s C18 compiler in MPLAB IDE v8.76 with the Microchip USB libraries, were shared. The authors ask for help cleaning and organizing the source code, making sure it compiles on all platforms and putting it in a Git repository.

Sources

  • Appropedia, Free-Libre Hardware RFID handheld device, licensed CC BY-SA 4.0. Photos by Capiscuas on Appropedia, CC BY-SA 3.0; this version stays CC BY-SA 4.0. Changed here: condensed and reorganized; the photo gallery and the download links are left out; rewritten in hubnx’s own words.

Комментарии

Spinner Logo

Ещё на тему «Природа»

Автор: Hub Nexus Nomad
From the glowing waves of the ocean to fireflies lighting up the night sky, bioluminescence is one of nature’s most mesmerizing phenomena. This article dives into the science behind bioluminescence, its role in nature, and how this glowing phenomenon has inspired both innovation and awe in the human world.
Автор: Hub Nexus editorsПросмотры: 150
Are you a traveller to plan your next destination? Or have you not had any travels at all for quite some time with overwhelming daily schedules? It might be a good time to take a break to air it out. Here're some of the iconic places in the world to consider for your next destination.
CC0 1.0 (общественное достояние)
WISCONSIN—Whether we realize it or not, artificial intelligence—AI—plays a big role in our daily lives. From predictive searches on Google to personalized shopping experiences on websites like Amazon, or music preferences on Spotify based on your playlists, to smart replies in email and text messagi
CC0 1.0 (общественное достояние)
Dall’s Porpoise Expands Territory in a Changing Prince William Sound