Show Posts
Pages: 1 ... 89 90 [91] 92 93 ... 114
1351  General Category / General Discussion / Re: If a program could program itself?.... (AI) on: April 12, 2012, 04:26:55 am
Hi,

    Did anyone check out the link to genetic programming, it might never fly a jumbo but its a surprisingly effective program generator in some domains.

Duane B

rcarduino.blogspot.com
1352  General Category / General Discussion / Re: If a program could program itself?.... (AI) on: April 11, 2012, 04:12:56 pm
Hi,
   Way back when I was very excited by genetic programming as written about by this guy in his book genetic programming -

http://www.genetic-programming.com/johnkoza.html

I wrote a simple interpreter for a lisp like language that simulated autonomous agents ran in a simulated environment, the langauge descibed the agents behaviour which survival and breeding opportunities depended on. The population should have evolved one or more effective programs for survival within the environment, it was very exciting at the time. The limitation was the relative simplicity of the environments I was able to create before completing my studies and starting work.

Thoroughly enjoyed Koza's book and all the projects I have done in genetic algorithms and genetic programming, it was a really exciting area in 1992.

Duane B

rcarduino.blogspot.com
1353  Using Arduino / Motors, Mechanics, and Power / Re: Controlling 3 Six Volt DC Motors with the Motor Shield on: April 10, 2012, 01:58:25 pm
Hi,
   Good AA batteries are surprisingly strong, I use the rechargeable ones in one of my 1/18 th scale race cars. Try ones designed for cameras and you may be surprised how good they are.

   If your project is heavy or has a lot of drag you may need to skip the AA batteries an go straight for hobby batteries. Look at LIPO batteries, they are more expensive and need a computerised charger that will also cost around 40 dollars but they are very powerful and very light.

   As AAs are so cheap to try, try them first.

Duane B.

rcarduino.blogspot.com
1354  Using Arduino / Motors, Mechanics, and Power / Re: Controlling 3 Six Volt DC Motors with the Motor Shield on: April 10, 2012, 01:21:30 pm
Hi,
   Separate power is a very good idea. You can get 7.2 volts from 6 reachargeable AA batteries, they are 1.2 volts each. While you need 7 volts of more for the regulator on an Arduino board to be able to output 5 volts, I am guessing that is you use separate power you could drive the motor shield directly with 4*1.5 non reachargeable AA batteries for six volts.

You don't mention the shield your using so I cant be sure. If you so use separate power, don't forget to connect the grounds between the two power sources and watch the links in my signature for why you need separate power in the first place.

Duane B

rcarduino.blogspot.com
1355  Using Arduino / Motors, Mechanics, and Power / Re: Help with powering motors with pwm's and drivers. on: April 10, 2012, 01:17:01 pm
Hi,
   I am not sure from your post whether the 5*1.5 batteries are powering both the Arduino and the motors, if so read the links in my signature and consider separate power for the Arduino and motors.

Duane B

rcarduino.blogspot.com
1356  Using Arduino / Microcontrollers / Re: Arduino vs standalone microcotroller programming on: April 10, 2012, 01:14:12 pm
Cut a long story short -

There is an awful lot you can do with Arduino
The community support is excellent
There are lots of off the shelf libraries, break out boards and shields that can get you deep into your chosen project fast

Its easy to build your own standalone and cheap - less than 10 USD.

Its a very good feeling the first few times you build a standalone Arduino for a project, I have two on my desk now, one in an Audino Synthesizer that took a day to build and one in a RC Car/Go Kart Lap Timer, both build from just the chip and supporting components, not a ready built Arduino.

Duane B

rcarduino.blogspot.com
1357  Using Arduino / Programming Questions / Re: Ethernet Shield, Servo control with textfield in webpage on: April 10, 2012, 01:04:58 pm
And to preempt the next problem - As you are running a shield and a servo, you should consider separate power as this will likely cause you problems soon if not already.

See the links in my signature for a demonstration why

Duane B

rcarduino.blogspot.com
1358  Using Arduino / Project Guidance / Re: First Project: Racing Tracker on: April 10, 2012, 12:57:19 pm
Hi,
   I am using IR to track lap times however this is for grip orientated racing where the car will be passing the at a more or less perpendicular angle, are there sections of track where the car will be hooked up and pointing straight ahead or will it always be passing with some degree of slip angle ?

  I have done most of the things you want to do and its all very easily achieved with Arduino and readily available add ons -

Data logging - add accelerometer and SD Card
Lap Timing - I am using IR, others have used wire loops etc.

Have a look at my blog, most of it relates to RC Cars, but the hardware, data and software is the same regardless of whether its 1:10 or 1:1 scale. You should be able to find a bit on lap timing, data logging etc.

Duane B

rcarduino.blogspot.com





1359  Using Arduino / Motors, Mechanics, and Power / Re: Missing Timer Input Pins?%!&# (swearing omitted) on: April 09, 2012, 11:56:59 pm
Hi,
    I don't know a whole lot about hall effect sensors, but I have an RC Car on the table next to me, where on earth are you planning on mounting the sensor ? wont it be saturated by the motor magnets ? and wont it upset the balance of the motor ?

My suggestion - find an easily accessible slow moving gear or shaft and count the revs with light.

As others have suggested, any interrupt pin will do for this.

Duane B

rcarduino.blogspot.com
1360  Using Arduino / Motors, Mechanics, and Power / Re: Arduino 5V output - Switch a device on/off with relay on: April 09, 2012, 11:52:06 pm
Hi,
    Go for the transistor option, its cheaper.

Duane B

rcarduino.blogspot.com
1361  Using Arduino / General Electronics / Re: Toy motor interfering with display on: April 09, 2012, 11:47:05 pm
Hi,
    Have a look at the links in my signature below, if your not using separate power for the motor this could be your problem. Both links relate to servos but apply equally to motors, shields or anything else power orientated.

    While you circuit may not be as extreme as the ones in the video, it could be enough to cause junk data.

    The decoupling suggestions are also very good and should be applied.

Duane B

rcarduino.blogspot.com
1362  Using Arduino / Project Guidance / Re: Building A self-balancing bicycle on: April 09, 2012, 11:37:48 pm
Hi,
   Counter steering or carving as some call it works on a bicycle at anything over about 10Mph. What no one ever explains is that for it to work you need to be looking into the turn, this puts your weight on the inside of the bike so when you push the handlebar away (out of the turn) the bike leans hard and fast. At this point you have to steer back into the turn as you normally would but the bike will be leaning harder into the corner so you can take much tighter corners with more speed.

   Try it with a toy bike turn the handle bars slighty but keep the bike upright and it will turn a large radius, now keep the same steering angle and lean the bike over into the turn, it will turn a much tighter radius. The initial counter steer is basically a way over overcoming the bikes/riders natural tendency to right themselves and limit the lean angle when steering into a corner. Try it yourself on a bicycle, turn into a corner and see how far you can get the bike to lean, it wont be much, then try the same corner but enter it leaning your body into the corner and steering the bike the opposite way, the bike will lean over hard then as you catch the lean by steering back into the corner you can really carve the bike hard around the turn.

Duane B

rcarduino.blogspot.com





1363  Using Arduino / Project Guidance / Re: Building A self-balancing bicycle on: April 09, 2012, 02:33:43 pm
Hi,
   Thanks, nothing like I was expecting, a lot easier than riding a trials bike too - http://www.trashzen.com/

Duane B

rcarduino.blogspot.com
1364  Using Arduino / Audio / Re: Audino V5 in IDE 1.0 Possible Solution on: April 09, 2012, 11:46:44 am
This isn't what I was planning, but I have been out and accidentally bought a nice rugged clear topped enclosure. It was way too expensive but seeing the clear top I couldn't get away from the idea of combining the Audino with an LED Chaser/visualizer of some sort. The Audino only uses timer2 so that leaves me 0 and 1 for PWM, I also picked up some hex drivers and 4017's for chasers.

Duane B

rcarduino.blogspot.com
1365  Using Arduino / Project Guidance / Re: Building A self-balancing bicycle on: April 09, 2012, 11:39:19 am
Hi,
   As Moutain biker, trials biker and even occasional BMXer, I have no idea. Sorry not to be able to be more helpful but in/on every bike I ride its weight shifting and steering that keeps me upright.

   Have you seen anything similar to what you are trying to do that might help this old biker picture your plan ?

Duane B

rcarduino.blogspot.com
Pages: 1 ... 89 90 [91] 92 93 ... 114