Why learn one thing in a tutorial when you can learn many things? In our 10th tutorial with the PIC10F200, Sergey decided to cover how to drive a servo motor, how to use indirect addressing (both in general and specifically with the PIC10F200), and how to create an electronic lock with this knowledge (plus all the knowledge we've learn in previous tutorials about buttons). This culminates in having a motor move at your whim but no one else's - so the end result is definitely worth it!
There's a lot packed into this tutorial, if you want the code and need some more time going through everything line by line, check out the written tutorial that this video is based off of: https://www.circuitbread.com/tutorials/code-lock-part-10-microcontroller-basics-pic10f200
If you find this interesting, subscribe to the CircuitBread channel for more videos on microcontrollers and other beginner and intermediate electronics!
Table of Contents
0:00 Introduction
0:24 Overview of what we're going to do today
1:05 Learning about servos - what they are and how they work.
2:40 Two new commands (RRF - Rotate Right through carry) and (ANDLW - Logical AND between Literal and W)
3:47 Indirect addressing in Assembly with the PIC10F200
6:26 Code review to create an electronic lock with a servo motor and 3 buttons
12:30 Showing the electronic lock in action
For electronics tools, tutorials, equations and more check out our site: https://www.circuitbread.com
And check out our Friends of CircuitBread, who offer special discounts, product samples, resources and more to our users: https://www.circuitbread.com/friends
CircuitBread is joining the fight to help people more easily learn about and use electronics. With an ever-growing array of equations, tools, and tutorials, we're striving for the best ways to make electronics and electrical engineering topics more accessible to everyone.
Connect with CircuitBread:
Instagram ➤ http://instagram.com/circuitbread
Facebook ➤ https://www.facebook.com/circuitbread
Twitter ➤ http://twitter.com/circuitbread