0
Offline
Newbie
Karma: 0
Posts: 22
Arduino rocks
|
 |
« on: January 07, 2010, 08:14:24 am » |
Hi ! I've been lurking at tutorials, projects, .. concerning Arduino for a long time now, and I'm finally buying one. I'm an experienced developer so I don't think software will be a big issue; but I'm completely new to micro-controllers and mechanics. This is what I'd like my robot to do, simplified: - I turn it on.
- I push START, it records the position of the wheels
(=the rotation of the servos). - I drive my robot a little further.
- I push STOP, it records the position of the wheels
(=the rotation of the servos). - I push PLAY, it comes back to the starting place, and plays back the movement.
(=it moves back to START, and drives to STOP). [/list] Here's my basket at sparkfun.com: Are there missing or unnecessary things? The LCD + potentiometer would replace the three buttons in my example (Start, Stop, Play). Do you think it can be done with these components? Also, could my robot take a bend, like this? Thanks 
|
|
|
|
« Last Edit: January 07, 2010, 08:16:56 am by bouiboui »
|
Logged
|
|
|
|
|
Seattle, WA USA
Offline
Brattain Member
Karma: 312
Posts: 35483
Seattle, WA USA
|
 |
« Reply #1 on: January 07, 2010, 08:38:57 am » |
The LCD + potentiometer would replace the three buttons in my example (Start, Stop, Play). Buttons hold shirts closed. Switches can be open or closed, and can communicate information to the Arduino. An LCD is used to display information. A potentiometer is used, with an Arduino, as a voltage divider device. The center tap will, therefore have varying voltage levels, depending on where the shaft is positioned. The varying voltage can be read by the Arduino, and the changing level can be used for controlling PWM outputs, for instance. How do you intend to use an LCD and potentiometer to keep your shirt closed? Or did you mean switches? In which case, how will an LCD and potentiometer substitute for 3 switches?
|
|
|
|
|
Logged
|
|
|
|
|
0
Offline
Newbie
Karma: 0
Posts: 22
Arduino rocks
|
 |
« Reply #2 on: January 07, 2010, 08:54:06 am » |
Sparkfun's site is down for me, so I can't be really sure, but I think that the potentiometer can act as a push button as well, so, by rotating the potentiometer you would switch between "record start position", "record stop position", "replay movement" and "erase positions". by pushing the potentiometer, you would accept (if I'm wrong, I could add a "OK" push button)
|
|
|
|
|
Logged
|
|
|
|
|
Seattle, WA USA
Offline
Brattain Member
Karma: 312
Posts: 35483
Seattle, WA USA
|
 |
« Reply #3 on: January 07, 2010, 09:08:33 am » |
by rotating the potentiometer you would switch between "record start position", "record stop position", "replay movement" and "erase positions". For your first project, do yourself a favor. Use the switches that come in the parts kit. Yes, you could use a pot this way, but it does not include a push button capability, as you implied, so getting from "replay movement" back to "record start position" will involve going through "record stop position". The stop position will be recorded many times while you're fiddling with the pot.
|
|
|
|
|
Logged
|
|
|
|
|
UK
Offline
Sr. Member
Karma: 0
Posts: 491
|
 |
« Reply #4 on: January 07, 2010, 09:09:05 am » |
How do you intend to use an LCD and potentiometer to keep your shirt closed? Or did you mean switches? From Wikipedia: A push-button (also spelled pushbutton) or simply button is a simple switch mechanism for controlling some aspect of a machine or a process. Less "arsey" and more "helpful" wouldn't go amiss. Andrew
|
|
|
|
« Last Edit: January 07, 2010, 09:11:07 am by Andrew »
|
Logged
|
|
|
|
|
0
Offline
Newbie
Karma: 0
Posts: 22
Arduino rocks
|
 |
« Reply #5 on: January 07, 2010, 09:19:36 am » |
The stop position will be recorded many times while you're fiddling with the pot. Ok, I get it. Now, can you tell me if I am missing parts / if with all this in hands an experienced arduinist could build exactly what I'm looking for? That's what I'm most curious about 
|
|
|
|
« Last Edit: January 07, 2010, 09:20:08 am by bouiboui »
|
Logged
|
|
|
|
|
Seattle, WA USA
Offline
Brattain Member
Karma: 312
Posts: 35483
Seattle, WA USA
|
 |
« Reply #6 on: January 07, 2010, 10:00:09 am » |
You've got the stuff needed for the brains and motion part of the robot. A chassis and some wheels would be useful. Other than that, though, you'd be fine.
|
|
|
|
|
Logged
|
|
|
|
|
0
Offline
Newbie
Karma: 0
Posts: 22
Arduino rocks
|
 |
« Reply #7 on: January 07, 2010, 10:06:40 am » |
great !thanks, a lot I think I'll build the chassis myself once everything starts to work as for the wheels... at sparfun they were like $13, I think I'll find them for cheaper or free somewhere else. again, thanks 
|
|
|
|
|
Logged
|
|
|
|
|
0
Offline
Newbie
Karma: 0
Posts: 22
Arduino rocks
|
 |
« Reply #8 on: January 07, 2010, 10:16:04 am » |
Oh, I almost forgot I don't know how vehicles "turn", I think the wheels are supposed to rotate on the Y axis? Can servos control it? Where can I find some basic information about this?
|
|
|
|
|
Logged
|
|
|
|
|
Seattle, WA USA
Offline
Brattain Member
Karma: 312
Posts: 35483
Seattle, WA USA
|
 |
« Reply #9 on: January 07, 2010, 10:23:46 am » |
You can run the servos at different speeds. Make the left side turn faster and the robot goes right. Make the right side turn faster and the robot goes left. Make them turn the same speed to go straight.
One thing to think about is how you will press the stop button when the robot is racing away from you.
|
|
|
|
|
Logged
|
|
|
|
|
0
Offline
Newbie
Karma: 0
Posts: 22
Arduino rocks
|
 |
« Reply #10 on: January 07, 2010, 10:37:01 am » |
lol, ok ! ;D
|
|
|
|
|
Logged
|
|
|
|
|
|
|
 |
« Reply #11 on: February 28, 2010, 10:47:42 pm » |
TENET TECHNETRONICS is now an official Distributor in INDIA for Arduino Boards an open source Electronic Prototyping/Development Board, an easy way to procure boards in INDIA. These boards will help your electronic ideas to become a reality. We also host a range of electronic boards - Micro Controller, VLSI and Embedded boards. We host a wide range of electronic components to cater your needs. Boards we currently distribute Arduino Mega Arduino USB/Arduino Duemilanove Arduino Pro Ethernet Shield for Ardunio ARM 7 Development Boards ARM 9 Development Boards ARM with Touch Screen PIC Development Boards Peripherals ARM Programmers/Debuggers PIC Programmers AVR Programmers USB2UART(FTDI) Touch Screens LCDs Sensors - Accelerometer, Proximity, Fingerprint etc., Communication - Bluetooth, GSM, GPS etc., Track Ball Components LEDs - RGB, Single Color Breakout Boards Controllers iPOD Components Cables and IC adapters Visit us at http://www.tenettech.com for more products Contact us at info@tenettech.com for more info Official Distributor for SPARKFUN ELECTRONICS and EMARTEE -- Regards, Balaji R
|
|
|
|
|
Logged
|
|
|
|
|
0
Offline
Tesla Member
Karma: 50
Posts: 6546
Arduino rocks
|
 |
« Reply #12 on: March 01, 2010, 12:40:43 am » |
You have a poorly designed web page. Bottom products on left bottom of page can't be seen on some small computer screens. They keep moving off screen when trying to scroll down to see them.
|
|
|
|
|
Logged
|
|
|
|
|
|
|
|