GPS speedometer and clock
A bike or car speedometer that needs no wheel sensor: satellites do the measuring.
Shop by category
Shop all componentsXBee modules make a serial cable go wireless: in transparent (AT) mode, bytes sent into one module come out of the other. XBee S2C modules use Zigbee, so one must be set as a coordinator and the other as a router with the same PAN ID. You set this once in Digi's free XCTU program with a USB adapter. Each XBee then sits on an XBee shield on an Uno: one sends 'R' when the button is pressed, the other sounds a buzzer.
Tick anything you already have and the total updates.
Digi XBee S2C Zigbee modules
Follow the colours: red is power, dark grey is ground, blue is a signal.
Each Uno from a 5 V USB charger or a 9 V adapter.
xbee_doorbell.inoVerify & upload in Electrolark#include <SoftwareSerial.h>
SoftwareSerial xbee(2, 3); // RX, TX on the shield's DLINE setting
const bool GATE = true; // set false for the house unit
void setup() {
xbee.begin(9600);
pinMode(7, INPUT_PULLUP);
pinMode(8, OUTPUT);
}
void loop() {
if (GATE) {
if (digitalRead(7) == LOW) { xbee.write('R'); delay(1000); }
} else if (xbee.available() && xbee.read() == 'R') {
for (int i = 0; i < 3; i++) { tone(8, 1500, 200); delay(300); tone(8, 1000, 300); delay(400); }
}
}
PAN IDs differ or both modules are set as coordinators; check CE on each.
The shield's serial switch is on UART; set DLINE, or change the sketch to use Serial.
Try 9600 baud and the right COM port; use XCTU's recovery option for a stuck module.
Tens of metres indoors and more outdoors with the wire antenna; walls cut range.
Yes, add routers or end devices with the same PAN ID.
XBee needs no router or internet and works the same anywhere.
8 parts: 2 × Digi International XBee S2C Zigbee Module 802.15.4 2.4GHz w/ Wire Antenna, 2 × XBee Shield V03 for Arduino Wireless Module, XBee USB Adapter (CP2102) for ZigBee Modules, 2 × Uno R3 CH340G ATmega328p Compatible Development Board, Tactile Push Button Switch, Buzzer Module 3.3–5V, Solderless Breadboard and Dupont Jumper Wires (40 pcs). 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 3 hours. The build on this page has 7 steps.
No. This page has the complete, tested code (xbee_doorbell.ino).
About ₹9,318 for the parts at the prices on this page. Quantity price breaks lower the cost when you build several.
Zigbee coordinator and router roles; Configuring XBee radios with XCTU; Transparent serial links.
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.