Show Posts
Pages: 1 ... 88 89 [90] 91 92 ... 114
1336  Using Arduino / Project Guidance / Re: need some help with project using servo-motors and light sensors on: April 22, 2012, 03:41:12 am
Hi,
   Sorry about that and thanks for the correction.

Duane B

rcarduino.blogspot.com
1337  Using Arduino / Motors, Mechanics, and Power / Re: servo Clock on: April 22, 2012, 12:57:17 am
Hi,
Further to the post above, read the two links in my signature for a video of what's most likely happening and a way to address it.

Duane B

rcarduino.blogspot.com


1338  Using Arduino / Project Guidance / Re: need some help with project using servo-motors and light sensors on: April 22, 2012, 12:52:43 am
The examples are all standard Aduino hardware and software.

Duane B
1339  Using Arduino / General Electronics / Re: op amp audio amplifier circuit help/suggestion on: April 22, 2012, 12:50:43 am
Hi,
  For the vu meter a google search for lm324 vu meter circuit returns many results. It's a very simple circuit but if you have a few lm324's you can add filters to give you vu meters for different frequency bands and some very basic music visualization. There is also a dedicated vu meter ic the LM3916, I have both, but have only used the 324 so far.

Duane B

rcarduino.blogspot.com


1340  Using Arduino / Project Guidance / Re: need some help with project using servo-motors and light sensors on: April 21, 2012, 11:48:19 am
Read this

http://rcarduino.blogspot.com/2012/04/servo-problems-with-arduino-part-1.html

then watch this

http://rcarduino.blogspot.com/2012/04/servo-problems-part-2-demonstration.html

Rcarduino.blogspot.com
1341  Using Arduino / General Electronics / Re: op amp audio amplifier circuit help/suggestion on: April 21, 2012, 10:53:44 am
Hi,
   I can second the lm386, Its a great little amp on a chip. I had one driving a PC Speaker from an iPod nano using the very minimal circuit suggested in the data sheet, it's hard not to be impressed with the sound given it takes about five minutes to build. I also have one on the output of my Audino, again it's driving a PC speaker.

If you still have the lm324, you can make a nice vu meter for your 386 amp.

Duane B

rcarduino.blogspot.com


1342  Using Arduino / Project Guidance / Re: Interference between ultrasonic sensor and servo on: April 21, 2012, 10:24:09 am
Hi,
Read the two links in my signature, it's quite likely a power issue, the second link has a video showing the problem, the first link presents some solutions.

Duane B

rcarduino.blogspot.com
1343  Using Arduino / Project Guidance / Re: need some help with project using servo-motors and light sensors on: April 21, 2012, 09:13:18 am
Hi,
   A separate power source for your servo/s is one thing to consider, see the links in my signature for some background. Other than that have a read of the oomlout beginners guide for some servo and light sensor examples which you should be able to combine to achieve your goal.

http://nedx.org/src/guide/2/NEDX-EG-OOML-WEB.pdf

Duane B

rcarduino.blogspot.com
1344  Using Arduino / Project Guidance / Re: PWM to PWM converter on: April 20, 2012, 02:48:22 pm
Hi,
   Now I feel like a clown, that post is about 3 years older than my blog post, but has almost identical code. I guess sometimes, there is only one way to skin a cat.

This is the post I was thinking of -

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

You mention noisy input but some of this may be due to you not protecting you shared variable. You use pwmIn1Ready to indicate to loop that a new pulse is available, but you do not take any measures in your ISR to prevent it overwriting the value of pwmIn1PulseElapsedTime while loop is reading it. Have a look through this link to get an idea what I am referring too -

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

There are lots of optimizations you could make, for example using a timer to generate the output pulses in the background, but if it works, how low level do you want your code to get ?

Duane B

rcarduino.blogspot.com
1345  Using Arduino / Project Guidance / Re: PWM to PWM converter on: April 20, 2012, 02:22:06 pm
Hi,
   Your code looks somehow familiar ?

Duane B

rcarduino.blogspot.com
1346  Using Arduino / Sensors / Re: How to use a IR sensor to control music please? on: April 17, 2012, 04:40:54 am
Hi,
   If your looking to control prerecorded music, I can't help but others can, if your looking to control sythesised sound then check out the Audino. Its very simple to build check it our on your favorite video site for an idea of what it sounds like.

   You could replace one or more of the potentiometers with whatever sensors you have.

   If you do decide to build one, there is a small easily fixed bug in the download code I have posted about it and the fix in the Audio section.

Duane B

rcarduino.blogspot.com
1347  Using Arduino / Project Guidance / Re: Arduino or sensor speed problems? on: April 16, 2012, 05:19:56 pm
Hi,
   Arduino is not slow, 1800 rpm is only 30 events per second, which means that your Arduino can perform roughly 500,000 operations between revolutions this is several hundred times more than you need.

Its nice to see that you have a motor sports application, its close to my own interest. I don't know that you are taking the best approach.

Have a look at my RC/Kart lap timer, its uses infra red to time laps, you can create infra red beacons for about 2 dollars that you could position on the track for taking split times automatically.

Its small enough to strap to a steering wheel of a kart, but as I have found that I cannot always look at the wheel the most useful feature is a very loud buzzer. One buzz to confirm a lap/split has been captured and two pips if its a new best, it makes a huge difference to my RC driving, I cannot believe how much harder I work on a lap to get those two pips.

I am working on the project right now and plan to finish it within a few days at which point I will write it up in full, in the meantime check out the relevant blog posts here - 

http://rcarduino.blogspot.co.uk/2012/02/rc-lap-timer-go-kart-lap-timer-part-1.html

http://rcarduino.blogspot.co.uk/2012/02/rc-lap-timer-go-kart-lap-timer-part-2.html

http://rcarduino.blogspot.co.uk/2012/03/punk-consoles-and-ir-transmitters-555.html

Duane B

rcarduino.blogspot.com
1348  Using Arduino / Networking, Protocols, and Devices / Re: SPI in loop() working fine, but not in ISR TIMER 1 interrupt on: April 15, 2012, 05:04:49 pm
Hi,

I might be wrong, but does the spi library rely on interrupts ? If so it will not work inside an interrupt service routine because interrupts are disabled temporarily while an isr runs.

To get around this, just set a flag in the isr which you can test for in loop, when the flag is set, you know it's time to send your data.

Duane b

rcarduino.blogspot.com
1349  Using Arduino / Motors, Mechanics, and Power / Re: More mA for RGB led disk on: April 15, 2012, 03:43:52 pm
Hi,

Nice to see you found my link. To pass more current to your LEDs, you can use individual transistors or a chip which provides six or eight transistors in a single package.

The way this approach works is that the transistor is connected in the current path of each led on the separate power circuit. an Arduino output pin is connected to the base of the transistor. When the arduino pin is low, the transistor will act like a switch in the off position. If the Arduino pin is high the transistor will act as if it is a switch in the on position. This switching between on and off works fast enough for the PWM/analogWrite that you are currently using for brightness and colour mixing.

If you search for 'transistor as a switch' you will find approaches using individual transistors, if you search for 'darlington driver' 'hex driver' or 'transistor array' you will find approaches using chips.

Duane B

rcarduino.blogspot.com
1350  Using Arduino / Motors, Mechanics, and Power / Re: MKS HBL 950 servo doesn't respond on: April 15, 2012, 03:31:56 pm
Hi,

You should have a common ground for all parts of your circuit, so the lipo ground should be common with the servo ground and the arduino ground - there should be only one ground which is easily achieved by connecting all these grounds together. See the links in my signature for a little more detail.

Duane B

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