Grove Starter Kit for mbed
Last updated
Last updated
About mbed and Grove
mbed is an open source development platform for rapid prototyping with microcontrollers. It provides free software libraries, hardware designs and development tools to build projects very easily and fast.
Grove is a modular electronics platform for quick prototyping that does not involve soldering or bread boarding.
About this kit
This kit is designed for you to get started with mbed as soon as possible. It contains many plug-n-play Grove modules to start exploring the mbed world. One goal is to have fun and build confidence with hardware and software in the journey.
!!!Tip More details about Grove modules please refer to Grove System
All the things to get started are:
This kit
A computer with Internet
1.Click this linkto signup or login mbed, then you will get the mbed online compiler.
2.Import the program and open main.cpp, you will see the code.
3.On mbed online IDE, click "Compile" of the top toolbar (or use CTRL + D) to compile the code and the binary file - Arch_GPIO_Ex1_LPC11U24.bin.
4.Connect the Arch board to the computer and long press the button, a USB drive named CRP DISABLD will pop up.
5.Delete firmware.bin and copy Arch_GPIO_Ex1_LPC11U24.bin to the USB drive.
6.Quick press the button, the program will be running, an LED will be blinking.
The above program uses DigitalOut class and wait() function of mbed C/C++ SDK. LED1 is an pseudonym of I/O pin P1_8 and is labelled D1 in the Arch board. The state of LED1 is changed by writing either 0 or 1 to led. The wait() function produces a delay in seconds. The state of the led is continuous toggled every 0.5 seconds inside the endless while() loop.
More details of DigitalOut can be find in DigitalOut page of mbed handbook Similarly the wait() function is documented in wait page.
A piano built with a basket of fruit, a microcontroller and a computer.
The idea is from Makey Makey, but uses different hardware and software. An mbed enabled microcontroller with USB is used.
Hardware
An Arch board
A basket of fruit
A computer with AC power
Some wires
Software 1. Click this link to import the program to mbed online compiler. 2. Compile the code and download the binary file - Fruit_Piano_LPC11U24.bin. 3. Connect the Arch board to the computer and long press the button, a USB drive named CRP DISABLD will pop up. 4. Delete firmware.bin and copy Arch_GPIO_Ex1_LPC11U24.bin to the USB drive. 5. Quick press the button to run the program 6. Wire some apples or bananas to A0 - A5 (P0_11 - P0_14, P0_16, P0_22) pins of the Arch board 7. Open Fruit Piano and play.