Introduction: Combination Padlock Using Intel Edison

Hello, I am sure you may have used one of these combination lock shown in the image. Well would you like to make an electronic lock which works just like these? If yes, than this instructable is for you. This could be use to secure your electronic project secure and only accessible by authorized persons.

I would be using Grove Rotary angle sensor as the rotating center piece. This is just the coding part and instructions and you can code what it unlocks when right combination is entered. Lets get started.

Step 1: Parts Needed (Obviously Important Step)

  • Intel edison with expansion board (can use arduino uno too)
  • Grove motor shield (for easier connections and to protect the edison or Arduino Uno)
  • Grove Led (just for testing)
  • Grove Rotary Angle Sensor
  • micro-USB to USB cable
  • Connecting cables for connection to motor shield

Step 2: Coding and Connections (Fun Part)

Assuming you have completed Intel edison getting started, attach USB cable to your computer and open Arduino IDE for Intel. Code is in the file attached.

You could play with the code and once you have mastered rotary sensor you can decrease the range of last value. Also you could add more than 3 steps and also change the coding for what to unlock once the code works.

Connections are pretty simple. Attaching LED D7 and rotary sensor to A0 which can also been seen in the photo. above.

Step 3: Future Considerations

You could 3D print the case for everything, if your project is portable. You could secure a lot of your projects with this and setup time is less than a minute ( though i can`t think why you would need to take it apart). Well this project was simple and can be done any person new to this field. Feel free to comment below if you have any questions or need help on similar projects.

Protected Contest

Participated in the
Protected Contest

On a Budget Contest

Participated in the
On a Budget Contest