Skip to content

Rio6/ArduinoCar

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

53 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ArduinoCar

Controlling an Arduino car using android and wifi direct.

Protocol

The phone and arduino communicate with this protocol:

>TypeIndexDatas<

Where:

  • > Indicates the start of a command
  • Type can either be M (motor) or S (servo) [1 byte]
  • Index is to specify which motor/servo to control [1 byte]
  • Datas are speed and run mode for motor, angle for servo [multiple bytes]
  • < Indicated the end of command

Example:

    // Set the motor at index 0 to speed 200 and run forward
    byte[] cmd = {'>', 'M', 0, 200, 1, '<'};

About

Android remote controlled Arduino car

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published