Difference between revisions of "Workshop"
(→Software Requirements) |
|||
Line 2: | Line 2: | ||
==Software Requirements== | ==Software Requirements== | ||
− | + | http://mageec.org/w/index.php?title=Workshop&action=edit§ion=1 | |
Install packages required to build the firmware for the energy monitor board | Install packages required to build the firmware for the energy monitor board | ||
Line 26: | Line 26: | ||
sudo apt-get install git python-numpy python-scipy build-essential python-pip | sudo apt-get install git python-numpy python-scipy build-essential python-pip | ||
− | |||
sudo pip install pyusb | sudo pip install pyusb | ||
− | |||
==Connecting the hardware== | ==Connecting the hardware== |
Revision as of 10:44, 12 January 2014
This workshop will guide you through setting up and using the MAGEEC energy measurement boards.
Contents
Software Requirements
http://mageec.org/w/index.php?title=Workshop&action=edit§ion=1 Install packages required to build the firmware for the energy monitor board
add-apt-repository ppa:terry.guo/gcc-arm-embedded
If on Ubuntu 13.10, the following is required
sed -i 's/saucy/raring/' /etc/apt/sources.list.d/terry_guo-gcc-arm-embedded-saucy.list
Install an ARM toolchain
sudo apt-get install gcc-arm-none-eabi
If the target board is a shrimping kit / arduino / AVR
sudo apt-get install gcc-avr gdb-avr avr-libc avrdude arduino
Install other libraries needed
sudo apt-get install git python-numpy python-scipy build-essential python-pip sudo pip install pyusb
Connecting the hardware
TODO pictures and diagrams of the hardware connections
Software setup
TODO library prerequisites
TODO flashing the energy monitor
Using the software
TODO command line utility to read power data
TODO python scripting
Challenges
This section gives some examples for you to try out with the energy measurement kit.
Persistence of Vision
This uses one of the shrimping.it persistence of vision kits.
TODO energy required for different messages TODO compiler options exploration TODO interrupt driven version
Sorting
Try different sorting algorithms. Which is most energy efficient?
BEEBS
We use the a benchmark suite called BEEBS for our research. Try running some of these benchmarks on different hardware targets, with different clock speeds. Which takes the least energy?