Show Posts
Pages: [1] 2
1  Using Arduino / Audio / Re: Arduino due - 32 bits ? on: April 14, 2012, 11:15:54 am
i have seen NOTHING but the other day I saw a BOOK TITLE on amazon for a book called "PRO ARDUINO"

its supposed to be released in July one of the things the books talks about is the new 32 bit arduino.

"You'll learn all about the changes in Arduino 1.0 and the new ARM-based Arduino Due. "

so I guess there must be people getting them!

book=Pro Arduino [Paperback]
Rick Anderson (Author), Dan Cervo (Author)
2  Using Arduino / Audio / Re: Question re: polyphonic ADSR generator (CV output). on: April 03, 2012, 09:58:11 pm
what Dac are you using?

3  Using Arduino / Project Guidance / Re: moving project from Nano to custom pcbs..which chip??? on: September 13, 2011, 02:05:23 pm
Thanks for all the great info!

My question now is which schematic to
Follow? If the nano 3 sch file shows a 168, then i would assume
Some pin numbers are different? Or no?

whether i go smt or not, a 328 is important

4  Using Arduino / Project Guidance / moving project from Nano to custom pcbs..which chip??? on: September 12, 2011, 04:59:03 pm
I have been developing an open-source synthesizer project that I hope to be releasing as a product soon. Inititally all testing and building was done with a pcb which had a header for an arduino Nano to PLUG into .However for final pcbs, we want to just make a pcb with either an SMT or thru hole arduino chip, a usb to serial chip, a crystal and a regulator...

My question replicate the Nano (version 3) can I just use ANY atmega 328 chip and the schematic which is linked on the Arduino site? (the schematic says ATMEGA 168-20AU for some reason but at the top of the schematic it DOES say NANO 3.0)

I would appreciate ANY advice on which chips to use, or any quirks of getting Arduino to migrate well to a custom pcb.

I figured I would include the ISP header for bootloading.

even after the cost of a pcb, parts and passives, I still see this as being cheaper and more flexible than a 30 dollar Nano.

thanks so much for any help
5  Using Arduino / Programming Questions / Re: TVout.H problems!! on: April 13, 2011, 09:18:18 pm
i got it all from here,56541.0.html

and then i updated the TVOUT with the newest beta...and i think that was the problem as they specify that the print.string has been removed from the newest version

6  Using Arduino / Programming Questions / Re: TVout.H problems!! on: April 13, 2011, 08:08:05 pm
sorry i was reffering to other peoples code and i wasnt sure if i could post that

here goes:

#include <TVout.h>
#include <fix_fft.h>
TVout TV;
char im[128], data[128], lastpass[64];
char x=32, ylim=90;
int i=0,val;
void setup()
    TV.begin(_NTSC,128,54);                              //  Initialize TV output, 128x96.
    TV.print_str(2,2,"  Realtime Arduino");             //  TVout lib uses x,y for print
    TV.print_str(2,11,"  Spectrum Analyzer");         //  statements.  8x8 default font.
    analogReference(DEFAULT);                          //  Use default (5v) aref voltage.
    for (int z=0; z<64; z++) {lastpass[z]=80;};       //  fill the lastpass[] array with dummy data
void loop()
    for (i=0; i < 128; i++){                                     // We don't go for clean timing here, it's
      val = analogRead(0);                                      // better to get somewhat dirty data fast
      data = val/4 -128;                                       // than to get data that's lab-accurate
      im = 0;                                                       // but too slow, for this application.

    for (i=1; i< 64;i++){                                          // In the current design, 60Hz and noise
      data = sqrt(data * data + im * im);  // in general are a problem.  Future designs
      TV.draw_line(i+x,lastpass,i+x,ylim,0);          // and code may fix this, but for now, I
      TV.draw_line(i+x,ylim,i+x,ylim-data,1);        // skip displaying the 0-500hz band completely.
      lastpass=ylim-data;                                   // if you insist, initialize the loop with 0
      };                                                                    // rather than 1.
7  Using Arduino / Programming Questions / TVout.H problems!! on: April 13, 2011, 12:16:55 pm
Hello There . I would really like to get the FFT frequency analyzer project working , or the Arduino PONG sketch working but anything with TV Out is giving me problems like:

'class TVout' has no member named 'begin'

'class TVout' has no member named 'vert_res'


what should I do?


(i am trying with arudino version 22)

8  Using Arduino / Programming Questions / Re: combining two ports for a DAC on pins 5-12 on: April 05, 2011, 10:18:17 am
is it maybe not possible to combine the two?

9  Development / Other Software Development / Re: ELM Chan's FFT Library for Arduino on: April 04, 2011, 12:59:27 pm
whenever I run this I keep getting this error

"FFT_ N" was not declared in this scope.

i am running visualizer in the same dir as FFFT.h and FFFT.s but when i run the visualizer, i only get one additional tab
and that is for FFFT.h

any ideas?


10  Using Arduino / Programming Questions / combining two ports for a DAC on pins 5-12 on: April 04, 2011, 12:23:46 pm
I have been making some changes to the code found on this page:

so that I can use a DAC instead of PWM.

However, instead of just doing this to the code so that the audio comes out on PORTD

PORTD=sineovertones[waveindex] + 128;

OCR1A = analog0;..........

I would like to find a way to call both PORTD and PORTB so I can connect the DAC to pins 5-12.

anyone have any idea how to do this without using analogWrite?

thanks so much (i am really trying to get a handle on how to communicate with the digital outputs on the arduino.

my main goals are getting the audio inputs sent to the outputs.

11  Using Arduino / Programming Questions / Re: why dont certain AVR port names work in Arduino on: April 04, 2011, 08:49:46 am
is there a way i can make a new include file to allow for the old syntax? a lot of programs i bump into seem to use it and it is a pain to always have to change it by hand

thanks for any help!

12  Using Arduino / Programming Questions / why dont certain AVR port names work in Arduino on: April 03, 2011, 07:39:31 pm
I have been trying to learn how to acess the input and output pins of the arduino WITHOUT using analogRead and analogWrite, etc.

a lot of AVR tutorials recommend calling pins like this:

DDRD &= ~(1<<PD2);    //Configure PORTD pin 2 as an input
   PORTD |= (1<<PD2);    //Activate pull-ups in PORTD pin 2
   DDRB |= (1<<PB5);   


However, I can't ever get pin names like PD2 or PB5 to work. any idea why?

13  Using Arduino / Audio / Re: library for wavetable synthesis on: April 01, 2011, 01:09:46 am
option 2 sounds easier....ease of use would be great
14  Using Arduino / Audio / Re: library for wavetable synthesis on: April 01, 2011, 01:08:33 am
are you kidding me? this is EXACTLY what i hoped someone would do! the tone function is only square and is rather boring.
thanks for doing this!!

15  Community / Exhibition / Gallery / Re: 8 bit Arduino FFT library on Google Code on: March 29, 2011, 01:47:59 am
how hard would it be to use this in a real time audio effect? or to create a sketch which read incoming analog values and using the library, could split the frequencies into multiple outputs?

i have never had the chance to use FFT but i have read about it. i just wonder what you can actually do with it!
Pages: [1] 2