Arduino snap rover

Hello everyone! This is my first time on the forum. Tell me if I'm doing something dumb :stuck_out_tongue:

I have a snap circuits U8 motor controller and a snap rover (Non deluxe) and I was wondering how I could make the arduino control the snap rover using the motor driver. Thank you in advance!

Hi, @henry_bot
Welcome to the forum.

Please read the post at the start of any forum , entitled "How to use this Forum".

Can you provide some links to data/specs of the two modules?
Even a picture would help.
What model Arduino are you going to use?

Thanks.. Tom... :smiley: :+1: :coffee: :australia:

Thank you!

I'm using an arduino uno rev3.

U8-2.pdf (342.6 KB)

The Arduino needs to provide digital signals to the RF, RB, LF and LB motor driver inputs. HIGH signals to both LF, RF and LOW to LB, RB will make the rover move forward.

Power the motors separately from the Arduino, and don't forget to connect the grounds!

Thanks for the fast reply!

So by power the motors, do you mean connect a 9V to the U8 module? If not, please explain it to me, as I am not super experienced with motor drivers :stuck_out_tongue:

Yes, but surely it has a battery box.

ok, this is not working. I have the following connections: LF- 2

The motor driver and motors are color coded.

I have the positive from the battery pack to the positive in the motor driver, and the negative to the negative.

here is my code:

int LF = 2;
int RF = 3;
int LB = 4;
int RB = 5;
void setup() {
// put your setup code here, to run once:
pinMode(LF, OUTPUT);
pinMode(RF, OUTPUT);
pinMode(LB, OUTPUT);
pinMode(RB, OUTPUT);


void loop() {
digitalWrite(LF, HIGH);
digitalWrite(RF, HIGH);
digitalWrite(LB, LOW);
digitalWrite(RB, LOW);
// put your main code here, to run repeatedly:


What am I doing wrong?

Thanks for your time.

Hello! I just ran some test and saw my rover body is damaged :frowning:

Thanks for all your help.

I had a hard time finding how to do this, so for everyone who is searching, listen to this guy :stuck_out_tongue:

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.