Arduino LCD Keypad Questions

Discussion in 'The Projects Forum' started by Colossus, Aug 13, 2009.

  1. Colossus

    Thread Starter Member

    Aug 12, 2009
    18
    0
    My goal is to try and control audio frequencies with the buttons on the Arduino LCD module.

    I will be using an Arduino Duemilanove module to program the device.

    I want to have the frequency in hertz displayed on the LCD and be able to use the push buttons to raise or lower the frequency.

    What other components might i need to be able to generate various low audio frequencies(around 1-50 Hz)?
     
  2. hgmjr

    Moderator

    Jan 28, 2005
    9,030
    214
    Are you interested in squarewave output signals or are you wanting the output signals to be sinusoidal?

    hgmjr
     
    Last edited: Aug 13, 2009
  3. Colossus

    Thread Starter Member

    Aug 12, 2009
    18
    0
    Square waves

    I was looking at various squarewave signal generators but i was wondering if you had any other ideas?

    Is there an easy/cheap way to do this?
     
    Last edited: Aug 13, 2009
  4. hgmjr

    Moderator

    Jan 28, 2005
    9,030
    214
    So your goal is to have the AVR produce a squarewave (50% DUTYCYCLE) whose frequency can be adjusted between 1 Hertz and 50 Hertz using the push buttons. Is this an accurate interpretation of your intent?

    hgmjr
     
  5. Colossus

    Thread Starter Member

    Aug 12, 2009
    18
    0
    I wasn't sure the AVR could produce square waves but if it can that would be great. Other than that, Yes those are the specifications of the project.
     
  6. hgmjr

    Moderator

    Jan 28, 2005
    9,030
    214
    The AVR like all microcontroller are geared to output squarewaves naturally. It is more challenging to program a microcontroller to output a sinusoid. That takes a digital-to-analog converter device or R2R resistor network.

    hgmjr
     
  7. Colossus

    Thread Starter Member

    Aug 12, 2009
    18
    0
    So all i need are the two components and some programming skill?

    Also, if i wanted to use it without the USB cable would i just attach a +5v power supply to the module?
     
  8. hgmjr

    Moderator

    Jan 28, 2005
    9,030
    214
    I'm not sure what two components you are refering to. If you are referring to the arduino and the LCD display board then that is a start. You will probalby need some sort of buffer IC depending on what you plan to drive with the squarewave. That is because the output line from the microcontroller can only produce a few milliamps of current drive.

    hgmjo
     
  9. Colossus

    Thread Starter Member

    Aug 12, 2009
    18
    0
    I want to use the Arduino LCD module and the Arduino Duemilanove modules to create 1-50 hz frequencies and output it to a single wire.

    How exactly do i produce a squarewave in that frequency range using the microcontroller?
     
Loading...