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_minibee
package - 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
hardware
folder there, just copy the folderssdn_minibee/hardware
to the sketchbook folder - If there is a
hardware
folder there, copy the folderssdn_minibee/minibee
to it - If there is no
libraries
folder there, just copy the folderssdn_minibee/libraries
to the sketchbook folder - If there is a
libraries
folder there, copy the folders inssdn_minibee/libraries
to 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_APIn
library. - The example
minibee_F
is the default version for MiniBee revision F - The example
minibee
is the default version for MiniBee revision D customReceiving
shows how to receive custom datacustomSending
shows how to send custom datasendingPrivateData
shows how to send additional (private) messagessendingTriggerData
shows how to send trigger data messagesBeeToBee
shows how to send data from one MiniBee to anotherDS18x20_temperature
shows how to read out the DS18x10 temperature sensorITG3200
shows how to read out the ITG3200 sensorLSM9DS1
shows how to read out the LSM9DS1 sensorledfades
shows how to set up a system with smoothly fading LEDsminibeeServo
shows how to control a servo motorminibeeNSS
shows 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 |