Skip to content

Commit

Permalink
Updating documentation for V1.0 release
Browse files Browse the repository at this point in the history
Signed-off-by: Nicolas Besson <billounet@gmail.com>
  • Loading branch information
NicolasBesson committed Jun 10, 2017
1 parent 9de6d4f commit 50ba4d4
Showing 1 changed file with 22 additions and 25 deletions.
47 changes: 22 additions & 25 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
# BlueRCCar
BlueRCCar is a Bluetooth RC Car driver controler solution replacing standard radio RC Car equiped with HT8A978 radio receiver, by a Bluetooth 3.0 interface.
The addition of Bluetooth on the RC Car make it compatible with most of the SmartPhones on the market.
BlueRCCar is a Bluetooth RC Car driver controller solution replacing standard radio RC Car equipped with HT8A978 radio receiver, by a Bluetooth 3.0 interface.
The addition of Bluetooth on the RC Car makes it compatible with most of the Smart Phones on the market (in 2017).

The BlueRCCar système has been mounted on a Nikko Lazer 3.
The BlueRCCar system has been mounted on a Nikko Lazer 3.

![Nikko Lazer 3](/Pictures/NikkoLazer3.jpg "Nikko Lazer 3")

# Device Usage
Thsystem make the RC Car addressable via Bluetooth through an SPP (Serial Port Profile) profile using a really simplistic bidirectional protocol.
The system makes the RC Car addressable via Bluetooth through an SPP (Serial Port Profile) profile using a really simplistic bidirectional protocol.

## Commands
The protocol is composed of Ascii commands that have the following meaning :
The protocol is composed of Ascii commands that have the following meaning:

Command | Value | | Command | Value
------------------- | ----- | --- | ------------------- | -----
Expand All @@ -30,19 +30,15 @@ Rear Lights OFF | u | | Speed 100 | q
Horn ON | V | | Stop All | D
Horn OFF | v | | |

# Bluetooht RC Android application
The supported protocol is compatbile with an existing Android application called **Arduino Bluetooth RC Car** developped by 'Andi.Co'. It is a free application and working on Android 2.3.3 and above.
# Bluetooth RC Android application
The supported protocol is compatible with an existing Android application called **Arduino Bluetooth RC Car** developed by 'Andi.Co'. It is a free application and working on Android 2.3.3 and above.

## User Interface
![Bluetooht RC Interface](/Pictures/BluetoothRCAppInterface.png "Bluetooth RC Interface")


## Application Configuration

![Bluetooth RC Interface](/Pictures/BluetoothRCAppInterface.png "Bluetooth RC Interface")

# Building the Hardware
The RC Car electronic already in place is composed of two main parts, the RF Receiver that translate RF Commandes into electric commands, and the motor commands through an H-Bridge.
The system is replacing the Radio Receiver, by translating Bluetooth commands into electric commands. The system is composed of three parts, the Bluetooth receiver with a USART bus, the ATtiny 85 that translates the commands and drive the last element, the GPIO Expander onto I2C Bus.
The RC Car electronic already in place is composed of two main parts, the RF Receiver that translate RF Commands into electric commands, and the motor commands through an H-Bridge.
The system is replacing the Radio Receiver, by translating Bluetooth commands into electric commands. The system is composed of three parts, the Bluetooth receiver with a USART bus, the ATtiny 85 that translates the commands and drive the last element, the GPIO Expander onto an I2C Bus.

![Schematic](/Hardware/BlueRCCar_schem.png "Schematic")

Expand All @@ -56,11 +52,11 @@ Before starting some tools are required :
* [Arduino IDE](https://www.arduino.cc/en/Main/Software)
* Visual Studio 2015 or 2017 Community Edition (and other flavors)
* [VisualMicro](http://www.visualmicro.com/) a Visual Studio plugin for Arduino development
* USBTinyISP programer
* USBTinyISP programmer

Install Visual Studio 2015 or 2017, and make sure to select the support for C++ (Visual C++) during installation.

Install the Arduino IDE application, and launch the application. You first need to add the support of the ATtiny familly as by default only Arduino based platforms are supported. From the File menu, select the Preferences submenu, and then find the “Additional Boards Manager URLs” field near the bottom of the dialog. Add the following url : https://raw.githubusercontent.com/damellis/attiny/ide-1.6.x-boards-manager/package_damellis_attiny_index.json
Install the Arduino IDE application, and launch the application. You first need to add the support of the ATtiny family as by default only Arduino based platforms are supported. From the File menu, select the Preferences submenu, and then find the “Additional Boards Manager URLs” field near the bottom of the dialog. Add the following url: https://raw.githubusercontent.com/damellis/attiny/ide-1.6.x-boards-manager/package_damellis_attiny_index.json
You can then validate and close the preferences dialog box. Then from the Tools menu you have to :

* Select the Board entry and choose **Board Manager** to add ATtiny board support.
Expand All @@ -70,7 +66,7 @@ You can then validate and close the preferences dialog box. Then from the Tools
* Select **USBtinyISP** as Programmer

## Project Dependencies
The project depends on the following libraries :
The project depends on the following libraries:

* **SoftwareSerial** by Peter Lerup revision 1.0.0
* **TinywireM** by Adafruit
Expand All @@ -90,7 +86,7 @@ On first usage of Visual Micro, you have to configure the various parameters of
* Select the version of the IDE you select
* Enter the path to the tool installation folder

Then validate the configuration window and access the Visual Studio IDE. From vMicro menu :
Then validate the configuration window and access the Visual Studio IDE. From vMicro menu:

* Select **ATtiny w/ ATtiny85** as Board
* Select **Internal 16MHz** or **Internal 8MHz** as Option2 (based on the Fuse configuration applied under Arduino IDE
Expand All @@ -104,10 +100,10 @@ To compile the project you have to :

* Open the BlueRCCar\BlueRCCar.sln solution file
* From Visual Studio, select **Build** menu and choose **Configuration Manager** entry
* From the Configuration Manager window, select **Release** in the **Active solution confgiuration** drop box
* From the Configuration Manager window, select **Release** in the **Active solution configuration** drop box
* Click on the Close button to close the Configuration Manager window
* From **Build** menu select **Build Solution** entry
* Wait few seconds (usualy less than 30 seconds)
* Wait few seconds (usually less than 30 seconds)
* Ensure that the last output from the Output window is : *Program size: 5,476 bytes (used 67% of a 8,192 byte maximum) (17.83 secs)* (values may vary)

Then you are ready to program your ATtiny 85.
Expand All @@ -127,9 +123,10 @@ You need to wire the programmer as following:

![RF Main Board interface](/Pictures/NikkoLazer3_MainBoard_Connection.jpg "RF Main Board interface")



# Revision History
## V1.0 - 2017-xx-xx
*

## V1.0 - 2017-06-10
* Initial release of the Firmware and Hardware
* Supported features
* Forward, Backward, Left Right
* Untested features
* Light

0 comments on commit 50ba4d4

Please sign in to comment.