How to Make a Robot - Lesson 4: Understanding Microcontrollers

and also that adc just work to convert ac current to dc and gives the digital number or digital information in number and also that this number is genrated in pc by converting machine language to high level language which done by microcontroller

and also that adc generate intermediate value of ac current please say if iam correct

@happy verma When a button is pressed, the microcontroller senses that that pin goes hig (5v) or low (0V) and can make decisions accordingly.

@happy verma If you mean AC, it “senses” the current and outputs a 0 to 5V pulse to be picked up and interpreted by the microcontroller. The microcontroller’s analog to digical converter converts the 0 to 5V to a number which can then be used in the code.

@happy verma Yes, it would generate 0 all the way to 5V. The higher the resolution of the ADC the more accurate the microcontroller can interpret the value. For example if you have a 0-10A current sensor and an ADC converter which allows for 1024 different values, a value of 2.5V would be picked up by the microcontroller as 1024 * (2.5V/5V) = 512.

So what is good and cheap microcontroller and development board I can buy? I am planning to use several senors, with a camera.

@Suleman Jalal Arduino is very popular and easy to use, but if you want a camera, that might create issues since most inexpensive microcontrollers cannot handle video (or even pictures).

i think i am learning somethings am so grateful thanks alot…

thanks for such great tutorials

How can I connect DC motor to ardiuno microcontroller

@ankit You should ideally not connect a DC motor directly to an Arduino; you should use a DC motor controller in between. An Arduino cannot provide enough current via the pins to power a decent sized DC motor, but a DC motor controller can, and allows you to vary the speed and direction of the motor as well.

Hello Coleman,
Its me again, James. Which micro controller is best for the claw bot I talked about before?
Also, I just wanted to ask if the blue tooth controlling the robot is OK for the claw bot I was talking to you about
After making the whole thing ( as I just started ) when I be able to add a remote/joystick, to actually move the robot,
Thanks
James Mikhail

@James MIkhail Since the communication here is becoming very project specific, please create a new post on the RobotShop Forum: https://www.robotshop.com/forum/

Nice! I’m building a robot, and I’m hoping it will work! Problem: I’m only 12. Luckily, I have friends and family willing to help me a bit.

I have an intension to build a wheeled robot. What can be the suitable microcontroller for that? I am only 13

@Pranav Almost any microcontroller will work. If you are new and ready to learn to program, consider something which is based on Arduino: https://www.robotshop.com/en/arduino-microcontroller.html

Thank u

I LIKE THIS WEBSITE

I’m tring to build a robot dog…but i dnt know how to

@rubbie We suggest you create a new topic on the RobotShop Forum detailing what you want to do and your robotic experience.