Steering Engine Sample Sketch
|
|
- Eric Mathews
- 5 years ago
- Views:
Transcription
1 Steering Engine Sample Sketch #include <SoftwareServo.h> #include <Servo.h> #define LEFT_CENTER 93 #define RIGHT_CENTER 95 #define SPEED 5 Servo servo_left; Servo servo_right; SoftwareServo servo_scanner; int pingpin = 7; int scanned_values[20]; int run = 1; void setup() { servo_scanner.attach(5); // we attach drive servos later to keep them from creeping Serial.begin(9600); Serial.print("Ready"); void loop() { static int value = 0; static char CurrentServo; static long duration; int closest; if (run == 1) { // scan horizon and store values in scanned_values scan_horizon(); // figure out which direction has the closest value // 0 means it's all the way on the left, 9 middle, 18 full right closest = find_closest(); // rotate to face nearest scanned value // positive values are clockwise turn((closest - 9));
2 // advance for a bit drive_straight(5); delay(200); // Serial command interface if ( Serial.available()) { char ch = Serial.read(); switch(ch) { case 'g':// go run = 1; case 's':// stop run = 0; case 'A': CurrentServo='A'; // center 93 case 'B': CurrentServo='B'; // center 95 case 'C': CurrentServo='C'; // 0 left to 180 full right case '+': value = value +1; case '-': value = value -1; case '0'... '9': value=(ch-'0')*20; if (CurrentServo=='A') { servo_left.write(value); else if (CurrentServo=='B') { servo_right.write(value); else if (CurrentServo=='C') {
3 servo_scanner.write(value); Serial.print("current servo: "); Serial.println(CurrentServo); Serial.println(value); int find_closest() { int i; int m = 1000; int index = 0; for (i=1;i<=17;i+=1) { if (scanned_values[i] < m) { index = i; m = scanned_values[i]; Serial.print("closest: "); Serial.print(index); Serial.print(" "); Serial.println(scanned_values[index]); return index; void scan_horizon() { int i, j; // return to full left. send command and then give it time to move. servo_scanner.write(0); for (j=0;j<40;j++) { delay(20); // take 19 distance readings for (i=0;i<=18;i+=1) {
4 servo_scanner.write(i*10); millisset(0); while(millis() <140) delay(20); scanned_values[i] = ping(); delay(10); // read out scanned values to serial port: Serial.println("new scan:"); for (i=0;i<=18;i++) { Serial.print(scanned_values[i]); Serial.print(' '); Serial.println(); void drive_straight(int distance) { // our servos have slightly different centers, and are oriented oppositely attach_drive_servos(); if (distance > 0) { servo_left.write(left_center - SPEED); servo_right.write(right_center + SPEED); else if (distance < 0) { servo_left.write(left_center + SPEED); servo_right.write(right_center - SPEED); else { delay(abs(distance)*100); // stop drive servos void turn(int distance) { // our servos have slightly different centers, and are oriented oppositely
5 // we attach and detach because it was impossible to get a perfect "center" or "off" position attach_drive_servos(); if (distance > 0) { servo_left.write(left_center - SPEED); servo_right.write(right_center - SPEED); else if (distance < 0) { servo_left.write(left_center + SPEED); servo_right.write(right_center + SPEED); else { delay(abs(distance)*100); // stop drive servos long ping() { pinmode(pingpin, OUTPUT); digitalwrite(pingpin, LOW); delaymicroseconds(2); digitalwrite(pingpin, HIGH); delaymicroseconds(5); digitalwrite(pingpin, LOW); // The same pin is used to read the signal from the PING))): a HIGH // pulse whose duration is the time (in microseconds) from the sending // of the ping to the reception of its echo off of an object. // According to Parallax's datasheet for the PING))), there are // microseconds per inch (i.e. sound travels at 1130 feet per // second). // See: pinmode(pingpin, INPUT); return pulsein(pingpin, HIGH) / 72 / 2; void attach_drive_servos() { servo_left.attach(10); servo_right.attach(9); void detach_drive_servos() {
6 servo_left.detach(); servo_right.detach();
/* to use: enter key aray and make sure that the userentered has the same number of zeros
to use: enter key aray and make sure that the userentered has the same number of zeros ex: int Keyarray[] = {1,2,3,4; int userentered[] = {0,0,0,0; ex2: int Keyarray[] = {1,2,3,4,1,2,3; int userentered[]
More informationEng.mohammed Albhaisi. Lab#3 : arduino to proteus simulation. for simulate Arduino program that you wrote you have to have these programs :
Lab#3 : arduino to proteus simulation for simulate Arduino program that you wrote you have to have these programs : 1-Arduino C 2-proteus 3- Virtual Serial Port Driver 4-Arduino library to proteus You
More informationExperiment 3: Sonar Navigation, CAD and 3D Printing
Experiment 3: Sonar Navigation, CAD and 3D Printing V3 Robot scans area for obstacles to avoid hitting them and navigates using sonar sensor mounted on a 3D printed sensor bracket that goes on a micro
More informationDistributed Real- Time Control Systems. Lecture 3 Embedded Systems Interfacing the OuterWorld
Distributed Real- Time Control Systems Lecture 3 Embedded Systems Interfacing the OuterWorld 1 Bibliography ATMEGA 328 Datasheet. arduino.cc Book: Arduino Cookbook, 2nd Ed. Michael Margolis O Reilly, 2012
More informationRobotics/Electronics Review for the Final Exam
Robotics/Electronics Review for the Final Exam Unit 1 Review. 1. The battery is 12V, R1 is 400 ohms, and the current through R1 is 20 ma. How many ohms is R2? ohms What is the voltage drop across R1? V
More informationARDUINO. By Kiran Tiwari BCT 2072 CoTS.
ARDUINO By Kiran Tiwari BCT 2072 CoTS www.kirantiwari.com.np SO What is an Arduino? WELL!! Arduino is an open-source prototyping platform based on easy-to-use hardware and software. Why Arduino? Simplifies
More informationPROGRAMMING WITH ARDUINO
PROGRAMMING WITH ARDUINO Arduino An open-source hardware platform based on an Atmel AVR 8-bit microcontroller and a C++ based IDE Over 300000 boards have been manufactured Arduino Due is based on a 32-bit
More informationThe Big Idea: Background: About Serial
Lesson 6 Lesson 6: Serial Serial Input Input The Big Idea: Information coming into an Arduino sketch is called input. This lesson focuses on text in the form of characters that come from the user via the
More information4Serial SIK BINDER //77
4Serial SIK BINDER //77 SIK BINDER //78 Serial Communication Serial is used to communicate between your computer and the RedBoard as well as between RedBoard boards and other devices. Serial uses a serial
More informationRotary Encoder Basics
Rotary Encoder Basics A rotary encoder has a fixed number of positions per revolution. These positions are easily felt as small clicks you turn the encoder. The Keyes module that I have has thirty of these
More informationEP486 Microcontroller Applications
EP486 Microcontroller Applications Topic 6 Step & Servo Motors Joystick & Water Sensors Department of Engineering Physics University of Gaziantep Nov 2013 Sayfa 1 Step Motor http://en.wikipedia.org/wiki/stepper_motor
More informationADC to I 2 C. Data Sheet. 10 Channel Analog to Digital Converter. with output via I 2 C
Data Sheet 10 Channel Analog to Digital Converter with output via I 2 C Introduction Many microcontroller projects involve the use of sensors like Accelerometers, Gyroscopes, Temperature, Compass, Barometric,
More information// Should be right for DVD steppers, but is not too important here const int stepsperrevolution = 48;
/* https://www.youtube.com/watch?v=opz9rgmoipc */ #include #include #define LINE_BUFFER_LENGTH 512 char STEP = MICROSTEP ; // Servo position for Up and Down const int penzup = 50;
More informationMAKE & COLLABORATE: SECRET KNOCK LOCK
MAKE & COLLABORATE: SECRET KNOCK LOCK A project from Arduino Project Handbook: 25 Practical Projects to Get You Started Project 9: Secret KnocK LocK For centuries clandestine groups have used Secret KnocKS
More informationIntroduction to Arduino Programming. Sistemi Real-Time Prof. Davide Brugali Università degli Studi di Bergamo
Introduction to Arduino Programming Sistemi Real-Time Prof. Davide Brugali Università degli Studi di Bergamo What is a Microcontroller www.mikroe.com/chapters/view/1 A small computer on a single chip containing
More informationLab 3 XBees and LCDs and Accelerometers, Oh My! Part 1: Wireless Communication Using XBee Modules and the Arduino
University of Pennsylvania Department of Electrical and Systems Engineering ESE 205 Electrical Circuits and Systems Laboratory I Lab 3 XBees and LCDs and Accelerometers, Oh My! Introduction: In the first
More informationDESERT CODE CAMP
Implementing Multiple Serial Ports On An Arduino DESERT CODE CAMP 2011.2 Presented by Don Doerres Embedded Pro Guy don@azlaborlaw.com THE ARDUINO Arduino is Italian for Strong Friend The basic Arduino
More informationLEARN HOW TO INTERFACE WITH AND ARDUINO
GET STARTED TO WORK WITH XBEE LEARN HOW TO INTERFACE WITH MINDSTORMS AND ARDUINO 3322 Rt.22W, Suite 402, Branchburg, NJ 08876 l www.stormingrobots.com l 908-595-1010 l admin@stormingrobots.com 1 P a g
More informationLISTING PROGRAM. 1. Bahasa Pemrograman C #include <Servo.h> Servo myservo;
1 LISTING PROGRAM 1. Bahasa Pemrograman C #include Servo myservo; int pos = 70; int baris1 = A0; int baris2 = A1; int baris3 = A3; int kolom1 = 12; int kolom2 = 7; int kolom3 = 6; int vbaris1
More informationArduino Board Design. Nicholas Skadberg 4/30/09 EE290. Dr. Pushkin Kachroo
Arduino Board Design Nicholas Skadberg 4/30/09 EE290 Dr. Pushkin Kachroo Abstract In an effort to further understand the concept of digital control using a microprocessor, a simple serial output device
More informationDHT11 Humidity and Temperature Sensor
DHT Humidity and Temperature Sensor Introduction This DHT Temperature and Humidity Sensor features a calibrated digital signal output with the temperature and humidity sensor complex Its technology ensures
More informationEXPERIMENT2. V3 Robot Navigates Autonomously with Feelers and Infrared Sensors
EXPERIMENT2 V3 Robot Navigates Autonomously with Feelers and Infrared Sensors Purpose: Install and program the feeler sensors (switches) plus the adjustable range infrared sensors to navigate autonomously
More informationGoal: Strengthen our understanding of C and program our Mudduino boards
Goal: Strengthen our understanding of C and program our Mudduino boards #include #define myarraysize 10 int myarray[myarraysize] = 34, 18, -12, 7, 5; int i; printf("values are: ["); for(i=0;
More informationEnergia MSP-430!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! 1
Energia MSP-430 1 3 Energia 4 4 4 6 8 9 Energia 11 18 2 IIB Energia MSP-430 IIB C C++ 3 Energia Energia MSP-430 Windows Mac OS Linux MSP-430, http://www.energia.nu, Max OS X, windows Linux Mac OS X, energia-
More informationThis tutorial will show you how to take temperature readings using the Freetronics temperature sensor and an Arduino Uno.
This tutorial will show you how to take temperature readings using the Freetronics temperature sensor and an Arduino Uno. Note that there are two different module types: the temperature sensor module and
More informationWALT: definition and decomposition of complex problems in terms of functional and non-functional requirements
Item 12: Burglar Alarmed Monday, 15 October 2018 12:31 PM BURGLAR ALARMED EXPLORE WALT: definition and decomposition of complex problems in terms of functional and non-functional requirements WILF - Defined
More informationMake your own secret locking mechanism to keep unwanted guests out of your space!
KNOCK LOCK Make your own secret locking mechanism to keep unwanted guests out of your space! Discover : input with a piezo, writing your own functions Time : 1 hour Level : Builds on projects : 1,,3,4,5
More informationQuantum Phase Isochromatic Pluckeasy
Quantum Phase Isochromatic Pluckeasy Laser Harp for short Paul Holcomb Timothy Tribby Hardware Overview IR Sensors Arduino With ATmega 1280 Motor With Rotating Mirror Laser Module Laser Harp Goals Display
More informationArduino Programming and Interfacing
Arduino Programming and Interfacing Stensat Group LLC, Copyright 2017 1 Robotic Arm Experimenters Kit 2 Legal Stuff Stensat Group LLC assumes no responsibility and/or liability for the use of the kit and
More informationKNOCK LOCK MAKE YOUR OWN SECRET LOCKING MECHANISM TO KEEP UNWANTED GUESTS OUT OF YOUR SPACE! Discover: input with a piezo, writing your own functions
125 KNOCK LOCK MAKE YOUR OWN SECRET LOCKING MECHANISM TO KEEP UNWANTED GUESTS OUT OF YOUR SPACE! Discover: input with a piezo, writing your own functions Time: 1 HOUR Level: Builds on projects: 1, 2, 3,
More informationEEL 5666C - Intelligent Machine Design Lab Final report
EEL 5666C - Intelligent Machine Design Lab Final report Date: 04/21/14 Student Name: Shaoyi SHI Robot Name: Alin E-mail: ssytom@hotmail.com TA: Instructors: Josh Weaver A. Antonio Arroyo Eric M. Schwartz
More informationE11 Lecture 4: More C!!! Profs. David Money Harris & Sarah Harris Fall 2011
E11 Lecture 4: More C!!! Profs. David Money Harris & Sarah Harris Fall 2011 Outline Logistics Serial Input Physical Inputs/Outputs Randomness Operators Control Statements Logistics Logistics Tutoring hours:
More information3 Wire LED Module (SKU:DFR0090)
3 Wire LED Module (SKU:DFR0090) Contents 1 Introduction 2 Connection 3 Pinout Diagram 4 Sample Code 4.1 Test Procedure 4.2 Operating procedure Introduction This is 8 digital bits serial LED display. It
More informationLab 8. Communications between Arduino and Android via Bluetooth
Lab 8. Communications between Arduino and Android via Bluetooth Dr. X. Li xhli@citytech.cuny.edu Dept. of Computer Engineering Technology New York City College of Technology (Copyright Reserved) In this
More informationLab 4 - Asynchronous Serial Communications
Lab 4 - Asynchronous Serial Communications Part 1 - Software Loopback In serial communications one of the important tools we have that allows us to verify the communications channel is working properly
More information- 1 - /*Code for data logging for Arduino with Atmega328 chip and 3 differential pressure
- 1 - Software code /*Code for data logging for Arduino with Atmega328 chip and 3 differential pressure sensors MPX5100DP mounted on tensiometers for monitoring water potential in soils. After powering,
More informationArduino Prof. Dr. Magdy M. Abdelhameed
Course Code: MDP 454, Course Name:, Second Semester 2014 Arduino What is Arduino? Microcontroller Platform Okay but what s a Microcontroller? Tiny, self-contained computers in an IC Often contain peripherals
More informationChapter 2 The Basic Functions
Chapter 2 The Basic Functions 2.1 Overview The code you learn to write for your Arduino is very similar to the code you write in any other computer language. This implies that all the basic concepts remain
More informationSupplementary Data. //Timer period in microseconds. We use 1ms resolution
Supplementary Data Firmware for the Controller //------------------------------------------ // Tube-climber controller // Alar Ainla, 2017 GMW Group Harvard //------------------------------------------
More informationEarthshine Design Arduino Starters Kit Manual - A Complete Beginners Guide to the Arduino. Project 13. Serial Temperature Sensor
Project 13 Serial Temperature Sensor 75 Project 13 - Serial Temperature Sensor Now we are going to make use of the Temperature Sensor in your kit, the LM35DT. You will need just one component. What you
More informationE11 Lecture 4: More C!!! Profs. David Money Harris & Sarah Harris Fall 2011
E11 Lecture 4: More C!!! Profs. David Money Harris & Sarah Harris Fall 2011 1 Outline Operators Control Statements Arrays Function Calls Timing 2 Operators 3 Operators Example int z, x = 14; int y = 43;
More informationGrove - Thumb Joystick
Grove - Thumb Joystick Release date: 9/20/2015 Version: 1.0 Wiki: http://www.seeedstudio.com/wiki/grove_-_thumb_joystick Bazaar: http://www.seeedstudio.com/depot/grove-thumb-joystick-p-935.html 1 Document
More informationCHAPTER V IMPLEMENTATION AND TESTING
CHAPTER V IMPLEMENTATION AND TESTING 5.1 Implementation 5.1.1 Arduino IDE This project uses the arduino IDE application. This application used to compile and to upload the program. The program can be seen
More informationTABLE OF CONTENTS INTRODUCTION LESSONS PROJECTS
TABLE OF CONTENTS INTRODUCTION Introduction to Components - Maker UNO 5 - Maker UNO Board 6 - Setting Up - Download Arduino IDE 7 - Install Maker UNO Drivers - Install Maker UNO Board Package 3 LESSONS.
More informationGrove - Thumb Joystick
Grove - Thumb Joystick Introduction 3.3V 5.0V Analog Grove - Thumb Joystick is a Grove compatible module which is very similar to the analog joystick on PS2 (PlayStation 2) controllers. The X and Y axes
More informationOverview. Multiplexor. cs281: Introduction to Computer Systems Lab02 Basic Combinational Circuits: The Mux and the Adder
cs281: Introduction to Computer Systems Lab02 Basic Combinational Circuits: The Mux and the Adder Overview The objective of this lab is to understand two basic combinational circuits the multiplexor and
More informationSten-SLATE ESP Kit. Description and Programming
Sten-SLATE ESP Kit Description and Programming Stensat Group LLC, Copyright 2016 Overview In this section, you will be introduced to the processor board electronics and the arduino software. At the end
More informationNew APIs and Hacks. Servo API. Chapter 4. The Theory versus Practice
Chapter 4 New APIs and Hacks The challenge when Intel Galileo was designed was to create a board that would be compatible with Arduino headers and reference language using only the Quark microprocessor,
More informationGoal: Understand how to write programs for the Mudduino
Goal: Understand how to write programs for the Mudduino #include int main(void) int i = 0; i = i + 25; while(1) return 0; printf("%d\n, i); i++; // This is template behind Arduino sketches int
More informationParts List. XBEE/Wifi Adapter board 4 standoffs ¼ inch screws Cable XBEE module or Wifi module
Rover Wifi Module 1 Legal Stuff Stensat Group LLC assumes no responsibility and/or liability for the use of the kit and documentation. There is a 90 day warranty for the Sten-Bot kit against component
More informationPROGRAMMING ARDUINO COURSE ON ADVANCED INTERACTION TECHNIQUES. Luís Carriço FCUL 2012/13
Sources: Arduino Hands-on Workshop, SITI, Universidad Lusófona Arduino Spooky projects Basic electronics, University Pennsylvania Beginning Arduino Programming Getting Started With Arduino COURSE ON ADVANCED
More information// sets the position of cursor in row and column
CODE: 1] // YES_LCD_SKETCH_10_14_12 #include //lcd(rs, E, D4, D5, D6, D7) LiquidCrystal lcd(8, 9, 4, 5, 6, 7); int numrows = 2; int numcols = 16; void setup() Serial.begin(9600); lcd.begin(numrows,
More informationRS485 Sensor Node V1.0 (SKU:DFR0233)
RS485 Sensor Node V1.0 (SKU:DFR0233) Contents 1 Introduction 2 Application 3 Specification 4 Pin Out 4.1 More details 5 Product Directive 6 Connecting Diagram 7 Sample Code Introduction This RS-485 Sensor
More informationGoldSTEM_Lesson_18_Time_Month_Date_and_Temperature_to_Terminal tm
GoldSTEM_Lesson_18_Time_Month_Date_and_Temperature_to_Terminal tm 3-29-2016 For this experiment we will be using the same setup in Lesson 17 Wiring the Circuit See lesson 17 Change the code below you can
More informationFall Harris & Harris
E11: Autonomous Vehicles Fall 2011 Harris & Harris PS 1: Welcome to Arduino This is the first of five programming problem sets. In this assignment you will learn to program the Arduino board that you recently
More informationThe Arduino Briefing. The Arduino Briefing
Mr. Yee Choon Seng Email : csyee@simtech.a-star.edu.sg Design Project resources http://guppy.mpe.nus.edu.sg/me3design.html One-Stop robotics shop A-Main Objectives Pte Ltd, Block 1 Rochor Road, #02-608,
More informationHandson Technology. HC-SR04 Ultrasonic Sensor Module. 1
Handson Technology User Guide HC-SR04 Ultrasonic Sensor Module HC-SR04 Ultrasonic Sensor is a very affordable proximity/distance sensor that has been used mainly for object avoidance in various robotics
More informationNote. The above image and many others are courtesy of - this is a wonderful resource for designing circuits.
Robotics and Electronics Unit 2. Arduino Objectives. Students will understand the basic characteristics of an Arduino Uno microcontroller. understand the basic structure of an Arduino program. know how
More informationunsigned long NextTelevisonFlicker; // The time the TV light level is changed.
// THIS IS THE TEXT SOURcE CODE OF file: Auto_House.ino /* Arduino MICRO software to operate an automated model train home. Written by: Bruce Kingsley Date: July 05, 2014 Version: 1.0.0 Revsion Note: */
More informationVOLCANO HANGMAN by Katie Ammons
VOLCANO HANGMAN by Katie Ammons Object: To guess the five letter volcano word before the house catches on fire! Game Components: BLACK DIAL: Move this dial to chose a letter. BLUE BUTTON: Push this button
More informationAndyMark Arduino Tutorial
AndyMark Arduino Tutorial Tank Drive June 2014 Required: Required Software List: - Kit Arduino IDE - Robot Power Cable Kit (am-0975) RobotOpen Arduino Shield Software - Battery Base Package (am-0477) RobotOpen
More informationCONSTRUCTION GUIDE Remote Big Wheel. Robobox. Level VIII
CONSTRUCTION GUIDE Remote Big Wheel Robobox Level VIII Remote Big Wheel In this box we will learn about an advanced use of motors and infrared emission & reception through a unique robot: the Big Wheel.
More informationFireBeetle ESP8266 IOT Microcontroller SKU: DFR0489
FireBeetle ESP8266 IOT Microcontroller SKU: DFR0489 Introduction DFRobot FireBeetle is a series of low-power-consumption development hardware designed for Internet of Things (IoT). Firebeetle ESP8266 is
More informationParts List. XBEE/Wifi Adapter board 4 standoffs ¼ inch screws Cable XBEE module or Wifi module
Rover Wifi Module 1 Legal Stuff Stensat Group LLC assumes no responsibility and/or liability for the use of the kit and documentation. There is a 90 day warranty for the Sten-Bot kit against component
More informationWireless Motor Driver Shield Hookup Guide
Page 1 of 18 Wireless Motor Driver Shield Hookup Guide Introduction The Wireless Motor Driver Shield is an Arduino shield designed to make it easier and faster to connect motors and sensors to your Arduino
More informationJoy-IT Ultrasonic Distance Sensor
Joy-IT Ultrasonic Distance Sensor Export 03.11.2017 Copyright by Joy-IT 1 Index 1. Using with an Arduino 1.1 Connecting the Module 1.2 Code-Example 2. Using with a Raspberry Pi 2.1 Installing the System
More informationReading ps2 mouse output with an Arduino
Reading ps2 mouse output with an Arduino Kyle P & Mike K 4 / 24 / 2012 Our goal was to create a piece of equipment that senses how much a robot drifts left to right by using an optical encoder. Background:
More informationARDUINO WORKSHOP A HANDS-ON I N T R O D U C T I O N W I T H 65 PROJECTS JOHN BOXALL
ARDUINO WORKSHOP A HANDS-ON I N T R O D U C T I O N W I T H 65 PROJECTS JOHN BOXALL I NDEX Symbols & Numbers &, 139 &&, 73 *, 84 */, 27 ==, 71!, 73!=, 71 /, 84 /*, 27 //, 27 >, 84 >=, 84 #define, 70 #include,
More informationGoldSTEM.org. Growing the Future
GoldSTEM.org Growing the Future GoldSTEM_Lesson_ tm 3-24-2016 17_Time_Date_and_Temperature_to_Terminal Lessons should be done in sequence, start off with lesson 4. Each lessons builds on what was learned
More informationHemiSSon HemUltraSonicSensor
HemiSSon HemUltraSonicSensor K TEAM Version 1.2 December 2003 Documentation drawn up by: Alexandre Colot, K-Team S.A. Ch. de Vuasset, CP 111 1028 Préverenges Switzerland E-mail: mailto:info@hemisson.com
More informationMEDIS Module 2. Microcontroller based systems for controlling industrial processes. Chapter 4: Timer and interrupts. M. Seyfarth, Version 0.
MEDIS Module 2 Microcontroller based systems for controlling industrial processes Chapter 4: Timer and interrupts M. Seyfarth, Version 0.1 Steuerungstechnik 1: Speicherprogrammierbare Steuerungstechnik
More informationArduino EEPROM module 512K for Sensor Shield
Arduino EEPROM module 512K for Sensor Shield Experiment Steps This is a new designed for small data size storage. It can help to extend the EEPROM storage of Arduino. This module uses I2C to connect to
More informationBuilding a GUI From Scratch
Building a GUI From Scratch 1 Processing Graphical User Interface In this lesson, you will learn how to create some simple GUI objects to control the robot. The GUI objects will be sliders and a joystick.
More informationI.O.T. 1. I.O.T Application. 86Duino
1. I.O.T Application I.O.T 86Duino EduCake (EduCake) is an open-source microcomputer learning platform built on Vortex86EX, a System-On-Chip (SoC) built with a 32-bit x86 processor. The EduCake is designed
More informationSchedule. Sanford Bernhardt, Sangster, Kumfer, Michalaka. 3:10-5:00 Workshop: Build a speedometer 5:15-7:30 Dinner and Symposium: Group 2
Schedule 8:00-11:00 Workshop: Arduino Fundamentals 11:00-12:00 Workshop: Build a follower robot 1:30-3:00 Symposium: Group 1 Sanford Bernhardt, Sangster, Kumfer, Michalaka 3:10-5:00 Workshop: Build a speedometer
More informationStenBOT Robot Kit. Stensat Group LLC, Copyright 2018
StenBOT Robot Kit 1 Stensat Group LLC, Copyright 2018 Legal Stuff Stensat Group LLC assumes no responsibility and/or liability for the use of the kit and documentation. There is a 90 day warranty for the
More informationUser Guide v1.0. v1.0 Oct 1, This guide is only available in English Ce manuel est seulement disponible en Anglais
ROVER ShiELD User Guide v1.0 v1.0 Oct 1, 2014 This guide is only available in English Ce manuel est seulement disponible en Anglais Description The DFRobotShop Rover Shield is the ideal all in one shield
More information#include <ESP8266WiFi.h> #include <DNSServer.h> #include <ESP8266WebServer.h> #include <WiFiManager.h> #include <PubSubClient.
#include #include #include #include #include const char* mqtt_server = "SERVER_ADDRESS"; WiFiClient espclient; PubSubClient
More informationControl Tone with IR Remote
Lesson 17 Lesson 17: Control Tone with IR Remote Control Tone with IR Remote The Big Idea: The ability to detect and decode Sony-protocol infrared messages, which was explored in Lesson 16, can be added
More informationExample: short timearray[] = {500, 400, 500, 400, 100, 200, 100, 200, -1};
Write a sketch that once you enter g for go it turns the LED on and off for the amount of time in an array. Have the program terminate when it reaches a negative value (as time is always positive). Example:
More informationLab 8. Arduino and WiFi - IoT applications
Lab 8. Arduino and WiFi - IoT applications IoT - Internet of Things is a recent trend that refers to connecting smart appliances and electronics such as microcontrollers and sensors to the internet. In
More informationDesign with Microprocessors
Design with Microprocessors Year III Computer Science 1-st Semester Lecture 6: Serial data transfer Serial Interfaces on AVR Universal Synchronous and Asynchronous serial Receiver and Transmitter (USART)
More informationColumn #119: Ping I See You. Column #119 March 2005 by Jon Williams: Ping I See You
Column #119 March 2005 by Jon Williams: Ping I See You I used to work for a man named Bob who insisted and quite frequently that most of us needed to be exposed to the same piece of information five to
More informationTMC260 Stepper Motor Driver Shield SKU: DRI0035
TMC260 Stepper Motor Driver Shield SKU: DRI0035 Contents 1 Introduction 2 Specification 3 Board Overview o 3.1 TMC260 Control Mode Selection 4 Tutorial o 4.1 Requirements o 4.2 Sample Code 4.2.1 SPI Sample
More informationUNIT 12: COMMUNICATIONS
UNIT 12: COMMUNICATIONS AIMS Show you the principles which will enable your Arduino to communicate with any kind of device or peripheral including PCs, GPS receivers, computer monitors, GSM or GPRS mobile
More informationArduino notes 3: Digital input via buttons
1 Arduino notes 3: Digital input via buttons This is not a tutorial, but a collection of personal notes to remember the essentials of Arduino programming. The program fragments are snippets that represent
More informationLøkkestrukturer. Trykknap: Button, Se eksempler / Digital / Button. Decision: If: Version 01/ Loops, løkker mm. i Arduino.
Loops, løkker mm. i Arduino Links til: Trykknap If, If Else If For-Loop While, Do While PWM Serial Read Funktioner Array, Matrix Trykknap: Button, Se eksempler / Digital / Button int buttonpin=2 pinmode(buttonpin,
More informationIntelligent Machines Design Laboratory EEL 5666C
Atocha Too Donald MacArthur Center of Intelligent Machines and Robotics & Machine Intelligence Laboratory Intelligent Machines Design Laboratory EEL 5666C TABLE OF CONTENTS Abstract 3 Executive Summary
More informationSTEPD StepDuino Quickstart Guide
STEPD StepDuino Quickstart Guide The Freetronics StepDuino is Arduino Uno compatible, uses the ATmega328P Microcontroller and works with most Arduino software. The StepDuino can be powered automatically
More informationFUNCTIONS USED IN CODING pinmode()
FUNCTIONS USED IN CODING pinmode() Configures the specified pin to behave either as an input or an output. See the description of digital pins for details on the functionality of the pins. As of Arduino
More informationC Language Reference for ActivityBot. Driving the robot a specific distance or a specific amount of turn
Code for Driving ActivityBot C Language Reference for ActivityBot Jeffrey La Favre - November 4, 2015 There are two types of functions for driving the robot. The first kind specifies a specific distance
More informationCreate your own wireless motion sensor with
Create your own wireless motion sensor with Arduino If you have a friend that has an alarm system in his or her home, I am sure you ve all seen these white motion sensors that are usually fixed above doors
More information/*f1q_timer_v Gábor Kertész */
/*f1q_timer_v19.2 2018.07.16. Gábor Kertész */ //---------------------------------------------Lybraries------------------------------------------------------------ #include // For servo and ESC
More informationm-block By Wilmer Arellano
m-block By Wilmer Arellano You are free: to Share to copy, distribute and transmit the work Under the following conditions: Attribution You must attribute the work in the manner specified by the author
More informationM. Shahalam. Sid the Spider. Final Report December 7, EEL Intelligence Machine Design Laboratory
M. Shahalam Sid the Spider Final Report December 7, 2010 EEL 4665 - Intelligence Machine Design Laboratory TAs : Mike Pridgen Ryan Stevens Thomas Vermeer Tim Martin Devin Hughes Instructors: Dr. A. Antonio
More information#define CE_PIN 12 //wireless module CE pin #define CSN_PIN 13 //wireless module CSN pin. #define angleaveragenum 1
/***************************************************************************************************** define statements *****************************************************************************************************/
More informationArrays and Loops. Programming for Engineers Winter Andreas Zeller, Saarland University
Arrays and Loops Programming for Engineers Winter 2015 Andreas Zeller, Saarland University Datatypes millis() has the type unsigned long integer values in [0 2 32 1] Usual integer numbers ( int ) are
More informationApplication Note 44. Controlling a Lynx6 Robotic Arm. Introduction
Introduction Application Note 44 Controlling a Lynx6 Robotic Arm This application note describes the control of a Lynx6 robotic arm (www.lynxmotion.com) using an embedded microcontroller and the um-fpu
More informationIME-100 ECE. Lab 5. Electrical and Computer Engineering Department Kettering University
IME-100 ECE Lab 5 Electrical and Computer Engineering Department Kettering University 5-1 1. Laboratory Computers Getting Started i. Log-in with User Name: Kettering Student (no password required) ii.
More informationRemote Control with the Huzzah + Adafruit.io
Remote Control with the Huzzah + Adafruit.io Created by Richard Albritton Last updated on 2017-07-30 03:11:01 PM UTC Guide Contents Guide Contents Overview Adafruit IO Setup Creating the Buttons Feed Adding
More information