Introduction: Arduino101 RC Cars

[This is not finished. I intend on finishing it by May 2016.]

I wanted a simple, cute, project that demonstrated how to control IO pins on an Arduino101 using a smart phone.

I used:

An Arduino101.

Ardumoto shield.
https://www.sparkfun.com/products/9815 This came from sparkfun and it is 3.3V digital logic levels.

An Android smart phone withi Bluetooth Smart. (Bluetooth LE)

Nordic Semiconductor nRF Toolbox
http://www.nordicsemi.com/eng/Products/Nordic-mob...

A Sparkfun robotics motor, wheel, kit.

Step 1: Get the Code.

The code is on GitHub at:

https://github.com/qtpierce/sMegabyte/tree/master/...

There are 2 significant files:

simple_nRF_UART.ino This is the sketch that goes on the Arduino101.

myUARTApp.xml This is the configuration file that sets up the nRF Toolbox App's UART tool.

Step 2: Upload the Sketch to the Arduino101.

Use the Arduino IDE to upload the sketch simple_nRF_UART.ino to the Arduino101.

https://github.com/qtpierce/sMegabyte/blob/master/...

Once uploading is complete, cycle power on the Arduino101. You do this because the Nordic Semiconductor Bluetooth transceiver only updates its information concerning the device name and services at powerup.

Step 3: Download the NRF Toolbox App and Install It on a Phone.

From Google Play.

Nordic Semiconductor nRF Toolbox
http://www.nordicsemi.com/eng/Products/Nordic-mob...

Install it.

Step 4: Copy the UART Config File to Your Phone.

Or write your own UART configuration.

Use a USB cable to copy the file myUARTApp.xml to the phone.

Open the nRF Toolbox and goto the UART tool at the bottom.

Try to import the file myUARTApp.xml as a configuration.

If you get an error concerning a configuration already existing with that name, then rename the existing configuration.

And then try to import the UART config file. And delete the old configuration.

Step 5: Connect the UART App to Your Arduino101.

Use the UART App's CONNECT button to initiate the connection. It should scan and find your Arduino101. You then press the name name of your Arduino101, it is a button, to make the connection.

Your phone and app are now paired with the Arduino101 and should be turning GPIO pins on and off. Try sticking a bare LED into Arduino pins 4 and 5. 5 will be the anode (the long pin). The buttons in the upper left and upper right should turn the LED on and off.