Show Posts
Pages: 1 ... 3 4 [5] 6 7 ... 114
61  Using Arduino / Sensors / Re: How to read a pulse train asynchronously on: May 08, 2013, 12:37:48 pm
Have a look at 'input capture' or turn the interrupt off as soon as you have a reading, process the reading and then turn interrupts back on

Duane B
rcarduino.blogspot.com
62  Using Arduino / Sensors / Re: How to read a pulse train asynchronously on: May 08, 2013, 11:18:02 am
Try this -
http://rcarduino.blogspot.ae/2012/01/how-to-read-rc-receiver-with.html

Duane B
rcarduino.blogspot.com

63  Using Arduino / Programming Questions / Re: How can I control the speed of my servos?? on: May 08, 2013, 11:08:52 am
8 != 3

Duane B
rcarduino.blogspot.com
64  Using Arduino / Motors, Mechanics, and Power / Re: Changing Servo library frequency? on: May 08, 2013, 05:48:29 am
Janziki,

First you need to choose your pins, look up the attachInterrupt function and let us know which pins can be used on the mega, it is then very easy to modify this code, but first let us know what you have found out about the pins -

http://rcarduino.blogspot.ae/2012/04/how-to-read-multiple-rc-channels-draft.html

Duane B

rcarduino.blogspot.com
65  Using Arduino / General Electronics / Re: DAC in arduino DUE on: May 06, 2013, 11:10:52 am
Your not going to get from 2.7 volts to 3.9 volts with just a resistor for help.

Why do you think an op amp is not going to change value when you ask it to ?

Duane B

rcarduino.blogspot.com
66  Using Arduino / Motors, Mechanics, and Power / Re: Servo not centering at 90° - after calibration on: May 06, 2013, 10:23:05 am
Hi,
From memory, the internal tick size of the servo library is 4us so 1000 to 2000 us pulsewidth gives 255 steps even when using writemicroseconds.

As for the calibration i would use the map function with a separate mapping for 1000 to center and center to 2000. If you manually figure out what the center is, you should be good with this approach

Duane B
rcarduino.blogspot.com
67  Using Arduino / General Electronics / Re: DAC in arduino DUE on: May 06, 2013, 09:11:39 am
Yes, but be very careful what you connect it to, a lot of us have accidentally burned ours.

The opamp suggestion from tmd3 is a good suggestion, without this or a similar buffer between the DAC and your load, your DAC might not last very long - mine didn't

Duane B
rcarduino.blogspot.com

68  Using Arduino / Audio / Re: How to make speaker louder. on: May 05, 2013, 12:34:20 am
Same chip, different circuit -

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

Duane B

rcarduino.blogspot.com
69  Using Arduino / Motors, Mechanics, and Power / Re: Changing Servo library frequency? on: May 05, 2013, 12:31:24 am
Although your servo should work just fine with the standard servo library, you can also take advantage of the higher refersh rate with this alternative library -

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

Duane B

rcarduino.blogspot.com
70  Using Arduino / General Electronics / Re: IR Beam Interrupt on: April 30, 2013, 09:55:33 am
Quote
Seems to be the wrong link?  It's about controlling multiple servos from a RC transmitter.

Sorry, see below -
http://rcarduino.blogspot.ae/2012/07/lap-timer-build-along-part-one.html

http://rcarduino.blogspot.com/2012/08/lap-timer-build-along-part-2-transponder.html

Duane B
rcarduino.blogspot.com




71  Using Arduino / Audio / Re: Timers for audio on: April 30, 2013, 04:22:46 am
for cli and sei you should use nointerrupts and interrupts instead, these globally disable or enable interrupts and are available on all Arduino platforms

Duane B

rcarduino.blogspot.com
72  Using Arduino / Programming Questions / Re: RISING and FALLING ISR on same pin? on: April 30, 2013, 04:20:11 am
simple example of reading a pulse using CHANGE and digitalRead for the pin state

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

Duane B

rcarduino.blogspot.com
73  Community / Products and Services / Re: Analog bass synthesizer shield on: April 30, 2013, 12:44:32 am
Demo ?

Duane B

rcarduino.blogspot.com
74  Using Arduino / General Electronics / Re: IR Beam Interrupt on: April 30, 2013, 12:25:21 am
This project does something similar, It has an IR Transmitter fitted and the Arduino looks for the presence of the IR to count a lap, you want to look for the abscense of the IR to indicate a person, but the principle is the same -

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

Duane B

rcarduino.blogspot.com

75  Using Arduino / Motors, Mechanics, and Power / Re: Software Servo Library with Digital/Analog Servos on: April 30, 2013, 12:11:18 am
You do not want to use the software servo library, at one time the standard servo library that comes with Arduino was limited to a small number of servos, but for years now it has been able to support 12, it is very well known, very well supported and very reliable. Best of all the standard library does not require you to call refersh every 50ms.

Here is an example you can use right now that drives 12 servos with the standard library -

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

Duane B

rcarduino.blogspot.com
Pages: 1 ... 3 4 [5] 6 7 ... 114