wrong positive and negative voltages on lcd 20x4


Closed Thread
Results 1 to 7 of 7

Hybrid View

  1. #1
    Join Date
    May 2013
    Location
    australia
    Posts
    2,644

    Default Re: wrong positive and negative voltages on lcd 20x4

    my take

    i doubt many would risk unvetted zipped content from google drive, youtube would be safer.


    what does displayed very fast mean ?


    what does displayed normal mean ?


    has it ever worked or is it just a proteus simulation, proteus does not really work for some real time things


    you could certainly fudge something up to correlate with proteus' measurements but it would be unlikely to work as precisely
    in reality and each unit manufactured would need individual code tweaking [hardly practical for production],as an academic exercise
    for students it may be useful to explain the differences between reality and simulated environment's






    there is no schematic.
    no voltage range given. no explanation of the analog input divider. why the pos rail uses a different divider to the neg rail
    no power supply


    why use fp ,can you really expect accuracy to 2 decimals.
    in a real situation you need to account for , reference accuracy/noise, conversion linearity / noise
    voltage divider accuracy and noise on the measured signal not to mention temperature effects
    you can easily mash out large numbers of decimals to display but their base accuracy cannot be justified




    what does symmetric power supply mean ,the code is just a display


    if its symmetric then why is +- different ? , over what range are we talking about




    two dp accuracy from single asynchronous adc results is not plausible afaics esp without a stable voltage reference for adc


    surely a lowpass filter is needed either electrical or software based , even oversampling could be employed
    and a temperature compensated voltage reference used if you really need that sort of precision



    op has remained steadfastly mute on any discussion on any points and just wants working code provided
    Warning I'm not a teacher

  2. #2
    Join Date
    Nov 2003
    Location
    Greece
    Posts
    4,132

    Default Re: wrong positive and negative voltages on lcd 20x4

    Quote Originally Posted by richard View Post
    ....

    op has remained steadfastly mute on any discussion on any points and just wants working code provided
    Then maybe chatGPT can give help!

    Ioannis

  3. #3
    Join Date
    May 2013
    Location
    australia
    Posts
    2,644

    Default Re: wrong positive and negative voltages on lcd 20x4

    Then maybe chatGPT can give help
    interesting thought
    Warning I'm not a teacher

  4. #4
    Join Date
    Jul 2022
    Posts
    26

    Cool Re: wrong positive and negative voltages on lcd 20x4

    Quote Originally Posted by richard View Post
    my take

    i doubt many would risk unvetted zipped content from google drive, youtube would be safer.


    what does displayed very fast mean ?


    what does displayed normal mean ?


    has it ever worked or is it just a proteus simulation, proteus does not really work for some real time things


    you could certainly fudge something up to correlate with proteus' measurements but it would be unlikely to work as precisely
    in reality and each unit manufactured would need individual code tweaking [hardly practical for production],as an academic exercise
    for students it may be useful to explain the differences between reality and simulated environment's






    there is no schematic.
    no voltage range given. no explanation of the analog input divider. why the pos rail uses a different divider to the neg rail
    no power supply


    why use fp ,can you really expect accuracy to 2 decimals.
    in a real situation you need to account for , reference accuracy/noise, conversion linearity / noise
    voltage divider accuracy and noise on the measured signal not to mention temperature effects
    you can easily mash out large numbers of decimals to display but their base accuracy cannot be justified




    what does symmetric power supply mean ,the code is just a display


    if its symmetric then why is +- different ? , over what range are we talking about




    two dp accuracy from single asynchronous adc results is not plausible afaics esp without a stable voltage reference for adc


    surely a lowpass filter is needed either electrical or software based , even oversampling could be employed
    and a temperature compensated voltage reference used if you really need that sort of precision



    op has remained steadfastly mute on any discussion on any points and just wants working code provided
    I have solved the problem, I attach image

Similar Threads

  1. Replies: 13
    Last Post: - 24th April 2023, 00:20
  2. Monitoring negative voltages
    By Charles Linquis in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 16th August 2014, 04:17
  3. Pic18f452 with 20x4 LCD Help
    By djmachine in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 6th November 2008, 22:43
  4. Measuring negative voltages
    By sammy in forum mel PIC BASIC Pro
    Replies: 14
    Last Post: - 13th June 2006, 01:36
  5. 20x4 LCD and P18F2680
    By microuser in forum mel PIC BASIC Pro
    Replies: 9
    Last Post: - 9th June 2006, 19:26

Posting Permissions

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