Skip to content

Latest commit

 

History

History
62 lines (41 loc) · 2.67 KB

README.md

File metadata and controls

62 lines (41 loc) · 2.67 KB

#Who this repository is for

These are the libraries for the Apitronics Bee, which are built on top of the Xmegaduino IDE.

This repository helps you flash a Bee RevA5 board from scratch. This is particularly useful if you want to help in the development of this project. Note, this branch will focus on those interested in coopting Apitronics' platform for preparing a vapor mitigation monitoring system using bees, Honeywell's HSC sensors (and possibly others), and a hive running on an industrial BeagleBone Black. We can continue to share information here, including other working components. Please post issues as you find them.

#Setting up a development machine Please note, the following instructions are based on loading the code through an older Arduino IDE that is no longer actively maintained. Attempts have not been made to use Arduino's latest IDEs.

##Download Xmegaduino IDE First you need to download the arduino-1.0.1-rx2-xmegaduino-beta4b. What's important here is that we are still using arduino-1.0.1 (1.5 isn't quite stable yet) but that you have a more recent toolchain than the beta4 release.

Download the IDE here.

##Add in our libraries

(1) In Mac/Linux: Edit the boards.txt file in ~/arduino-1.0.1-rx2-xmegaduino-beta4b/hardware/xmegaduino/. Add the following at the top, bottom, middle, or anywhere really. For Mac, once Arduino is moved into Applications, boards.txt will be in /Applications/Arduino.app/Contents/Resources/Java/hardware/xmegaduino/.

##############################################################

api.name=Apitronics Bee

api.build.mcu=atxmega128a3
api.build.f_cpu=32000000L
api.build.core=xmega
api.build.variant=api

api.upload.tool=avrdude
api.upload.protocol=avr109
api.upload.speed=115200
api.upload.maximum_size=131072

##############################################################

In Windows: Skip this step

(2) In variants, create a soft link to the api directory in this repository.

In Mac/Linux:

ln -s ~/Bee/api ~/arduino-1.0.1-rx2-xmegaduino-beta4b/hardware/xmegaduino/variants/api Note that we assumed that this repository and the Xmegaduino are both in your home directory. You might need to fix these paths.

In Windows: Skip this step

(3) Open up the Xmegaduino IDE and go to: File-->Preferences and make the sketchbook location the sketches directory in this repository. Restart the IDE and all the libraries will be loaded.

Now you're good to go!

#Improvements to Think of

  • changing sample rates (and other settings) remotely
  • add automation to framework; how does it interact with sensors?

##License GNU GPL v3.0