+ Reply to Thread
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 17

Thread: Programming 8051 need help

  1. #1
    Junior Member tsubasachrono
    Join Date
    Jul 2007
    Location
    Cyberjaya, Malaysia.
    Posts
    7

    Default Programming 8051 need help

    Hi binu,
    Right now I try to write a coding for 8051 microcontroller with ac2dc and seven segment display. Can U please give me some guidance on how to start programming ac2dc and 10pin seven segment display. Any website or example for me to refer? Thank you.


  2. #2
    Administrator Binu is an unknown quantity at this point Binu's Avatar
    Join Date
    Jun 2007
    Location
    Nagercoil, Tamilnadu, India.
    Posts
    6,126

    Default

    goto the 8051 asm programs in my page, you can get many examples
    http://www.8051projects.info/interfacing.asp



    J.Binu
    Click here to get free Blog & Website

  3. #3
    Junior Member tsubasachrono
    Join Date
    Jul 2007
    Location
    Cyberjaya, Malaysia.
    Posts
    7

    Default

    binu_ji,
    Right now I'm trying to do coding for interfacing adc0804 with 7-segment display. The only example of coding i got is for adc0808. Any idea?

  4. #4
    Administrator Binu is an unknown quantity at this point Binu's Avatar
    Join Date
    Jun 2007
    Location
    Nagercoil, Tamilnadu, India.
    Posts
    6,126

    Default

    It is easy to get the program for ADC0804 from ADC0808. Just leave the lines which is used to select the inputs for 0808, since it can get 8 inputs.

    J.Binu
    Click here to buy fully finished Project Kits

  5. #5
    Junior Member tsubasachrono
    Join Date
    Jul 2007
    Location
    Cyberjaya, Malaysia.
    Posts
    7

    Default

    ok. After the data have been converted , may I know how sould I send it from ADC to 7-segment? Which code should I use?

  6. #6
    Administrator Binu is an unknown quantity at this point Binu's Avatar
    Join Date
    Jun 2007
    Location
    Nagercoil, Tamilnadu, India.
    Posts
    6,126

    Default

    Check the interfacing page for Seven segment display
    http://www.8051projects.info/interfacing.asp

    post your code here, so that i can check it.

    J.Binu
    Click here to buy fully finished Project Kits

  7. #7
    Junior Member tsubasachrono
    Join Date
    Jul 2007
    Location
    Cyberjaya, Malaysia.
    Posts
    7

    Default

    Is there any way i can PM you or do you have IM?

  8. #8
    Administrator Binu is an unknown quantity at this point Binu's Avatar
    Join Date
    Jun 2007
    Location
    Nagercoil, Tamilnadu, India.
    Posts
    6,126

    Default

    post the doubts here plz

    J.Binu
    Click here to buy fully finished Project Kits

  9. #9
    Junior Member tsubasachrono
    Join Date
    Jul 2007
    Location
    Cyberjaya, Malaysia.
    Posts
    7

    Default

    binu_ji,
    I tried looking at your code for temperature controlled fan. I don't really understand for auto and manual. Can you explain more about this to the newbies like me? Why did you use DS 1? Are you using PWM for your code? Which part of the code for PWM since I can't find it after looking at it several time.

  10. #10
    Administrator Binu is an unknown quantity at this point Binu's Avatar
    Join Date
    Jun 2007
    Location
    Nagercoil, Tamilnadu, India.
    Posts
    6,126

    Default

    DS IC's has inbuilt ADC and the output can be easily readable in standard bus.
    Yes the PWM is used. It is obtained by using a zero crossing interrupt which is generated by a zero crossing circuit.

    J.Binu
    Click here to buy fully finished Project Kits


+ Reply to Thread

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts