Show Posts
Pages: 1 ... 107 108 [109] 110 111 ... 114
1621  Using Arduino / Installation & Troubleshooting / Re: Can I Use UNO To Program ATMega8 bootloader ? on: February 07, 2012, 10:11:53 am
Hi,
   I think I have it now, based on your response and some subsequent searching -

Quote
When you upload a sketch, you're using the Arduino bootloader, a small program that has been loaded on to the microcontroller on your board. It allows you to upload code without using any additional hardware.

I will have a go at using optiLoader to put a boot loader on the ATMega8, I assume I can then put it into the UNO in place of the ATMega328 and upload test sketches.

Assumming this goes to plan I want to have a go at configuring the fuses to use the internal oscillator for some low cost projects.

Thanks for the pointers,

Duane B

rcarduino.blogspot.com
1622  Using Arduino / Installation & Troubleshooting / Can I Use UNO To Program ATMega8 bootloader ? on: February 07, 2012, 08:35:04 am
Hi,
    I have read through several methods of getting the bootloader onto an ATMega8 using the UNO as and ISP, but why can't I just put the ATMega8 directly into the UNO and select 'Arduino NG or Older with ATMega 8' as the board in the tools/board menu of the Arduino IDE ?

Thanks for any help

Duane B

rcarduino.blogspot.com

1623  Using Arduino / Project Guidance / Re: IR Endurance on: February 06, 2012, 01:55:29 pm
Thanks for the responses. There is very little chance of finding a data sheet in the shops I have access to. Dubai may have the worlds tallest tower, but component shopping in 'Old Dubai' is quite literally an adventure.

I have just moved the circuit from bread board to strip board and dropped the current limiter to 330 in the process, on your advice I could still go lower, but will see how this works out for now.

Thanks

Duane B

rcarduino.blogspot.com




 
1624  Using Arduino / Project Guidance / IR Endurance on: February 06, 2012, 11:53:58 am
Hi,
   I am using an IR Led pulsed at <>70hz with a carrier of <> 40Khz. Its driven with 9v and a current limiting resistor of 470 Omhs, the carrier and pulse are generated through chained 555 Timers.

   Assuming the circuit is active for hours at a time will the IR LED survive in the longer term ?

   If not, can anyone suggest an alternative approach to providing a persistent IR Signal ?

   Thanks for any help
         Duane.

rcarduino.blogspot.com
1625  Topics / Robotics / Re: maximum number of servos? on: February 05, 2012, 03:25:57 am
Hi,

Read this,

http://rcarduino.blogspot.com/2012/01/can-i-control-more-than-x-servos-with.html

Then this

http://rcarduino.blogspot.com/2012/02/can-i-control-more-than-x-servos-with_03.html

The Uno can drive 12 servos, thats twice the six you have asked for and in doing so it uses only 1% of its processing power, I was both surprised and impressed when I measured this.

Duane B

rcarduino.blogspot.com






1626  Using Arduino / Project Guidance / Re: Acceleration from wheel speed - code examples? on: February 05, 2012, 12:32:15 am
Hi,
    I received and replied to the PM, I know that PM's were not working recently, so if you don't get it, let me know here.

Duane B
1627  Using Arduino / Project Guidance / Re: Acceleration from wheel speed - code examples? on: February 04, 2012, 04:50:19 am
Hi,
   As you know from my blog, I have used the Arduino to measure the wheel speed on my RC Cars, the wheels generate a single pulse once per revolution giving me a maximum rate of 68 pulses per seconds. I expect the same code would also work for you and your much higher frequency pulses however it may require some tuning.

Now, I think it might be interesting to collaborate with you to get something suitable running for your application, my only reservation is that I am not that excited by the end goal of the project as you have currently described it - 'I'd like to illuminate a series of LED's depending on the change in wheel speed' is there more to it or is there some higher purpose that is being served by these LEDs ?

Also how about a picture of the car and a little bit about what you use it for just because I (and others might ) am interested regardless of whether I can help out or not.

Duane B.

1628  Using Arduino / Motors, Mechanics, and Power / Performance of One Arduino with 12 Servos + Code on: February 03, 2012, 03:39:53 pm
Hi,
    I recently published a blog post showing how to control upto 12 Servos with a single Arduino and the Servo Library.

    I felt the post was incomplete as it provided no indication of the performance impact of controlling 12 Servos with one Arduino.

    I have now addressed this and the results are pretty surprising -

http://rcarduino.blogspot.com/2012/02/can-i-control-more-than-x-servos-with_03.html

    Its late again here, so if anyone spots any howlers, please let me know

    Duane B

http://rcarduino.blogspot.com

1629  Using Arduino / Project Guidance / Re: Acceleration from wheel speed - code examples? on: February 03, 2012, 12:29:04 pm
Hi,
   What type of sensor is it that you are using to get 40 pulses per revolution ? Its not counting spokes is it ?

   I have no idea how complex the rest of your application is but I have an idea that using a simple counter IC to reduce the number of pulses per revolution might be helpful.

   Using a counter together with an AND gate you could generate a single pulse to the Arduino for every 40 sensor pulses. There are several advantages to this -

1) The Arduino is free to do a lot more work, we have reduced the interrupt load to be 40 times more efficient
2) The code will not need to be optimised to the nth degree
3) The maths can be much less sophisticated to calculate frequency (revs) and the rate of change from a single pulse per revolution

Duane B

rcarduino.blogspot.com
   
1630  Using Arduino / Project Guidance / Re: Acceleration from wheel speed - code examples? on: February 02, 2012, 08:17:32 am
Hi,
   Are the 40 pulses per revolution equally spaced, if so I have some code that will do, if not you can modify it easily enough.

   Let me know

Duane B

rcarduino.blogspot.com
1631  Topics / Robotics / Re: Is there an Arduino Shield to drive 3 servo simoltaneously? on: February 02, 2012, 07:56:31 am
I love the robot, all the best ones have a bit of personality about them.

Duane B

rcarduino.blogspot.com
1632  Topics / Robotics / Re: 5 Servo Control for Robot ARm on: February 02, 2012, 07:48:57 am
Hi,
 I See a problem with your plan. When you push a servo button, that servo will immediately move to the position you set for the last servo. This could easily unintentionally break your robot.

I would suggest using 10 buttons, they will give more control than a pot and should stop you from accidentally driving the arm into the table.

Maybe something like this

Base rotation +
Base rotation -

Arm elevation +
Arm elevation -

and so on for your other servos

From what I can see you have most of the servo library grasped, but just incase you need to free up some of the PWM pins for analogWrite at a later stage, you can -

http://rcarduino.blogspot.com/2012/01/can-i-control-more-than-x-servos-with.html

Duane B

rcarduino.blogspot.com
1633  Topics / Robotics / Re: Strange Brushless ESC / Arduino issue - some ESCs work and some do not. on: February 02, 2012, 07:31:50 am
Hi,

As sirbow2 says above, it might be the throttle range.

You often need to program an ESC when it is first used in a new model to set the max and min throttle range. If you have not done this, is it pot luck whether your ESCs will arm. From what I can see, your result so far suggest pot luck is at work.

Do you have access to an RC transmitter and receiver that you can use for the initial programming ?

Do you have the manuals for the ESCs that describe the initial programming process ?

Duane B

rcarduino.blogspot.com


1634  Using Arduino / Sensors / Re: Sensor advice for 360ยบ chandelier artwork on: February 02, 2012, 01:21:38 am
Hi,
   It might not be suitable for your space, but if you could it would be great to increase the level of user interaction by making it sound triggered. Most people would be happy to watch someone else change an LED Effect by walking up to it, but get people clapping, stamping and calling and they will all be at it - my kids would make me go back every week.

Just an idea, other than that, the web cam is an excellent suggestion,

Duane B

rcarduino.blogspot.com
1635  Using Arduino / Sensors / Re: Save value on: February 02, 2012, 12:54:04 am
Hi,
   If you have microsoft XL or any other spreadsheet program, you can save your data in CSV format.

   Its a text based format, that can be imported into a spreadsheet and then will allow you to chart your data.

   The format is very simple, if you only have one data source, you can simply use println as you would for a text file, but save the file as CSV instead of text.

   If you have more than one data source, use print(datasourceone) print(',') println(datasourcetwo)

   Basically for each extra column of data, you need a comma to separate it from the preceding data, for the last data item you use println to end the line. The file should look like this -

data1value,data2value,data3value
data1value,data2value,data3value
data1value,data2value,data3value
data1value,data2value,data3value
data1value,data2value,data3value

   CSV stands for comma separated values as you might have guessed from reading above.

   You can see some plots I have generated from my blog using this approach and an SD Card -

http://rcarduino.blogspot.com/2011/12/data-logging-part-3-data-logged.html

Duane B

rcarduino.blogspot.com
Pages: 1 ... 107 108 [109] 110 111 ... 114