Cookbook

Welcome to the Cookbook, a wiki and code repository for publishing projects, experiments, resources and ideas.

We've now introduced a "Notebook" for everyone, sowe want to see how well that concept works. Please use your "Notebook" for publishing any new projects, and perhaps post them in the forum to tell others what you are up to.

We'll maintain this as a good snapshot reference for now, but we'll look to upgrade it to integrate with Notebooks in the future.

Libraries

NameDescription
Display
TextLCDA 16×2 Text LCD
Servo Controlling a Servo
MobileLCD A 130×130 Nokia Mobile Screen
Comms
RFID An ID-12 RFID tag reader
HTTPClient Some simple to use HTTPClient examples.
SDCard File system access of an SD Card
Robotics and Motors
Pimp My Sumovore Yet more Sumovore stuff
MotorController Controlling Motors with mbed
Spatial: GPS, Accelerometers, Rangefinding
Where_is_up A Simple accelerometer project
SRF05 Low cost ultrasonic range finder
LIS302 Digital accelerometer fun

Experiments / Code snippets / Articles

NameDescription
Comms
CanBusExample1 Interfacing the Controller Area Network (CAN)
Networking Shows how the network stack works, with a webserver as an example. Gets your mbed on the internet
Twitter A simple HTTPClient to twitter or what ever you can make with POST and GET
Timetric Use an mbed to create series with timetric.com
Power Over Ethernet Dangle your webserver on a CAT5 cable, because you can!
XBee Communicating wirelessly with the MaxStream XBee module via UART serial interface
Input
Touchpad A musical instrument with Nintendo DS touchpad & Freescale MMA7260 accelerometer
Keypad4x3 Interfacing a 4×3 numeric keypad.
WiiChuck Interfacing a Wii Nunchuck controller using I2C
Audio
Beeper Driving an Piezo sounder
MIDI For communicating using MIDI (musical instrument digital interface)
Misc
MAX5842 A MAX5842 DAC
24LC256 EEPROM
IO Expander PCF8574 More digital IO for your mbed Microcontroller!
PyMite Python-on-a-Chip: running the PyMite VM on mbed with interactive interface
DemoBoard Lots of little mini projects using the demo board
AT45 AT45 series SPI flash
mbed-BoB The 'official' breakout board
mbed-BoB2 BoB2 - Son of BoB
TextLCD with I2C interface ... Because I am too lazy to wire stuff up
SPIThermometer SPI Digital Thermometer
TipsAndTricks Some useful code snippets
Breadboard More tie points for your mbed
RPC RPC fun with mbed Interfaces
BarGraph Simple way to make a bar graph from a percentage
GPS Read location using a GPS module

Beta

Work here is from the Beta trial, and so may not work on the mbed NXP LPC1768. Usually there is a small amount of work to bring a project up to scratch. Next time have a fiddle with the project, feel free to upgrade it to the latest mbed Microcontroller and update the cookbook.

Experiments / Code snippets / Articles

NameDescriptionTarget
Display
Bitmaps Drawing bitmaps on a screen beta
Colour Online colour mixer for generating HEX RGB colours beta
VGA console VGA console beta
Componentless VGA VGA with no components beta
CustomizableTextLCD Customizable version of the TextLCD library beta
LEDDotMatrix Using a 8×8 LED Dot Matrix display, and experimenting with a 16×16 one controlled using an I²C I/O expander beta
Graphics A 2D and wireframe 3D graphics library built on top of the MobileLCD library beta
Comms
EthernetTest Hokey webserver just to test the Ethernet beta
SLP440 Controlling a Smart Label Printer through the mbed beta
R/C Demux R/C Reciever demuliplexer beta
NC4BluetoothModule Using the NC4 bluetooth module with the mbed beta
PCF8591T 8 Bit A/D and D/A converter using I2C beta
Door Lock A Door Lock Using RF-ID beta
TVRemoteReader Displays pulses and timing of Sky+ Remote on MobileLCD beta
RemoteDecoder IR Sky+ Remote key decoder for robot control beta
SerialProxyWebserver Experiments with proxying http over serial beta
NokiaWirelessPresenter beta
SFE_Bluetooth Getting going with the Sparkfun bluetooth module beta
Input
PS2 Keyboard PS/2 Keyboard interface beta
PS2 Mouse PS/2 Mouse Interface beta
Audio
iPod Using a PodBreakout board to control an iPod beta
PlayMusic Experiments in playing music files beta
WavePlayer a .wav file player beta
SndRecorder Au format sound recorder beta
MusicalNotesTable of musical notes and thier frequencies beta
VS1002MP3Decoder streaming mp3s with the VS1002 beta
GTuner Guitar Tuner beta
Synth A music synthesis library, capable of running alongside other activities beta
Misc
Rockets What can we control with an mbed inside a rocket? beta
Gyroscopes Using an IDG300 dual-axis gyroscope beta
Test Rig Creating a test rig for the mbed beta
SecondLife Interacting with SecondLife beta
Voltmeter Teaching project beta
Digital Dice Without using 74 series logic! beta
Scratch Interacting with Scratch Programming Environment beta
Metronome Simple metronome beta
HowCold How Cold?? Data logging with SPI Digital Thermometer beta
MainsRemoteControl Mains remote control beta
Set The RTC Simple utility I made beta
Pong The classic game of Pong beta
ASC712 Using the ASC712 current sensor to monitor power usage beta
NiMH Charging Charging NiMH batteries using PWMout beta
Robotics and Motors
RobotDesign Logo Turtle for the 21st Century beta
Sumovore Sumovore fun, including A Logo-like interpreter and infrared sensors controlled beta
SumovoreExperiments Some more Sumovore experiments beta
Home Theatre Motor Control Motorized Home Theatre beta
Spatial: GPS, Accelerometers, Rangefinding
DigitalCompass Experiments with a Digital Compass beta
AccelerationDatalogger Data logger using LIS302 Accelerometer (for the car) beta
TiltCompCompass Build a Tilt Compensated Digital Compass beta
Interfacing with a Host
PythonInteraction Making mbed talk to Python, including mbed RPC library beta
MatlabInteraction Making mbed talk to Matlab beta
mbed hacking & development
Ninja Down and dirty with mbed internals... beta
Popular Ingredients Useful supplies and tools beta
Eagle Resources for Eagle PCB tool beta
gEDA Resources for gEDA beta
mbed Workshops session Planning for an mbed workshop. beta
MBEDDevelopmentBoard Collection of design ideas for an mbed development board beta
Benchmarking Experiments
DACBenchmark how fast is the AnalogOut routine beta
LFSBenchmark how fast is the LocalFileSystem beta
SDBenchmark how fast is the SD filesystem beta
Misc
USRF SRF08 Ultrasonic range finder beta