RFID Door Lock DIY

For this project you will need:

  • Arduino board (25 €)
  • RFID Reader (ID-20/ID-12) (24 €)
  • RFID Adaptor (20 €)
  • RFID Tag (1 €)

Total costs: 70 €

Instructions:

  1. Mount the RFID reader into the adaptor socket
  2. Install PuTTY on your computer
  3. Connect the sensor to your computer through a USB cable
  4. Scan the tag and you should see a unique code displayed on the terminal, such as: 2500ABF31C58. This is the tag’s identification code. You use PuTTY to find out what code does the tag has in order to use it on your algorithm
  5. Connect the adaptor (including the sensor which is already connected) to the Arduino board specifing the following diagram
    RFID Arduino
    1. Tx D.P. 2
    2. Rx D.P. 3
    3.
    4. GND GND
    5. +5V(DC) +5V
  6. Upload this code to Arduino board
  7. Connect your relay switch (5 V) to Pin 7 (digital) in order to command your door lock or a led when the tag is scanned.

id-12

(source: http://bildr.org/2011/02/rfid-arduino)

Pan & Tilt DIY

 

For this project you will need:

  • Arduino board (25 €)
  • Wii nunchuck (18 €)
  • 2 servos (3.5 € each)

Total costs: 50 €

You should connect the first servo to Pin 7 (digital) and the other one to Pin 6 (digital), the + and – should pe connected in series to Vcc (5 V) and GND respectively.

The algorithm for Arduino is posted here.

bpt01

(source: http://www.robotshop.com/ca//ProductInfo.aspx?pc=rb-lyn-74)

Xtion Arm v2.0

As I am qualified to participate to “Infoeducatie” National Contest, robotics section, I have started to build a new arm, 1:1 scale, stronger and which is capable of moving in 3 axis. In order to do this, I used 3 independent motors for the shoulder joint, one for elbow and one for rotation (in the biceps). In all, there are 5 motors (this model) 12 V DC, which I chose for its included gearbox with a powerful ratio (1:131) and as well as for its compactness.

Here are my sketches for the lathe man:

And here is the result:

IMG_1060IMG_1204

For the skeleton, I used plexiglass as in the previous version, but this time a thicker one (6 mm).  Here is the draft:

IMG_1103

The following pdfs are exported from CAD. This project is open source, so feel free to cut your own parts using my sketches.

plexitmp | plexi–6mm | plexi–8mm

Here are the parts after laser cuts:

IMG_1173

Putting the pieces together:

Building the frame which holds the arm:

The final result:

Xtion Arm v1.0

Last Christmas, I received a special gift from my parents. It was a sensor called Xtion from Asus, specially designed for developers. It’s actually a web cam and at the same time a IR cam (for depth) which simulates a 3D vision. It is very similar to Kinect sensor, but the Asus’s version is more flexible from the OS point of view. I am interested in working in Linux (Ubuntu), so this would be the perfect sensor for me.

As I am a beginner at this subject, I have started with different tutorials about Computer Vision and Body Tracking (OpenNI). After several weeks of practice, I made up my mind about how to use this sensor. I built a robotic arm which executes simultaneously, that is in real-time, the movements of my physical arm. I called it “The Xtion Arm”.

Here is my first version:

It is made by plexiglass (4 mm) and has 2 servos for the two joints (elbow and shoulder).

My movements are recorded by Asus Xtion and processed in Processing software which transfers the coordinates of the two points (joints) through a specific port to Arduino software which converts the coordinates of the 3-axis into angular dimensions. These values are sent to Arduino board which commands the servos.

In order for the software to perform this, I have written 3 applications. The first one is called “the Server”, it is developed in Processing and it gets the coordinates in “real world” dimensions. The second application is called “the Client”. The transmission of 9600 bits/s between Server and Client can be achieved either by serial (local: both arm and sensor are connected to the same computer) or via the Internet (sensor+Server on computer 1 and Xtrion Arm+Client on computer 2). The third application is Arduino, it communicates with the Client and sends values to servos. All these codes are published on my GitHub account here.