Final Project: an IoT/Embedded project
Summary: you will build an IoT/Embedded program that will
simulate a credit card payment kiosk
Note: I have a limited number of kits
available from my personal stuff. If there are lots of interest for
this project we'll have to do it on a first come first served basis.
Unpacking some details:
- Learning the components. First you need to learn about your hardware
bits
- Building the project.
- you need two programs for this project.
- a simple server program that lives on an amd64/x86 based computer.
Its only job is to listen on a port for a "credit card transaction"
and then when it receives the information, records the "card number"
(the RFID number) and the amount of the transaction in a text file.
- assume that each card has a prapaid limit of $150. If the RFID tag
has not exceeded its $150 limit in the transactions so far, respond
positively to the client.
- If the RFID tag has exceeded its allowed limit in all its
transactions so far, then send a denied message back to the client.
- The Embedded client which will run on a raspberry pi.
- have a button that begins a new transaction.
- undergrads: randomly select an amount for the transaction from $1
to $100
- Grads: use a rotary 'sensor' to let the user select an amount from
$1 to $100
- Once the amount is selected, display the amount on the lcd panel.
- After 3 seconds, blink the LED (which simulates the blinking
arrows on an actual credit card machine.
- Then poll/query the RFID reader to find the 'card number'
- send the "card number" and the amount to the server; wait for the
server's reply.
- If the server replies positively, inform the user of transaction
success on the LCD panel
- If the server replied negatively, send a "transaction denied"
message to the user VIA the LCD panel.
After you submit your code via blackboard, be sure to return any kits
that I lent to you.