Maple Mini and Grove

Grove is a modulated, ready-to-use tool set.
Much like Lego, it takes a building block approach to assembling electronics.

Moderators: lily.li, violet, salmanfarisvp, jeremy882, crail.lyu969

Post Reply
marekm
Pre-kindergarten
Pre-kindergarten
Posts: 2
Joined: Wed Mar 14, 2012 3:52 am
Location: Bielsko-Biala, Poland
Contact:

Maple Mini and Grove

Post by marekm » Sun Apr 15, 2012 4:11 pm

Hello,
Is anyone here who use Maple Mini boards as a control units for Grove bricks?

I just started with Maple Mini and SerialLCD and its work.
Planed: Compass, Stepper motors, etc.

It will be great to exchange experiences with others and build libraries for other bricks.


First - is Grove_SLCD library. This is ported from library for Arduino.
Tested with Maple Mini - on serial ports 1,2 and 3.
When you connect SerialLCD module to Maple Mini - please remember that you need external +5V power supply for SerialLCD module - on Maple mini you have only +3.3V.

Sample .pde:

Code: Select all

/*
 Grove_SLCD Library - Hello Grove
 
 Demonstrates the use a 16x2 LCD SerialLCD driver from Seeedstudio.
 
 This sketch prints "Hello, Grove!" to the LCD and shows the time since reset.
 
 Library originally added 16 Dec. 2010 by Jimbo.we  http://www.seeedstudio.com
 */

// include the library code:
#include <Grove_SLCD.h>

SLCD SLCD(2); // here - serial port number is selected

void setup() {
  // set up
  SLCD.begin();
  // Print a message to the LCD.
  SLCD.print("Hello, Grove!");
}

void loop() {
  // set the cursor to column 0, line 1
  // (note: line 1 is the second row, since counting begins with 0):
  SLCD.setCursor(0, 1);
  // print the number of seconds since reset:
  SLCD.print(millis()/1000,DEC);
}

Best,

Marek

yuriq
Elementary-3
Elementary-3
Posts: 383
Joined: Wed Dec 07, 2011 5:33 pm

Re: Maple Mini and Grove

Post by yuriq » Mon Apr 16, 2012 3:46 pm

Dear customer,

Thanks for your sharing.
After your project, suggest you can go to instructables.com to attach that.
And we would put example to our Recipe.

Best regards,

Yuri

Post Reply