Nucleo board with Seeed bot and bluetooth shields demo.
Dependencies: BluetoothSerial SeeedShieldBot mbed
This code shows a simple application composed of a Nucleo board, a Seeed Bot and Seeed Bluetooth shieds:
- http://mbed.org/components/Seeed-Studio-Shield-Robot
- http://mbed.org/components/Seeed-Bluetooth-Shield
This picture shows how the three boards are stacked together:
You will need also to use an application on your phone to send Bluetooth commands and to be able to control the Bot shield. We have used the Bluetooth spp tools pro Android application.
Look at this video to have more details about this demo:
Diff: main.cpp
- Revision:
- 2:7b09d04f029b
- Parent:
- 1:6a67ad238815
- Child:
- 3:68fe5b9e069a
--- a/main.cpp Mon Sep 08 08:43:00 2014 +0000 +++ b/main.cpp Mon Sep 08 13:00:23 2014 +0000 @@ -11,7 +11,7 @@ SeeedStudioShieldBot bot( D8, D9, D11, // Right motor pins (PwmOut, DigitalOut, DigitalOut) -> Motor 1 D12, D10, D13, // Left motor pins (PwmOut, DigitalOut, DigitalOut) -> Motor 2 - A0, A1, A2, A3, A4 // Sensors pins (all DigitalIn) + A0, A1, A2, A3, D4 // Sensors pins (all DigitalIn) ); // Enable it for debugging on hyperterminal