biicode technology gives you several advantages for enriching your Arduino experience:
-> Save your project in different folders for a better organization.
-> Reuse yours and other users´ code. Reusing made easy: just #include the file you need and you get it. No more copy and paste files from project to project or dowloading zip files from tutorials.
-> This is a simple and fast way to compile and upload your code in your Arduino.
-> You can use the text editors of your choice, also we provide Eclipse integration.
-> We are hosting adafruit, sparkfun and many other libraries, you won’t need to download and install libraries in your SDK anymore.
https://www.biicode.com/
http://docs.biicode.com/arduino.html
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Fab10: arduino & biicode
1.
2. Biicode:
1. Begin with Arduino.
2. Create your workspace.
3. Biicode & Eclipse.
4. How to reuse code.
5. Publish your code.
IoT examples:
1. temboo & twitter.
a. temboo.
b. adafruit cc3000.
c. adafruit 10dof.
d. LCD.
2. temboo & nexmo.
a. temboo.
b. adafruit cc3000.
c. adafruit 10dof.
d. Smartphone.
Index
3.
4. How to begin: Arduino
1. Create a web account.
2. Download biicode client. https://www.biicode.
com/downloads
$ bii init
$ bii setup:arduino
$ bii new
Code as usual
$ bii arduino:upload
7. $ mkdir biicode_workspace
$ cd biicode_workspace
~/biicode_workspace$ bii init
Username: your_user_name
Password for your_user_name: your_password
Initialization correct, now you can create your first hive
$ bii setup:arduino
Create your Workspace
8. The workspace is folder where all project
are placed.
In biicode, we call hives to the projects.
Workspace
10. $ bii new fab10
Select language: (java/node/fortran/python/cpp/arduino/None)
Introduce lang: arduino
How would you like to name your first block?
Introduce block name: my_blink
INFO: Selected block name: my_blink
Generate default firmware? (YES/no): [ENTER]
Introduce board: uno
Arduino detected on port COM17
Select IDE: (eclipse/none)
Introduce ide (default:None) (/o list options): [ENTER]
Create your Hive
11. Hive
there are the biicode
projects.
You can have all the hive
you like.
12. Blink & biicode
#include "Arduino.h"
int led = 13;
void setup(){
pinMode(led, OUTPUT);
}
void loop(){
digitalWrite(led, HIGH);
delay(1000);
digitalWrite(led, LOW);
delay(1000);
}
All you need
to change
$ cd fab10
~/fab10$ bii arduino:build
...
~/fab10$ bii arduino:upload
13. your settings
$ cd fab10
~/fab10$ bii arduino:settings
Introduce board: uno
Arduino detected on port COM17
Select IDE: (eclipse/none)
Introduce ide (default:None) (/o list options): eclipse
~/iot_day$ bii arduino:configure
27. See your Temboo settings.
TEMBOO_ACCOUNT
TEMBOO_APP_KEY_NAME
TEMBOO_APP_KEY
28. Create a new Temboo credential to send an email to a Gmail
account.
29. See that all are correctly saved.
TEMBOO_MYMAIL_CREDENTIAL
30. Define the necessary variables to WiFi and to Temboo.
main.cpp
//This file, located in your hive root folder define your wifi settings. Do not publish it!
//mywifidetails.h
//#define WLAN_SSID "YOUR_SSID" // cannot be longer than 32 characters!
//#define WLAN_PASS "your_password"
//#define WLAN_SECURITY YOUR_WIFI_SECURITY //WLAN_SEC_UNSEC, WLAN_SEC_WEP, WLAN_SEC_WPA or
WLAN_SEC_WPA2
//This file will contain your TEMBOO_MYMAIL_CREDENTIAL, TEMBOO_ACCOUNT, TEMBOO_APP_KEY_NAME,
TEMBOO_APP_KEY, do not publish it with your block
//tembooaccount.h
//#define TEMBOO_ACCOUNT "name_account"
//#define TEMBOO_APP_KEY_NAME "application_account_name"
//#define TEMBOO_APP_KEY "application_account_name_key"
//#define TEMBOO_MYMAIL_CREDENTIAL "credential_name"
36. See your Nexmo API settings.
NEXMO_API_KEY
NEXMO_API_SECRET
37. Define the necessary variables to WiFi and to Temboo.
main.cpp
//This file, located in your hive root folder define your wifi settings. Do not publish it!
//mywifidetails.h
//#define WLAN_SSID "YOUR_SSID" // cannot be longer than 32 characters!
//#define WLAN_PASS "your_password"
//#define WLAN_SECURITY YOUR_WIFI_SECURITY //WLAN_SEC_UNSEC, WLAN_SEC_WEP, WLAN_SEC_WPA or
WLAN_SEC_WPA2
//This file will contain your TEMBOO_MYMAIL_CREDENTIAL, TEMBOO_ACCOUNT, TEMBOO_APP_KEY_NAME,
TEMBOO_APP_KEY, do not publish it with your block
//tembooaccount.h
//#define TEMBOO_ACCOUNT "name_account"
//#define TEMBOO_APP_KEY_NAME "application_account_name"
//#define TEMBOO_APP_KEY "application_account_name_key"
//#define NEXMO_API_KEY "api_key"
//#define NEXMO_API_SECRET “api_secret”
//#define NUMBER_TO “number”