Thursday, May 17, 2012

How To Setup Initial Basic4Android Javascript & IOIO Board Setup

This is the first of many posts about my journey using Basic4Android and Ytai's IOIO board. This initial post will set up your software and IOIO board for first time use.

Let's Get Started!


You will need many tools to make this come together for the first time. I tend to use Sparkfun.com for my electronic parts orders and will give part numbers when I can.  You can call or email them as they are quick about supporting anything they sell.
Basic4Android lets you program using Javascript to control your IOIO Board.  It cannot get any easier than that.

  • You will have to have an IOIO Board connected to your android device for any testing. You cannot use the Android Emulator within Basic4Android to make a connection to the IOIO Board.

Software you will need:

 

Basic4Android - Buy It Here: Basic4Android. There are software upgrades and you might as well purchase the unlimited upgrade option to save on upgrades in the future, plus Erel is a good guy!



  1. Download and install Basic4Android per the instructions found at home site. Its not hard but you need to do this to get things started.
  2. Download the IOIO files and copy to the Libraries folder found within your Basic4Android program folder.
  3. Start Basic4Android and click the Libs icon in the lower right hand corner.
  4. In the list on the right check ioiobt and ioiolibbt. These libraries must be loaded to communicate with the IOIO Board.

 

Your IOIO Board needs to be setup to communicate with your android device. 

  1. Turn on Bluetooth on your device.
  2. Plug in or power up your IOIO Board with the bluetooth adapter inserted in the board.
  3. On your android device pair up the IOIO with the password of : 4545
  4. Make sure your device declares that it is Paired.

 

Now you are ready to test your connection for programming!

  1. Download the Hello IOIO Basic4Android file.
  2. Open the file in Basic4Android and compile to your android device.
  3. Run the App or the compiled app.
  4. Click the Button to make the Yellow LED turn off or on.  
 If all goes well you will see the LED turn off or on! 


Then you will need the following files:


What you have to purchase:








No comments:

Post a Comment