Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Recent content by rvs

  1. R

    Problem with 89s52 and ds1621 interface

    In zip file that tpetar gave, there was .a51 file, it shows multiple errors when we tried to make .hex file. Undefinied symbol/lable: FLAGS (about 8 errors) - how should we define FLAGS? Invalid instruction -> SCL_HIGH (about 6 errors) - how should we change that?
  2. R

    Problem with 89s52 and ds1621 interface

    In this school project we were told to take a working program from Internet and edit it a bit and then make it work. Our teacher can't help us, because he doesn't know anything about these things, so we have to find out everything on our own. We made this code, but it still isn't showing...
  3. R

    Problem with 89s52 and ds1621 interface

    We know, that it works fine with LED segments. But we have to use LCD screen and we can't figure out, how to alter original code so that instead of sending data to LED segments it would send it to LCD.
  4. R

    Problem with 89s52 and ds1621 interface

    Friend of mine is having problem with interfacing 89s52 and ds1621 temperature sensors. He took this diagram https://www.8051projects.info/circuit.asp?im=data&desc=PC-BASED-DATA-LOGGER-%28AT89S52-+-VB%29 and changed LED segments to LCD. Added programming port (but that is not relevant). He got...
  5. R

    Problem with LM35, ADC0804 and 89s52 interface (assembler code)

    Thank you, got it working.
  6. R

    Problem with LM35, ADC0804 and 89s52 interface (assembler code)

    Pin 9 - 2,278 V Pin 6 - 0,27 to 0,28 V Room temp 24,9 degrees Celsius Just Checked. If I would have C code I could also get it working, But I have no code - that's the problem! :D ---------- Post added at 15:30 ---------- Previous post was at 15:28 ---------- Yeah, just found out that after...
  7. R

    Problem with LM35, ADC0804 and 89s52 interface (assembler code)

    It now shows 95->9595->959595->95959595.... And it's adding numbers to previous numbers. With the first code I used, it cleared display each time and showd only one number. Is it intentional that it does like that? ---------- Post added at 10:28 ---------- Previous post was at 10:17 ----------...
  8. R

    Problem with LM35, ADC0804 and 89s52 interface (assembler code)

    Room temp 24,9 degrees Celsius. pin 9 1,262 V and pin 6 was 0,262 V ---------- Post added at 09:52 ---------- Previous post was at 08:46 ---------- I changed pin 9 to 1,28 V. It doesn't have to be 100% accurate, but it has to work.
  9. R

    Problem with LM35, ADC0804 and 89s52 interface (assembler code)

    I will try it in 10-15 min! ---------- Post added at 08:09 ---------- Previous post was at 08:06 ---------- Still shows 255->255255->255255255... ---------- Post added at 08:11 ---------- Previous post was at 08:09 ---------- I changed '//' to ';' before i tried the code. That I figured out...
  10. R

    Problem with LM35, ADC0804 and 89s52 interface (assembler code)

    Tried the code, but it shows 255->255255->255255255.... numbers don't start from left side, but from middle of the screen. What did I do wrong? ---------- Post added at 07:34 ---------- Previous post was at 07:33 ---------- I also tried org 0h RAM_ADDR EQU 30H COUNT EQU 3 hundreds equ 30h...
  11. R

    Problem with LM35, ADC0804 and 89s52 interface (assembler code)

    I can add that resistor easily, thank you for mentioning that! But is the code I put here correct? I changed port/pin names to match my diagram, but I have no idea if should I change something else in that code?
  12. R

    Problem with LM35, ADC0804 and 89s52 interface (assembler code)

    With my knowdledge I made this code org 0h RAM_ADDR EQU 30H COUNT EQU 3 hundreds equ 30h tens equ 31h ones equ 32h ACALL DELAY_200M ACALL ONETIME_LCDINIT STT: ACALL ADC ACALL Bin2Dec ACALL DEC_ASCI_CONVRT...
  13. R

    Problem with LM35, ADC0804 and 89s52 interface (assembler code)

    I will try to change your code a bit, so it would match my connections. But I will do it tomorrow (it's about 3 am in my time and I'm too tired to change it right now). But if I do the small changes, could you please check my code and tell me, if it's correct for my program? I can't change where...
  14. R

    Problem with LM35, ADC0804 and 89s52 interface (assembler code)

    LCD's RS (pin 4) goes to P3.4, R/W (pin 5) goes to GND and E (pin 6) goes to P3.5. LCD's D0 to D7 are connected to P2.0 to P2.7 in that order. ADC outputs are connected to P0.0 to P0.7. If I want to use the code you have written here, I simply have to change port numbers t you have written to...
  15. R

    Problem with LM35, ADC0804 and 89s52 interface (assembler code)

    I put 1,28 V to pin 9 in ADC. I didn't realise that Vref/2 really means that Vref value has to be divided...I found correct value for Vref through testing and datasheets, where 2,56 and 1,28 V were mentioned as Vref (or Vref/2) values. But bigger problem is that I don't know assembler language...

Part and Inventory Search

Back
Top