please programming Mikrokontroler ATMEGA32 with C languange

Discussion in 'Embedded Systems and Microcontrollers' started by mardianlonaputra, Feb 24, 2013.

  1. mardianlonaputra

    Thread Starter New Member

    Feb 24, 2013
    2
    0
    I want to create a program photodiodes using ATmega32 to 16x2 LCD display .... photo diode connected to the ADC (pin 33), ... how to shape the program???
     
  2. takao21203

    Distinguished Member

    Apr 28, 2012
    3,577
    463
    Why these posts always have to have spelling errors? Is a riddle to me.

    please programming Mikrokontroler ATMEGA32 with C languange

    It is not correct english but it is possible to understand.

    Mikrokontroler - wrong

    languanage - wrong
     
  3. tshuck

    Well-Known Member

    Oct 18, 2012
    3,531
    675
    I don't think you are in a position to point that out there, takao:D

    The reason is this, they don't speak English on a regular basis. Seems pretty straightforward...

    To the OP, post a schematic of what you are trying to describe...
     
  4. spinnaker

    AAC Fanatic!

    Oct 29, 2009
    4,887
    1,012
    And to the OP. We are hear to help but we are not going to do your job for you. You need to do most of the work on your own.

    Instead of trying to make photo diodes and LCD work it is best to start small. If you have never programmed before then start just by turning on one LED.

    Move on to LCD display.

    Learn to use a switch on the MCU then move on to photo diodes.
     
  5. takao21203

    Distinguished Member

    Apr 28, 2012
    3,577
    463
    Let's see if OP comes back, maybe can show a circuit, and if a solution can be archieved.
     
  6. mardianlonaputra

    Thread Starter New Member

    Feb 24, 2013
    2
    0
    sorry, if my language is not good, ... because I am not used, .......this form of the circuit ....LCD will display the output of the ADC,...sensor using a photodiode
     
  7. spinnaker

    AAC Fanatic!

    Oct 29, 2009
    4,887
    1,012
    You still need to define what you have done so far. Can you display anything on the LCD?
     
  8. takao21203

    Distinguished Member

    Apr 28, 2012
    3,577
    463
    That's a start, but it is too small to see anything.

    How about getting a C code for the LCD and make it working?
    Then program the A/D after that.
    You have two independent problems to solve.

    If I see circuits with many components like that, I always remove everything.

    Start with just the LCD, make the C code working.

    Add things one each at one time.

    This is called top-down programming. While not the only possible way, it is a classical method to deal with larger problems.
     
Loading...