Saturday, 7 May 2016

Arduino Ardublock Software



To get started with a regular Arduino, like a Leonardo, download Arduino (hit the download arrow at top) and Ardublock.

Extract Arduino to your desktop and run Arduino.exe

Go to File > Preferences and find "sketchbook location".


  • In Windows, it’s by default “Documents\Arduino” under user’s home directory


  • In Mac, it’s by default “Documents/Arduino” under user’s home directory
  • In Linux, it’s by default “sketchbook” under user’s home directory




  • Close Arduino and copy ardublock-beta-20140702.jar to tools/ArduBlockTool/tool/ardublock-beta-20140702.jar under "Sketchbook location"

    If the user is "abu":
    • In Mac, /Users/abu/Documents/Arduino/tools/ArduBlockTool/tool/ardublock-beta-20140702.jar
    • In Linux, /home/abu/sketchbook/tools/ArduBlockTool/tool/ardublock-beta-20140702.jar
    • In Windows, C:\Users\abu\Documents\Arduino\tools\ArduBlockTool\tool\ardublock-beta-20140702.jar

    * Be careful, the name of folder “ArduBlockTool” under tools folder is case sensitive.

    Plug in your Arduino Leonardo. It should install drivers automatically. 

    If it does not and you are on Windows launch the device manager (hit Picture of the Windows logo key+R and run devmmt.msc).

    The Arduino should show up as 'Other Devices>COM5' or 'Ports (COM and LPT) > Arduino Leonardo (COM5) - note that you may see a different COM number, try to remember it.

    Right click and 'Update Driver Software', browse to the location of your Arduino install (ex: C:\Users\User\Desktop\arduino-1.6.8\drivers) and allow it to install (even if it says driver is unverified).

    Restart Arduino, ArduBlock should be found under the Tools menu:

    Untitled

    Under 'Tools > Board' select 'Arduino Leonardo', under 'Tools > (Serial) Port' select 'COM5' or whatever number you noted above in DeviceManager.

    To test it out build the following in Ardublock and hit upload (how it works will be explained in another tutorial)


    You could also test your settings by selecting the Blink example from the Arduino menu and hitting upload:



















    If it's working you should see the on board LED flashing, changing the delay will change the speed of flashing.

    For details check out these references:
    • Current Arduino software: https://www.arduino.cc/en/Main/Software
    • Pololu add ons for Arduino (as included in the modified download at top): https://www.pololu.com/docs/0J17/3
    • Ardublock download and setup: http://blog.ardublock.com/engetting-started-ardublockzhardublock/
    • Leonardo driver info: http://www.kmpelectronics.eu/en-us/questionsandanswers/installingdriversforarduinoleonardo.aspx



    No comments:

    Post a Comment