Arduino Workshop Day 1 Slides
Basics of Arduino - Introduction, Basics of Circuits, Signals & Electronics, LED Interfacing, Switch, Buzzer, LCD & Bluetooth Communication.
Arduino for beginners- Introduction to Arduino (presentation) - codewithgauriGaurav Pandey
Arduino for beginners- Introduction to Arduino presentation
Learn Arduino basics in easy steps. Arduino for beginners course series.Arduino is an open-source platform used for building electronics projects. All Arduino boards have a microcontroller.
A microcontroller is basically a really small computer.
Arduino is the popular open-source electronics prototyping platform based on easy-to-use hardware and software. It's intended for artists, designers, hobbyists, and anyone interested in creating interactive objects or environments and is designed to be as flexible as possible to fit your project's needs.
Arduino Workshop Day 2 - Advance Arduino & DIYVishnu
Arduino Workshop Day 2 - IR, Ultrasonic & Temperature - Humidity Sensor Interfacing & Do It Yourself - Line Follower, Light Follower & Obstacle Avoider.
Arduino Workshop Day 1 Slides
Basics of Arduino - Introduction, Basics of Circuits, Signals & Electronics, LED Interfacing, Switch, Buzzer, LCD & Bluetooth Communication.
Arduino for beginners- Introduction to Arduino (presentation) - codewithgauriGaurav Pandey
Arduino for beginners- Introduction to Arduino presentation
Learn Arduino basics in easy steps. Arduino for beginners course series.Arduino is an open-source platform used for building electronics projects. All Arduino boards have a microcontroller.
A microcontroller is basically a really small computer.
Arduino is the popular open-source electronics prototyping platform based on easy-to-use hardware and software. It's intended for artists, designers, hobbyists, and anyone interested in creating interactive objects or environments and is designed to be as flexible as possible to fit your project's needs.
Arduino Workshop Day 2 - Advance Arduino & DIYVishnu
Arduino Workshop Day 2 - IR, Ultrasonic & Temperature - Humidity Sensor Interfacing & Do It Yourself - Line Follower, Light Follower & Obstacle Avoider.
Arduino Uno is a microcontroller board based on 8-bit ATmega328P microcontroller. Along with ATmega328P, it consists other components such as crystal oscillator, serial communication, voltage regulator, etc. to support the microcontroller. Arduino Uno has 14 digital input/output pins (of which 6 can be used as PWM outputs), 6 analog inputs, a 16 MHz ceramic resonator, a USB connection, a power jack, an ICSP header, and a reset button.
Introduction to Arduino Hardware and ProgrammingEmmanuel Obot
Introduction to Arduino Hardware and Programming:
Arduino is an open-source electronics platform based on easy-to-use hardware and software. It's intended for anyone making interactive projects.
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. Arduino is a key tool to learn new things. Anyone - children, hobbyists, artists, programmers can use it to build an interactive device.
An introduction to the Arduino microcontroller for the Washington, DC Kids & Technology Meetup. Processing software, Arduino hardware were discussed. Several Arduino projects were demonstrated. Resources are posted here:
https://www.evernote.com/shard/s89/sh/6fd6ce79-c0b2-495e-b6f8-a4c4335cd284/9b1d07121e9f4b89106bcfcba6463bdf
In this project, we will create a standalone web server using a NodeMCU ESP8266 that displays the Temperature and Humidity with a DHT11 sensor using the Arduino IDE.
Actually, the webserver we will build can be easily accessed with any device that features a browser on your local network. NodeMCU ESP8266 Monitoring DHT11/DHT22 Temperature and Humidity with Local Web Server.
Getting started with Arduino Programming can be daunting. These are slides I used in my classes which introduced programming concepts to non-engineers, non-programmers, but totally people who wanted to learn more about electronics.
Arduino first and foremost is an open-source computer hardware and software company. The Arduino Communityrefers to the project and user community that designs and utilizes microcontroller-based development boards. These development boards are known as Arduino Modules, which are open-source prototyping platforms.
Arduino Uno is a microcontroller board based on 8-bit ATmega328P microcontroller. Along with ATmega328P, it consists other components such as crystal oscillator, serial communication, voltage regulator, etc. to support the microcontroller. Arduino Uno has 14 digital input/output pins (of which 6 can be used as PWM outputs), 6 analog inputs, a 16 MHz ceramic resonator, a USB connection, a power jack, an ICSP header, and a reset button.
Introduction to Arduino Hardware and ProgrammingEmmanuel Obot
Introduction to Arduino Hardware and Programming:
Arduino is an open-source electronics platform based on easy-to-use hardware and software. It's intended for anyone making interactive projects.
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. Arduino is a key tool to learn new things. Anyone - children, hobbyists, artists, programmers can use it to build an interactive device.
An introduction to the Arduino microcontroller for the Washington, DC Kids & Technology Meetup. Processing software, Arduino hardware were discussed. Several Arduino projects were demonstrated. Resources are posted here:
https://www.evernote.com/shard/s89/sh/6fd6ce79-c0b2-495e-b6f8-a4c4335cd284/9b1d07121e9f4b89106bcfcba6463bdf
In this project, we will create a standalone web server using a NodeMCU ESP8266 that displays the Temperature and Humidity with a DHT11 sensor using the Arduino IDE.
Actually, the webserver we will build can be easily accessed with any device that features a browser on your local network. NodeMCU ESP8266 Monitoring DHT11/DHT22 Temperature and Humidity with Local Web Server.
Getting started with Arduino Programming can be daunting. These are slides I used in my classes which introduced programming concepts to non-engineers, non-programmers, but totally people who wanted to learn more about electronics.
Arduino first and foremost is an open-source computer hardware and software company. The Arduino Communityrefers to the project and user community that designs and utilizes microcontroller-based development boards. These development boards are known as Arduino Modules, which are open-source prototyping platforms.
Pragmatic Analytics - Case Studies of High Performance Computing for Better B...Eoin Brazil
SCIENCE FOUNDATION IRELAND DIGITAL CONTENT WORKSHOP
Monday, July 25th 2011, Guinness Storehouse, Dublin
Session 4 - Data Analytics, Mining and Visualisation
Dr Eoin Brazil, Senior Software Developer and Tech Transfer Manager, Irish Centre for High End Computing (NUIG)
Pragmatic Analytics - Case Studies of High Performance Computing for Better Business and Big Data.
Introduction to Machine Learning using R - Dublin R User Group - Oct 2013Eoin Brazil
An introduction to machine learning using R as long talk for Dublin R User Group 8th Oct 2013 with full scripts, slides and data on GH at https://github.com/braz/DublinR-ML-treesandforests/
Bringing HPC to tackle your business problemsEoin Brazil
A short overview on how HPC can help tackle your business problems and where ICHEC can help you enhance your competitiveness by utilising high-performance computing.
Fat Nodes & GPGPUs - Red-shifting your infrastructure without breaking the bu...Eoin Brazil
A short overview on how GPGPUs and Fat Nodes can provide an approach to deal with exponential growth demands in computing that is found not just in major companies such as Google or YouTube but in many major Irish companies as well.
This hardware/software approach can accelerate your processing infrastructure whilst reducing its costs (CapEx and OpEx) and size.
Mixing Interaction, Sonification, Rendering and Design - The art of creating ...Eoin Brazil
This talk will focus on acoustic rendering, the rendering of scenarios and contexts from the viewpoint of sonic interaction design. Sonic interaction design sits at the crossroads between interaction design, auditory display, acoustics, interactive arts, and ubiquitous computing. The area focuses on the exploration and exploitation of sound to communicate meaning, information, and aesthetical / emotional qualities in interactive contexts. The practise and study of sonic rendering within the interaction loop between users and artefacts or environments for both functional and artistic applications will be discussed. Examples of sonic interventions and of sonic interactive installations are discussed to illustrate how human centric and experiential aspects within the interaction loop. This will show how interaction design techniques and acoustic production are used to create engaging sonic experiences. Case studies covered will include work in museum installations, auditory displays designed for public spaces, and artistic interventions. The talk will show how sonification and sonic interaction design supplements the related areas of sound production and of gestural interfaces. An overview of the techniques and methods will show how this occurs in practise.
What is Sonic Interaction Design ?
Examples include aesthetic and sonic quality assessment in product and interaction design: workshops and interaction with projects (e.g., SOb, CLOSED, COST SID).
Creative exploration of context and opportunities for interactive sound artefacts and for acoustic interventions.
Where does Sonic Interaction Design inform Acoustic Rendering ?
Room acoustics and Site sound - sound within a space or interface.
Context and Scenario, how these inform the rendering (how it is acoustically rendered, what is rendered, how will the rendering be interpreted)
Examples includes installations and interventions from various locations including various museums, airports, train stations, and galleries. Related work in products sound design will also be covered.
Arduino Lecture 4 - Interactive Media CS4062 Semester 2 2009Eoin Brazil
CS4062 Masters in Interactive Media - Fourth Arduino Lecture - March 18th 2009 - University of Limerick. This lecture presents a short review and introduction to programming concepts relevant to Arduino. This was aimed at a digital media / music technology masters student audience.
Arduino Lecture 3 - Interactive Media CS4062 Semester 2 2009Eoin Brazil
CS4062 Masters in Interactive Media - Third Arduino Lecture - March 11th 2009 - University of Limerick. This lecture presents an introduction to motors, LEDs and Arduino with examples. This was aimed at a digital media / music technology masters student audience.
Arduino Lecture 3 - Interactive Media CS4062 Semester 2 2009Eoin Brazil
CS4062 Masters in Interactive Media - Third Arduino Lecture - March 11th 2009 - University of Limerick. This lecture presents an introduction to motors, LEDs and Arduino with examples. This was aimed at a digital media / music technology masters student audience.
Arduino Lecture 2 - Interactive Media CS4062 Semester 2 2009Eoin Brazil
CS4062 Masters in Interactive Media - Second Arduino Lecture - March 6th 2009 - University of Limerick. This lecture presents an introduction to communications and the Arduino with examples. This was aimed at a digital media / music technology masters student audience.
Arduino Lecture 2 - Electronic, LEDs, Communications and DatasheetsEoin Brazil
Continuing the coverage of the Arduino platform with some electronics revisions, an introduction to some communication issues, and some pointers about datasheets. Part of the Interactive Media Master's program at the University of Limerick.
Arduino Lecture 3 - Making Things Move and AVR programmingEoin Brazil
Further following up the Arduino set of lectures with topics on Motors, PWM, Trade-offs, and finally an example of directly programming an AVR chip. Part of the Interactive Media Master's program at the University of Limerick.
JMeter webinar - integration with InfluxDB and GrafanaRTTS
Watch this recorded webinar about real-time monitoring of application performance. See how to integrate Apache JMeter, the open-source leader in performance testing, with InfluxDB, the open-source time-series database, and Grafana, the open-source analytics and visualization application.
In this webinar, we will review the benefits of leveraging InfluxDB and Grafana when executing load tests and demonstrate how these tools are used to visualize performance metrics.
Length: 30 minutes
Session Overview
-------------------------------------------
During this webinar, we will cover the following topics while demonstrating the integrations of JMeter, InfluxDB and Grafana:
- What out-of-the-box solutions are available for real-time monitoring JMeter tests?
- What are the benefits of integrating InfluxDB and Grafana into the load testing stack?
- Which features are provided by Grafana?
- Demonstration of InfluxDB and Grafana using a practice web application
To view the webinar recording, go to:
https://www.rttsweb.com/jmeter-integration-webinar
DevOps and Testing slides at DASA ConnectKari Kakkonen
My and Rik Marselis slides at 30.5.2024 DASA Connect conference. We discuss about what is testing, then what is agile testing and finally what is Testing in DevOps. Finally we had lovely workshop with the participants trying to find out different ways to think about quality and testing in different parts of the DevOps infinity loop.
Connector Corner: Automate dynamic content and events by pushing a buttonDianaGray10
Here is something new! In our next Connector Corner webinar, we will demonstrate how you can use a single workflow to:
Create a campaign using Mailchimp with merge tags/fields
Send an interactive Slack channel message (using buttons)
Have the message received by managers and peers along with a test email for review
But there’s more:
In a second workflow supporting the same use case, you’ll see:
Your campaign sent to target colleagues for approval
If the “Approve” button is clicked, a Jira/Zendesk ticket is created for the marketing design team
But—if the “Reject” button is pushed, colleagues will be alerted via Slack message
Join us to learn more about this new, human-in-the-loop capability, brought to you by Integration Service connectors.
And...
Speakers:
Akshay Agnihotri, Product Manager
Charlie Greenberg, Host
State of ICS and IoT Cyber Threat Landscape Report 2024 previewPrayukth K V
The IoT and OT threat landscape report has been prepared by the Threat Research Team at Sectrio using data from Sectrio, cyber threat intelligence farming facilities spread across over 85 cities around the world. In addition, Sectrio also runs AI-based advanced threat and payload engagement facilities that serve as sinks to attract and engage sophisticated threat actors, and newer malware including new variants and latent threats that are at an earlier stage of development.
The latest edition of the OT/ICS and IoT security Threat Landscape Report 2024 also covers:
State of global ICS asset and network exposure
Sectoral targets and attacks as well as the cost of ransom
Global APT activity, AI usage, actor and tactic profiles, and implications
Rise in volumes of AI-powered cyberattacks
Major cyber events in 2024
Malware and malicious payload trends
Cyberattack types and targets
Vulnerability exploit attempts on CVEs
Attacks on counties – USA
Expansion of bot farms – how, where, and why
In-depth analysis of the cyber threat landscape across North America, South America, Europe, APAC, and the Middle East
Why are attacks on smart factories rising?
Cyber risk predictions
Axis of attacks – Europe
Systemic attacks in the Middle East
Download the full report from here:
https://sectrio.com/resources/ot-threat-landscape-reports/sectrio-releases-ot-ics-and-iot-security-threat-landscape-report-2024/
"Impact of front-end architecture on development cost", Viktor TurskyiFwdays
I have heard many times that architecture is not important for the front-end. Also, many times I have seen how developers implement features on the front-end just following the standard rules for a framework and think that this is enough to successfully launch the project, and then the project fails. How to prevent this and what approach to choose? I have launched dozens of complex projects and during the talk we will analyze which approaches have worked for me and which have not.
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...UiPathCommunity
💥 Speed, accuracy, and scaling – discover the superpowers of GenAI in action with UiPath Document Understanding and Communications Mining™:
See how to accelerate model training and optimize model performance with active learning
Learn about the latest enhancements to out-of-the-box document processing – with little to no training required
Get an exclusive demo of the new family of UiPath LLMs – GenAI models specialized for processing different types of documents and messages
This is a hands-on session specifically designed for automation developers and AI enthusiasts seeking to enhance their knowledge in leveraging the latest intelligent document processing capabilities offered by UiPath.
Speakers:
👨🏫 Andras Palfi, Senior Product Manager, UiPath
👩🏫 Lenka Dulovicova, Product Program Manager, UiPath
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...Jeffrey Haguewood
Sidekick Solutions uses Bonterra Impact Management (fka Social Solutions Apricot) and automation solutions to integrate data for business workflows.
We believe integration and automation are essential to user experience and the promise of efficient work through technology. Automation is the critical ingredient to realizing that full vision. We develop integration products and services for Bonterra Case Management software to support the deployment of automations for a variety of use cases.
This video focuses on the notifications, alerts, and approval requests using Slack for Bonterra Impact Management. The solutions covered in this webinar can also be deployed for Microsoft Teams.
Interested in deploying notification automations for Bonterra Impact Management? Contact us at sales@sidekicksolutionsllc.com to discuss next steps.
Key Trends Shaping the Future of Infrastructure.pdfCheryl Hung
Keynote at DIGIT West Expo, Glasgow on 29 May 2024.
Cheryl Hung, ochery.com
Sr Director, Infrastructure Ecosystem, Arm.
The key trends across hardware, cloud and open-source; exploring how these areas are likely to mature and develop over the short and long-term, and then considering how organisations can position themselves to adapt and thrive.
Transcript: Selling digital books in 2024: Insights from industry leaders - T...BookNet Canada
The publishing industry has been selling digital audiobooks and ebooks for over a decade and has found its groove. What’s changed? What has stayed the same? Where do we go from here? Join a group of leading sales peers from across the industry for a conversation about the lessons learned since the popularization of digital books, best practices, digital book supply chain management, and more.
Link to video recording: https://bnctechforum.ca/sessions/selling-digital-books-in-2024-insights-from-industry-leaders/
Presented by BookNet Canada on May 28, 2024, with support from the Department of Canadian Heritage.
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...Ramesh Iyer
In today's fast-changing business world, Companies that adapt and embrace new ideas often need help to keep up with the competition. However, fostering a culture of innovation takes much work. It takes vision, leadership and willingness to take risks in the right proportion. Sachin Dev Duggal, co-founder of Builder.ai, has perfected the art of this balance, creating a company culture where creativity and growth are nurtured at each stage.
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...James Anderson
Effective Application Security in Software Delivery lifecycle using Deployment Firewall and DBOM
The modern software delivery process (or the CI/CD process) includes many tools, distributed teams, open-source code, and cloud platforms. Constant focus on speed to release software to market, along with the traditional slow and manual security checks has caused gaps in continuous security as an important piece in the software supply chain. Today organizations feel more susceptible to external and internal cyber threats due to the vast attack surface in their applications supply chain and the lack of end-to-end governance and risk management.
The software team must secure its software delivery process to avoid vulnerability and security breaches. This needs to be achieved with existing tool chains and without extensive rework of the delivery processes. This talk will present strategies and techniques for providing visibility into the true risk of the existing vulnerabilities, preventing the introduction of security issues in the software, resolving vulnerabilities in production environments quickly, and capturing the deployment bill of materials (DBOM).
Speakers:
Bob Boule
Robert Boule is a technology enthusiast with PASSION for technology and making things work along with a knack for helping others understand how things work. He comes with around 20 years of solution engineering experience in application security, software continuous delivery, and SaaS platforms. He is known for his dynamic presentations in CI/CD and application security integrated in software delivery lifecycle.
Gopinath Rebala
Gopinath Rebala is the CTO of OpsMx, where he has overall responsibility for the machine learning and data processing architectures for Secure Software Delivery. Gopi also has a strong connection with our customers, leading design and architecture for strategic implementations. Gopi is a frequent speaker and well-known leader in continuous delivery and integrating security into software delivery.
Let's dive deeper into the world of ODC! Ricardo Alves (OutSystems) will join us to tell all about the new Data Fabric. After that, Sezen de Bruijn (OutSystems) will get into the details on how to best design a sturdy architecture within ODC.
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
Arduino Lecture 1 - Introducing the Arduino
1. Introducing the
Arduino
CS4062 - Eoin Brazil - Semester 2 - 2009
http://www.flickr.com/photos/collinmel/2317520331/
2. What is Arduino?
The development
The hardware The community
environment
3. Why Arduino?
artists & designers
“opportunistic prototyping”
device hacking & reuse
“open source hardware”
Open Source Physical Computing Platform
open source
free to inspect & modify
community
wiki, forums, tutorials
4. The Nuts & Bolts
physical computing. er, what? ubiquitous computing,
pervasive computing, ambient intelligence, calm
computing, everyware, spimes, blogjects, smart
objects...
tiny computer you can program
completely stand-alone, talks to other devices
‘C’ Ruby
Flash Python
Processing PHP
PD Matlab
Max/MSP Squeak (Smalltalk)
5. ``Physical Computing is about prototyping with electronics,
turning sensors, actuators and microcontrollers into materials for
designers and artists.’’
``It involves the design of interactive objects that can communicate
with humans using sensors and actuators controlled by a behaviour
implemented as software running inside a microcontroller.’’
Massimo Banzi, Tinker.it & Arduino Co-Founder
12. Arduino Capabilities
16 kBytes of Flash program memory
1 kByte of RAM
16 MHz (Apple II: 1 MHz / Intel 286: 12.5 MHz /
Intel Core 2: 3 GHz)
inputs and outputs
13 digital input/output pins
5 analog input pins
6 analog output pins (PWM only)
13. Analog Reference pin (orange)
Digital Ground (light green)
Digital Pins 2-13 (green)
Digital Pins 0-1/Serial In/Out - TX/RX (dark
green)
These pins cannot be used for digital i/o
(digitalRead and digitalWrite) if you are also
using serial communiation (e.g. Serial.begin).
Reset Button - S1 (dark blue)
In-circuit Serial Programmer (blue-green)
Analog In Pins 0-5 (light blue)
Power and Ground Pins (power: orange,
grounds: light orange)
External Power Supply In (9-12VDC) - X1
(pink)
Toggles External Power and USB Power (place
jumper on two pins closest to desired supply) -
Layout of an Arduino SV1 (purple)
USB (used for uploading sketches to the board
and for serial communication between the board
and the computer; can be used to power the
board) (yellow)
14. Arduino Glossary
``sketch’’ - program that runs on the board
``pin’’ - input or output connected to something, e.g.
output to an LED, input from switch
``digital’’ - 1 (HIGH) or 0 (LOW) value (i.e. on/off)
``analog’’ - range (0-255 typically), e.g. LED brightness
wiring drawing shows the interconnection (physical
layout) of all devices and components
schematic drawing shows underlying logic may not link
back to physical layout
35. Programming an
Arduino
Write program
Compile (check
for errors)
Reset board
Upload to board
36. An Arduino “Sketch”
Declare variables at top
Initialize
setup() – run once at beginning, set pins
Running
loop() – run repeatedly, after setup()
37. An Arduino “Sketch”
int ledPin = 13; – led
connected to control pin 13
int aSensor = 0; – setup
Global Variables
sensor 'aSensor' on analog pin 0
int statePin = LOW; – use this
to hold the state of a pin
38. An Arduino “Sketch”
pinMode() – set a pin as input
or output
setup()
serial.Begin() – setup to `talk'
to the computer
39. An Arduino “Sketch”
pinMode(ledPin, Output); –
set the pin `ledPin' as an output
setup()
serial.Begin(9600); – talk to
the computer at 9600 baud rate
40. An Arduino “Sketch”
digitalWrite() – set a digital pin high/low
digitalRead() – read a digital pin’s state
analogRead() – read an analog pin
loop()
analogWrite() – write an “analog” PWM value
delay() – wait an amount of time
millis() – get the current tim
41. Input / Output
14 Digital IO (pins 0 - 13)
6 Analog In (pins 0 - 5)
6 Analog Out (pins 3, 5, 6, 9, 10, 11)
42. Digital ? Analog ?
Digital – only has two values: on/off
Analog – has many (infinite) values
Computers don’t really do analog - use
quantization instead
43. Digital ? Analog ?
Many states (Analog) or just
two (HIGH/LOW - Digital)
Number of states (or “bins”) is
resolution
Common computer resolutions:
8-bit = 256 states
16-bit = 65,536 states
32-bit = 4,294,967,296 states
44. IO to/from what?
Sensors Actuators
LDR / IR
Solenoid
Switch /
Stepper Motor
Potentiometer /
Joystick / Piezo
Accelerometer Other Circuits
Ultrasonic
Prototype shields
Indicators
Special ICs
LED / Lamps
Buzzers
46. Hello World!
void setup() Install latest Arduino IDE from arduino.cc
{ Run Arduino IDE
// start serial port at 9600 bps: Write the code on the left into the editor
Serial.begin(9600);
Compile / Verify the code by clicking the play
} button
Before uploading your sketch, check the board and
void loop()
the serial port are correct for your Arduino and for
{ your computer
Serial.print(quot;Hello World!nrquot;);
Menu -> Tools -> Board
// wait 2sec for next reading:
Menu -> Tools -> Serial Port
delay(2000);
} Upload the code from the computer to the
Arduino using the upload button
47. /* Blinking LED ---
* turns on and off a light emitting diode(LED) connected to a digital
* pin, based on data coming over serial
*/
int ledPin = 13; // LED connected to digital pin 13
int inByte = 0;
void setup()
{
pinMode(ledPin, OUTPUT); // sets the digital pin as output
Serial.begin(19200); // initiate serial communication
}
void loop()
{
while (Serial.available()>0) {
inByte = Serial.read();
}
if (inByte>0) {
digitalWrite(ledPin, HIGH); // sets the LED on
} else {
digitalWrite(ledPin, LOW); // sets the LED off
}
}
48. /* Blinking LED ---
* turns on and off a light emitting diode(LED) connected to a digital
* pin, based on data coming over serial
Initialise
*/
some of the
int ledPin = 13; // LED connected to digital pin 13
int inByte = 0;
variables
void setup()
{
pinMode(ledPin, OUTPUT); // sets the digital pin as output
Serial.begin(19200); // initiate serial communication
}
void loop()
{
while (Serial.available()>0) {
inByte = Serial.read();
}
if (inByte>0) {
digitalWrite(ledPin, HIGH); // sets the LED on
} else {
digitalWrite(ledPin, LOW); // sets the LED off
}
}
49. /* Blinking LED ---
* turns on and off a light emitting diode(LED) connected to a digital
* pin, based on data coming over serial
*/
int ledPin = 13; // LED connected to digital pin 13
int inByte = 0;
void setup()
{
pinMode(ledPin, OUTPUT); // sets the digital pin as output
Serial.begin(19200); // initiate serial communication
}
void loop()
Setup LED pin and
{
while (Serial.available()>0) {
serial connection
inByte = Serial.read();
}
if (inByte>0) {
digitalWrite(ledPin, HIGH); // sets the LED on
} else {
digitalWrite(ledPin, LOW); // sets the LED off
}
}
50. /* Blinking LED ---
* turns on and off a light emitting diode(LED) connected to a digital
* pin, based on data coming over serial
*/
int ledPin = 13; // LED connected to digital pin 13
int inByte = 0;
void setup()
{
pinMode(ledPin, OUTPUT); // sets the digital pin as output
Serial.begin(19200); // initiate serial communication
Loop - Reading the
}
serial for info, when
void loop()
{
inByte = Serial.read(); something is received
while (Serial.available()>0) {
}
turn LED on LED on
the
if (inByte>0) {
digitalWrite(ledPin, HIGH); // sets the
} else {
digitalWrite(ledPin, LOW); // sets the LED off
}
}
51. /* Digital reading, turns on and off a light emitting diode (LED) connected to digital
* pin 13, when pressing a pushbutton attached to pin 7. It illustrates the concept of
* Active-Low, which consists in connecting buttons using a 1K to 10K pull-up resistor.
*/
int ledPin = 13; // choose the pin for the LED
int inPin = 7; // choose the input pin (button)
int buttonval = 0; // variable for reading the pin status
void setup() {
pinMode(ledPin, OUTPUT); // set LED as output
pinMode(inPin, INPUT); // set pushbutton as input
Serial.begin(19200); // start serial communication to computer
}
void loop() {
buttonval = digitalRead(inPin); // read the pin and get the button's state
if (buttonval == HIGH) { // check if the input is HIGH (button released)
digitalWrite(ledPin, LOW); // turn LED OFF
Serial.write('0'); // Button off (0) sent to computer
} else {
digitalWrite(ledPin, HIGH); // turn LED ON
Serial.write('1'); // Button on (1) sent to computer
}
}
52. /* Digital reading, turns on and off a light emitting diode (LED) connected to digital
* pin 13, when pressing a pushbutton attached to pin 7. It illustrates the concept of
* Active-Low, which consists in connecting buttons using a 1K to 10K pull-up resistor.
Initialise
*/
int ledPin = 13; // choose the pin for the LED
some of the
int inPin = 7; // choose the input pin (button)
int buttonval = 0; // variable for reading the pin status
variables
void setup() {
pinMode(ledPin, OUTPUT); // set LED as output
pinMode(inPin, INPUT); // set pushbutton as input
Serial.begin(19200); // start serial communication to computer
}
void loop() {
buttonval = digitalRead(inPin); // read the pin and get the button's state
if (buttonval == HIGH) { // check if the input is HIGH (button released)
digitalWrite(ledPin, LOW); // turn LED OFF
Serial.write('0'); // Button off (0) sent to computer
} else {
digitalWrite(ledPin, HIGH); // turn LED ON
Serial.write('1'); // Button on (1) sent to computer
}
}
53. /* Digital reading, turns on and off a light emitting diode (LED) connected to digital
* pin 13, when pressing a pushbutton attached to pin 7. It illustrates the concept of
* Active-Low, which consists in connecting buttons using a 1K to 10K pull-up resistor.
*/
Setup LED pin,
int ledPin = 13; // choose the pin for the LED
int inPin = 7; // choose the input pin (button)
switch pin and
int buttonval = 0; // variable for reading the pin status
serial connection
void setup() {
pinMode(ledPin, OUTPUT); // set LED as output
pinMode(inPin, INPUT); // set pushbutton as input
Serial.begin(19200); // start serial communication to computer
}
void loop() {
buttonval = digitalRead(inPin); // read the pin and get the button's state
if (buttonval == HIGH) { // check if the input is HIGH (button released)
digitalWrite(ledPin, LOW); // turn LED OFF
Serial.write('0'); // Button off (0) sent to computer
} else {
digitalWrite(ledPin, HIGH); // turn LED ON
Serial.write('1'); // Button on (1) sent to computer
}
}
54. /* Digital reading, turns on and off a light emitting diode (LED) connected to digital
* pin 13, when pressing a pushbutton attached to pin 7. It illustrates the concept of
* Active-Low, which consists in connecting buttons using a 1K to 10K pull-up resistor.
Loop - Reading the
*/
int ledPin = 13; // choose the pin for the LED
int inPin = 7; // choose the input pin (button) button for info, when
int buttonval = 0; // variable for reading the pin status
button is press turn
void setup() {
pinMode(inPin, INPUT); // set pushbutton asthe LED on and
pinMode(ledPin, OUTPUT); // set LED as output
input
signal the computer
Serial.begin(19200); // start serial communication to computer
}
ofthe button's state
change
void loop() {
buttonval = digitalRead(inPin); // read the pin and get
if (buttonval == HIGH) { // check if the input is HIGH (button released)
digitalWrite(ledPin, LOW); // turn LED OFF
Serial.write('0'); // Button off (0) sent to computer
} else {
digitalWrite(ledPin, HIGH); // turn LED ON
Serial.write('1'); // Button on (1) sent to computer
}
}
58. Flash
// arduino serial proxy helper
// send messages from arduino to your
Serial Proxy // serial port >> socket
// and read it through flash
(XMLSocket server) a
small program that runs #define inPin 2
on your Mac/PC and
void setup(){
keeps a live connection Serial.begin(9600);
between the serial port }
void loop(){
and Flash
byte readValue=digitalRead(inPin);
if(readValue == HIGH){
Serial.print(quot;highquot;);
Serial.print(0, BYTE);
}
}
59. Flash Example
http://file-error.net/1o1o1o1o1/?Physical_Computing_and_Interaction:Arduino:Arduino_VS_Flash
http://protolab.pbwiki.com/Arduino2Flash
63. Interactive Objects /
Displays
Spooky Skull Example - Tod E. Kurt
Lilypad - Leah Buechley
Wanderlust - Hector Ouilhet
Ambient Auditory Group Presence
Display
Hanging Gardens
Dawn07, Dawn08, Dawn 09 (What will you do ?)
64. Lilypad
A set of stitchable controllers,
sensors and actuators enables
novices to build their own
electronic textiles.
65. Wanderlust
A mobile service, uses identities and
needs (in terms of time and distance)
to explore spaces as well to meet
people with similar interests.
Ad-Hoc Social Networking tool as it
provides suggestions from people and
places that can be relevant to you.
The prototype used physical tokens (reels) to represent a user’s different
identities. Each reel is mapped to an identity; when this reel is introduced to the View-
Master it will play a video showing the contents and attributes of this identity.
Consists of a original View-Master (red), wooden body, Arduino board, RFID
reader & antenna
67. Ambient Auditory Group
Presence Display:
Designed to explore, using concurrent
auditory icons, the issue of group
awareness (ICAD07 paper)
Presence and activity are conveyed by
changes in the soundscape
Ruby, Python, C, Growl and Boodler
Semi-Public Display for Small, Co-
located Groups
68. Hanging Gardens:
Collaboration with Jurgen Simpson
Two Places - UL / Ormeau, Belfast
Network of Speakers and Sensors
Arduino, Ruby, Max/MSP
2 field of insects
Circadian rhythm
Walls and nodes
69. Hanging Gardens:
Collaboration with Jurgen Simpson
Two Places - UL / Ormeau, Belfast
Network of Speakers and Sensors
Arduino, Ruby, Max/MSP
2 field of insects
Circadian rhythm
Walls and nodes
70. Useful Links
Arduino - http://www.arduino.cc/
Wanderlust - http://www.thejaguarhouse.com/blog/
Arduino lectures - http://www.slideshare.net/eoinbrazil
Tod E. Kurt’s blog (check his Spooky Arduino projects) - http://todbot.com/
blog/category/arduino/
ITP Physical Computing - http://itp.nyu.edu/physcomp/Intro/HomePage
The Art and Craft of Toy Design - http://yg.typepad.com/makingtoys2/
Lilypad - http://www.cs.colorado.edu/~buechley/diy/diy_lilypad_arduino.html
Usman Haque and Adam Somlai-Fischer - ``Low tech sensors and actuators
for artists and architects’’