In electronics, we have...
photoresistor
transistor
touch sensor
flex sensor
gyro sensor
potentiometer
DC motor
servo motor
LED
LED
strip
We use the Arduino to map inputs to outputs
(Sensor to measure distance)
(Sensor to display that distance)
This is the central processing unit (CPU) of the Arduino board. Inside this CPU is a bunch of transistors that perform binary calculations. Notice how lines from the CPU connect to other parts of the board. This is because the CPU talks to the rest of the board using wires. We can write code for this CPU to control the functionality of the board.
We can connect sensors and actuators to these ports using wires
We connect actuators such as motors and LEDs to the digital pins to control their behavior
On the other hand, we can connect sensors to analog pins, which allows us to read values from them. We can use these values and map them to the actuators connected to the digital pins using code.
To power these components, we wire them to the power strip
Before we go on, we must install the software that allows us to write code for the Arduino boards. Visit the website below.
https://www.arduino.cc/en/software
From here, click the install link relevant to your operating system, and follow through with the download instructions.
Upon opening the software,
this is what you should see.
Let's check out an example program for the Arduino board.
This is what you should see upon opening the "Bare Minimum" code
Let's connect an LED to our Arduino Board