Switch branches/tags
Nothing to show
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
..
Failed to load latest commit information.
Robohero_new_20170301
Adafruit_PWM_Servo_Driver_Library.zip
README.md

README.md

TTRobotix RoboHero Arduino Source

With these source, you can custom your robohero everything!

RoboHero

Setup Guide

  1. Install USB Driver
  2. Install Arduino IDE
  3. Setup Board Support
  4. Install Servo Library
  5. Compile And Run

1.Install USB Driver

You need install PL2303 Driver for your computer first. http://www.prolific.com.tw/US/ShowProduct.aspx?pcid=41&showlevel=0041-0041 choose mac or windows by your OS.

2.Install Arduino IDE

Download and install lastest Arduino IDE from http://www.arduino.cc/ Arduino Download Web

3.setup board support

We need add RoboHero Board support to Arduino IDE. Open Arduino IDE, go to Preferences... Arduino Download Web

in "Additional Board Manager URLs: " enter

http://arduino.esp8266.com/stable/package_esp8266com_index.json

Arduino Download Web

Go to Board Manager Arduino Download Web

Search with chip name "esp8266", install it. Arduino Download Web

Now your arduino ide has support, change Board to "Generic ESP8266 Module": Arduino Download Web

Change these value to make sure you have the right setting.

Field Description
Board Generic ESP8266 Module
Flash Size 2M (1M SPIFFS)
CPU Frequency 80 MHZ
Reset Method nodemcu
Upload Speed 115200

Arduino Download Web

4.Install Servo Library

RoboHero has a PCA9685 16-way PWM chip, you need install library for it

There are two ways to install Servo Library.

  • Install from Arduino and modify #define youself.
  • Download modified zip

Install from Arduino and modify #define youself.

go to Manage Libraries. Arduino Download Web search "adafruit servo" and you will see "Adafruit PWM Servo Drive Library", install it. Arduino Download Web

Go to forder which the driver installed.

Mac: /home/yourname/Arduino/libraries/Adafruit_PWM_Servo_Driver_Library Windows: C:\users\yourname\Arduino\libraries\Adafruit_PWM_Servo_Driver_Library

Open "Adafruit_PWMServoDriver.cpp" add // to the other #define but leave "#define WIRE Wire" uncomment ; Arduino Download Web

Download modified zip

Download http://ttrobotix.github.io/RoboHero/Arduino/Adafruit_PWM_Servo_Driver_Library.zip Add from Sketch -> Include Library -> Add. ZIP Library... Arduino Download Web

5.open and run

Plug RoboHero with a USB Cable to PC, a new Port will appear.

Select Port: Mac: /dev/cu.usbserial, /dev/cu.usbserial will appear when you plug-in Windows: COM1 ~ COMX, a new COM Port will appear when you plu-in

Arduino Download Web If you have any problem leave comment let us know.

http://ttrobotix.com/contact or yougangkuo - at - thundertiger.com

Change RoboHero to a Wifi Client

open Config.h, change #define AP_MODE 1 to #define AP_MODE 0

and change SSID And Password, when you Disable AP_MODE, you RoboHero will enable mdns service with url: http://robohero.local/