Arduino is an open-source project that created microcontroller-based kits for building digital devices and interactive objects that can sense and control physical devices.
If you are starting from scratch, or if you already know some electronics and programming concepts, learning robotics with Arduino is a good idea. It will give you some good basics that you can use later to build larger robotics projects.In this Session we’ll show you an overview and some guidelines, about where to start, which board, sensors, motors to use, and what to focus on.
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 document provides an overview of input/output interfaces in 3 paragraphs. It discusses how I/O devices communicate differently than internal storage due to differences in operation, data transfer rates, word formats, and peripheral operating modes. It describes how interface modules connect I/O devices like keyboards, displays, printers and storage to the I/O bus and processor. Finally, it provides an example of an I/O interface unit that uses control and status registers to facilitate communication between a CPU and I/O device over control, data and status lines.
This document discusses different types of information sources and how to evaluate them. It defines reference sources as publications that provide authoritative information, including reference books, indexes, and databases. Reference books are designed to be looked up quickly rather than read cover to cover, and include dictionaries, encyclopedias, and other sources organized alphabetically or by topic. The document provides tips for evaluating information sources, such as checking the date, author credentials, intended audience, and bias. It distinguishes between primary sources, secondary sources, and tertiary sources, and discusses how to determine the authority and suitability of a source for research.
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 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.
IEEE 802.11 is part of the IEEE 802 set of local area network (LAN) technical standards, and specifies the set of media access control (MAC) and physical
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.
It is designed to measure the distance of any object by using an ultrasonic transducer. Ultrasonic means of distance measurement is a convenient method compared to traditional one using measurement scales.This kind of measurement is particularly applicable to inaccessible areas where traditional means cannot be implemented such as high temperature, pressure zones etc.
This document presents an Arduino-based home automation system using Bluetooth. It introduces the project, includes a block diagram, lists the hardware requirements, and describes the process for making a relay circuit. It explains the components used - Arduino UNO, Bluetooth module, relay, transistors and resistors. Software used is Arduino IDE. Advantages are convenience and energy savings. Disadvantages include limited range and number of devices controlled. Future work proposes using Ethernet and WiFi for remote control from anywhere.
The past decade has seen significant advancement in the field of consumer electronics. Various ‘intelligent’ appliances such as cellular phones, air-conditioners, home security devices, home theatres, etc. are set to realize the concept of a smart home. They have given rise to a Personal Area Network in home environment, where all these appliances can be interconnected and monitored using a single controller.
Busy families and individuals with physical limitation represent an attractive market for home automation and networking. A wireless home network that does not incur additional costs of wiring would be desirable. Bluetooth technology, which has emerged in late 1990s, is an ideal solution for this purpose.
Home automation involves introducing a degree of computerized or automatic control to
Certain electrical and electronic systems in a building. These include lighting, temperature
Control etc.
This project demonstrates a simple home automation system which contains a remote mobile host controller and several client modules (home appliances). The client modules communicate with the host controller through a wireless device such as a Bluetooth enabled mobile phone, in this case, an android based Smart phone.
Embedded systems and their applications in our daily routineAsad Qayyum Babar
Embedded systems perform specific tasks. They have micro-controller as the main part which controls all the operations required through them. This presentation on examples of embedded systems can help you to get an idea of common systems which we use in our daily lives. These systems are smart and more efficient, which is increasing their use day by day. Almost every device that we use today is an example of embedded systems. Embedded systems examples can be seen at our homes, at offices, in industries and in automation systems. So, in simple words, most of the daily routine appliances, devices or automated equipment lies in the circle of Embedded Systems Examples.
Few of these Examples of Embedded Systems were discussed in this presentation, if you learn embedded systems then you can also create something, helpful to society. So, let’s get started with these Examples of Embedded Systems.
Ultrasonic based distance measurement systemMrinal Sharma
Ultrasonic waves, which have a frequency above the human hearing range, can be used to measure distance. An ultrasonic transducer sends ultrasonic pulses and receives echoes to determine the distance to an object. A piezoelectric crystal is commonly used in ultrasonic transducers to generate and detect ultrasonic waves. In this ultrasonic distance measurement system, an 80251 microcontroller analyzes the time of flight for ultrasonic pulses to calculate the distance to a target and displays it on an LCD screen. The system provides an inexpensive, compact solution for distance measurement.
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.
The Internet of Things (IoT) is a network of physical objects embedded with electronics, software, and sensors that allows objects to connect and exchange data over the internet. IoT creates opportunities to remotely sense and control objects across networks, improving efficiency. Things in IoT include devices like heart monitors, farm animal tags, sensors in cars, and environmental sensors. These devices collect data using technologies and autonomously share it. IoT requires connectivity between things, intelligence to interpret sensor data, and scalability to handle increased connections.
This document summarizes a seminar presentation on silent sound technology for voice conversion. It introduces the technology as a way for those who have lost their voice to still communicate by phone by transmitting information without using vocal cords. It discusses two main methods - electromyography and image processing. Electromyography detects electrical signals from muscle movement and converts them to speech, while image processing uses ultrasound to view tongue movement. Some advantages are helping those who lost their voice and enabling silent calls. Disadvantages include unnatural speech and high cost. Future applications could include incorporating the sensors into phones for more natural use.
Now a day’s every advertisement is going to be digital. The big shops and shopping centers are using the digital moving displays now. The MOVING MESSAGE DISPLAY is use in school, college campus, universities, hospital and industries to scroll different events and important notices.
The aim of this project is to develop a wireless notice board that will be used at the faculty in order to display latest information.So we are designing a new display system which can access remotely, we are using the Wi-Fi technology, if the user wants to display some message, they will send the messages from mobile (i.e. wireless) or from their PC , the module (Wi-Fi router) in the display system will receive the message and update the display according to the message.
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.
This document discusses hardware/software codesign. It introduces codesign concepts and benefits over traditional design processes. Codesign allows concurrent development of hardware and software to optimize design tradeoffs. The document outlines topics on codesign fundamentals, tradeoffs, past approaches, and future directions like multiprocessor system-on-chip applications. Codesign moves parts between software and hardware to improve performance while meeting design constraints like cost, power, and time-to-market.
Presentation on IoT Based Home Automation using android & NodeMCUSouvik Kundu
This document presents a project on an IoT-based home automation system using an Android application. A group of 4 students developed the system under the supervision of Mr. Dipra Mitra. The system allows users to control home appliances like lights and fans remotely using a mobile app. It consists of NodeMCU microcontrollers connected to relays and sensors to control devices. The app communicates with these controllers over the internet to automate tasks based on time or sensor triggers. The system provides benefits like energy savings and remote monitoring and control of devices.
This document describes an Arduino-based home automation system using Bluetooth. The system allows users to control electrical appliances in their home remotely from an Android smartphone. An Arduino board is interfaced with a Bluetooth module to receive ON/OFF commands from a GUI app on the phone. Loads like lights and fans are then controlled by the Arduino board through optoisolators and thyristors. The system provides convenience and energy savings by allowing remote control of devices without needing to move proximity to switches. It was experimentally tested to successfully control sample appliances from a wireless mobile device.
CONTROLLING HOME APPLIANCES WITH IOT,BLYNK APP & NODE MCUVINAY KUMAR GUDELA
This document discusses controlling home appliances with IoT, Blynk app, and Node MCU. It outlines the components required, including relays, Node MCU ESP8266, batteries, and LED bulbs. The software requirements of Blynk app and Arduino IDE are explained. Circuit diagrams and code are provided. How IoT works for home automation is described, along with advantages like remote control and energy efficiency. Applications include lighting control, home monitoring, and smart appliances. The conclusion is that home automation using IoT was experimentally proven to successfully control appliances remotely over the internet.
The document discusses real-time operating systems and concepts. It defines an operating system and real-time systems, distinguishing between soft and hard real-time systems. Popular real-time operating systems include VxWorks, QNX and Linux. Real-time operating systems provide mechanisms for real-time scheduling of tasks with deterministic timing. The architecture of a real-time operating system includes tasks, scheduling, interrupts and kernel objects like semaphores. Key differences from general purpose OS are determinism, preemptive multitasking and priority-based scheduling in real-time OS.
Project report on home automation using Arduino AMIT SANPUI
This document describes an Arduino-based home automation project using Bluetooth. The project aims to develop a system that allows household appliances to be remotely controlled from an Android smartphone. An Arduino board is interfaced with a Bluetooth module to receive ON/OFF commands sent from an Android app. Relays connected to the Arduino can then switch loads such as lights and fans. The system provides a low-cost way to remotely control appliances, especially benefiting elderly or disabled users.
A microcontroller is an integrated circuit that can be programmed to control electronic devices. It contains a processor, memory, and input/output ports on a single chip. Microcontrollers come in various sizes based on their word length and internal bus width, from 4-bit to 32-bit. They also differ based on their memory architecture and instruction set. A microcontroller allows easy programming to control devices in embedded systems and provides advantages like low cost, small size, and flexibility.
Automatic irrigation system by using 8051rohit chandel
The document describes a controller-based irrigation system that uses a soil moisture sensor and microcontroller to automate irrigation. The system monitors soil moisture levels and uses that data to operate a pump motor to water only when needed, reducing human intervention and ensuring proper irrigation. It senses moisture with a sensor connected to a comparator circuit that interfaces with an 8051 microcontroller programmed to turn a pump on or off. This automation conserves water, increases productivity, reduces labor costs and helps irrigate more land effectively.
This presentation discuss about the Ultrasonic Sensor long with its working principle and simple test with sample of Arduino program. The ultrasonic Sensor featured in this presentation is HC-SR04.
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.
It is designed to measure the distance of any object by using an ultrasonic transducer. Ultrasonic means of distance measurement is a convenient method compared to traditional one using measurement scales.This kind of measurement is particularly applicable to inaccessible areas where traditional means cannot be implemented such as high temperature, pressure zones etc.
This document presents an Arduino-based home automation system using Bluetooth. It introduces the project, includes a block diagram, lists the hardware requirements, and describes the process for making a relay circuit. It explains the components used - Arduino UNO, Bluetooth module, relay, transistors and resistors. Software used is Arduino IDE. Advantages are convenience and energy savings. Disadvantages include limited range and number of devices controlled. Future work proposes using Ethernet and WiFi for remote control from anywhere.
The past decade has seen significant advancement in the field of consumer electronics. Various ‘intelligent’ appliances such as cellular phones, air-conditioners, home security devices, home theatres, etc. are set to realize the concept of a smart home. They have given rise to a Personal Area Network in home environment, where all these appliances can be interconnected and monitored using a single controller.
Busy families and individuals with physical limitation represent an attractive market for home automation and networking. A wireless home network that does not incur additional costs of wiring would be desirable. Bluetooth technology, which has emerged in late 1990s, is an ideal solution for this purpose.
Home automation involves introducing a degree of computerized or automatic control to
Certain electrical and electronic systems in a building. These include lighting, temperature
Control etc.
This project demonstrates a simple home automation system which contains a remote mobile host controller and several client modules (home appliances). The client modules communicate with the host controller through a wireless device such as a Bluetooth enabled mobile phone, in this case, an android based Smart phone.
Embedded systems and their applications in our daily routineAsad Qayyum Babar
Embedded systems perform specific tasks. They have micro-controller as the main part which controls all the operations required through them. This presentation on examples of embedded systems can help you to get an idea of common systems which we use in our daily lives. These systems are smart and more efficient, which is increasing their use day by day. Almost every device that we use today is an example of embedded systems. Embedded systems examples can be seen at our homes, at offices, in industries and in automation systems. So, in simple words, most of the daily routine appliances, devices or automated equipment lies in the circle of Embedded Systems Examples.
Few of these Examples of Embedded Systems were discussed in this presentation, if you learn embedded systems then you can also create something, helpful to society. So, let’s get started with these Examples of Embedded Systems.
Ultrasonic based distance measurement systemMrinal Sharma
Ultrasonic waves, which have a frequency above the human hearing range, can be used to measure distance. An ultrasonic transducer sends ultrasonic pulses and receives echoes to determine the distance to an object. A piezoelectric crystal is commonly used in ultrasonic transducers to generate and detect ultrasonic waves. In this ultrasonic distance measurement system, an 80251 microcontroller analyzes the time of flight for ultrasonic pulses to calculate the distance to a target and displays it on an LCD screen. The system provides an inexpensive, compact solution for distance measurement.
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.
The Internet of Things (IoT) is a network of physical objects embedded with electronics, software, and sensors that allows objects to connect and exchange data over the internet. IoT creates opportunities to remotely sense and control objects across networks, improving efficiency. Things in IoT include devices like heart monitors, farm animal tags, sensors in cars, and environmental sensors. These devices collect data using technologies and autonomously share it. IoT requires connectivity between things, intelligence to interpret sensor data, and scalability to handle increased connections.
This document summarizes a seminar presentation on silent sound technology for voice conversion. It introduces the technology as a way for those who have lost their voice to still communicate by phone by transmitting information without using vocal cords. It discusses two main methods - electromyography and image processing. Electromyography detects electrical signals from muscle movement and converts them to speech, while image processing uses ultrasound to view tongue movement. Some advantages are helping those who lost their voice and enabling silent calls. Disadvantages include unnatural speech and high cost. Future applications could include incorporating the sensors into phones for more natural use.
Now a day’s every advertisement is going to be digital. The big shops and shopping centers are using the digital moving displays now. The MOVING MESSAGE DISPLAY is use in school, college campus, universities, hospital and industries to scroll different events and important notices.
The aim of this project is to develop a wireless notice board that will be used at the faculty in order to display latest information.So we are designing a new display system which can access remotely, we are using the Wi-Fi technology, if the user wants to display some message, they will send the messages from mobile (i.e. wireless) or from their PC , the module (Wi-Fi router) in the display system will receive the message and update the display according to the message.
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.
This document discusses hardware/software codesign. It introduces codesign concepts and benefits over traditional design processes. Codesign allows concurrent development of hardware and software to optimize design tradeoffs. The document outlines topics on codesign fundamentals, tradeoffs, past approaches, and future directions like multiprocessor system-on-chip applications. Codesign moves parts between software and hardware to improve performance while meeting design constraints like cost, power, and time-to-market.
Presentation on IoT Based Home Automation using android & NodeMCUSouvik Kundu
This document presents a project on an IoT-based home automation system using an Android application. A group of 4 students developed the system under the supervision of Mr. Dipra Mitra. The system allows users to control home appliances like lights and fans remotely using a mobile app. It consists of NodeMCU microcontrollers connected to relays and sensors to control devices. The app communicates with these controllers over the internet to automate tasks based on time or sensor triggers. The system provides benefits like energy savings and remote monitoring and control of devices.
This document describes an Arduino-based home automation system using Bluetooth. The system allows users to control electrical appliances in their home remotely from an Android smartphone. An Arduino board is interfaced with a Bluetooth module to receive ON/OFF commands from a GUI app on the phone. Loads like lights and fans are then controlled by the Arduino board through optoisolators and thyristors. The system provides convenience and energy savings by allowing remote control of devices without needing to move proximity to switches. It was experimentally tested to successfully control sample appliances from a wireless mobile device.
CONTROLLING HOME APPLIANCES WITH IOT,BLYNK APP & NODE MCUVINAY KUMAR GUDELA
This document discusses controlling home appliances with IoT, Blynk app, and Node MCU. It outlines the components required, including relays, Node MCU ESP8266, batteries, and LED bulbs. The software requirements of Blynk app and Arduino IDE are explained. Circuit diagrams and code are provided. How IoT works for home automation is described, along with advantages like remote control and energy efficiency. Applications include lighting control, home monitoring, and smart appliances. The conclusion is that home automation using IoT was experimentally proven to successfully control appliances remotely over the internet.
The document discusses real-time operating systems and concepts. It defines an operating system and real-time systems, distinguishing between soft and hard real-time systems. Popular real-time operating systems include VxWorks, QNX and Linux. Real-time operating systems provide mechanisms for real-time scheduling of tasks with deterministic timing. The architecture of a real-time operating system includes tasks, scheduling, interrupts and kernel objects like semaphores. Key differences from general purpose OS are determinism, preemptive multitasking and priority-based scheduling in real-time OS.
Project report on home automation using Arduino AMIT SANPUI
This document describes an Arduino-based home automation project using Bluetooth. The project aims to develop a system that allows household appliances to be remotely controlled from an Android smartphone. An Arduino board is interfaced with a Bluetooth module to receive ON/OFF commands sent from an Android app. Relays connected to the Arduino can then switch loads such as lights and fans. The system provides a low-cost way to remotely control appliances, especially benefiting elderly or disabled users.
A microcontroller is an integrated circuit that can be programmed to control electronic devices. It contains a processor, memory, and input/output ports on a single chip. Microcontrollers come in various sizes based on their word length and internal bus width, from 4-bit to 32-bit. They also differ based on their memory architecture and instruction set. A microcontroller allows easy programming to control devices in embedded systems and provides advantages like low cost, small size, and flexibility.
Automatic irrigation system by using 8051rohit chandel
The document describes a controller-based irrigation system that uses a soil moisture sensor and microcontroller to automate irrigation. The system monitors soil moisture levels and uses that data to operate a pump motor to water only when needed, reducing human intervention and ensuring proper irrigation. It senses moisture with a sensor connected to a comparator circuit that interfaces with an 8051 microcontroller programmed to turn a pump on or off. This automation conserves water, increases productivity, reduces labor costs and helps irrigate more land effectively.
This presentation discuss about the Ultrasonic Sensor long with its working principle and simple test with sample of Arduino program. The ultrasonic Sensor featured in this presentation is HC-SR04.
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.
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 provides information about the Arduino programming environment and hardware options. It discusses downloading the Arduino software, installing drivers, and an overview of the Arduino UNO board. It also lists several Arduino board options, shields that can expand functionality, components needed for projects like enclosures, power supplies, batteries, and various cables and breadboards.
Arduino is an open-source hardware and software prototyping platform used for building electronics projects. It consists of a microcontroller board and an IDE used to write code. The board can be connected to sensors, actuators and other hardware components. There are many Arduino boards and derivatives that vary in size, capability, and function. The Arduino IDE uses a simplified version of C/C++ and provides an easy way to compile and upload code to the board.
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.
A very basic Arduino presentation with quite old projects, a brief Officine Arduino presentation and Fablab Torino.
These imagines and concepts are related and based over the work of Massimo Banzi and the Arduino Team, Alexandra Dechamps-Sonsino, Enrico Bassi.
The document discusses several electric log splitters from various manufacturers. It provides details on their specifications, features, and operation. The electric log splitters can be used indoors without fumes, run on household current, and have safety features like dual controls. They come in various sizes from 4-ton to 20-ton capacity and can split logs of different lengths and diameters.
A Fast Introduction to Arduino and Addressable LED Stripsatuline
The document provides an introduction to using Arduino and addressable LED strips. It discusses addressable LED strips and how each LED can be controlled individually. It introduces the FastLED library for efficiently programming LED strips and describes how to set up and run basic examples like making a rainbow pattern march across the strip. It also discusses more advanced FastLED features and includes additional resources.
Smart wheelchair - Emotiv-EasyCap-OPENViBE - Final Report - 6-14-16Sina Dabiri
This study used the OPENViBE software to process EEG signals from an Emotiv-EasyCap system for a motor imagery study involving left and right hand movements. Six subjects participated in one or more training sessions using the OPENViBE Motor Imagery BCI scenario. All subjects achieved over 65% accuracy on the left and right commands after training. The OPENViBE software enabled processing of EEG signals, training of a classifier to distinguish the commands, and providing feedback to subjects during training sessions.
The document provides an introduction to Arduino, including:
- What an Arduino is and its main components like a microprocessor, digital pins for inputs and outputs, and analog pins.
- How to program an Arduino using a processing "sketch" with setup, loop, and other functions like digitalWrite, analogWrite, and delay.
- Examples of inputs like sensors and outputs like LEDs.
- An overview of the Arduino programming language and block-based programming with ArduBlocks.
- Information on upcoming demonstrations of Arduino projects and links for further learning resources.
This ppt is regarding Arduino UNO r3 board by Robomart. Robomart is Online Robotics Store deals in all over India. Robomart provide robots kits, dc geared motor for robot in all over India on the basis of online order.
URL: https://www.robomart.com/arduino-uno-online-india
This workshop is all about having fun with an Arduino Nano & individually addressable RGB LED's using the FastLED library. Each attendee receives an Arduino Nano, a strip of 20 APA102 LED's, a battery back and batteries. We'll be programming the Arduino with some awesome animations and attach it to a hat.
It was created for scouting youth in the Fraser Valley of British Columbia, Canada.
The NodeMCU is an ESP8266 development board that contains a 32-bit RISC CPU, 64KB of instruction RAM, 96KB of data RAM, and external flash memory. It supports WiFi, GPIO pins, SPI, I2C, PWM and ADC interfaces. Official firmware includes Lua, Micropython, and Espruino scripting languages as well as support for Arduino IDE. It is inexpensive, functional, and has a large community supporting its use and development.
The Arduino platform was developed by a team of students and teachers to create an easy-to-use and affordable electronics prototyping platform. It was inspired by Processing and aims to be open source and support a community of users sharing projects and knowledge. The Arduino hardware acts as a microcontroller that can read input and control output to create interactive projects, while the software provides an easy programming environment to code these projects.
This document introduces Arduino, an open-source electronics prototyping platform. It can be used for projects involving robotics, music, sensor networks, interactive objects, art and more. Arduino boards use microcontrollers and can read input from sensors and control outputs to actuators. The Arduino software and community help make electronics prototyping accessible to anyone. Examples of Arduino projects include interactive installations, high-speed photography systems, biomimetic art, and drone autopilots.
This document presents a novel hands-free control system for intelligent wheelchairs using head gesture recognition. The system uses a webcam to capture facial images and integrates the Adaboost face detection algorithm and Camshift tracking algorithm to recognize head gestures in real-time. Five frontal gestures - center, up, down, left, right - are mapped to control commands like speed up, slow down, turn left, turn right to maneuver the wheelchair. The system was demonstrated to accurately recognize profile faces and control the wheelchair through various head gestures. This provides a robust hands-free interface for elderly or disabled users with limited mobility.
The NodeMCU is an inexpensive WiFi-enabled microcontroller board based on the ESP8266 chip that allows for programming of input/output pins to create inexpensive Internet of Things devices. For under $4, it can be programmed using C or Lua to build projects like remote doorbells, flood detectors, WiFi sniffers, or devices that control based on ambient light or trigger based on parking, and connects to WiFi to interface over HTTP.
Gowtham Thamilarasu is a senior embedded design engineer at Sparks Automations. The document discusses Arduino and embedded systems. It includes sections on Arduino hardware, programming, digital and analog input/output, serial communication, and examples of using Arduino to control devices like LCD displays and send messages via GSM. The document provides an overview of key Arduino concepts for engineers and programmers.
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 Arduino programming and the Arduino platform. It discusses what Arduino is, what types of projects can be built with Arduino, and covers the basics of getting started, digital and analog inputs/outputs, Neopixels, and putting projects together. It also includes an agenda and summaries of the Arduino UNO board and common sensors that can be used.
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.
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 like variables, operators, and control statements.
- The Arduino environment and programming is explained including the board, IDE, sensors, actuators and communication. Common electronic components and modules used with Arduino like LEDs, buttons, LCDs, ultrasonic sensors, and Bluetooth are described.
- The document concludes with a section on circuit diagrams for Arduino projects. Key concepts around pins, analog/digital input/output, pulse width modulation, delay, and
The document discusses an experiment using an Arduino board to implement various projects. It provides an introduction to the Arduino board and IDE. It describes designing and implementing projects to blink an LED, measure analog voltage, perform string operations, and control a traffic signal. It reviews the Arduino IDE and commands like pinMode(), digitalWrite(), analogWrite(), and if statements. It also discusses analog vs digital signals, pulse width modulation for fading, and using serial communication and the serial monitor. Code examples are provided for basic blinking, fading, and reading analog voltage.
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 provides an overview of learning objectives and topics for an introduction to Arduino lecture, including:
- How to use a potentiometer as a sensor and identify input/output ports of an Arduino.
- What an Arduino is, its boards and IDE software.
- Why Arduinos are popular for electronics projects.
- How Arduinos will be used in labs, including acquiring sensor data and sending signals to systems using code.
The document discusses setting up an Arduino board. It defines an Arduino board as a microcontroller board that contains an onboard power supply, USB port, and Atmel microcontroller chip. It simplifies creating control systems by providing a standard board that can be programmed without requiring sophisticated PCB design. The document also provides instructions on installing the Arduino IDE software, selecting the board and serial port, and uploading a basic blink program to test the setup.
Arduino_CSE ece ppt for working and principal of arduino.pptSAURABHKUMAR892774
The document provides an introduction and overview of Arduino boards and programming. It discusses:
- The different types of Arduino boards available.
- How to get started with the Arduino IDE and programming Arduino boards.
- Examples of common sensors and actuators that can be connected to Arduino boards like LEDs, buttons, temperature sensors.
- The basic structure of Arduino programs including setup(), loop(), and common functions like digitalRead(), digitalWrite(), and pinMode().
4 IOT 18ISDE712 MODULE 4 IoT Physical Devices and End Point-Aurdino Uno.pdfJayanthi Kannan MK
The document discusses the Arduino Uno microcontroller board. It provides details about the Arduino platform and describes the Arduino Uno board, which is based on the ATmega328P microcontroller. It lists the main components of the Arduino Uno board and explains the functions of pins and inputs/outputs. The document also provides an overview of the fundamentals of Arduino programming, including key functions, variables, conditions, and serial communication.
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.
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.
This document outlines the syllabus for a course on Internet of Things (IoT) technology taught by Dr. Syed Mustafa at HKBK College of Engineering, Bengaluru. It covers key modules including IoT physical devices and endpoints such as Arduino and Raspberry Pi. The Arduino section describes the Arduino microcontroller board and its components. It also covers Arduino programming basics like setup and loop functions, input/output functions, variables, conditional statements, and serial communication. The Raspberry Pi section provides an overview of the single-board computer and its hardware layout.
The document discusses various topics related to Internet of Things (IoT) including IoT hardware, software, networks, protocols, cloud platforms, and programming concepts. It describes setting up an Arduino board, writing code for sensors, analog and digital input/output, and serial communication. Examples of interfacing a PIR motion sensor and mapping analog sensor values to PWM output are provided. Popular IoT protocols like MQTT and CoAP are introduced along with several cloud platforms for connecting IoT devices to the cloud.
Artificial Intelligence in the Nonprofit Boardroom.pdfOnBoard
OnBoard recently partnered with Microsoft Tech for Social Impact on the AI in the Nonprofit Boardroom Survey, an initiative designed to uncover the current and future role of artificial intelligence in nonprofit governance.
How Advanced Environmental Detection Is Revolutionizing Oil & Gas Safety.pdfRejig Digital
Unlock the future of oil & gas safety with advanced environmental detection technologies that transform hazard monitoring and risk management. This presentation explores cutting-edge innovations that enhance workplace safety, protect critical assets, and ensure regulatory compliance in high-risk environments.
🔍 What You’ll Learn:
✅ How advanced sensors detect environmental threats in real-time for proactive hazard prevention
🔧 Integration of IoT and AI to enable rapid response and minimize incident impact
📡 Enhancing workforce protection through continuous monitoring and data-driven safety protocols
💡 Case studies highlighting successful deployment of environmental detection systems in oil & gas operations
Ideal for safety managers, operations leaders, and technology innovators in the oil & gas industry, this presentation offers practical insights and strategies to revolutionize safety standards and boost operational resilience.
👉 Learn more: https://www.rejigdigital.com/blog/continuous-monitoring-prevent-blowouts-well-control-issues/
Scaling GenAI Inference From Prototype to Production: Real-World Lessons in S...Anish Kumar
Presented by: Anish Kumar
LinkedIn: https://www.linkedin.com/in/anishkumar/
This lightning talk dives into real-world GenAI projects that scaled from prototype to production using Databricks’ fully managed tools. Facing cost and time constraints, we leveraged four key Databricks features—Workflows, Model Serving, Serverless Compute, and Notebooks—to build an AI inference pipeline processing millions of documents (text and audiobooks).
This approach enables rapid experimentation, easy tuning of GenAI prompts and compute settings, seamless data iteration and efficient quality testing—allowing Data Scientists and Engineers to collaborate effectively. Learn how to design modular, parameterized notebooks that run concurrently, manage dependencies and accelerate AI-driven insights.
Whether you're optimizing AI inference, automating complex data workflows or architecting next-gen serverless AI systems, this session delivers actionable strategies to maximize performance while keeping costs low.
Providing an OGC API Processes REST Interface for FME FlowSafe Software
This presentation will showcase an adapter for FME Flow that provides REST endpoints for FME Workspaces following the OGC API Processes specification. The implementation delivers robust, user-friendly API endpoints, including standardized methods for parameter provision. Additionally, it enhances security and user management by supporting OAuth2 authentication. Join us to discover how these advancements can elevate your enterprise integration workflows and ensure seamless, secure interactions with FME Flow.
Kubernetes Security Act Now Before It’s Too LateMichael Furman
In today's cloud-native landscape, Kubernetes has become the de facto standard for orchestrating containerized applications, but its inherent complexity introduces unique security challenges. Are you one YAML away from disaster?
This presentation, "Kubernetes Security: Act Now Before It’s Too Late," is your essential guide to understanding and mitigating the critical security risks within your Kubernetes environments. This presentation dives deep into the OWASP Kubernetes Top Ten, providing actionable insights to harden your clusters.
We will cover:
The fundamental architecture of Kubernetes and why its security is paramount.
In-depth strategies for protecting your Kubernetes Control Plane, including kube-apiserver and etcd.
Crucial best practices for securing your workloads and nodes, covering topics like privileged containers, root filesystem security, and the essential role of Pod Security Admission.
Don't wait for a breach. Learn how to identify, prevent, and respond to Kubernetes security threats effectively.
It's time to act now before it's too late!
Integration of Utility Data into 3D BIM Models Using a 3D Solids Modeling Wor...Safe Software
Jacobs has developed a 3D utility solids modelling workflow to improve the integration of utility data into 3D Building Information Modeling (BIM) environments. This workflow, a collaborative effort between the New Zealand Geospatial Team and the Australian Data Capture Team, employs FME to convert 2D utility data into detailed 3D representations, supporting enhanced spatial analysis and clash detection.
To enable the automation of this process, Jacobs has also developed a survey data standard that standardizes the capture of existing utilities. This standard ensures consistency in data collection, forming the foundation for the subsequent automated validation and modelling steps. The workflow begins with the acquisition of utility survey data, including attributes such as location, depth, diameter, and material of utility assets like pipes and manholes. This data is validated through a custom-built tool that ensures completeness and logical consistency, including checks for proper connectivity between network components. Following validation, the data is processed using an automated modelling tool to generate 3D solids from 2D geometric representations. These solids are then integrated into BIM models to facilitate compatibility with 3D workflows and enable detailed spatial analyses.
The workflow contributes to improved spatial understanding by visualizing the relationships between utilities and other infrastructure elements. The automation of validation and modeling processes ensures consistent and accurate outputs, minimizing errors and increasing workflow efficiency.
This methodology highlights the application of FME in addressing challenges associated with geospatial data transformation and demonstrates its utility in enhancing data integration within BIM frameworks. By enabling accurate 3D representation of utility networks, the workflow supports improved design collaboration and decision-making in complex infrastructure projects
Interested in leveling up your JavaScript skills? Join us for our Introduction to TypeScript workshop.
Learn how TypeScript can improve your code with dynamic typing, better tooling, and cleaner architecture. Whether you're a beginner or have some experience with JavaScript, this session will give you a solid foundation in TypeScript and how to integrate it into your projects.
Workshop content:
- What is TypeScript?
- What is the problem with JavaScript?
- Why TypeScript is the solution
- Coding demo
No-Code Workflows for CAD & 3D Data: Scaling AI-Driven InfrastructureSafe Software
When projects depend on fast, reliable spatial data, every minute counts.
AI Clearing needed a faster way to handle complex spatial data from drone surveys, CAD designs and 3D project models across construction sites. With FME Form, they built no-code workflows to clean, convert, integrate, and validate dozens of data formats – cutting analysis time from 5 hours to just 30 minutes.
Join us, our partner Globema, and customer AI Clearing to see how they:
-Automate processing of 2D, 3D, drone, spatial, and non-spatial data
-Analyze construction progress 10x faster and with fewer errors
-Handle diverse formats like DWG, KML, SHP, and PDF with ease
-Scale their workflows for international projects in solar, roads, and pipelines
If you work with complex data, join us to learn how to optimize your own processes and transform your results with FME.
PyData - Graph Theory for Multi-Agent Integrationbarqawicloud
Graph theory is a well-known concept for algorithms and can be used to orchestrate the building of multi-model pipelines. By translating tasks and dependencies into a Directed Acyclic Graph, we can orchestrate diverse AI models, including NLP, vision, and recommendation capabilities. This tutorial provides a step-by-step approach to designing graph-based AI model pipelines, focusing on clinical use cases from the field.
Your startup on AWS - How to architect and maintain a Lean and Mean accountangelo60207
Prevent infrastructure costs from becoming a significant line item on your startup’s budget! Serial entrepreneur and software architect Angelo Mandato will share his experience with AWS Activate (startup credits from AWS) and knowledge on how to architect a lean and mean AWS account ideal for budget minded and bootstrapped startups. In this session you will learn how to manage a production ready AWS account capable of scaling as your startup grows for less than $100/month before credits. We will discuss AWS Budgets, Cost Explorer, architect priorities, and the importance of having flexible, optimized Infrastructure as Code. We will wrap everything up discussing opportunities where to save with AWS services such as S3, EC2, Load Balancers, Lambda Functions, RDS, and many others.
Developing Schemas with FME and Excel - Peak of Data & AI 2025Safe Software
When working with other team members who may not know the Esri GIS platform or may not be database professionals; discussing schema development or changes can be difficult. I have been using Excel to help illustrate and discuss schema design/changes during meetings and it has proven a useful tool to help illustrate how a schema will be built. With just a few extra columns, that Excel file can be sent to FME to create new feature classes/tables. This presentation will go thru the steps needed to accomplish this task and provide some lessons learned and tips/tricks that I use to speed the process.
AI Agents in Logistics and Supply Chain Applications Benefits and ImplementationChristine Shepherd
AI agents are reshaping logistics and supply chain operations by enabling automation, predictive insights, and real-time decision-making across key functions such as demand forecasting, inventory management, procurement, transportation, and warehouse operations. Powered by technologies like machine learning, NLP, computer vision, and robotic process automation, these agents deliver significant benefits including cost reduction, improved efficiency, greater visibility, and enhanced adaptability to market changes. While practical use cases show measurable gains in areas like dynamic routing and real-time inventory tracking, successful implementation requires careful integration with existing systems, quality data, and strategic scaling. Despite challenges such as data integration and change management, AI agents offer a strong competitive edge, with widespread industry adoption expected by 2025.
➡ 🌍📱👉COPY & PASTE LINK👉👉👉 ➤ ➤➤ https://drfiles.net/
Wondershare Filmora Crack is a user-friendly video editing software designed for both beginners and experienced users.
The State of Web3 Industry- Industry ReportLiveplex
Web3 is poised for mainstream integration by 2030, with decentralized applications potentially reaching billions of users through improved scalability, user-friendly wallets, and regulatory clarity. Many forecasts project trillions of dollars in tokenized assets by 2030 , integration of AI, IoT, and Web3 (e.g. autonomous agents and decentralized physical infrastructure), and the possible emergence of global interoperability standards. Key challenges going forward include ensuring security at scale, preserving decentralization principles under regulatory oversight, and demonstrating tangible consumer value to sustain adoption beyond speculative cycles.
If You Use Databricks, You Definitely Need FMESafe Software
DataBricks makes it easy to use Apache Spark. It provides a platform with the potential to analyze and process huge volumes of data. Sounds awesome. The sales brochure reads as if it is a can-do-all data integration platform. Does it replace our beloved FME platform or does it provide opportunities for FME to shine? Challenge accepted
2. Start with the name of Allah (SWT), Who is most Merciful and
Most Beneficent
3. WHAT IS ARDUINO
• Arduino is an open-source project
that created microcontroller-based
kits for building digital devices and
interactive objects that can sense
and control physical devices.
• These systems provide sets of digital
and analog input/output (I/O) pins
that can interface to various
expansion boards (termed shields)
and other circuits.
4. WHAT IS MICRO-CONTROLLER
• A microcontroller is basically a small-scale computer with
generalized (and programmable) inputs and outputs.
• The inputs and outputs can be manipulated by and can
manipulate the physical world.
• Programmers work in the virtual world.
• Machinery works in the physical world.
• How does one connect the virtual world to the physical world?
• Simply enter the Microcontroller.
5. ARDUINO TYPES
• Many different versions
• Number of input/output channels
• Form factor
• Processor
• Leonardo
• Due
• Micro
• LilyPad
• Esplora
• Uno
6. ARDUINO UNO
• Invented / Launched in 2010
• The pins are in three groups:
• 14 digital pins
• 6 analog pins
• 6 PWM pins
• Digital pin 0 & 1 is used for RX
TX
• 16MHz Clock speed
• 32KB Flash memory
• 2KB SRAM
• 1KB EEPROM
7. • 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)
• 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) -
SV1 (purple)
• USB (used for uploading sketches to the board and
for serial communication between the board andhttps://www.arduino.cc/en/Reference/Board
8. THE ARDUINO IDE
The main features you need to know about are:
• Code area: This is where you will type all your
code
• Info panel: This will show any errors during
compiling or uploading code to your Arduino
• Verify: This allows you to compile your code to
code the Arduino understands. Any mistakes you
have made in the syntax of your code will be
show in the info pannel
• Upload: This does the same as verify but will
then send your code to your Arduino if the code
is verified successfully
• Serial Monitor: This will open a window that
allows you to send text to and from an Arduino.
We will use this feature in later lectures.
9. THE ARDUINO IDE
By far one of the most valuable part of the
Arduino software is its vast library of
example programs. All features of the
Arduino are demonstrated in these.
Optional libraries usually add their own
examples on how to use them.
If these examples don’t cover what you
need…. Google it!
11. STRUCTURE OF AN ARDUINO “SKETCH”
void setup()
{
// put your setup code here, to run once:
}
void loop()
{
// put your main code here, to run repeatedly:
}
12. FIRST PROGRAM, SINGLE LED SKETCH
int onBoardLED; // Variable Defined
void setup()
{
//Arduinos have an on-board LED on pin 13
onBoardLED = 13;
pinMode(onBoardLED, OUTPUT);
}
void loop()
{
digitalWrite(onBoardLED, HIGH);
delay(500); //delay measured in milliseconds
digitalWrite(onBoardLED, LOW);
delay(500);
}
16. ARDUINO PROGRAM (SERIAL COM)
• The baud rate is the rate at
which information is
transferred in a
communication channel. In
the serial port context, "9600
baud" means that the serial
port is capable of
transferring a maximum of
9600 bits per second.
20. STRUCTURE
setup() {
• The setup() function is called when a sketch starts. Use it to initialize
variables, pin modes, start using libraries, etc. The setup function will
only run once, after each powerup or reset of the Arduino board.
}
loop() {
• After creating a setup() function, which initializes and sets the initial
values, the loop() function does precisely what its name suggests,
and loops consecutively, allowing your program to change and
respond. Use it to actively control the Arduino board.
}
21. CONTROL STRUCTURES
• if
• if...else
• for
• switch case
• while
• do... while
• break
• continue
• return
• goto
22. IF
• IF which is used in conjunction with a comparison operator,
tests whether a certain condition has been reached, such as an
input being above a certain number. The format for an if test is:
if (someVariable > 50)
{
// do something here
}
23. IF / ELSE
• if/else allows greater control over the flow of code than the
basic if statement, by allowing multiple tests to be grouped
together.
if (pinFiveInput < 500)
{ // action A }
else
{ // action B }
if (pinFiveInput < 500)
{ // do Thing A }
else if (pinFiveInput >= 1000)
{ // do Thing B }
else
{ // do Thing C }
24. SWITCH / CASE STATEMENTS:
• Like if statements, switch...case controls the flow of programs
by allowing programmers to specify different code that should
be executed in various conditions.
switch (var) {
case 1:
//do something when var equals 1
break;
case 2:
//do something when var equals 2
break;
default:
// if nothing else matches, do the default
// default is optional
break;
}
25. WHILE
• while loops will loop continuously, and infinitely, until the
expression inside the parenthesis, () becomes false. Something
must change the tested variable, or the while loop will never
exit. This could be in your code, such as an incremented
variable, or an external condition, such as testing a sensor.
var = 0;
while(var < 200){
// do something repetitive 200 times
var++;
}
31. VARIABLE- DATA TYPES
• void
• boolean
• char
• unsigned char
• byte
• int
• unsigned int
• word
• long
• unsigned long
• short
• float
• double
• string - char array
• String - object
• array
32. FUNCTIONS- DIGITAL I/O
•pinMode()
Configures the specified pin to behave either as an input or an
output.
Syntax: pinMode(pin, mode)
int ledPin = 13; // LED connected to digital pin 13
void setup()
{
pinMode(ledPin, OUTPUT);
// sets the digital pin as output
}
33. FUNCTIONS- DIGITAL I/O
•digitalWrite()
• Write a HIGH or a LOW value to a digital pin.
Syntax: digitalWrite(pin, value)
void loop()
{
digitalWrite(ledPin, HIGH); // sets the LED on
delay(1000); // waits for a second
digitalWrite(ledPin, LOW); // sets the LED off
delay(1000); // waits for a second
}
34. FUNCTIONS- DIGITAL I/O
•pinMode()
and
•digitalWrite()
int ledPin = 13; // LED connected to digital pin 13
void setup()
{
pinMode(ledPin, OUTPUT);
// sets the digital pin as output
}
void loop()
{
digitalWrite(ledPin, HIGH); // sets the LED on
delay(1000); // waits for a second
digitalWrite(ledPin, LOW); // sets the LED off
delay(1000); // waits for a second
}
35. FUNCTIONS- DIGITAL I/O
•digitalRead()
1. Reads the value from a
specified digital pin,
either HIGH or LOW.
2. pin: the number of the
digital pin you want to
read (int)
int ledPin = 13; // LED connected to digital pin 13
int inPin = 7; // pushbutton connected to digital pin 7
int val = 0; // variable to store the read value
void setup()
{
pinMode(ledPin, OUTPUT); // sets the digital pin 13
as output
pinMode(inPin, INPUT); // sets the digital pin 7 as
input
}
void loop()
{
val = digitalRead(inPin); // read the input pin
digitalWrite(ledPin, val); // sets the LED to the button's
value
}