Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletter Hub
Free Learning
Arrow right icon
timer SALE ENDS IN
0 Days
:
00 Hours
:
00 Minutes
:
00 Seconds
Arrow up icon
GO TO TOP
ESP8266 Robotics Projects

You're reading from   ESP8266 Robotics Projects DIY Wi-Fi controlled robots

Arrow left icon
Product type Paperback
Published in Nov 2017
Publisher Packt
ISBN-13 9781788474610
Length 210 pages
Edition 1st Edition
Tools
Concepts
Arrow right icon
Author (1):
Arrow left icon
 Seneviratne Seneviratne
Author Profile Icon Seneviratne
Seneviratne
Arrow right icon
View More author details
Toc

Table of Contents (15) Chapters Close

Writing the Arduino UNO sketch


First, generate the Arduino UNO sketch that shows how to read values from virtual pins with the Adafruit HUZZAH and ESP8266 Wi-Fi by using the Blynk Sketch Builder (https://examples.blynk.cc). The following instructions will show you how to generate the example sketch with the Blynk Sketch Builder (Figure 4.9):

  1. Select Adafruit Huzzah from the Board drop down list.
  2. Select ESP8266 WiFi from the Connection drop down list.
  3. Type the Auth Token associated with your Blynk app in the Auth Token(optional) text box.
  1. Select Virtual Pin Read from the Example drop down list:

Figure 4.9: Configuration steps to generate the sketch for a Virtual Pin Read

  1. Click the Copy example button in the Blynk Sketch Builder to copy the code onto the clipboard.
  2. Then, start the Arduino UNO IDE, create a new file, delete the default sketch, and paste the example code.

The example code generated with the Blynk Sketch Builder can be modified to control the two motors with the Joystick widget through...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at €14.99/month. Cancel anytime
Visually different images