INTRO TO ARDUINO IDE

Hi guys! It's Jag here. Last Tuesday, we had a little intro to Arduino IDE. We learnt about its uses, the type of language required to work these guys, as well as some of the science behind it.

Here's what we covered:

Arduinos are microcontrollers. They're little guys that can control a lot of things electronically.

Two functions:
1. Converting other forms of energy (e.g. heat) to electrical energy (sensors)
2. Actuators - convert electrical to other forms

We will be adding sensors and actuators to the microcontroller.

Language: C++

We will work with Direct Current/DC (one direction) - batteries - e from positive end to negative end. Current flows the other way.
AC motors

Water analogy
Watts - volts*** (the force pushing it) and amps measures current (content)
Resistance - to prevent "overspill" in the pool (units: omega)

Mountain analogy
Height is voltage; rock - amps, rocks and boulders - resistance

Arduino is powered from the computer (USB)
Alive : green light, but pins where inputs and outputs will go to, are not on.


Always start at 2 (0, 1 gives error)
Analog - use for sensor. Not electrical.

Code written on SKETCH, SKETCH uploaded onto Arduino.
3GND (ground). If you need more than that, you get external power source, like a battery pact and add on to the Arduino.



Breadboard - sth that can have connectivity.
Diode: one directional. Longer leg - positive, shorter  leg - negative

Wires determine the positive and negative. Positive (red) where current flows from, to negative (black) where it flows to, and back again.

GND negative

Resistor takes electricity and uses it up for heat.



delay(5000) = 5 seconds

Buttons - closed circuit when I press downward

Capacitors
Battery connected to Arduino, don't necessarily need computers.























Comments

Popular Posts