Loading...
  Show Posts
Pages: 1 2 3 [4] 5 6 ... 110
46  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
47  Using Arduino / Audio / Re: 2-bit PWM on: April 17, 2013, 04:12:27 am
Quote
No it is not. 1mS is 1000uS. This is not binary measurements.

That link reminded me of marking a student essay, basically most of it is right, but often the wrong words are used and some of the fundamental understanding is wrong.
For example the 74HC14s are external buffers they are not switches. He talks about output resistance when he means impedance and says PWM is basically AM, which it is not. He talks about a negitave output where he means a 180 degree phase shift. He also seems obsessed with distortion said it were the only measure of quality.

There is no mention of monoticity which is the basic thing you need to preserve in any D/A conversion.

But does it sound good ?

A lot of people have been excited by/reposting this link, but has anyone used or seen it used as part of a synth yet ?

Duane B
48  Using Arduino / Programming Questions / Re: Random jitter problem capturing R/C servo signal using interrupts/16bit timer on: April 17, 2013, 01:06:57 am
Hi,

Depending on the RC Technology you are using, there is also a degree of variation from the transmitter/receiver

http://rcarduino.blogspot.ae/2012/03/reading-from-rc-reveiver-do-you-need.html

Duane B

rcarduino.blogspot.com
49  Using Arduino / Programming Questions / Re: Servo Library Conflicts on: April 15, 2013, 08:16:26 am
Your question should be the other way around - its probably easier to move the servo library to another timer than it is to move onewire.

Are you using a mega ? If so I will have a look at supporting timers other than timer1 in the following library

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


Duane B

rcarduino.blogspot.com
50  Using Arduino / Programming Questions / Re: "objdump --source" doesn't intermix source code on: April 15, 2013, 08:13:22 am
Try this way -

http://rcarduino.blogspot.com/2012/09/how-to-view-arduino-assembly.html

Let me know if it works for you

Duane B

rcarduino.blogspot.com
51  Using Arduino / Networking, Protocols, and Devices / Re: Why use DAC when we have PWM? on: April 14, 2013, 12:56:42 am
The real answer is resolution.

If you want to have 16 bit PWM, you need to be able to count to 65335 very fast, the speed at which you can do this gives you the PWM Frequency for the given resolution -

An Arduino UNO can do 8-bit PWM (16,000,000/255) at 62,745 Hz, which is well outside the audio spectrum.

At 16 Bits (16,000,000/65535), this drops to 244 Hz well inside the audio spectrum and therefore not a practical solution for most applications.

Duane B

rcarduino.blogspot.com


52  Using Arduino / Programming Questions / Re: Pulse Width Measurement (No PulseIn) on: April 11, 2013, 01:35:54 pm
There is also this interrupt based approach -

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

Duane B

rcarduino.blogspot.com
53  Using Arduino / Project Guidance / Re: Accelerometer and Position of Cube on: April 11, 2013, 11:13:41 am
There was a nice clock project recently where the entire interface was based around rotating a cube. It was also based on an accelerometer, the cube was actually a bamboo toothbrush holder, it looked great. You might find the details if you search around in the exhibition section.

Duane B
rcarduino.blogspot.com
54  Using Arduino / Project Guidance / Re: Bike shifter: direct servo, trigger shifter of grip shift? on: April 10, 2013, 07:45:26 am
Quote
I don't find the idea too stupid.

I would not worry about that, very few of the things we put our efforts into around here make sense from an outside perspective.

Let us know how you get on and do you have any pictures of the bike ?

Duane B

rcarduino.blogspot.com
55  Using Arduino / Project Guidance / Re: Produce A PWM to a certain port in arduino on: April 10, 2013, 05:38:01 am
Isn't this a blind alley, it will only allow you to control a single channel, whereas analogWrite will give you upto six channels on an UNO, more on a mega.

Duane B

rcarduino.blogspot.com
56  Using Arduino / Programming Questions / Re: R/C code on: April 10, 2013, 05:25:43 am
Lots of interrupt based approaches here including explanations of what the code does and why if your interested in taking an interrupt based approach in the future -

Scroll down to the interfacing with RC section -
http://rcarduino.blogspot.ae/p/project-index.html

Duane B

57  Using Arduino / Project Guidance / Re: Making more arduino projects without buying new arduino boards? on: April 09, 2013, 03:06:46 am
Hi,
   I build lots of standalone Arduinos on strip board, it is cheaper but also makes routing connecting wires very simple if everything is already sharing the same power and ground.

   You can also look at using ATMega8 and ATMEga168 chips, they have less memory but might be available for a lot less than 328s.

   As for boot loaders, its easy to use optloader to put opti boot on any of the 8,168 and 328

Duane B

rcarduino.blogspot.com

58  Using Arduino / Project Guidance / Re: Bike shifter: direct servo, trigger shifter of grip shift? on: April 07, 2013, 10:22:49 am
lots of them out there by the looks of it -

http://en.wikipedia.org/wiki/Electronic_gear-shifting_system

Duane B
59  Using Arduino / Project Guidance / Re: Bike shifter: direct servo, trigger shifter of grip shift? on: April 07, 2013, 09:46:57 am
Dont Shimano already make electrically operated shifters ?

I know that they have been used in racing in the past.

Duane B
rcarduino.blogspot.com
60  Community / Bar Sport / Arduino in the post ... on: April 07, 2013, 03:34:00 am
http://www.fastcodesign.com/1672262/watch-a-hidden-camera-captures-a-packages-hidden-journey#1

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