1 www.quadstore.in www.quadstore.in Quad Robotics A unit of Quad Store SP kit D

1 www.quadstore.in www.quadstore.in Quad Robotics A unit of Quad Store SP kit Documentation 2 www.quadstore.in Warning: When you purchase or use any of the electronic components or kits, please note the following issues: This product contains small parts. Swallowing or improper operation them can cause serious infections and death. Seek immediate medical attention when the accident happened. Do not allow children under 3 years old to play with or near this product. Please place this product in where children under 3 years of age cannot reach. Do not allow children lack of ability of safe to use this product alone without parental care. Never use this product and its parts near any AC electrical outlet or other circuits to avoid the potential risk of electric shock. Never use this product near any liquid and fire. Keep conductive materials away from this product. Never store or use this product in any extreme environments such as extreme hot or cold, high humidity and etc. Remember to turn off circuits when not in use this product or when left. Do not touch any moving and rotating parts of this product while they are operating. Some parts of this product may become warm to touch when used in certain circuit designs. This is normal. Improper operation may cause excessively overheating. Using the product not in accordance with the specification may cause damage to the product. About: Quad Store is an open-source electronics platform company involved in manufacturing and selling of DIY kits for arduino, raspberry and other microcontrollers. Quad Store is committed to helping customer quickly realize the creative idea and product prototypes, making it easy to get started for enthusiasts of programing and electronics and launching innovative open source products. Our services include: • Electronic components and modules • Learning kits for Arduino • Learning kits for Raspberry Pi • Robot/Car kits • DIY kits Our code and circuit are open source. You can obtain the details and the latest information through visiting our web site: http://www.quadstore.in Your comments and suggestions are warmly welcomed, please send them to the following email address: quadstore.help@gmail.com 3 www.quadstore.in www.quadstore.in References: You can download the sketches and references used in this book from our website download section: http://www.quadstore.in If you have any difficulties, you can send email to technical support for help. This entire book can be covered using the components provided with the Quad Store’s Super Starter Kit for Arduino. Following folders and files will be available when you download the contents. Libraries Libraries for Arduino sketches Code Code/Sketches for Arduino projects Tutorial.pdf Tutorial for Arduino Support: Quad Store provides free and quick technical support, including but not limited to: • Questions for learning and technology • Opinions and suggestions • Ideas and thoughts Please send email to: quadstore.help@gmail.com On working day, we usually reply to you within 48-72 hours. Copyright: Quad Store reserves all rights to this book. No copies are allowed for the purpose of commercial use. The code and circuit involved in this product are released as Creative Commons Attribution ShareAlike 3.0. This means you can use them on your own derived works, in part or completely, as long as you also adopt the same license. Quad Store brand and Quad Store logo are copyright of Quad Store and cannot be used without formal permission. 4 www.quadstore.in Arduino Board: Arduino Board is a circuit board, which integrates micro controller, input, output interface and etc. Arduino Board can use the sensor to sense the environment and receive user's operation to control LED, motor rotation, etc. We just need to assembly circuit and write the code. Currently, Arduino Board has several models, and the code between boards of different types is universal (some boards may not be completely compatible because of the differences in hardware). Popular boards include: UNO R3 Board: MICRO NANO MEGA 5 www.quadstore.in www.quadstore.in The reference board used in this book is Quad Store’s UNO board which an Arduino-Compatible board. Diagram of Quad Store UNO board is shown below. The board supplied with this kit may or may not contain Quad Store logo as it is supplied based on availability. Functionality of all boards are the same. Reset button Digital I/O ports USB interface LED ON LED L LED TX LED RX DC interface Power ports Analog I/O ports 6 www.quadstore.in Other Arduino-Compatible boards: You can purchase this separately if you need Quad Store’s colourful Arduino-compatible board which is build with high quality black PCB, color pin headers with gold pin connectors. Default board included in our kit is shown below for your reference. Note we have included only Quaduino which is a high-quality Arduino-Compatible board hence it does not come with arduino logo, but the functionality of the board remains the same. Digital I/O ports is used to connect to other components or modules, to receive an input signal, or to send a control signal. Usually, we name it by adding a "D" in front of the number, such as D13. USB interface is used to provide power, upload code or communicate with PC. LED L is connected to digital I/O port 13 (D13). LED TX, RX is used to indicate the state of the serial communication. DC interface is connected DC power to provide power for the board. Power ports can provide power for electronic components and modules. Analog I/O ports can be used to measure analog signals. LED ON is used to indicate the power state. Quad Store’s UNO is the most suitable board to complete the experiments of this book. You can also choose to use Arduino UNO, Arduino MICRO, Arduino NANO, Arduino MEGA (or other boards compatible to them). www.quadstore.in www.quadstore.in www.quadstore.in Table of contents Getting Started with Arduino Installing Arduino IDE and using the Uno R3 board About Arduino Uno R3 board Lesson-1 Blinking LED Lesson-2 Controlling LED by Button Lesson-3 Serial Port Lesson-4 LED following lights Lesson-5 Breathing LED Lesson-6 1602 LCD Display Lesson-7 7-Segment Display Lesson-8 A Simple Counter Lesson-9 Controlling Servo Lesson-10 IR Remote Controller Lesson-11 Ultrasonic Distance Sensor Lesson-12 Tilt Switch Lesson-13 Controller Stepper Motor Lesson-14 Photoresistor Lesson-15 Temperature and Humidity Sensor (DHT11) Lesson-16 Flame Sensor Lesson-17 Active Buzzer Lesson-18 Passive Buzzer Lesson-19 Controlling Stepper motor using IR Remote Lesson-20 Controlling Circle Size using Potentiometer Lesson-21 Snake Game Lesson-22 RGB Led Lesson-23 8*8 LED Matrix Display Lesson-24 ESP8266 and LED 8 9 14 17 21 24 27 29 31 34 36 38 40 43 45 46 48 50 5 53 54 55 56 58 60 61 63 8 www.quadstore.in Getting Started with Arduino What is an Arduino? Arduino is an open-source physical computing platform designed to make experimenting with electronics more fun and intuitive. Arduino has its own unique, simplified programming language, a vast support network, and thousands of potential uses, making it the perfect platform for both beginner and advanced DIY enthusiasts. www.arduino.cc A Computer for the Physical World: The friendly blue board in your hand (or on your desk) is the Arduino. In some ways you could think of Arduino as the child of traditional desktop and laptop computers. At its roots, the Arduino is essentially a small portable computer. It is capable of taking inputs (such as the push of a button or a reading from a light sensor) and interpreting that information to control various outputs (like a blinking LED light or an electric motor). That's where the term "physical computing" is born - an Arduino is capable of taking the world of electronics and relating it to the physical world in a real and tangible way. Trust us - this will all make more sense soon. Arduino UNO SMD R3: The Arduino Uno is one of several development boards based on the ATmega328. We like it mainly because of its extensive support network and its versatility. It has 14 digital input/output pins (6 of which can be PWM outputs), 6 analog inputs, a 16 MHz crystal oscillator, a USB connection, a power jack, an ICSP header, and a reset button. Don’t worry, you’ll learn about all these later. 9 www.quadstore.in www.quadstore.in Installing Arduino IDE and Using Uno R3 board STEP-1:Download the Arduino IDE (Integrated Development Environment) Access the Internet: In order to get your Arduino up and running, you'll need to download some software first from www. arduino.cc (it's free!). This software, known as the Arduino IDE, will allow you to program the Arduino to do exactly what you want. It’s like a word processor for writing programs. With an internet-capable computer, open up your favorite browser and type in the following URL into the address bar: www.arduino.cc/en/Main/Software 10 www.quadstore.in STEP-2: Connect your Arduino Uno to your Computer Use the USB cable provided in the kit to connect the Arduino to one of your computer’s USB inputs. For different operating system platforms, the way of using Arduino IDE is different. Please refer to the following links: Windows User: http://www.arduino.cc/en/Guide/Windows Mac OS X User:http://www.arduino.cc/en/Guide/MacOSX Linux User:http://playground.arduino.cc/Learning/Linux For more detailed information about Arduino IDE, please refer to the following uploads/S4/ ssk-guide 1 .pdf

  • 35
  • 0
  • 0
Afficher les détails des licences
Licence et utilisation
Gratuit pour un usage personnel Attribution requise
Partager
  • Détails
  • Publié le Jui 27, 2021
  • Catégorie Law / Droit
  • Langue French
  • Taille du fichier 5.5909MB