Parts List. XBEE/Wifi Adapter board 4 standoffs ¼ inch screws Cable XBEE module or Wifi module

Size: px
Start display at page:

Download "Parts List. XBEE/Wifi Adapter board 4 standoffs ¼ inch screws Cable XBEE module or Wifi module"

Transcription

1 Rover Wifi Module 1

2 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 defects. Damage caused by the user or owner is not covered. Warranty does not cover such things as over tightening nuts on standoffs to the point of breaking off the standoff threads, breaking wires off the motors, causing shorts to damage components, powering the motor driver backwards, plugging the power input into an AC outlet, applying more than 12 volts to the power input, dropping the kit, kicking the kit, throwing the kit in fits of rage, unforseen damage caused by the user/owner or any other method of destruction. If you do cause damage, we can sell you replacement parts or you can get most replacement parts from online hardware distributors. If you need to contact us, go to and click on contact us. 2

3 Parts List XBEE/Wifi Adapter board 4 standoffs ¼ inch screws Cable XBEE module or Wifi module 3

4 Introduction The wifi module adds a way to communicate with the rover kit. You can connect using a laptop. For the rover, the wifi module will be configured as an access point. This means it becomes a local network where your laptop connects. It is also possible to have a tablet connect to the rover. In this lesson, you will learn how to control the rover and have the rover send data back. This will require you to write code on the laptop. 4

5 System Architecture This drawing shows how everything is interconnected. The control program runs on the laptop. The laptop wifi connects to the rover wifi module. Control Program The control program sends commands over the wifi to the rover. The arduino program on the rover interprets the commands and executes them. wireless link The arduino program on the rover also sends telemetry over the wifi to the control program on the laptop. Arduino rover Program 5

6 What is the Plan In this lesson, you will learn how to program the rover to set up the WiFi module as an access point and receive commands to move from your computer. You will also learn how to send telemetry back to the computer. We will use the light sensor and infrared proximity sensor for telemetry. Telemetry is the transmission of data or information. 6

7 What is Wifi WiFi is a local area wireless computer network. It is also known as wireless local area network. WiFI is a standard for allowing computers to interact with each other using radio signals. A wireless access point is a device that connects a wireless network to a wired network. It can also provide a local isolated network not connected to the internet or other wired network. Access points usually have a network router and can provide network addresses or IP addresses to any device that connects. 7

8 Wifi Terms SSID is a unique identifier for the WiFi network. It can have up to 32 characters and is case sensitive. This allows multiple WiFi access points in the same area without interfering with each other. IP Address is the internet protocol address assigned to each device on the network. There are two standards, IP-4 and IP-6. IP-4 is used here. The address consists of four sets of numbers separated by a decimal point. Each number has a range of 0 to 255. Example DHCP is Dynamic Host Configuration Protocol. This protocol allows a WiFi router to assign an IP address to any device that connects to the WiFi network. This is done automatically. TCP is Transmission Control Protocol. This is one of the main network protocols used by any device on any WiFi network or the internet. The protocol enables two devices to establish a connection to each other and exchange data. The protocol guarantees delivery of data and that the data is delivered in the same order sent. 8

9 Wifi Module Installation Install the four standoffs by screwing them into the screws holding the processor board. 9

10 Wifi Module Installation Mount the wifi module on top of the standoffs. Make sure to orient the wifi module. This will let the cable harness reach. Secure the wifi module with four nuts. 10

11 Wifi Module Installation Connect the cable harness to the wifi module and the UART port. Connect the pin marked + on the processor board to the pin marked + on the wifi module. Connect the pin marked on the processor board to the pin marked on the WiFi module. Connect the pin marked T on the processor board to the pin marked R on the wifi module. Connect the pin marked R on the processor board to the pin marked T on the wifi module. 11

12 Wifi Module Signals The power connections between the processor board and the wifi module provide the wifi module with 5 volts of power. For communications, the processor board T or transmit signal is connected to the wifi module R or receive signal and vice versa. Transmit is the sending of information and Receive is the reception of information. 12

13 WIFI Module Operation There are two parts to the WIFI module operation Configuration which sets up the module to operate properly Data operation where the module receives data and can send data The WIFI module will be configured to operate as an access point. This allows another computer to connect to the module and communicate with the module. More than one WIFI module can be in the same area and operate independent of each other as long as their SSID are different. In this lesson, the WIFI module will be configured as an access point and allow TCP connections. 13

14 Wifi Configuration There is a library for the rover to initialize the WiFi module and control the rover. First, import the library called Stensat Group Rover Library Then create a rover object with the statement Stensat_Rover rover; #include <stensat_rover.h> Stensat_Rover rover; void setup() Serial.begin(9600); void loop() 14

15 Wifi Configuration In the setup() function, the WiFi is initialized with the init_wifi() function. The init_wifi() function takes two arguments. The first argument is the SSID which can be any name. Double quotes must be used around the SSID name. The second argument is the port number which is set to 80. It can range from anywhere from 1 to #include <stensat_rover.h> Stensat_Rover rover; void setup() Serial.begin(9600); rover.init_wifi( robot,80); void loop() 15

16 Wifi Configuration Upload the program and let it run on the processor. Be sure to disconnect the WiFi module before uploading. The WiFi module uses the same UART interface that the USB port does. Having the wifi module connected will keep the program from uploading. Once uploaded, turn off the rover and connect the wifi module. void #include setup() <stensat_rover.h> Stensat_Rover Serial.begin(9600); rover; delay(200); void Serial.println( AT+CWMODE=3 ); setup() delay(200); Serial.println( AT+CWSAP=\ robot1\,\ \,1,0 ); Serial.begin(9600); delay(1000); rover.init_wifi( robot,80); Serial.println("AT+CIPMUX=1"); delay(200); void Serial.println("AT+CIPSERVER=1,80"); loop() void loop() Turn on the rover and wait a couple minutes. On the laptop check for the access point you named. Try connecting to it. 16

17 Programming the rover Now that the wifi module is working, it is time to program the rover to receive commands and perform actions. Commands need to be created for the rover to interpret and act on. The following actions need commands: Forward Reverse Left Right Stop The commands are shown in the table to the right. The actions of the rover are simple, a simple 1 character command will be used. Action Stop Forward Reverse Left Right Command S F B L R The command will be terminated with a carriage return. The carriage return is represented by '\r'. 17

18 Configuring the rover After configuring the wifi, the rest of the rover needs to be configured. The rover.begin() function configures the four digital pins used to control the motors as outputs. #include <stensat_rover.h> Stensat_Rover rover; void setup() Serial.begin(9600); rover.init_wifi( robot,80); rover.begin(); void loop() 18

19 Receiving Commands The wifi module has a specific format for passing on received information. The format is shown below The first part is called the header. It identifies that it is sending information received from another computer that is connected to the wifi module. The second part is the information or data that was sent to the wifi module. The third part is the terminator indicating end of information. +IPD,0,x:informationhere<0x0d><0x0a>OK<0x0d><0x0a> 19

20 Receiving Commands In the loop() function, a character array is created to receive commands. The first thing to do is wait for any data to come from the wifi module. The wifi module has a specific format for data received. The data to be received are the commands to operate the rover. void loop() char cmd[10]; if(serial.available() > 0) int err = Serial.find( +IPD ); The Serial.available() function is used to detect any data available from the wifi module. It returns a value of 0 if there are no bytes. 20

21 Receiving Commands The function Serial.find() is useful in finding text patterns received through the serial interface. The pattern being searched is +IPD. This function will look for the pattern for up to two seconds. The variable err is set based on the results of the function. void loop() char cmd[10]; if(serial.available() > 0) int err = Serial.find( +IPD ); If the Serial.find() function detects the pattern, it will set the variable err to 1 or TRUE. If after a second, the pattern is not detected, the result will be 0 or FALSE. 21

22 Receiving Commands Only when the result is TRUE should any processing occur. The next Serial.find() function looks for the colon character. This lets the program easily find where the command starts. After locating the colon, the rest of the data is copied into the variable array buf[]. void loop() char buf[100]; if(serial.available() > 0) int err = Serial.find( +IPD ); if(err == TRUE) Serial.find( : ); i = Serial.readBytesUntil(0x0a,buf,100); 22

23 Receiving Commands Serial.readBytesUntil() function copies anything on the serial interface to an array buffer until the character value hexadecimal 0x0d is encountered. Remember the information is terminated with hex value 0x0d and 0x0a. Just looking for 0x0a is enough to stop copying data into the array buffer. void loop() char buf[100]; if(serial.available() > 0) int err = Serial.find( +IPD ); if(err == TRUE) Serial.find( : ); i = Serial.readBytesUntil(0x0a,buf,100); 23

24 Receiving Commands The first element in the array buffer is the command. This is compared in the switch function. The switch() function behaves like a series of if() statements but has simpler syntax. The case statement is what compares the variable buf[0] with what is in single quotes. If the comparison is valid, the code after the colon will be executed. void loop() char buf[100]; if(serial.available() > 0) int err = Serial.find( +IPD ); if(err == TRUE) Serial.find( : ); i = Serial.readBytesUntil(0x0a,buf,100); switch(buf[0]) case 'F' : forward(); break; case 'B' : reverse(); break; case 'L' : left(); break; case 'R' : right(); break; case 'S' : halt(); break; 24

25 Receiving Commands Notice the break statement. This is needed to stop the execution of code. If it is not included, the program would continue executing the code in each case statement below the initial case statement. void loop() char buf[100]; if(serial.available() > 0) int err = Serial.find( +IPD ); if(err == TRUE) Serial.find( : ); i = Serial.readBytesUntil(0x0a,buf,100); switch(buf[0]) case 'F' : forward(); break; case 'B' : reverse(); break; case 'L' : left(); break; case 'R' : right(); break; case 'S' : halt(); break; 25

26 Remote Control Software With the rover software completed, it is time to write a program on the laptop to provide the control. Processing software will be used. 26

27 Software Development The development software to be used is called Processing. Processing Is a programming language and development environment using Java. Processing makes developing software easier. More information can be found at processing.org. The software is free to download and use. The development environment is similar to the Arduino development environment. 27

28 Software Development Sequence The program to be written will allow the rover to be controlled with the arrow keys on the keyboard. The program must detect when an arrow key is pressed and when it is released. Key pressed? When the key is pressed, a command will be sent to the rover. When the key is released, the stop command will be sent. Key Released? Send Stop Command Send Forward Command Send Reverse Command UP DOWN Send Left Command Determine Which Key Pressed LEFT RIGHT Send Right Command 28

29 Importing Libraries Start the Processing software. Click on the Sketch menu and select the Import Library import processing.net.*; Select the net library. The import command will appear at the top of the editor. This tells the compiler to include the library of functions to support network operations. This library will be used to access the rover over wifi. 29

30 Setting up a TCP Port The next step is to create a network object that will provide access to the wifi. import processing.net.*; Client c; 30

31 Setting up a TCP Port In the setup() function, the network object is configured to talk to the rover at the IP address of using port 80. A window of 800 by 600 pixels is also created. import processing.net.*; Client c; void setup() size(800,600); c = new Client(this, ,80); 31

32 Detecting the Keys To detect the keys, two event functions will be used. keypressed() and keyreleased() keypressed() is executed when a key on the keyboard is pressed. keycode is a system defined variable that tells you what key was pressed. The arrow keys have names in upper case to make it easier to use. import processing.net.*; Client c; void setup() size(800,600); c = new Client(this, ,80); void keypressed() if(keycode == UP) c.write( F ); else if(keycode == LEFT) c.write( L ); else if(keycode == RIGHT) c.write( R ); else if(keycode == DOWN) c.write( B ); 32

33 Detecting the Keys Notice that the network object c has a function called write(). This sends what is in quotes to the rover over wifi. For this to work, Processing requires the function draw() to exist even if there is no code in the function. import processing.net.*; Client c; void setup() size(800,600); c = new Client(this, ,80); void keypressed() if(keycode == UP) c.write( F ); else if(keycode == LEFT) c.write( L ); else if(keycode == RIGHT) c.write( R ); else if(keycode == DOWN) c.write( B ); void draw() 33

34 Detecting Key Release The code can now send commands to control the motion of the rover. What is missing is a way to stop the motion of the rover. The keyrelease() function is executed when a key is released. The only thing the function needs to do is send the stop command to the rover. A single c.write() function is used. The first argument has the S command. Remember the rover commands are terminated with a linefeed. import processing.net.*; Client c; void setup() size(800,600); c = new Client(this, ,80); void keypressed() if(keycode == UP) c.write( F ); else if(keycode == LEFT) c.write( L ); else if(keycode == RIGHT) c.write( R ); else if(keycode == DOWN) c.write( B ); void keyreleased() c.write( S ); void draw() 34

35 Test Drive Now that the program is completed, it is time to test it. Turn on the rover with the wifi module connected. on the laptop, select the network icon to find available wifi access points. Connect the laptop to the rover wifi network. Start the program in Processing. Press the arrow keys and watch the rover move around. When the program starts, a window will open. This is the program running. If needed, click on the window to make it active. If at first the laptop doesn't connect properly to the rover WiFi access point, cycle power to the rover and wait 30 seconds for the WiFi to start up and try connecting again. Some times the WiFi module does not quite work the first time it is programmed. 35

36 Wifi Module Schematic 36

Parts List. XBEE/Wifi Adapter board 4 standoffs ¼ inch screws Cable XBEE module or Wifi module

Parts 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 information

Sten-SLATE ESP. WiFi

Sten-SLATE ESP. WiFi Sten-SLATE ESP WiFi Stensat Group LLC, Copyright 2016 1 References www.arduino.cc http://esp8266.github.io/arduino/versions/2.1.0/doc/reference.html 2 Introduction The wifi integrated in the processor

More information

StenBOT Robot Kit. Stensat Group LLC, Copyright 2018

StenBOT 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 information

Sten-SLATE ESP. Introduction and Assembly

Sten-SLATE ESP. Introduction and Assembly Sten-SLATE ESP Introduction and Assembly Stensat Group LLC, Copyright 2016 Legal Stuff Stensat Group LLC assumes no responsibility and/or liability for the use of the kit and documentation. There is a

More information

Arduino Programming and Interfacing

Arduino 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 information

Sten-SLATE ESP Kit. Description and Programming

Sten-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 information

Sten-SLATE ESP. Graphical Interface

Sten-SLATE ESP. Graphical Interface Sten-SLATE ESP Graphical Interface Stensat Group LLC, Copyright 2016 1 References www.arduino.cc http://esp8266.github.io/arduino/versions/2.1.0/doc/reference.html 2 Graphical Interface In this section,

More information

Introduction to Processing

Introduction to Processing Processing Introduction to Processing Processing is a programming environment that makes writing programs easier. It contains libraries and functions that make interacting with the program simple. The

More information

The Big Idea: Background: About Serial

The 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 information

CanSat Program. StenSat Group LLC

CanSat Program. StenSat Group LLC CanSat Program StenSat Group LLC 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 Lander kit against

More information

Building a GUI From Scratch

Building 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 information

Lab 8. Arduino and WiFi - IoT applications

Lab 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 information

WiFiBee MT7681 (Arduino WiFi Wireless Programming) SKU: TEL0107

WiFiBee MT7681 (Arduino WiFi Wireless Programming) SKU: TEL0107 WiFiBee MT7681 (Arduino WiFi Wireless Programming) SKU: TEL0107 Introduction The WiFi Bee MT7681 is an Arduino WiFi XBee module based on the MT7681 serial Wi-Fi module. It is compatible with an XBee slot,

More information

Lab 4 - Asynchronous Serial Communications

Lab 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

Wireless Motor Driver Shield Hookup Guide

Wireless 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 information

Lesson 5: LDR Control

Lesson 5: LDR Control Lesson 5: LDR Control Introduction: Now you re familiar with the DIY Gamer and editing in an Arduino sketch. its time to write one from scratch. In this session you will write that talks to the Light Dependent

More information

Note. The above image and many others are courtesy of - this is a wonderful resource for designing circuits.

Note. 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 information

Lab 01 Arduino 程式設計實驗. Essential Arduino Programming and Digital Signal Process

Lab 01 Arduino 程式設計實驗. Essential Arduino Programming and Digital Signal Process Lab 01 Arduino 程式設計實驗 Essential Arduino Programming and Digital Signal Process Arduino Arduino is an open-source electronics prototyping platform based on flexible, easy-to-use hardware and software. It's

More information

User Guide v1.0. v1.0 Oct 1, This guide is only available in English Ce manuel est seulement disponible en Anglais

User 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

Lab 2 - Powering the Fubarino. Fubarino,, Intro to Serial, Functions and Variables

Lab 2 - Powering the Fubarino. Fubarino,, Intro to Serial, Functions and Variables Lab 2 - Powering the Fubarino Fubarino,, Intro to Serial, Functions and Variables Part 1 - Powering the Fubarino SD The Fubarino SD is a 56 pin device. Each pin on a chipkit device falls broadly into one

More information

4Serial SIK BINDER //77

4Serial 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 information

This is the Arduino Uno: This is the Arduino motor shield: Digital pins (0-13) Ground Rail

This is the Arduino Uno: This is the Arduino motor shield: Digital pins (0-13) Ground Rail Reacting to Sensors In this tutorial we will be going over how to program the Arduino to react to sensors. By the end of this workshop you will have an understanding of how to use sensors with the Arduino

More information

Sten-SLATE ESP. Simple Web Server

Sten-SLATE ESP. Simple Web Server Sten-SLATE ESP Simple Web Server Stensat Group LLC, Copyright 2018 1 References www.arduino.cc https://github.com/esp8266/arduino 2 System Design A web server uses the client/server software model. The

More information

Connecting Arduino to Processing a

Connecting Arduino to Processing a Connecting Arduino to Processing a learn.sparkfun.com tutorial Available online at: http://sfe.io/t69 Contents Introduction From Arduino......to Processing From Processing......to Arduino Shaking Hands

More information

EEG 101L INTRODUCTION TO ENGINEERING EXPERIENCE

EEG 101L INTRODUCTION TO ENGINEERING EXPERIENCE EEG 101L INTRODUCTION TO ENGINEERING EXPERIENCE LABORATORY 1: INTRODUCTION TO ARDUINO IDE AND PROGRAMMING DEPARTMENT OF ELECTRICAL AND COMPUTER ENGINEERING UNIVERSITY OF NEVADA, LAS VEGAS 1. FYS KIT COMPONENTS

More information

Create your own wireless motion sensor with

Create 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

Counter & LED (LED Blink)

Counter & LED (LED Blink) 1 T.R.E. Meeting #1 Counter & LED (LED Blink) September 17, 2017 Contact Info for Today s Lesson: President Ryan Muller mullerr@vt.edu 610-573-1890 Learning Objectives: Learn how to use the basics of Arduino

More information

Connecting Arduino to Processing

Connecting Arduino to Processing Connecting Arduino to Processing Introduction to Processing So, you ve blinked some LEDs with Arduino, and maybe you ve even drawn some pretty pictures with Processing - what s next? At this point you

More information

Web Site: Forums: forums.parallax.com Sales: Technical:

Web Site:   Forums: forums.parallax.com Sales: Technical: Web Site: www.parallax.com Forums: forums.parallax.com Sales: sales@parallax.com Technical: support@parallax.com Office: (916) 624-8333 Fax: (916) 624-8003 Sales: (888) 512-1024 Tech Support: (888) 997-8267

More information

Lab 8. Communications between Arduino and Android via Bluetooth

Lab 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 information

HUB-ee BMD-S Arduino Proto Shield V1.0

HUB-ee BMD-S Arduino Proto Shield V1.0 HUB-ee BMD-S Arduino Proto Shield V1.0 User guide and assembly instructions Document Version 1.0 Introduction 2 Schematic 3 Quick user guide 4 Assembly 5 1) DIP Switches 5 2) Micro-MaTch Connector Headers

More information

Experiment 7: Robotics++ V3 Robot BlueToothbot

Experiment 7: Robotics++ V3 Robot BlueToothbot Experiment 7: Robotics++ V3 Robot BlueToothbot 1 Two different ways to control your robot via Bluetooth 1. Android phone wire your robot, download apps from the Google Play Store or install an APK (app

More information

Lecture 7. Processing Development Environment (or PDE)

Lecture 7. Processing Development Environment (or PDE) Lecture 7 Processing Development Environment (or PDE) Processing Class Overview What is Processing? Installation and Intro. Serial Comm. from Arduino to Processing Drawing a dot & controlling position

More information

ROBOTLINKING THE POWER SUPPLY LEARNING KIT TUTORIAL

ROBOTLINKING THE POWER SUPPLY LEARNING KIT TUTORIAL ROBOTLINKING THE POWER SUPPLY LEARNING KIT TUTORIAL 1 Preface About RobotLinking RobotLinking is a technology company focused on 3D Printer, Raspberry Pi and Arduino open source community development.

More information

Overview. Introduction. Key Features

Overview. Introduction. Key Features P4S-348 User Manual > Overview Overview Introduction PHPoC Shield for Arduino connects Arduino to Ethernet or Wi-Fi networks. Attach this board over Arduino and connect a LAN cable. After a simple network

More information

Lab 2 - Powering the Fubarino, Intro to Serial, Functions and Variables

Lab 2 - Powering the Fubarino, Intro to Serial, Functions and Variables Lab 2 - Powering the Fubarino, Intro to Serial, Functions and Variables Part 1 - Powering the Fubarino SD The Fubarino SD is a 56 pin device. Each pin on a chipkit device falls broadly into one of 9 categories:

More information

TA0139 USER MANUAL ARDUINO 2 WHEEL DRIVE WIRELESS BLUETOOTH ROBOT KIT

TA0139 USER MANUAL ARDUINO 2 WHEEL DRIVE WIRELESS BLUETOOTH ROBOT KIT TA0139 USER MANUAL ARDUINO 2 WHEEL DRIVE WIRELESS BLUETOOTH ROBOT KIT I Contents Overview TA0139... 1 Getting started: Arduino 2 Wheel Drive Wireless Bluetooth Robot Kit using Arduino UNO... 1 2.1. What

More information

1 Getting started with Processing

1 Getting started with Processing cis3.5, spring 2009, lab II.1 / prof sklar. 1 Getting started with Processing Processing is a sketch programming tool designed for use by non-technical people (e.g., artists, designers, musicians). For

More information

InTemp CX5000 Gateway Manual

InTemp CX5000 Gateway Manual InTemp CX5000 Manual The InTemp CX5000 is a device that uses Bluetooth Low Energy (BLE) to regularly download up to 50 CX series loggers and upload the data to the InTempConnect website automatically via

More information

Using the RH96 Remote Head with the BCD996P2 scanner

Using the RH96 Remote Head with the BCD996P2 scanner Using the RH96 Remote Head with the BCD996P2 scanner Designed and programed by Richard Plummer, KV1W Text and assistance by Rich Carlson, N9JIG Copyright 2019, Richard Plummer & Rich Carlson (Revised 2-23-2019

More information

Robotics Adventure Book Scouter manual STEM 1

Robotics Adventure Book Scouter manual STEM 1 Robotics Robotics Adventure Book Scouter Manual Robotics Adventure Book Scouter manual STEM 1 A word with our Scouters: This activity is designed around a space exploration theme. Your Scouts will learn

More information

Optec WiFi Board

Optec WiFi Board Optec WiFi 802.11 Board Installation Instructions for the Optec 802.11b/g Wireless Board. The Optec Wireless Networking Board (WiFi) is an optional accessory for the FocusLynx and Gemini control hubs.

More information

Arduino Uno. Power & Interface. Arduino Part 1. Introductory Medical Device Prototyping. Digital I/O Pins. Reset Button. USB Interface.

Arduino Uno. Power & Interface. Arduino Part 1. Introductory Medical Device Prototyping. Digital I/O Pins. Reset Button. USB Interface. Introductory Medical Device Prototyping Arduino Part 1, http://saliterman.umn.edu/ Department of Biomedical Engineering, University of Minnesota Arduino Uno Power & Interface Reset Button USB Interface

More information

BLE Wireless Gamepad V2 SKU: DFR0304

BLE Wireless Gamepad V2 SKU: DFR0304 BLE Wireless Gamepad V2 SKU: DFR0304 Introduction Wondering if your newly bought gamepad can be used to both playing games and controlling a robot? The new BLE 4.0 wireless gamepad V2.0 produced by DFROBOT

More information

Progressive Industries, Inc. EMS Electrical Management System

Progressive Industries, Inc. EMS Electrical Management System Progressive Industries, Inc. EMS Electrical Management System Complete Installation Guide and Operating Instructions for: Model EMS-LCHW50 Rated at 240V/50A Manufactured by: Progressive Industries, Inc.

More information

CLEARVIEW KIT INSTALLATION GUIDE

CLEARVIEW KIT INSTALLATION GUIDE CLEARVIEW KIT INSTALLATION GUIDE Kit contents 1. Recorder with power supply 2. Camera Cables 3. Cameras 4. Mouse ** Display monitor and HDMI cable not included Remove recorder from the Kit and look over

More information

Electrical Management System (EMS) EMS-HW30C & EMS-HW50C

Electrical Management System (EMS) EMS-HW30C & EMS-HW50C Electrical Management System (EMS) EMS-HW30C & EMS-HW50C Installation & Operating Guide for: Model EMS-HW30C Rated at 120V/30A and Model EMS-HW50C Rated at 240V/50A Surgio Says Lifetime Warranty on all

More information

EXPERIMENT 7 Please visit https://www.arduino.cc/en/reference/homepage to learn all features of arduino before you start the experiments

EXPERIMENT 7 Please visit https://www.arduino.cc/en/reference/homepage to learn all features of arduino before you start the experiments EXPERIMENT 7 Please visit https://www.arduino.cc/en/reference/homepage to learn all features of arduino before you start the experiments TEMPERATURE MEASUREMENT AND CONTROL USING LM35 Purpose: To measure

More information

Controlling a fischertechnik Conveyor Belt with Arduino board

Controlling a fischertechnik Conveyor Belt with Arduino board EXPERIMENT TITLE: Controlling a fischertechnik Conveyor Belt with Arduino board PRODUCTS USED: CHALLENGE: AUTHOR: CREDITS: Interface and control a conveyor belt model (24 Volts, fischertechnik) with an

More information

Electrical Management System (EMS) EMS-HW30C & EMS-HW50C

Electrical Management System (EMS) EMS-HW30C & EMS-HW50C Electrical Management System (EMS) EMS-HW30C & EMS-HW50C Installation & Operating Guide for: Model EMS-HW30C Rated at 120V/30A and Model EMS-HW50C Rated at 240V/50A Surgio Says Lifetime Warranty on all

More information

SKU:TEL0092 WiFi Bee-ESP8266 Wirelss module

SKU:TEL0092 WiFi Bee-ESP8266 Wirelss module Page 1 of 32 SKU:TEL0092 WiFi Bee-ESP8266 Wirelss module Contents 1 Introduction 2 Specifications 3 Pin out 4 Tutorials 4.1 How to Use? 4.1.1 1 Connect AP 4.1.2 2 (/wiki/index.php/file:tel0092_frontpage.jpg)

More information

ARDUINO UNO R3 BASED 20A ROBOT CONTROL BOARD [RKI-1580] Page 1

ARDUINO UNO R3 BASED 20A ROBOT CONTROL BOARD [RKI-1580]   Page 1 ARDUINO UNO R3 BASED 20A ROBOT CONTROL BOARD [RKI-1580] http://www.robokitsworld.com Page 1 1. Introduction: The Arduino UNO R3 based 20A robot control board is a versatile motor controller for driving

More information

ISL RGB Sensor Tutorial By: Sabrina Jones

ISL RGB Sensor Tutorial By: Sabrina Jones ISL 25129 RGB Sensor Tutorial By: Sabrina Jones Overview The ISL29125 RGB sensor is a breakout board made to record the light intensity of the general red, green, and blue spectrums of visible light, that

More information

2SKILL. Variables Lesson 6. Remembering numbers (and other stuff)...

2SKILL. Variables Lesson 6. Remembering numbers (and other stuff)... Remembering numbers (and other stuff)... Let s talk about one of the most important things in any programming language. It s called a variable. Don t let the name scare you. What it does is really simple.

More information

Overview RFSv4.3 is a RF module providing easy and flexible wireless data transmission between devices. It is based on AVR Atmega8 with serial output which can be interfaced directly to PC. Features 2.4

More information

Xbee Shield. Introduction

Xbee Shield. Introduction Xbee Shield Introduction A Xbee shield allows an Arduino board to communicate wirelessly using Bee compatible modules (like Zigbee or BlueTooth Bee). It is designed to be used with Xbee module from MaxStream.

More information

Advanced Activities - Information and Ideas

Advanced Activities - Information and Ideas Advanced Activities - Information and Ideas Congratulations! You successfully created and controlled the robotic chameleon using the program developed for the chameleon project. Here you'll learn how you

More information

Arduino Prof. Dr. Magdy M. Abdelhameed

Arduino 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 information

AndyMark Arduino Tutorial

AndyMark 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 information

IR-232 IR to RS-232 Interface Version 1.6 December 1, 2004

IR-232 IR to RS-232 Interface Version 1.6 December 1, 2004 Product Manual IR-232 IR to RS-232 Interface Version 1.6 December 1, 2004 17630 Davenport Road, Suite 113 Dallas, TX 75252 Phone: 972-931-2728 Toll-Free: 888-972-2728 Fax: 972-931-2765 E-Mail: Sales@crwww.com

More information

University of Portland EE 271 Electrical Circuits Laboratory. Experiment: Arduino

University of Portland EE 271 Electrical Circuits Laboratory. Experiment: Arduino University of Portland EE 271 Electrical Circuits Laboratory Experiment: Arduino I. Objective The objective of this experiment is to learn how to use the Arduino microcontroller to monitor switches and

More information

Instruction Manual. Electrical Management System (EMS) EMS-HW30C & EMS-HW50C

Instruction Manual. Electrical Management System (EMS) EMS-HW30C & EMS-HW50C Instruction Manual Electrical Management System (EMS) EMS-HW30C & EMS-HW50C EMS-HW50C EMS-HW30C! CAUTION These instructions are intended to provide assistance with the installation of this product, and

More information

Halloween Pumpkinusing. Wednesday, October 17, 12

Halloween Pumpkinusing. Wednesday, October 17, 12 Halloween Pumpkinusing Blink LED 1 What you will need: 1 MSP-EXP430G2 1 3 x 2 Breadboard 3 560 Ohm Resistors 3 LED s (in Red Color Range) 3 Male to female jumper wires 1 Double AA BatteryPack 2 AA Batteries

More information

Microcontrollers. What is a Microcontroller. Setting up. Sample First Programs ASCII. Characteristics Basic Stamp 2 the controller in the Boe Bot

Microcontrollers. What is a Microcontroller. Setting up. Sample First Programs ASCII. Characteristics Basic Stamp 2 the controller in the Boe Bot Microcontrollers What is a Microcontroller Characteristics Basic Stamp 2 the controller in the Boe Bot Setting up Developmental Software Hardware Sample First Programs ASCII DEBUG using ASCII What is a

More information

ME2110: Creative Decisions and Design Electromechanical and Pneumatic Kit Manual

ME2110: Creative Decisions and Design Electromechanical and Pneumatic Kit Manual ME2110: Creative Decisions and Design Electromechanical and Pneumatic Kit Manual Contents 1 The Controller Box 1 2 Basic Programming of the Controller Box 2 2.1 Program Directives.....................................

More information

lab A.3: introduction to RoboLab vocabulary materials cc30.03 Brooklyn College, CUNY c 2006 Name: RoboLab communication tower canvas icon

lab A.3: introduction to RoboLab vocabulary materials cc30.03 Brooklyn College, CUNY c 2006 Name: RoboLab communication tower canvas icon cc30.03 Brooklyn College, CUNY c 2006 lab A.3: introduction to RoboLab Name: vocabulary RoboLab communication tower canvas icon drag-and-drop function palette tools palette program algorithm syntax error

More information

Smart Sensor Gateway Installation Manual

Smart Sensor Gateway Installation Manual TECHNICAL DOCUMENT Smart Sensor Gateway Installation Manual 2019-02-08 1/16 Table of Contents 1 GENERAL 3 2 INSTALLATION 4 2.1 Prerequisites for Installation 4 2.2 Recommended Location 5 2.3 Gateway Configuration

More information

Hardware Manual 1240i-485

Hardware Manual 1240i-485 Hardware Manual -485 Intelligent Step Motor Driver with Multi-drop RS-485 Interface 920-0033 A 7/6/2010 motors drives controls -2- Table of Contents Introduction...4 Features...4 Block Diagram...4 Getting

More information

Arduino - DigitalReadSerial

Arduino - DigitalReadSerial arduino.cc Arduino - DigitalReadSerial 5-6 minutes Digital Read Serial This example shows you how to monitor the state of a switch by establishing serial communication between your Arduino or Genuino and

More information

E-Blocks Mobile Communications Bundle

E-Blocks Mobile Communications Bundle Page 1 Communications Bundle Cover Page Page 2 Flowcode Installing Flowcode Instruction for installing Flowcode can be found inside the installation booklet located inside the Flowcode DVD case. Before

More information

Serial.begin ( ); Serial.println( ); analogread ( ); map ( );

Serial.begin ( ); Serial.println( ); analogread ( ); map ( ); Control and Serial.begin ( ); Serial.println( ); analogread ( ); map ( ); A system output can be changed through the use of knobs, motion, or environmental conditions. Many electronic systems in our world

More information

Tutorial 1: Software Setup

Tutorial 1: Software Setup 1 of 5 11/21/2013 11:33 AM Shopping Cart Checkout Shipping Cost Download Website Home MP3 Player 8051 Tools All Projects PJRC Store Site Map You are here: Teensy Teensyduino Tutorial Setup PJRC Store Teensy

More information

HUB-ee BMD-S Arduino Proto Shield V1.1

HUB-ee BMD-S Arduino Proto Shield V1.1 HUB-ee BMD-S Arduino Proto Shield V1.1 User guide and assembly instructions Document Version 0.5 Introduction & Board Guide 2 Schematic 3 Quick User Guide 4 Assembly Guide 6 Kit Contents 7 1) Diodes and

More information

RS-232 Adapter Board

RS-232 Adapter Board User Manual Blue Wolf, Inc. 9179 W. State Street Garden City, ID 83714 Revision History Version # Release Date Revision/Release Comments 1.0 3/14/2011 Initial draft for release. The information contained

More information

Lesson 4: Animation. Goals

Lesson 4: Animation. Goals Introduction: In this session you are going to use custom built tools in Arduino to help you turn images or animation into code that automatically uploads to your DIY Gamer. It is a fun and easy way to

More information

Getting Started with the RN-XV WiFly

Getting Started with the RN-XV WiFly 1 Introduction Getting Started with the RN-XV WiFly October, 2018 Revision 3 This guide will introduce you to using the RN-XV (or RN-171-XV) WiFly wireless LAN module with the Arduino UNO via the Wireless

More information

AT42QT1010 Capacitive Touch Breakout Hookup Guide

AT42QT1010 Capacitive Touch Breakout Hookup Guide Page 1 of 7 AT42QT1010 Capacitive Touch Breakout Hookup Guide Introduction If you need to add user input without using a button, then a capacitive touch interface might be the answer. The AT42QT1010 Capacitive

More information

Reading ps2 mouse output with an Arduino

Reading 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 information

Monitor your home remotely using the Arduino

Monitor your home remotely using the Arduino Monitor your home remotely using the Arduino WiFi Shield How to monitor some data in your home using precisely this Arduino WiFi shield. Along with the Arduino Uno board, the final system will form an

More information

Chapter 7 Building robot with MicroCamp kit

Chapter 7 Building robot with MicroCamp kit MicroCamp : ATmega8 Activity Kit Manual l 63 Chapter 7 Building robot with MicroCamp kit This chapter focus learning the applications of the MICROCAMP microcontroller. The building of a robot integrates

More information

C:\Users\Jacob Christ\Documents\MtSAC\ELEC74 Mt SAC - chipkit\homework Sheets.docx

C:\Users\Jacob Christ\Documents\MtSAC\ELEC74 Mt SAC - chipkit\homework Sheets.docx ELEC 74 Worksheet 1 Logic Gate Review 1. Draw the truth table and schematic symbol for: a. An AND gate b. An OR gate c. An XOR gate d. A NOT gate ELEC74 Worksheet 2 (Number Systems) 1. Convert the following

More information

Lesson 5 Arduino Prototype Development Platforms. Chapter-8 L05: "Internet of Things ", Raj Kamal, Publs.: McGraw-Hill Education

Lesson 5 Arduino Prototype Development Platforms. Chapter-8 L05: Internet of Things , Raj Kamal, Publs.: McGraw-Hill Education Lesson 5 Arduino Prototype Development Platforms 1 Arduino Boards, Modules And Shields Popular AVR MCU based products Each board has clear markings on the connection pins, sockets and in-circuit connections

More information

EMS. Electrical Management System. Progressive Industries Incorporated Morrisville, North Carolina

EMS. Electrical Management System. Progressive Industries Incorporated Morrisville, North Carolina Progressive Industries Warranty Progressive warrants its products are free from defects in materials and workmanship for a period of three years. This is in lieu of all other warranties, obligations, or

More information

Objectives: Learn how to input and output analogue values Be able to see what the Arduino is thinking by sending numbers to the screen

Objectives: Learn how to input and output analogue values Be able to see what the Arduino is thinking by sending numbers to the screen Objectives: Learn how to input and output analogue values Be able to see what the Arduino is thinking by sending numbers to the screen By the end of this session: You will know how to write a program to

More information

Building an Arduino-powered underwater ROV

Building an Arduino-powered underwater ROV Building an Arduino-powered underwater ROV An ROV offers an entirely different way to use Arduino to explore a new world. This project is a bit different in two ways. First, there is quite a bit of mechanical

More information

Robot Eyes. DAY 3 Let's Make a Robot

Robot Eyes. DAY 3 Let's Make a Robot DAY 3 Let's Make a Robot Objective: Students will learn to use an SR04 Sonar component to measure distance. The Students will then build their robot, establish programming to control the motors and then

More information

Interactive LED Modules

Interactive LED Modules Interactive LED Modules An open-source hardware+software project. For design files, source code, & additional documentation, please visit: http://wiki.evilmadscience.com/octolively Support: http://www.evilmadscientist.com/forum/

More information

LEARN HOW TO INTERFACE WITH AND ARDUINO

LEARN 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 information

ViZion DR + Wireless Install Guide

ViZion DR + Wireless Install Guide 1 ViZion DR + Wireless Install Guide 1. Open the DR panel box. 2. Put aside the three cables from the top layer of Styrofoam for storage. These cables are only required for potential troubleshooting scenarios.

More information

Introduction 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 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 information

Introduction to Programming. Writing an Arduino Program

Introduction to Programming. Writing an Arduino Program Introduction to Programming Writing an Arduino Program What is an Arduino? It s an open-source electronics prototyping platform. Say, what!? Let s Define It Word By Word Open-source: Resources that can

More information

Arduino notes IDE. Serial commands. Arduino C language. Program structure. Arduino web site:

Arduino notes IDE. Serial commands. Arduino C language. Program structure. Arduino web site: 1 Arduino notes 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 the essential pieces of code,

More information

CONSTRUCTION GUIDE Remote Big Wheel. Robobox. Level VIII

CONSTRUCTION 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 information

keyestudio Keyestudio MEGA 2560 R3 Board

keyestudio Keyestudio MEGA 2560 R3 Board Keyestudio MEGA 2560 R3 Board Introduction: Keyestudio Mega 2560 R3 is a microcontroller board based on the ATMEGA2560-16AU, fully compatible with ARDUINO MEGA 2560 REV3. It has 54 digital input/output

More information

Sierra Radio Systems. Mesh Data Network. Reference Manual. Version 1.0

Sierra Radio Systems. Mesh Data Network. Reference Manual. Version 1.0 Sierra Radio Systems Mesh Data Network Reference Manual Version 1.0 Contents Hardware Xbee backpack board Xbee base station Xbee firmware configuration RS485 network power injector Protocol specification

More information

RS485 Sensor Node V1.0 (SKU:DFR0233)

RS485 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 information

Lesson 10. Circuit Boards and Devices Ethernet and Wi-Wi Connectivity with the Internet

Lesson 10. Circuit Boards and Devices Ethernet and Wi-Wi Connectivity with the Internet Lesson 10 Circuit Boards and Devices Ethernet and Wi-Wi Connectivity with the Internet 1 Connecting Arduino USB to Internet Arduino board IDE supports USB. USB port connects to a mobile or computer or

More information

X Board V2 (SKU:DFR0162)

X Board V2 (SKU:DFR0162) X Board V2 (SKU:DFR0162) X-Board V2, DFR0162 Contents 1 Introduction 2 Specifications 3 Pinouts 4 Tutorial 4.1 Requirements 4.2 Wiring Diagram 4.3 Sample code Introduction This is Version 2.0 of the X-board.

More information

The Big Idea: Background:

The Big Idea: Background: Lesson 7 Lesson 7: For For Loops Loops The Big Idea: This lesson simplifies the control of digital pins by assigning the pin numbers to an integer variable and by calling the digitalwrite command multiple

More information

CTEC 1802 Embedded Programming Labs

CTEC 1802 Embedded Programming Labs CTEC 1802 Embedded Programming Labs This document is intended to get you started using the Arduino and our I/O board in the laboratory - and at home! Many of the lab sessions this year will involve 'embedded

More information