Cheap DIY Arduino Truck "Mr. P"

Posted on 10/12/2011 by joaoasilva
Modified on: 13/09/2018
Project
Press to mark as completed
Introduction
This is an automatic import from our previous community platform. Some things can look imperfect.

If you are the original author, please access your User Control Panel and update it.

  Hi, This is my first project and I am a big dumb in electronics... :) so, if u see I'm doing or saying something wrong or stupid please tell me :) Mr. P stands for "Pato" it's a Portuguese word for Duck :) Parts in this project: Cheap DIY Metal Construction TruckBreadboardArduino Mega ADK 2560Cheap HC-SR04 Ultrasonic SensorCheap 2A motorshieldOld battery from and old RC CarDarlington Driver ULN2803 Chip for stepper motorDC MotorStepper Motor2 RGB LED's2 PhotoresistorsPiezo SpeakerIR Receiver ...


Cheap DIY Arduino Truck "Mr. P"

 

Hi,

This is my first project and I am a big dumb in electronics... :)

so, if u see I'm doing or saying something wrong or stupid please tell me :)

Mr. P stands for "Pato" it's a Portuguese word for Duck :)

Parts in this project:

  • Cheap DIY Metal Construction Truck
  • Breadboard
  • Arduino Mega ADK 2560
  • Cheap HC-SR04 Ultrasonic Sensor
  • Cheap 2A motorshield
  • Old battery from and old RC Car
  • Darlington Driver ULN2803 Chip for stepper motor
  • DC Motor
  • Stepper Motor
  • 2 RGB LED's
  • 2 Photoresistors
  • Piezo Speaker
  • IR Receiver for Manual Control

Prototype of what should I use...

First attempt with an old RC Car...

But it was 2 big for indoor and it have a broken gear...

So I've found this cheap Cheap DIY Metal Construction Truck in a local chinese store :)

DC Motor, Stepper and ultrasound working...

Mounted photoresistors, LED's and Piezo Speaker...

Trying this cheap LCD (it works but I've rather not mount it yet...)

Changed the back DC Motor position a little back because he keeps wheeling up like a damn racer... :) and to give more stability to the front whells...

 

What does it do?

Well... it randomly pick some functions and play it for an certain amount of time...

I'm waiting for some cheap IR Switch's to detect obstacles and to alow it to auto-control be more efficient and a 7V Lion battery because this one lasts like... 10m :(

Functions:

  1. Stops and calibrate front whells to maintain forward navigation in line
  2. Automatic Random Navigation
  3. Follow the light
  4. Do some crazy drifts (I put it at full power and turn the stepper to one random side at max... sometimes it just suicides himself to a wall... lol )
  5. Play some sounds like R2-D2 :))))
  6. Always listening on IR, if I press "Play" button of my computer remote it enters Manual Mode and I can controll it, if I press "Stop" it goes back to Automatic and do points 1-5 randomly.

Well... hope u like it! Any comments and sujestions would be much aprreciated! :)

 

Big Hug

Navigate via ultrasound and light, controlled by IR.

  • Actuators / output devices: DC motor, LEDs, piezo speaker, stepper motor
  • Control method: autonomous, Infra Read
  • CPU: Arduino Mega ADK 2560
  • Power source: Ni-CD 9.6V 700mAh
  • Sensors / input devices: Photoresistors, HC-SR04 ultrasonic sensor
  • Target environment: indoor
Flag this post

Thanks for helping to keep our community civil!


Notify staff privately
It's Spam
This post is an advertisement, or vandalism. It is not useful or relevant to the current topic.

You flagged this as spam. Undo flag.Flag Post