You must be able to:
Describe a microcontroller and what the different between this and a computer?
How do you know what type to choose?
Describe and use the Arduino microcontroller board
Program the Arduino for various applications
Arduino is an open-source electronics platform based on easy-to-use hardware and software. Arduino boards are able to read inputs - light on a sensor, a finger on a button, or a Twitter message - and turn it into an output - activating a motor, turning on an LED, publishing something online. - https://www.arduino.cc/en/guide/introduction
It is easy to get started with these 5 minute tutorials from Robotshop.
There are many different manufacturers for Arduino. There are also different types of Arduino like the Uno and Mega.
The Arduino board needs special drivers and most of them may come with the Arduino application. Others like the Wavgat needs to be installed separately. Download zip file and install.
Sometimes you may need a CH341 driver for the Arduino Uno we have and the drivers can be found here.
There are two important concepts when using the Arduino. Because the Arduino is a digital device it is about high and low only (two states). To work with Analog interfaces we need to find ways to modify the circuit or program to do that for us. It is important for the Arduino to interact with analog devices as many inputs (for example sensors ) and outputs (for example motors) needs analog signal to do what we want them to do. These two concepts are ADC and PWM.
The Arduino output can only be high or low (5V or 0V) but if we need an analog output, we can simulate this by using Pulse Width Modulation (PWM).
Important Terms
This is a series of tutorials to develop your understanding of Arduino C. For these you need Tinkercad Circuits and log in with your Google Account.
Make sure you understand the concept of variables used in programming.
This tutorial demonstrates how to use the Arduino C library to control the servo motor. It also explains the code to control the servo motor horn position with a potentiometer.
Just a reminder that you need to calculate the resistor value using Ohm's law or testing the current through the LED with a multimeter, to ensure it is around 10mA.
This video also contains extra information on programming Servos with pulses (No libraries). The challenge for this code is to move the servo horn back and forth using pulses.