Download presentation
Presentation is loading. Please wait.
1
Chapter 1 Eng. Hazem W. Marar
2
Arduino is an open-source single-board microcontroller using Atmel AVR processor and an on-board I/O support. The Arduino integrated development environment (IDE) is a cross-platform application written in Java, and is derived from the IDE for the Processing programming language
5
Using the pinMode statement: pinMode (pin_number, State) digitalWrite|analogWrite(Pin_number, Value); digitalRead|analogRead(Pin_number);
6
Turning an LED On/Off
7
A simple push button input signal
8
Push button toggling an LED
9
Solution ?
10
Usually, PWM ports are marked with a Tilde symbol. Values can range from 0 up to 1023 for analog and 0 up to 255 for PWM. Use the “analogwrite(pin_number, Value);” statement.
12
Simple serial communication with digital data
13
Serial Port Introduction Simple serial communication with analog data Recall Potentiometers and voltage dividers
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.