Loading...
  Show Posts
Pages: 1 2 [3] 4 5 ... 110
31  Products / Arduino Due / Re: 4 channel RC reading jitter on: April 22, 2013, 07:28:21 am
Hi,
   The code looks fine, assuming that nointerrupts works, to test this -

1) Try adding nointerrupts(); to the end of your set up function, if it works as expected you should have no output.

Let us know

Duane B
32  Using Arduino / Project Guidance / Re: 4WD Differential Steering? on: April 22, 2013, 02:11:51 am
And another one -

http://rcarduino.blogspot.ae/2012/05/rc-arduino-robot.html

Duane B

rcarduino.blogspot.com
33  Using Arduino / Motors, Mechanics, and Power / Re: using timers & pwm & servo at the same time on: April 22, 2013, 02:09:59 am
The servo library uses timer1 in a very selfish fashion - it resets it every 2000us or so.

You can use this alternative which does not reset the timer -

http://rcarduino.blogspot.ae/2012/11/how-to-read-rc-channels-rcarduinofastlib.html

It has a slightly different interface, there is a faq here if you have any problems using it, post your questions in the comments of the faq and I will answer them there.

http://rcarduino.blogspot.com/2013/02/rcarduino-libraries-faq.html

Duane B

rcarduino.blogspot.com
34  Using Arduino / Project Guidance / Re: Help with designing programs for beginers on: April 22, 2013, 01:54:40 am
You can't go wrong with these two for something kids can pick up and play with -

http://rcarduino.blogspot.com/2012/08/the-must-build-arduino-project-illutron.html

http://rcarduino.blogspot.ae/2012/08/adding-audio-to-arduino-projects.html

Duane B

rcarduino.blogspot.com
35  Products / Arduino Due / Re: 4 channel RC reading jitter on: April 22, 2013, 01:51:19 am
Hi,
   Post your code, Its probably something simple

Duane B

rcarduino.blogspot.com
36  Community / Bar Sport / Re: Be DIFFERENT! make good posts! on: April 22, 2013, 01:37:52 am
A reference to the quality of opinion, communication and technical assistance we should all aim towards -

http://arduino.cc/forum/index.php?action=profile;u=172409;sa=showPosts

Duane B
37  Using Arduino / Audio / Re: 2-bit PWM on: April 22, 2013, 12:45:36 am
Hi,

   PM Me your email address and I will send you a modified version of the Illutron B to test with the 16-bit output -

Duane B

rcarduino.blogspot.com
38  Using Arduino / Project Guidance / Re: How to use Arduino board to control R/C speed controller? on: April 22, 2013, 12:43:42 am
The ESC is designed to put the brakes on the first time you enter reverse after travelling forwards - this is to protect the gears, the can easily get damaged when going from full speed ahead to full speed reverse.

To enter reverse you will need to go reverse, neutral, reverse so 1300,1500,1300

Duane B

rcarduino.blogspot.com
39  Using Arduino / Project Guidance / Re: Need Help Understanding PWM on: April 19, 2013, 09:48:29 am
Hi
 60 Hz is very close to the frequency of an RC Signal, just to be sure, your not talking about Radio controlled signal PWM are you ?

Duane B

rcarduino.blogspot.com
40  Using Arduino / Programming Questions / Re: operating sine wave equation in Arduino on: April 19, 2013, 09:40:05 am
DDS Is overkill if you ask me, but here are a few links for you -

http://rcarduino.blogspot.com/2012/12/arduino-due-dds-part-1-sinewaves-and.html

or

http://rcarduino.blogspot.com/2012/08/the-must-build-arduino-project-illutron.html

Duane B

rcarduino.blogspot.com
41  Using Arduino / Project Guidance / Re: How to use Arduino board to control R/C speed controller? on: April 18, 2013, 03:26:56 am
Hi,
   Its a very standard Car ESC with forwards and reverse.

I would try

void setup()
{
 esc.Attach(8);

 // set the centered position to arm the ESC
 esc.writeMicroseconds(1500);

 // stay centered for 5 seconds
 delayMicroseconds(5000);
}

then in your loop, use esc.writeMicroseconds to send values between 1000 (full reverse) 1500 (centered=neutral) and 2000 (full forwards).

To see where I get these values from, read this -

http://rcarduino.blogspot.ae/2012/01/how-to-read-rc-receiver-with.html

Duane B

rcarduino.blogspot.com


Moderator edit: turned off smileys
42  Using Arduino / Programming Questions / Re: Servo Library Conflicts on: April 18, 2013, 01:30:56 am
Its similar to the standard library, at present it only works on timer1 but I will have a go at moving it to one of the other Mega timers over the weekend.

If it works out or not, I will let you know

Duane B

rcarduino.blogspot.com
43  Using Arduino / Audio / Re: 2-bit PWM on: April 18, 2013, 01:26:01 am
Hi,

With regards to the perception of audio quality, do you need to add 1-bit to double the perception of quality or do you need to double the number of bits to double the perceived quality ?

I am guessing the later, but if its the former I would be interested to try a 10-bit implementation of this -



At the moment, four 8 bit channels are downshifted into a single 8-bit output, It would be interesting to hear played through a 10-bit output without the down shifting.

GM, if you think it would be interesting to try from a hardware side, I will mod the code and send it over to you.

Duane B

rcarduino.blogspot.com
44  Using Arduino / Programming Questions / Re: How to generate a piano sound using SPI on: April 17, 2013, 11:40:30 am
This might help with the 'fractional values' -

http://rcarduino.blogspot.ae/2012/12/arduino-due-dds-part-1-sinewaves-and.html

Duane B

rcarduino.blogspot.com
45  Using Arduino / Audio / Re: 2-bit PWM on: April 17, 2013, 09:52:55 am
GM,
    I thought I saw somewhere that you had been attending 'noise nights' so I would expect you of all people to be flexible on the definition of 'sound good'.

   I am not sure that a standalone Arduino has the horsepower to really make practical use of 16bit PWM anyway - much bigger wave tables, more number crunching, more memory reads/writes  etc.

   Lets see if anyone comes up with a interesting working synth based on this.

Duane B
Pages: 1 2 [3] 4 5 ... 110