GPS speedometer and clock
A bike or car speedometer that needs no wheel sensor: satellites do the measuring.
Shop by category
Shop all componentsType a message on your phone and watch it appear on the LCD, with long messages wrapped across both lines. The screen holds sixteen characters per line, so a longer message has to be cut into pieces. substring(0, 16) takes the first line and substring(16, 32) the second. length() tells the sketch whether there is anything left to show at all, asking for a substring beyond the end of a String is a common cause of blank screens. The buzzer chirp is a small touch that makes a new notice impossible to miss.
Every part for this build comes in the Geekobot Explorer Kit box, a Geekobot exclusive, together with the parts for all 61 projects, from a first blinking LED to a smart fan and a reaction game. The wiring below is the kit's own wiring.
Tick anything you already have and the total updates.
The brain of every Explorer Kit project
Male-to-female and female-to-female leads for the modules
16x2 LCD with I2C backpack: four wires, two lines of text
HC-05 Bluetooth module: a serial link to your phone
1k and 2.2k resistors: drop the Nano's 5V TX signal to the 3.3V the HC-05 RXD pin expects
Nano I/O shield from the kit: every pin has its own S, V, G header, so modules plug in with jumpers
Follow the colours: red is power, dark grey is ground, blue is a signal.
explorer_kit_48_bluetooth_notice_board.inoVerify & upload in Electrolark#include <SoftwareSerial.h>
#include <Wire.h>
#include <LiquidCrystal_I2C.h>
SoftwareSerial bt(2, 3);
LiquidCrystal_I2C lcd(0x27, 16, 2);
int buzzer = 8;
String input = "";
void showMessage(String text)
{
lcd.clear();
lcd.setCursor(0, 0);
if (text.length() > 16)
{
lcd.print(text.substring(0, 16));
}
else
{
lcd.print(text);
}
if (text.length() > 16)
{
lcd.setCursor(0, 1);
if (text.length() > 32)
{
lcd.print(text.substring(16, 32));
}
else
{
lcd.print(text.substring(16));
}
}
digitalWrite(buzzer, HIGH);
delay(80);
digitalWrite(buzzer, LOW);
bt.println("Notice displayed");
}
void setup()
{
pinMode(buzzer, OUTPUT);
bt.begin(9600);
Serial.begin(9600);
lcd.init();
lcd.backlight();
lcd.setCursor(0, 0);
lcd.print("Notice Board");
lcd.setCursor(0, 1);
lcd.print("Waiting...");
bt.println("Send any message to display it");
}
void loop()
{
while (bt.available())
{
char c = bt.read();
if (c == '\n')
{
input.trim();
if (input.length() > 0)
{
Serial.println(input);
showMessage(input);
}
input = "";
}
else if (c != '\r')
{
input = input + c;
}
}
}
Use the kit's mini-USB cable, install the CH340 driver on Windows if no port appears, pick Tools > Board > Arduino Nano and try Tools > Processor > ATmega328P (Old Bootloader) if the upload times out.
The active buzzer has a + leg: it goes to the pin, the other to GND. Peel off the sticker on top if it has one.
Turn the small contrast pot on the back of the I2C board. If still blank, change 0x27 in the sketch to 0x3F.
Pair with the HC-05 using PIN 1234 (or 0000), then connect in a Bluetooth serial terminal app. Unplug TXD and RXD while uploading.
The screen holds sixteen characters per line, so a longer message has to be cut into pieces. substring(0, 16) takes the first line and substring(16, 32) the second. length() tells the sketch whether there is anything left to show at all, asking for a substring beyond the end of a String is a common cause of blank screens. The buzzer chirp is a small touch that makes a new notice impossible to miss.
LCD shows Notice Board / Waiting... at startup. Send Class at 10 AM and it appears immediately with a short beep. Send a longer message and it wraps onto the second line.
Yes. It is project 48 of 61 in the Geekobot Explorer Kit, in level 8 (Wireless control). Every part on the list comes in the kit box, and you can also buy the parts one by one from the list above.
No. Every Explorer Kit project is wired on the Nano I/O shield and the breadboard with jumper wires.
9 parts: Generic Nano CH340 Development Board (Soldered), USB Cable, Solderless Breadboard, Dupont Jumper Wires (40 pcs), PCB Mounted Active Buzzer Module, LCD1602 16x2 Character LCD Display, HC-05 6-Pin Bluetooth Serial Module with Button, Carbon Film Resistor 1/4W 5% (Pack of 10) and Arduino Nano IO Expansion Shield (328P Compatible). On this page you can tick the parts you already have and add only the rest to your cart.
It is a intermediate project and takes about 45 minutes. The build on this page has 6 steps.
No. This page has the complete, tested code (explorer_kit_48_bluetooth_notice_board.ino).
About ₹794 for the parts at the prices on this page. Quantity price breaks lower the cost when you build several.
Serial string parsing to an LCD; Splitting text with substring() and length(); Guarding against out-of-range substrings; Confirming an action back to the sender.
A bike or car speedometer that needs no wheel sensor: satellites do the measuring.
Records where you went every five seconds, ready to open on a map.
Two boards, two radios: press the button at the gate and it rings indoors.
Check temperature, humidity and pressure from any phone on your Wi-Fi.
Lessons are free to read. Maker (₹499/month) and Pro add quizzes, worked problems and certificates, paid with your Geekobot account. See plans
Learning project. Check every circuit and the datasheet of each part before you power it up.