Card Reader


This is simple – just some wheels geared down 1:3 to move the card in and out over the color sensor. The touch sensor senses whether the card is being pushed in. and I also had a touch sensor and motor for the door but that was only to prove  that the card reader worked.


I programmed using ROBOTC. I wanted to re-teach myself ROBOTC and I really like it. I’m never back to NXT-G. ROBOTC is just easier once you learn it. I was having trouble having it read the card  (and tell me the code) because it was too inaccurate – it would give me the wrong colors a lot  so instead it only figures out if it is the correct card.

You can download the code here.

4 thoughts on “Card Reader

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s