Paul Sutton

car

Tinkerers Feb 25

It was just myself and Helen at the Tinkerers meet up today. We had a look at my Arduino robot, which Helen has taken home to work on.

We spent a good deal of time testing Helen's Dragstar car.

Dragster car

This was the first opportunity to mark out a good 7m white line track and test how well the vehicle can run along the track.

Track was marked out in the STEAM discovery centre, as this has black flooring, each tile is 500mm so 14 tiles = 7m (7000mm)

Track

Results were excellent. The dragster has Bluetooth so can send data back to a mobile phone.

data

Data is sent back to phone.

Videos

Next Meeting

March 22nd 2025

Tags

#Tinkerers,#Dragster,#Testing,#Car,#LineFollow,#STEM


MastodonPeertubeJoin Mastodon

AI statement : Consent is NOT granted to use the content of this blog for the purposes of AI training or similar activity. Consent CANNOT be assumed, it has to be granted.

Donate using Liberapay

Code Club Electronics 18

I was intending to use a potentiometer to control the motor speed, however using an arduino seems rather overkill for this. So I will just do that directly.

I decided to build a car instead, so far this has 2 wheels and just goes forward.

#include <AFMotor.h>

AF_DCMotor motorA(3);
AF_DCMotor motorB(4);
/*
 * Created by ArduinoGetStarted.com
 *
 * This example code is in the public domain
 *
 * Tutorial page: https://arduinogetstarted.com/tutorials/arduino-potentiometer
 */



// the setup routine runs once when you press reset:
void setup() {
  // initialize serial communication at 9600 bits per second:
  //Serial.begin(9600);
  motorA.setSpeed(100);
  motorA.run(RELEASE);
  motorB.setSpeed(100);
  motorB.run(RELEASE);
}

// the loop routine runs over and over again forever:
void loop() {

  
  
//Motor spinning clockwise
  motorA.run(FORWARD);
  //Speed up
  motorA.setSpeed(100);  
  motorB.run(FORWARD);
  //Speed up
  motorB.setSpeed(100); 
    


  }
  

#Arduino,#Robot,#Car,#InitialCode


MastodonPeertubeJoin Mastodon

AI statement : Consent is NOT granted to use the content of this blog for the purposes of AI training or similar activity. Consent CANNOT be assumed, it has to be granted.

Donate using Liberapay