Electro NOTES
Electro NOTES
Getting Started:
Arduino Board:
Arduino IDE:
Arduino Code:
• Download, install, and set preferences for the Arduino IDE on a PC (Windows 8).
Installation Process:
Setting Preferences:
• If desired, access previous versions of Arduino IDE by visiting the "Previous releases"
section on the download page.
• Choose the desired version for the specific operating system.
Objective:
Topics Covered:
• Selecting the correct Arduino board and serial port from the Tools menu.
• Saving an Arduino file (sketch).
• Overview of the editor, message bar, and console.
• Introduction to the serial monitor.
• Understanding error messages in the console.
Saving Sketches:
• Editor: Main area for typing Arduino code, displays line numbers.
• Message Bar: Displays recent actions (e.g., saving).
• Console: Displays error messages and other information.
Serial Monitor:
• Opens a window to monitor communication between Arduino and computer (shortcut: Shift +
Ctrl + m).
Miscellaneous:
Conclusion:
• Provide an overview of the Arduino • Transmit and receive pins for serial
Uno hardware components and their communication with the computer.
functions. • Best to reserve pins 0 and 1 for serial
communication purposes.
Topics Covered:
On-board LEDs:
• Introduction to the Arduino Uno board.
• Overview of the Atmel ATmega328 • TX and RX LEDs indicate
microcontroller. communication between Arduino and
• Explanation of pin headers: digital, computer.
analog, and power. • Pin 13 LED serves as an on-board
• Understanding digital and analog pins. LED indicator.
• Explanation of PWM (Pulse Width
Analog Pins:
Modulation).
• Introduction to TX and RX pins for • Labeled A0 through A5, totaling six
serial communication. analog pins.
• On-board LEDs and their functions. • Used for handling analog signals with
• Overview of the reset button and reset the help of an ADC (Analog-to-Digital
pin. Converter).
• Power on LED and its indication.
Power Header Row:
Introduction to Arduino Uno:
• Provides 5V and 3.3V voltage outputs.
• Chosen as the learning tool due to its • Ground pins (GND) provide a
versatility and support. reference voltage of 0V.
• Arduino Uno serves as a baseline for
other Arduino boards. Miscellaneous:
Semicolon:
Keywords: