Loading…
Beginner LFR with IR array and N20 motors.
Build a classic LFR with an IR array, Nano, dual N20 motors, and a 2WD chassis. Ideal first competition robot.
Required parts total
৳2,285
9 required components
View LFR Starter KitRead build guideOpen in Robot BuilderQuantities, live stock from the mock inventory, and line prices.
Qty 2 · ৳180 each
Qty 1 · ৳90 each
Qty 1 · ৳320 each
Starter sketches for wiring checks — adapt pin numbers to your board.
Print IR array pattern
Five digital channels on pins 2–6.cpp
const int irPins[5] = {2, 3, 4, 5, 6};
void setup() {
Serial.begin(9600);
for (int i = 0; i < 5; i++) pinMode(irPins[i], INPUT);
}
void loop() {
for (int i = 0; i < 5; i++) {
Serial.print(digitalRead(irPins[i]));
}
Serial.println();
delay(100);
}Qty 1 · ৳25 each
Qty 1 · ৳50 each
Qty 1 · ৳450 each
Qty 1 · ৳220 each
Qty 1 · ৳650 each
Qty 2 · ৳60 each