Intro to Arduino Class taught at CRASHspace by Quin (Qtechknow). Originally taught on August 11, 2012 at Crashspace, in LA. This revision patches the diagrams and fixes the code! Thanks to SparkFun who shared all of their original slides with me!
This document provides an overview of microcontrollers and the Arduino platform. It discusses what a microcontroller is and some common types. It then introduces Arduino as an open-source prototyping platform using easy hardware and software. Several Arduino boards are described and the ATmega328p microcontroller chip is specified. The document outlines how to download the Arduino software and write programs. It provides examples of basic Arduino projects like blinking LEDs, reading sensors, and creating sounds.
Richard Rixham introduces Arduino, an open source hardware and software platform that allows users to build physical computing devices ranging from flashing lights to robots. Arduino uses an inexpensive microcontroller board and IDE to make programming in C/C++ accessible. It has digital and analog pins that can interact with sensors and actuators. Common Arduino models include the Uno, Mini, and Mega. Shield add-on boards provide extra functions like wireless connectivity. Example projects and resources for learning more are provided.
The document provides an overview of Arduino, including what it is, common Arduino boards, digital and analog input/output, and example projects. Arduino is an open-source electronics prototyping platform that can be used to create interactive objects. It uses a simple hardware and software environment to program and develop prototypes. The Arduino Uno is one of the most commonly used boards, which contains an Atmega328 microcontroller, digital and analog pins, and can be programmed via USB. The document describes how to connect various components like LEDs, buttons, sensors and motors to an Arduino board.
In this presentation of mine, a basic Design approach of VLSI has been explained. The ppt explains the market level of VLSI and also the fabrication process and also its various applications. An integration of various switches, gates, etc on Ic's has also been showcased in the same.
This document introduces Arduino, an open-source electronics prototyping platform. It discusses that Arduino is intended for artists, designers, hobbyists to create interactive objects. It then describes the Arduino hardware, including the microcontroller, I/O pins, and official and third party boards. It also covers the Arduino programming environment and language, and provides examples of common tasks like reading buttons and displaying to serial. Finally, it discusses common sensors, motors, and modules used with Arduino and points to the active Arduino community for support.
The document discusses Arduino, an open-source hardware and software system for building electronics projects. It describes Arduino boards, which use AVR microcontrollers and can be programmed with a simplified version of C/C++. Arduino makes microcontrollers easy to use through an open development environment and standardized hardware/software components. A variety of Arduino boards and shields are available to add functionality like Ethernet, Bluetooth, and more. Alternative platforms like BascomAVR are also presented.
The document discusses the Arduino, an open-source electronics prototyping platform. It provides a brief history of how Arduino was created in 2005 to provide an affordable platform for interactive design projects. It describes the key features of the Arduino Uno board and the Arduino programming environment. Finally, it outlines some common applications of Arduino in fields like home automation, robotics, and sensor prototyping.
This document provides an overview of an Internet of Things workshop that teaches participants how to connect sensors and actuators to microcontrollers and the internet. The workshop covers getting started with hardware like Arduino boards, measuring sensor values and controlling actuators, connecting devices to the internet using WiFi and Ethernet, and using cloud services like Xively to monitor sensors and control devices remotely. Hands-on activities include blinking an LED, reading a pushbutton switch, and sending sensor data to Xively to be displayed on a data dashboard.
The document provides an introduction to programming with Arduino. It explains that Arduino is an open-source hardware and software platform used to build interactive electronic projects. It consists of a microcontroller board that can be programmed and used to read and control sensors, LEDs, motors and more. The document outlines the basic steps to get started which include downloading the Arduino IDE, installing drivers, selecting the board type, and uploading a test "Blink" program to make an LED turn on and off. It also provides explanations of some core electronic components like resistors, LEDs, sensors and describes how to set up a simple temperature sensing project and store the sensor readings in a database.
This presentation summarizes a summer training on Arduino. It defines Arduino as an open-source hardware and software platform for building electronics projects. It describes the main types of Arduino boards including the Arduino Uno, Mega 2560, Duemilanove, and Fio. It also outlines some key features of the Arduino Uno board. Furthermore, it provides examples of interfacing Arduino with a DC motor and RC car motor. The presentation concludes by listing some common applications of Arduino and its advantages.
The document discusses the Arduino open-source electronics prototyping platform. It describes what Arduino is, its programming environment, advantages, features, applications, and how it compares to other prototyping platforms. Arduino is an affordable and easy to use platform for creating interactive electronic projects through an open-source hardware board and software. It allows users to prototype sensors and control devices through code.
The document provides an overview of the Arduino platform, including what it is, what it is used for, and how to get started using it. Key points:
- Arduino is an open-source hardware and software platform for building interactive electronic projects through a simple programming language.
- It is used for physical computing projects, interactive installations, and rapid prototyping. Projects can include sensors and actuators.
- Getting started requires an Arduino board, USB cable, power supply, and downloading the IDE (integrated development environment) to write and upload code. Basic electrical safety knowledge is also important.
The TMS320C5x DSP architecture is based on the C25 with some enhancements. It uses a Harvard architecture with separate program and data memory buses. The CPU contains a CALU for arithmetic, PLU for logic, and ARAU for address calculations. On-chip memory includes ROM, DARAM, and SARAM. Peripherals include serial ports, timers, interrupts, and I/O. The architecture provides high performance with low power consumption and compatibility with prior C series DSPs.
The document provides an introduction to Arduino and physical computing using microcontrollers. It describes that Arduino boards use ATmega microcontrollers and can be programmed to sense the physical world using sensors, process data, and control physical devices using actuators. The document outlines the basic components of a microcontroller, how the Arduino programming environment works, and the basic structure and functions used in Arduino programs.
The document discusses microcontrollers, including:
- What a microcontroller is, its basic anatomy and how it works to serve as a bridge between the physical and digital worlds.
- The main components of a microcontroller including the CPU, memory, I/O ports, timers, and ADC/DAC.
- Types of microcontrollers such as 8-bit, 16-bit, and 32-bit varieties as well as external vs embedded memory architectures.
- Popular microcontroller families like 8051, PIC, AVR, and ARM.
- Applications of microcontrollers in devices like home appliances, industrial equipment, and computers.
This document provides an introduction to Arduino and robotics. It begins with an overview of Arduino, including the different types of Arduino boards such as the Arduino UNO. It then discusses sensors that can be used with Arduino like light sensors. The document covers Arduino coding concepts such as data types, statements, operators, and control structures. It also introduces robotics, including the components of robots like sensors, controllers, effectors, and actuators. Examples of different actuator types are given. Finally, the document briefly discusses the scope of the robotic industry in Bangladesh and provides some resource links.
The document provides an overview of the C programming language. It discusses that C was developed at Bell Labs in the 1970s and is a general purpose language closely associated with UNIX. It then covers C's character set, keywords, basic program structure including header files and library functions, data types, variables, constants, and provides a simple "Hello World" example program.
The document discusses the Intel 8051 microcontroller. It provides an overview of the 8051, including that it is an 8-bit microcontroller developed by Intel in 1981. It describes some key features, such as having 128 bytes of RAM, 4K bytes of ROM, timers, ports, and that it can be programmed using 8051 assembly language. It also provides details on the architecture of the 8051, describing components like the CPU, memory, buses, interrupts, timers/counters, and input/output ports. It includes a diagram of the pinout of the 8051 microcontroller.
The document introduces Arduino pins and their functions. It describes the different types of signals and then discusses the ATmega328p microcontroller used in Arduino boards. It details the various pin types on Arduino boards including power pins, analog input pins, digital I/O pins, Tx/Rx pins for serial communication, and special function pins. The pin functions described include power regulation, analog to digital conversion, digital input/output, serial data transmission/reception, and resetting the microcontroller.
M.TECH IEEE.Technical seminar paper for Vlsi design and embedded systems.Suchitra goudar
The document proposes designs for ternary logic gates based on single power supply voltage for CMOS technology. It describes the design of a simple ternary inverter (STI), negative ternary inverter (NTI), and positive ternary inverter (PTI) using only enhancement-type MOSFETs. Transistor widths and lengths are optimized to achieve the desired voltage transfer characteristics. Basic ternary logic gates including a ternary NAND (TNAND) and ternary NOR (TNOR) are also designed using a similar single-transistor approach. The proposed gate designs aim to reduce transistor count and power consumption compared to prior ternary logic designs.
This document summarizes a seminar presentation on field programmable gate arrays (FPGAs) given by Saransh Choudhary. The presentation covered the introduction, architecture, applications and conclusion of FPGAs. It discussed the components of an FPGA including configurable logic blocks, input/output blocks and programmable interconnects. A case study demonstrated how FPGAs can efficiently implement Monte Carlo option pricing simulations. Applications mentioned included digital signal processing, image processing, radar systems and supercomputers.
This document provides an overview of the Arduino Uno microcontroller board. It defines a microcontroller as a single-chip computer containing a CPU, memory, and input/output interfaces. The Arduino is an open-source electronics platform with easy-to-use hardware and software that allows anyone to develop interactive electronic projects. Key specifications of the Arduino Uno board are provided, including its microcontroller chip, memory, analog and digital pins. The process of analog to digital conversion is explained. Basic Arduino programming concepts like data types, statements, operators, and control structures are covered. The bare minimum code structure of setup() and loop() functions is described.
The document discusses the 8051 microcontroller. It describes the basic components of the 8051 including 4K bytes of internal ROM, 128 bytes of internal RAM, four 8-bit I/O ports, two 16-bit timers/counters, and one serial interface. It provides a block diagram of the 8051 and discusses important pins such as the I/O ports, PSEN, ALE, EA, RXD, TXD, and XTAL1 and XTAL2. It also gives examples of how the 8051 is used in embedded systems and describes methods for connecting an external clock source to the 8051.
This document provides an overview of an Arduino course covering embedded systems and programming. The summary includes:
- The course covers introduction to embedded systems including components, characteristics, and basic structure. It also covers introduction to computer programming concepts for Arduino including variables, operators, control statements, functions, and C language basics.
- The document outlines the Arduino environment including boards, software IDE, sensors, actuators and provides examples of electronic components like LEDs, buttons, and code for digital input/output and serial communication.
- Finally, the course covers creating circuit diagrams and interfacing with common modules like LCD displays, ultrasonic sensors, relays, Bluetooth and DC motors.
The Raspberry Pi is a credit-card sized computer that can connect to keyboards, monitors and TVs to function similarly to a desktop computer. It was developed by the Raspberry Pi Foundation in the UK to inspire teaching of basic computer science in schools and develop interest in programming. While low in cost at $25-35, the Raspberry Pi runs Linux and can be used for a variety of applications including robotics, programming practice and basic computing tasks.
Intro to Arduino class taught by Quin from Qtechknow at the Deezmaker Hackerspace July 2014. Revised from previous slides to include helpful tools, more pictures, and many more projects for the students! Curriculum is for both kids and adults. Feel free to use, share, and remix as part of the Creative Commons Attribution-ShareAlike 4.0 International open source license.
This document provides an overview of an Internet of Things workshop that teaches participants how to connect sensors and actuators to microcontrollers and the internet. The workshop covers getting started with hardware like Arduino boards, measuring sensor values and controlling actuators, connecting devices to the internet using WiFi and Ethernet, and using cloud services like Xively to monitor sensors and control devices remotely. Hands-on activities include blinking an LED, reading a pushbutton switch, and sending sensor data to Xively to be displayed on a data dashboard.
The document provides an introduction to programming with Arduino. It explains that Arduino is an open-source hardware and software platform used to build interactive electronic projects. It consists of a microcontroller board that can be programmed and used to read and control sensors, LEDs, motors and more. The document outlines the basic steps to get started which include downloading the Arduino IDE, installing drivers, selecting the board type, and uploading a test "Blink" program to make an LED turn on and off. It also provides explanations of some core electronic components like resistors, LEDs, sensors and describes how to set up a simple temperature sensing project and store the sensor readings in a database.
This presentation summarizes a summer training on Arduino. It defines Arduino as an open-source hardware and software platform for building electronics projects. It describes the main types of Arduino boards including the Arduino Uno, Mega 2560, Duemilanove, and Fio. It also outlines some key features of the Arduino Uno board. Furthermore, it provides examples of interfacing Arduino with a DC motor and RC car motor. The presentation concludes by listing some common applications of Arduino and its advantages.
The document discusses the Arduino open-source electronics prototyping platform. It describes what Arduino is, its programming environment, advantages, features, applications, and how it compares to other prototyping platforms. Arduino is an affordable and easy to use platform for creating interactive electronic projects through an open-source hardware board and software. It allows users to prototype sensors and control devices through code.
The document provides an overview of the Arduino platform, including what it is, what it is used for, and how to get started using it. Key points:
- Arduino is an open-source hardware and software platform for building interactive electronic projects through a simple programming language.
- It is used for physical computing projects, interactive installations, and rapid prototyping. Projects can include sensors and actuators.
- Getting started requires an Arduino board, USB cable, power supply, and downloading the IDE (integrated development environment) to write and upload code. Basic electrical safety knowledge is also important.
The TMS320C5x DSP architecture is based on the C25 with some enhancements. It uses a Harvard architecture with separate program and data memory buses. The CPU contains a CALU for arithmetic, PLU for logic, and ARAU for address calculations. On-chip memory includes ROM, DARAM, and SARAM. Peripherals include serial ports, timers, interrupts, and I/O. The architecture provides high performance with low power consumption and compatibility with prior C series DSPs.
The document provides an introduction to Arduino and physical computing using microcontrollers. It describes that Arduino boards use ATmega microcontrollers and can be programmed to sense the physical world using sensors, process data, and control physical devices using actuators. The document outlines the basic components of a microcontroller, how the Arduino programming environment works, and the basic structure and functions used in Arduino programs.
The document discusses microcontrollers, including:
- What a microcontroller is, its basic anatomy and how it works to serve as a bridge between the physical and digital worlds.
- The main components of a microcontroller including the CPU, memory, I/O ports, timers, and ADC/DAC.
- Types of microcontrollers such as 8-bit, 16-bit, and 32-bit varieties as well as external vs embedded memory architectures.
- Popular microcontroller families like 8051, PIC, AVR, and ARM.
- Applications of microcontrollers in devices like home appliances, industrial equipment, and computers.
This document provides an introduction to Arduino and robotics. It begins with an overview of Arduino, including the different types of Arduino boards such as the Arduino UNO. It then discusses sensors that can be used with Arduino like light sensors. The document covers Arduino coding concepts such as data types, statements, operators, and control structures. It also introduces robotics, including the components of robots like sensors, controllers, effectors, and actuators. Examples of different actuator types are given. Finally, the document briefly discusses the scope of the robotic industry in Bangladesh and provides some resource links.
The document provides an overview of the C programming language. It discusses that C was developed at Bell Labs in the 1970s and is a general purpose language closely associated with UNIX. It then covers C's character set, keywords, basic program structure including header files and library functions, data types, variables, constants, and provides a simple "Hello World" example program.
The document discusses the Intel 8051 microcontroller. It provides an overview of the 8051, including that it is an 8-bit microcontroller developed by Intel in 1981. It describes some key features, such as having 128 bytes of RAM, 4K bytes of ROM, timers, ports, and that it can be programmed using 8051 assembly language. It also provides details on the architecture of the 8051, describing components like the CPU, memory, buses, interrupts, timers/counters, and input/output ports. It includes a diagram of the pinout of the 8051 microcontroller.
The document introduces Arduino pins and their functions. It describes the different types of signals and then discusses the ATmega328p microcontroller used in Arduino boards. It details the various pin types on Arduino boards including power pins, analog input pins, digital I/O pins, Tx/Rx pins for serial communication, and special function pins. The pin functions described include power regulation, analog to digital conversion, digital input/output, serial data transmission/reception, and resetting the microcontroller.
M.TECH IEEE.Technical seminar paper for Vlsi design and embedded systems.Suchitra goudar
The document proposes designs for ternary logic gates based on single power supply voltage for CMOS technology. It describes the design of a simple ternary inverter (STI), negative ternary inverter (NTI), and positive ternary inverter (PTI) using only enhancement-type MOSFETs. Transistor widths and lengths are optimized to achieve the desired voltage transfer characteristics. Basic ternary logic gates including a ternary NAND (TNAND) and ternary NOR (TNOR) are also designed using a similar single-transistor approach. The proposed gate designs aim to reduce transistor count and power consumption compared to prior ternary logic designs.
This document summarizes a seminar presentation on field programmable gate arrays (FPGAs) given by Saransh Choudhary. The presentation covered the introduction, architecture, applications and conclusion of FPGAs. It discussed the components of an FPGA including configurable logic blocks, input/output blocks and programmable interconnects. A case study demonstrated how FPGAs can efficiently implement Monte Carlo option pricing simulations. Applications mentioned included digital signal processing, image processing, radar systems and supercomputers.
This document provides an overview of the Arduino Uno microcontroller board. It defines a microcontroller as a single-chip computer containing a CPU, memory, and input/output interfaces. The Arduino is an open-source electronics platform with easy-to-use hardware and software that allows anyone to develop interactive electronic projects. Key specifications of the Arduino Uno board are provided, including its microcontroller chip, memory, analog and digital pins. The process of analog to digital conversion is explained. Basic Arduino programming concepts like data types, statements, operators, and control structures are covered. The bare minimum code structure of setup() and loop() functions is described.
The document discusses the 8051 microcontroller. It describes the basic components of the 8051 including 4K bytes of internal ROM, 128 bytes of internal RAM, four 8-bit I/O ports, two 16-bit timers/counters, and one serial interface. It provides a block diagram of the 8051 and discusses important pins such as the I/O ports, PSEN, ALE, EA, RXD, TXD, and XTAL1 and XTAL2. It also gives examples of how the 8051 is used in embedded systems and describes methods for connecting an external clock source to the 8051.
This document provides an overview of an Arduino course covering embedded systems and programming. The summary includes:
- The course covers introduction to embedded systems including components, characteristics, and basic structure. It also covers introduction to computer programming concepts for Arduino including variables, operators, control statements, functions, and C language basics.
- The document outlines the Arduino environment including boards, software IDE, sensors, actuators and provides examples of electronic components like LEDs, buttons, and code for digital input/output and serial communication.
- Finally, the course covers creating circuit diagrams and interfacing with common modules like LCD displays, ultrasonic sensors, relays, Bluetooth and DC motors.
The Raspberry Pi is a credit-card sized computer that can connect to keyboards, monitors and TVs to function similarly to a desktop computer. It was developed by the Raspberry Pi Foundation in the UK to inspire teaching of basic computer science in schools and develop interest in programming. While low in cost at $25-35, the Raspberry Pi runs Linux and can be used for a variety of applications including robotics, programming practice and basic computing tasks.
Intro to Arduino class taught by Quin from Qtechknow at the Deezmaker Hackerspace July 2014. Revised from previous slides to include helpful tools, more pictures, and many more projects for the students! Curriculum is for both kids and adults. Feel free to use, share, and remix as part of the Creative Commons Attribution-ShareAlike 4.0 International open source license.
This document provides an introduction to line follower competitions using Arduino microcontrollers. It discusses what a microcontroller is and types of Arduino boards. The coding structure is explained, covering data types, functions, control statements and loop statements. A workshop section describes how to control a DC motor using Arduino to rotate clockwise for 2 seconds and counter-clockwise for 5 seconds in an infinite loop.
Introduction to Arduino @ Open Tech School - Berlin (6 Dec 2012)Alessandro Contini
A 15 mins introduction to the most popular electronic prototyping platform, Arduino!
The talk took place at Beginners Meetup #5 (http://www.meetup.com/opentechschool-berlin/events/93018322/) by Open Tech School Berlin on 6 Dec 2012
# An introduction to Arduino: the 5 Ws + 1 – Alessandro Contini
We will try to answer to the following questions: What is it? Who did that? When? Where? Why is it like that? …and, What can I do with it?
In a time when everyone is talking about makers, digital fabrication, 3D printing, laser cutting, DIY and so on, let's go back and see where everything began. Ok, not EVERYTHING actually, but let's say where everything took a big step forward. We'll also have a hands-on demo that you can't miss, so – less talk, more rock!
El documento describe la plataforma Arduino, incluyendo qué es Arduino, sus características, ejemplos de tarjetas como la Arduino Uno, formas de prototipado, programación básica y ejemplos de código para controlar LEDs y lectura de sensores.
Arduino is an open-source hardware board used for prototyping with microcontrollers. It contains an Atmel microcontroller and can be programmed using the Arduino IDE sketch program to connect sensors and devices to the microcontroller. Arduino boards are inexpensive, easy to use, and teach microcontroller concepts through practical examples. They are commonly used in DIY projects, industrial automation, robotics, and IoT applications.
El documento trata sobre la asignatura Didáctica de la Educación Física y el Deporte. Se explica que la materia estudia las relaciones entre profesor y alumno en el proceso de enseñanza y aprendizaje relacionado con el movimiento y desarrollo humano. También se detallan los objetivos, contenidos y metodología de la asignatura, incluyendo definiciones clave de didáctica y sus principios.
Este documento presenta 14 prácticas introductorias con Arduino para el control de entradas y salidas digitales y analógicas. Las prácticas incluyen el encendido intermitente y secuencial de LEDs, la lectura de pulsadores, contadores de eventos y el control de motores. Se explican conceptos básicos como la configuración de pines como entrada o salida y el uso de instrucciones como digitalWrite(), digitalRead() y delay(). El documento también incluye esquemas de montaje y código de ejemplo para cada práctica.
In this presentation, Interfacing Bluetooth(HC-05) with Arduino is explained with some AT commands to configure and initialize the Bluetooth module(HC-05).
Code for Arduino:
#include <SoftwareSerial.h>
SoftwareSerial mySerial(10, 11); // RX, TX
void setup()
{
Serial.begin(9600);
pinMode(9,OUTPUT); digitalWrite(9,HIGH);
Serial.println("Enter AT commands:");
mySerial.begin(38400);
}
void loop()
{
if (mySerial.available())
Serial.write(mySerial.read());
if (Serial.available())
mySerial.write(Serial.read());
}
TEEM'16 - Track 1 Computational thinking in pre-university education
Authors: Pablo Martin-Ramos; Maria João Lopes; M. Margarida Lima Da Silva; Manuela Ramos Silva
https://youtu.be/mVK10HOMmg4
The document provides an introduction to Arduino, including what Arduino is, its hardware features, the Arduino IDE for programming, and examples of basic blink programs. It discusses the Arduino community and variants, and describes shields and sensors that can be used with Arduino. Finally, it outlines several applications of Arduino like weather stations, robots, 3D printers, and more.
A summary of my work on an Android controller for specially programmed Arduino boards. It walks through the resources, methods, and trade-offs of the process.
This document provides an introduction to Arduino and Arduino programming language. It defines Arduino as an open-source prototyping platform based on microcontrollers and an easy-to-use IDE. Key aspects covered include how to set up the Arduino environment, select a board and port, and understand the basic structure of an Arduino program using setup() and loop() functions. Examples demonstrated include blinking an LED, reading serial data, and creating infinite loops. The document aims to explain the basics of Arduino for beginners.
Android Control Hardware and Arduino IoT ( 22 Aug 15 )Adun Nanthakaew
Internet of Things Presentation
ในการ อบรม Android Control Hardware and Arduino IoT
http://softpowergroup.net/%E0%B8%AA%E0%B8%AD%E0%B8%99-arduino/
Este documento contiene 13 prácticas realizadas con Arduino para encender y apagar LEDs. En cada práctica se modifican los tiempos de encendido y apagado de los LEDs o el número de veces que se encienden, con el objetivo de practicar el uso de funciones como digitalWrite y delay. La práctica final involucra el encendido secuencial de 5 LEDs de izquierda a derecha.
Este documento proporciona una introducción general a Arduino. Explica brevemente la historia de Arduino, los diferentes modelos de placas, cómo instalar el IDE de Arduino, ejemplos básicos de hardware y software, y varios proyectos como un termómetro digital y un comparador luminoso. También cubre conceptos como entradas y salidas digitales y analógicas, sensores comunes, y formas de reciclar hardware electrónico. El objetivo es servir como una guía práctica para aprender los fundamentos de Arduino para proyectos de robótica
18/03/2010 - FTS seminar series @ Cardiff Univesity, Computer Science. Pete Woznowski and Rich Coombs one hour presentation on Arduino. Some info on Arduino and the talk: Arduino is a hardware and software platform for developing electronic devices and applications, aimed at being fun and accessible to everyone. Think Lego Mindstorms, but aimed intentionally at adults (rather than aimed at children and incidentally used by adults :)). The scope and potential for Arduino is huge. It has been used to develop simple applications like pedometers and networked environmental sensors, to art exhibits and remote controlled vehicles. The talk aims to give an overview of the Arduino platform and a brief introduction to designing and programming Arduino applications, along with some demonstrations.
This document provides an overview and summary of an introductory Arduino workshop that teaches the basics of Arduino in 7 hours. The workshop covers getting started with Arduino software and components, electrical concepts like Ohm's Law, programming, serial communication, and virtual prototyping. Key topics include an introduction to the Arduino board, Fritzing software for circuit design, different sensors and components, the differences between analog and digital signals, and using Arduino pins for input and output.
1. The document outlines the schedule and topics for a two-day workshop on urban sensing and physical computing using Arduino.
2. Day 1 covers getting started with physical computing, an overview of the Arduino board, basic electronics, and an introductory activity.
3. Day 2 focuses on analogue sensors, sharing sensor data, and a project activity where participants work on their own projects and present them.
4. The workshop teaches participants how to connect sensors to Arduino boards and read sensor data to turn the physical world into digital data.
This document provides an overview and introduction to using Arduino boards for physical computing projects. It discusses installing the Arduino software, understanding analog and digital signals, basic programming concepts like inputs, outputs, and conditional statements. It also covers a sample "Blink" project to get started using Arduino boards and programming the onboard LED and buttons.
The document provides an overview of Arduino sketch basics including comments, variables, functions, and common functions like pinMode(), digitalWrite(), and delay(). It describes how sketches use special setup() and loop() functions. It also gives examples of blinking an LED using these functions and techniques. Finally, it provides a problem to write a sketch that blinks an LED in Morse code for SOS using dot() and dash() functions.
This document provides an overview and schedule for a two-day workshop on creating audible objects using Arduino. Day 1 focuses on theory, including Arduino and sensor basics, analog vs. digital signals, event detection, programming, and MIDI. Day 2 involves practical applications, such as hooking up sensors and MIDI and integrating everything. The document also introduces the workshop leader and provides background on Arduino, sensors, programming, MIDI, and ideas for projects.
This document provides an overview of microcontrollers and the Arduino platform. It discusses what a microcontroller is and some common types. It then introduces Arduino as an open-source prototyping platform using easy hardware and software. Several Arduino boards are described and the ATmega328p microcontroller chip is specified. The document outlines how to download the Arduino software and write programs. It provides examples of basic Arduino projects like blinking LEDs, reading sensors, and creating sounds.
02 Sensors and Actuators Understand .pdfengsharaf2025
Sensors and Actuator
Understand networking theories and concepts, such as OSI model, TCP/IP protocols, and subnetting
Build logical and abstract thinking
arduino Simon power point presentation.pptJuniorAsong
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. You can tell your board what to do by sending a set of instructions to the microcontroller on the board. To do so you use the Arduino programming language (based on Wiring), and the Arduino Software (IDE), based on Processing.
Over the years Arduino has been the brain of thousands of projects, from everyday objects to complex scientific instruments. A worldwide community of makers - students, hobbyists, artists, programmers, and professionals - has gathered around this open-source platform, their contributions have added up to an incredible amount of accessible knowledge that can be of great help to novices and experts alike.
Arduino was born at the Ivrea Interaction Design Institute as an easy tool for fast prototyping, aimed at students without a background in electronics and programming. As soon as it reached a wider community, the Arduino board started changing to adapt to new needs and challenges, differentiating its offer from simple 8-bit boards to products for IoT applications, wearable, 3D printing, and embedded environments.
Why Arduino?
Thanks to its simple and accessible user experience, Arduino has been used in thousands of different projects and applications. The Arduino software is easy-to-use for beginners, yet flexible enough for advanced users. It runs on Mac, Windows, and Linux. Teachers and students use it to build low cost scientific instruments, to prove chemistry and physics principles, or to get started with programming and robotics. Designers and architects build interactive prototypes, musicians and artists use it for installations and to experiment with new musical instruments. Makers, of course, use it to build many of the projects exhibited at the Maker Faire, for example. Arduino is a key tool to learn new things. Anyone - children, hobbyists, artists, programmers - can start tinkering just following the step by step instructions of a kit, or sharing ideas online with other members of the Arduino community.
There are many other microcontrollers and microcontroller platforms available for physical computing. Parallax Basic Stamp, Netmedia's BX-24, Phidgets, MIT's Handyboard, and many others offer similar functionality. All of these tools take the messy details of microcontroller programming and wrap it up in an easy-to-use package. Arduino also simplifies the process of working with microcontrollers, but it offers some advantage for teachers, students, and interested amateurs over other systems:
Inexpensive - Arduino boards are relatively inexpensive compared to other microcontroller platforms. The language can be expanded through C++ libraries, and people wanting to understand the technical details.
This document provides an overview of Arduino programming concepts including:
- Microcontrollers contain a CPU, memory, input/output pins and other peripherals on a single integrated circuit.
- Arduino is an open-source electronics platform with a microcontroller, pins to connect circuits, and software to program it.
- The core Arduino functions include setup(), loop(), pinMode(), digitalWrite(), digitalRead(), analogWrite(), analogRead(), and delay().
- Examples demonstrate blinking LEDs, reading input, using conditions and loops, arrays, LCD displays, and controlling servo motors.
- Arduino programming provides an accessible way to learn embedded systems and interact with circuits.
02 General Purpose Input - Output on the ArduinoWingston
Digital signals can represent information and are used to transfer data and control systems. They take on discrete voltage levels representing 1s and 0s. Microcontrollers like the Arduino use ports and pins that can be configured as inputs or outputs to send and receive these digital signals. Inputs like switches can be read to control outputs like LEDs. Interrupts allow the microcontroller to respond to external events without constantly checking. Serial communication allows the Arduino to transfer data to other devices like a computer by encoding data as a stream of 1s and 0s sent through transmit and receive pins.
This document provides an overview and introduction to programming the Simon Says toy with an Arduino board. It discusses installing the Arduino software, basic sketches like Blink, using variables, if statements, analog sensors, and making sound. It demonstrates how to program inputs and outputs, read button presses, and use conditional statements. The document includes code examples for blinking LEDs, reading sensors, and playing tones on a buzzer to recreate the Simon game with custom functions.
This document provides an overview and introduction to programming the Simon Says toy with an Arduino board. It discusses installing the Arduino software, basic sketches like Blink, using variables, if statements, analog sensors, and making sound. It demonstrates how to program inputs and outputs, read button presses, and use conditional statements. The document includes code examples for blinking LEDs, reading sensors, and playing tones on a buzzer to recreate the Simon game with custom functions.
This document provides an overview and introduction to programming the Simon Says toy with an Arduino board. It discusses installing the Arduino software, basic sketches like Blink, using variables, if statements, analog sensors, and making sound. It demonstrates how to program inputs and outputs, read button presses, and use conditional statements. The document includes code examples for blinking LEDs, reading sensors, and playing tones on a buzzer to recreate the Simon game with custom functions.
This document provides an introduction to Arduino microcontrollers and programming. It discusses physical computing using sensors and actuators, microcontroller architectures and components. It then introduces the Arduino development board as an open source and easy to use platform for physical computing. The document explains the Arduino IDE, programming structure, data types, functions, and basic programming concepts like digital and analog I/O.
This document provides an overview of how to use Arduino microcontrollers for beginners. It explains what Arduino is, the basic components and programming structure used in Arduino, and how to get started with coding and hardware setup. The key aspects covered include computers and programming languages, microcontrollers and their applications, Arduino development boards, initial setup steps, basics of Arduino coding like initialization, setup, loop, and user defined functions. It also discusses analog and digital signals, serial communication, and tips for wiring and coding Arduino projects.
This document provides an overview of examples and tutorials available for the Arduino platform. It begins with basic digital input/output and analog input examples. It then covers more complex sensors, sound, and interfacing with other hardware and software. Links are provided to additional Arduino resources including books, community documentation, and example labs from other sources.
The document provides an introduction to Arduino, including its history and capabilities. It was created in 2005 in Italy as an open-source hardware platform to make electronics more accessible to students and hobbyists. The Arduino board can read analog and digital input and output signals. It connects to a computer via USB and is programmed using the Arduino IDE. Common commands like digitalWrite(), analogWrite(), and pinMode() are used to control inputs, outputs, and PWM signals. The document includes examples of blinking LEDs, fading LEDs, and reading analog sensor values.
This document provides an introduction to using the Arduino microcontroller. It covers connecting an Arduino board, an overview of the Arduino IDE, and introductions to digital and analog input/output and serial communication. Key topics include using pinMode(), digitalRead(), digitalWrite() to control digital pins, analogRead() to read analog sensor values, analogWrite() for pulse-width modulation to simulate analog outputs, and serial communication functions like Serial.begin(), Serial.print(), Serial.read() to send data to and from the Arduino board. Hands-on exercises are provided to have students experiment with these concepts by controlling an LED with a button, reading analog sensor values, and controlling an LED via serial input.
Introducing the OSA 3200 SP and OSA 3250 ePRCAdtran
Adtran's latest Oscilloquartz solutions make optical pumping cesium timing more accessible than ever. Discover how the new OSA 3200 SP and OSA 3250 ePRC deliver superior stability, simplified deployment and lower total cost of ownership. Built on a shared platform and engineered for scalable, future-ready networks, these models are ideal for telecom, defense, metrology and more.
Multistream in SIP and NoSIP @ OpenSIPS Summit 2025Lorenzo Miniero
Slides for my "Multistream support in the Janus SIP and NoSIP plugins" presentation at the OpenSIPS Summit 2025 event.
They describe my efforts refactoring the Janus SIP and NoSIP plugins to allow for the gatewaying of an arbitrary number of audio/video streams per call (thus breaking the current 1-audio/1-video limitation), plus some additional considerations on what this could mean when dealing with application protocols negotiated via SIP as well.
Nix(OS) for Python Developers - PyCon 25 (Bologna, Italia)Peter Bittner
How do you onboard new colleagues in 2025? How long does it take? Would you love a standardized setup under version control that everyone can customize for themselves? A stable desktop setup, reinstalled in just minutes. It can be done.
This talk was given in Italian, 29 May 2025, at PyCon 25, Bologna, Italy. All slides are provided in English.
Original slides at https://slides.com/bittner/pycon25-nixos-for-python-developers
Protecting Your Sensitive Data with Microsoft Purview - IRMS 2025Nikki Chapple
Session | Protecting Your Sensitive Data with Microsoft Purview: Practical Information Protection and DLP Strategies
Presenter | Nikki Chapple (MVP| Principal Cloud Architect CloudWay) & Ryan John Murphy (Microsoft)
Event | IRMS Conference 2025
Format | Birmingham UK
Date | 18-20 May 2025
In this closing keynote session from the IRMS Conference 2025, Nikki Chapple and Ryan John Murphy deliver a compelling and practical guide to data protection, compliance, and information governance using Microsoft Purview. As organizations generate over 2 billion pieces of content daily in Microsoft 365, the need for robust data classification, sensitivity labeling, and Data Loss Prevention (DLP) has never been more urgent.
This session addresses the growing challenge of managing unstructured data, with 73% of sensitive content remaining undiscovered and unclassified. Using a mountaineering metaphor, the speakers introduce the “Secure by Default” blueprint—a four-phase maturity model designed to help organizations scale their data security journey with confidence, clarity, and control.
🔐 Key Topics and Microsoft 365 Security Features Covered:
Microsoft Purview Information Protection and DLP
Sensitivity labels, auto-labeling, and adaptive protection
Data discovery, classification, and content labeling
DLP for both labeled and unlabeled content
SharePoint Advanced Management for workspace governance
Microsoft 365 compliance center best practices
Real-world case study: reducing 42 sensitivity labels to 4 parent labels
Empowering users through training, change management, and adoption strategies
🧭 The Secure by Default Path – Microsoft Purview Maturity Model:
Foundational – Apply default sensitivity labels at content creation; train users to manage exceptions; implement DLP for labeled content.
Managed – Focus on crown jewel data; use client-side auto-labeling; apply DLP to unlabeled content; enable adaptive protection.
Optimized – Auto-label historical content; simulate and test policies; use advanced classifiers to identify sensitive data at scale.
Strategic – Conduct operational reviews; identify new labeling scenarios; implement workspace governance using SharePoint Advanced Management.
🎒 Top Takeaways for Information Management Professionals:
Start secure. Stay protected. Expand with purpose.
Simplify your sensitivity label taxonomy for better adoption.
Train your users—they are your first line of defense.
Don’t wait for perfection—start small and iterate fast.
Align your data protection strategy with business goals and regulatory requirements.
💡 Who Should Watch This Presentation?
This session is ideal for compliance officers, IT administrators, records managers, data protection officers (DPOs), security architects, and Microsoft 365 governance leads. Whether you're in the public sector, financial services, healthcare, or education.
🔗 Read the blog: https://nikkichapple.com/irms-conference-2025/
Contributing to WordPress With & Without Code.pptxPatrick Lumumba
Contributing to WordPress: Making an Impact on the Test Team—With or Without Coding Skills
WordPress survives on collaboration, and the Test Team plays a very important role in ensuring the CMS is stable, user-friendly, and accessible to everyone.
This talk aims to deconstruct the myth that one has to be a developer to contribute to WordPress. In this session, I will share with the audience how to get involved with the WordPress Team, whether a coder or not.
We’ll explore practical ways to contribute, from testing new features, and patches, to reporting bugs. By the end of this talk, the audience will have the tools and confidence to make a meaningful impact on WordPress—no matter the skill set.
As data privacy regulations become more pervasive across the globe and organizations increasingly handle and transfer (including across borders) meaningful volumes of personal and confidential information, the need for robust contracts to be in place is more important than ever.
This webinar will provide a deep dive into privacy contracting, covering essential terms and concepts, negotiation strategies, and key practices for managing data privacy risks.
Whether you're in legal, privacy, security, compliance, GRC, procurement, or otherwise, this session will include actionable insights and practical strategies to help you enhance your agreements, reduce risk, and enable your business to move fast while protecting itself.
This webinar will review key aspects and considerations in privacy contracting, including:
- Data processing addenda, cross-border transfer terms including EU Model Clauses/Standard Contractual Clauses, etc.
- Certain legally-required provisions (as well as how to ensure compliance with those provisions)
- Negotiation tactics and common issues
- Recent lessons from recent regulatory actions and disputes
Neural representations have shown the potential to accelerate ray casting in a conventional ray-tracing-based rendering pipeline. We introduce a novel approach called Locally-Subdivided Neural Intersection Function (LSNIF) that replaces bottom-level BVHs used as traditional geometric representations with a neural network. Our method introduces a sparse hash grid encoding scheme incorporating geometry voxelization, a scene-agnostic training data collection, and a tailored loss function. It enables the network to output not only visibility but also hit-point information and material indices. LSNIF can be trained offline for a single object, allowing us to use LSNIF as a replacement for its corresponding BVH. With these designs, the network can handle hit-point queries from any arbitrary viewpoint, supporting all types of rays in the rendering pipeline. We demonstrate that LSNIF can render a variety of scenes, including real-world scenes designed for other path tracers, while achieving a memory footprint reduction of up to 106.2x compared to a compressed BVH.
https://arxiv.org/abs/2504.21627
GDG Cloud Southlake #43: Tommy Todd: The Quantum Apocalypse: A Looming Threat...James Anderson
The Quantum Apocalypse: A Looming Threat & The Need for Post-Quantum Encryption
We explore the imminent risks posed by quantum computing to modern encryption standards and the urgent need for post-quantum cryptography (PQC).
Bio: With 30 years in cybersecurity, including as a CISO, Tommy is a strategic leader driving security transformation, risk management, and program maturity. He has led high-performing teams, shaped industry policies, and advised organizations on complex cyber, compliance, and data protection challenges.
Create Your First AI Agent with UiPath Agent BuilderDianaGray10
Join us for an exciting virtual event where you'll learn how to create your first AI Agent using UiPath Agent Builder. This session will cover everything you need to know about what an agent is and how easy it is to create one using the powerful AI-driven UiPath platform. You'll also discover the steps to successfully publish your AI agent. This is a wonderful opportunity for beginners and enthusiasts to gain hands-on insights and kickstart their journey in AI-powered automation.
Securiport is a border security systems provider with a progressive team approach to its task. The company acknowledges the importance of specialized skills in creating the latest in innovative security tech. The company has offices throughout the world to serve clients, and its employees speak more than twenty languages at the Washington D.C. headquarters alone.
ELNL2025 - Unlocking the Power of Sensitivity Labels - A Comprehensive Guide....Jasper Oosterveld
Sensitivity labels, powered by Microsoft Purview Information Protection, serve as the foundation for classifying and protecting your sensitive data within Microsoft 365. Their importance extends beyond classification and play a crucial role in enforcing governance policies across your Microsoft 365 environment. Join me, a Data Security Consultant and Microsoft MVP, as I share practical tips and tricks to get the full potential of sensitivity labels. I discuss sensitive information types, automatic labeling, and seamless integration with Data Loss Prevention, Teams Premium, and Microsoft 365 Copilot.
Jira Administration Training – Day 1 : IntroductionRavi Teja
This presentation covers the basics of Jira for beginners. Learn how Jira works, its key features, project types, issue types, and user roles. Perfect for anyone new to Jira or preparing for Jira Admin roles.
nnual (33 years) study of the Israeli Enterprise / public IT market. Covering sections on Israeli Economy, IT trends 2026-28, several surveys (AI, CDOs, OCIO, CTO, staffing cyber, operations and infra) plus rankings of 760 vendors on 160 markets (market sizes and trends) and comparison of products according to support and market penetration.
Agentic AI - The New Era of IntelligenceMuzammil Shah
This presentation is specifically designed to introduce final-year university students to the foundational principles of Agentic Artificial Intelligence (AI). It aims to provide a clear understanding of how Agentic AI systems function, their key components, and the underlying technologies that empower them. By exploring real-world applications and emerging trends, the session will equip students with essential knowledge to engage with this rapidly evolving area of AI, preparing them for further study or professional work in the field.
Supercharge Your AI Development with Local LLMsFrancesco Corti
In today's AI development landscape, developers face significant challenges when building applications that leverage powerful large language models (LLMs) through SaaS platforms like ChatGPT, Gemini, and others. While these services offer impressive capabilities, they come with substantial costs that can quickly escalate especially during the development lifecycle. Additionally, the inherent latency of web-based APIs creates frustrating bottlenecks during the critical testing and iteration phases of development, slowing down innovation and frustrating developers.
This talk will introduce the transformative approach of integrating local LLMs directly into their development environments. By bringing these models closer to where the code lives, developers can dramatically accelerate development lifecycles while maintaining complete control over model selection and configuration. This methodology effectively reduces costs to zero by eliminating dependency on pay-per-use SaaS services, while opening new possibilities for comprehensive integration testing, rapid prototyping, and specialized use cases.
End-to-end Assurance for SD-WAN & SASE with ThousandEyesThousandEyes
Intro to Arduino
1. Intro to Arduino
Class
Intro to Arduino
Held at CRASHspace
Taught by Quin
8/11/12
2. Thank you to SparkFun for
sharing the original
presentation!
3. Schedule
• Getting started with Arduino and electronics
• Project 1 & 2
• Break
• Project 3, 4, & 5
• Explaining More Code
• Q&A + Project Time
4. Arduino Board
“Strong Friend” Created in Ivrea, Italy
in 2005 by Massimo Banzi & David Cuartielles
Open Source Hardware
Atmel Processor
Coding is accessible (C++, Processing)
5. Why do I want an Arduino?
Arduino is a 8-bit prototyping system
that is easy for the modern developer,
designer, hacker, kid, or someone that
has no experience in this type of genre
to use.
But why is important to all of us?
9. Components
Name Image
Type
Function Notes
Digital Input Closes or Polarized,
Button opens circuit needs resistor
Analog Input Variable
Trimpot resistor
LDR Analog Input Variable Also known as
resistor photoresistor
Temp Analog Input Variable
resistor
Sensor
Flex Sensor Analog Input Variable
resistor
Dig. &
16,777,216 Ooh... So
RGB LED Analog
Output
different pretty.
colors
10. Polarity
Polarity is when there are two or more
different sides (or leads) of a
component that have different
qualities that can not be reversed.
Examples: batteries, LEDs, buttons
11. Power (+5V) and Ground
(GND)
Power is the current that goes through
the circuit, and ground is the current
return path (collector)
Always make sure that Power and
Ground never touch directly, or the
circuit will short.
Make sure to not use over 10V, just
5V, and 3.3V, so no shock will occur.
12. What’s a Breadboard?
One of the most useful tools in an engineer or
Maker’s toolkit. The four most important things
to remember:
• Breadboard is very easy to prototype with
• A breadboard is easier than soldering
• A lot of those little holes are connected, which
ones?
• Breadboards can break
14. Analog and Digital
• All Arduino signals are either Analog or
Digital
• All computers including Arduino, only
understand Digital
• It is important to understand the
difference between Analog and Digital
signals since Analog signals require an
Analog to Digital conversion
15. Analog to Digital Conversion
An ADC is a device that samples a
continuous quantity of digital signals,
compares it to discrete time, then
outputs an analog signal.
The ADC (analog) compatible pins on
the Arduino are A0, A1, A2, A3, A4,
and A5
16. I/O, or Input/Output
Input is any signal entering an
electrical system.
Output is any signal exiting an
electrical system.
17. Output
Output is any signal exiting an electrical system
• Almost all systems that use physical computing
will have some form of output
• Outputs include LEDs, a motor, a piezo buzzer,
and an RGB LED
18. Output
Output is always Digital
To Output a Digital signal (On or Off) use this
code:
digitalWrite (pinNumber, value);
Where value is HIGH (on) or LOW (off), both in
caps
To output a signal that pretends to be Analog, use
this code:
analogWrite (pinNumber, value);
Where value is a number 0 - 255
19. Output
To output a signal that pretends to be
analog (anywhere in between on and
off), you will have to use a PWM pin.
All PWM pins on the Arduino are
market with a “~” on the digital side.
20. Output
Output is always Digital
Using a Digital signal that pretends to be an
Analog signal is called Pulse Width Modulation
Use Pulse Width Modulation, or P.W.M., for
anything that requires a signal between HIGH and
LOW (1-254, with 0 being off and 255 being on)
P.W.M. is available on Arduino Leonardo digital
pins 3, 5, 6, 9, 10, 11, and 13
21. Installing Drivers for Mac
The first time you plug a Leonardo into a Mac, the
"Keyboard Setup Assistant" will launch. There's
nothing to configure with the Leonardo, so you can
close this dialogue by clicking the red button in the
top left of the window.
22. Installing Drivers for Windows
This method has been tested on Windows XP and 7:
• Plug in your board and wait for Windows to begin
its driver installation process. If the installer does
not launch automatically, Navigate to the
Windows Device Manager (Start>Control
Panel>Hardware) and find the Arduino Leonardo
listing. Right click and choose Update driver.
• If prompted to search for drivers online, choose
"No, not this time". And click Next
24. Installing Drivers for Windows
• When asked to install automatically or from a
specific location, select "Install from a list or
specific location" and press Next
25. Installing Drivers for Windows
• Choose "Search for the best driver in these
locations", and check the box "incude this
location in the search". Click the Browse button
and navigate to your Arduino 1.0.1 or later
installation. Select the drivers folder an click OK
27. Installing Drivers for Windows
Click Next. You will receive a notification that the
Leonardo has not passed Windows Logo testing.
Click on the button Continue Anyway
28. Installing Drivers for Windows
• After a few moments, a window will tell you the
wizard has finished installing software for
Arduino Leonardo. Press the Finish button
(from arduino.cc)
38. Why do I make a comment?
• Comments are great ways to
remind you what you did,
teach other people what that
code means, or to make a
long description for your
whole piece of code for
licenses, date, and author
39. Comments
• Comments are ignored by
the compiler
• Comments can be anywhere
• Comments can start with
a // for a one-line comment
• Another type of comment is
multiple lines and starts with
a /* and ends with a */
41. Output
Output is always Digital, even when it’s P.W.M.
For P.W.M. the Arduino pin turns on, then off very fast
P.W.M. Signal @ 25%
P.W.M. Signal @ 75%
P.W.M. Signal
rising
42. Input
Input is any signal entering an electrical system
•Both digital and analog sensors are forms of input
•Input can also take many other forms: Keyboards,
a mouse, buttons, light sensors, or just plain
voltage from a circuit
43. Analog Input
• To connect an analog Input to your Arduino, use
Analog Pins # 0 - 5
• To get an analog reading:
analogRead (pinNumber);
• Analog Input varies from 0 to 1023 on an
Arduino
48. Digital Sensors/Digital Input
• Digital Input could be a switch or a button
• To connect digital input to your Arduino use
Digital Pins # 0 – 13 (Although pins # 0 & 1 are
also used for serial)
• Digital Input needs a pinMode command (in
setup):
pinMode ( pinNumber, INPUT );
Make sure to use caps for INPUT
• To get a digital reading: digitalRead
( pinNumber );
49. Digital Sensors/Digital Input
• Digital sensors are more straight forward than
Analog
• No matter what the sensor, there are only two
settings: On and Off (for buttons, pressed, or
not)
• Signal is always either HIGH (On) or LOW (Off)
• Voltage signal for HIGH will be a little less than
5V on your Leonardo
• Voltage signal for LOW will be 0V on most
systems
50. Parts for Circuit 3:
Arduino Leonardo
Breadboard
Pushbutton (2)
LED (2)
Resistor - 10K Ohm (2)
Resistor - 330 Ohm (2)
Jumper Wire
69. Common Functions
pinMode(pin, kind); (declares pins)
analogRead(pin); (reads an analog pin)
digitalWrite(pin, state); (tells a pin to
turn on (5V), or turn off (0V)
if() {} (tells something to do a function,
when something else happens
for() {} (tells something to do a function
over and over)
70. Setup
void setup ( ) {
Inputs & Outputs are declared in
setup, this is done by using the
pinMode function
This particular example declares digital pin # 13
as an output, remember to use CAPS
#33: Click on Find Arduino...\nNow, plug the USB cable into the Arduino, then into your computer.\nThe correct Serial/COM port should appear. \nRemember this port name.\nPress OK, and you should be done.\n\nFor Macs, this should be something like /dev/tty.usbserialft/\nFor Windows, this should be something above COM 3. COM 1 and 2 are usually reserved for Windows hardware ports.\n
#46: To get the code, go into the folder that you just downloaded, open the ArduSensorPotRead folder, and double click on the file named ArduSensorPotRead.ino.\n
#47: Once opening the Serial Monitor (pressing the magnifying glass in the upper right hand corner), you will see that there will be a constant value between 1 and 1000. Now tell them about how to turn it. Once code has been explained, have them change the 1000 to 100 or 10 or 5 or something.\n
#52: To get this code, go into the previous folder that we downloaded, open up the DigitalinputEx folder, and double click on DigitalinputEx.ino. Write connections on whiteboard.\n
#53: When you press one of the buttons, it will light one of the LEDs. When you press the other button, it will light the other LED.\n
#67: Just plug in your ArduSensor Pot like you did before. This is the same circuit as #2, but a different sketch has been written for a different project.\n
#68: This will make the built in LED blink at a certain rate depending on how much you turn the potentiometer.\n
#76: Else means that if the if doesn&#x2019;t run (basically the if isn&#x2019;t true), the next function will work. This means that at least one piece of the code will run all of the time.\n
#77: If this is zero, and this is ten, this piece of code will run 10 times before moving on to the rest of the code.\n