Prepare the Arduino IDE for use with Sense/Stage
This page describes how to install the hardware and firmware files for the Arduino IDE
| minibee | firmware | minibee | arduino-ide |
| tags | expert |
To program the Sense/Stage MiniBee you have to use the Arduino IDE and prepare it to use the firmware libraries and the hardware definitions that we have created for Sense/Stage.
Download files
Install
MiniBee files
-
Unpack the
ssdn_minibeepackage - Check what your Arduino sketchbook folder is:
- Go to
[FILE]menu and choosePreferences, the keyboard shortcut is[CTRL]+[,] - At the top it tells you the folder for the
Sketchbook location, e.g.~/Arduino - Go with your file browser to this folder
- If there is no
hardwarefolder there, just copy the folderssdn_minibee/hardwareto the sketchbook folder - If there is a
hardwarefolder there, copy the folderssdn_minibee/minibeeto it - If there is no
librariesfolder there, just copy the folderssdn_minibee/librariesto the sketchbook folder - If there is a
librariesfolder there, copy the folders inssdn_minibee/librariesto it
- Go to
- You should now have the following folders in your sketchbook folder:
hardware/
hardware/minibee
hardware/minibee/avr
libraries/ADXL345
libraries/BMP085
libraries/HMC58X3
libraries/LIS302DL
libraries/MBSerial
libraries/MiniBee
libraries/MiniBee_APIn
libraries/NewSoftSerial
libraries/OneWire
libraries/TMP102
libraries/XBee
NOTE: the minibee files are for version 1.6.5 and up of the Arduino IDE. If you use an older version of the Arduino IDE, you have to use a different branch of ssdn_minibee
The MiniBee Firmware examples will show up in the:
- API-mode (recommended) File -> Examples -> MiniBeeAPIn, and the MiniBee Firmware library will show up in Sketch -> Import Library… -> MiniBeeAPIn
- AT-mode: (no longer maintained) File -> Examples -> MiniBee, and the MiniBee Firmware library will show up in Sketch -> Import Library… -> MiniBee
Firmware examples
- Now start the Arduino IDE
- In the
[FILE]menu, underExamples, under(Examples from Custom Libraries)you have a set of examples for theMiniBee_APInlibrary. - The example
minibee_Fis the default version for MiniBee revision F - The example
minibeeis the default version for MiniBee revision D customReceivingshows how to receive custom datacustomSendingshows how to send custom datasendingPrivateDatashows how to send additional (private) messagessendingTriggerDatashows how to send trigger data messagesBeeToBeeshows how to send data from one MiniBee to anotherDS18x20_temperatureshows how to read out the DS18x10 temperature sensorITG3200shows how to read out the ITG3200 sensorLSM9DS1shows how to read out the LSM9DS1 sensorledfadesshows how to set up a system with smoothly fading LEDsminibeeServoshows how to control a servo motorminibeeNSSshows how to use the NewSoftSerial library
Choosing the board
- In the
[TOOLS]menu, choose[Sense Stage MiniBee] - The default processor is
ATmega328p revB/D/F (3.3V, 12 MHz) - Only for revision A and particular versions of revision D you need to choose a different processor.
| minibee | firmware | minibee | arduino-ide |
| tags | expert |
| page created on: | last changed on: |
|---|---|
| 6 February 2017 | 6 February 2018 |
