Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. how to display the output from LM35 on pc in C#

how to display the output from LM35 on pc in C#

Scheduled Pinned Locked Moved C#
csharphardwarehelptutorialquestion
14 Posts 6 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Alan N

    Hmm, From the datasheet you already know that the LM35's output is a voltage increasing by 10mv/degree and it will need connecting to an ADC, as a direct PC connection is not possible. The PC interface, both hardware and software, will be to the ADC. Alan.

    A Offline
    A Offline
    aeman
    wrote on last edited by
    #4

    Yes i have connected it with ADC0804 and did interfacing via parallel port. But i dont know how to display the values on pc.

    L 1 Reply Last reply
    0
    • P PIEBALDconsult

      What's an "LM35 temperature sesnor"? :confused:

      A Offline
      A Offline
      aeman
      wrote on last edited by
      #5

      google it.

      B P 2 Replies Last reply
      0
      • A aeman

        google it.

        B Offline
        B Offline
        BobJanova
        wrote on last edited by
        #6

        Quite. Perhaps you could try that for C# code to interface with the parallel port.

        A 1 Reply Last reply
        0
        • B BobJanova

          Quite. Perhaps you could try that for C# code to interface with the parallel port.

          A Offline
          A Offline
          aeman
          wrote on last edited by
          #7

          ya well said. After doing that i came here.

          T 1 Reply Last reply
          0
          • A aeman

            ya well said. After doing that i came here.

            T Offline
            T Offline
            Thomas Krojer
            wrote on last edited by
            #8

            did you google for the right question? I/O Ports Uncensored - 1 - Controlling LEDs (Light Emiting Diodes) with Parallel Port[^] as a starting point for communication with parallel port.

            I cannot remember: What did I before google?

            A 1 Reply Last reply
            0
            • A aeman

              Yes i have connected it with ADC0804 and did interfacing via parallel port. But i dont know how to display the values on pc.

              L Offline
              L Offline
              Lost User
              wrote on last edited by
              #9

              1. Read the data from the device 2. Format it into the form that you (or your users) want 3. Write it to the screen Which of these methods are you having trouble with?

              The best things in life are not things.

              A 1 Reply Last reply
              0
              • T Thomas Krojer

                did you google for the right question? I/O Ports Uncensored - 1 - Controlling LEDs (Light Emiting Diodes) with Parallel Port[^] as a starting point for communication with parallel port.

                I cannot remember: What did I before google?

                A Offline
                A Offline
                aeman
                wrote on last edited by
                #10

                yes i did that and i can access the parallel port also but i donot know how to display the values of sensor on pc??

                B 1 Reply Last reply
                0
                • L Lost User

                  1. Read the data from the device 2. Format it into the form that you (or your users) want 3. Write it to the screen Which of these methods are you having trouble with?

                  The best things in life are not things.

                  A Offline
                  A Offline
                  aeman
                  wrote on last edited by
                  #11

                  I am trying to read the data in C and is giving zero ouput. What does this mean?? Is the power suply not properly given??

                  L 1 Reply Last reply
                  0
                  • A aeman

                    I am trying to read the data in C and is giving zero ouput. What does this mean?? Is the power suply not properly given??

                    L Offline
                    L Offline
                    Lost User
                    wrote on last edited by
                    #12

                    aeman wrote:

                    I am trying to read the data in C and is giving zero ouput. What does this mean?? Is the power suply not properly given??

                    How can I guess? I have no idea how you have connected this device, whether it is powered on, whether it is working correctly, what sort of commands you send to it, or what responses you receive back. You will have to do some debugging for yourself in order to give us some more information.

                    The best things in life are not things.

                    1 Reply Last reply
                    0
                    • A aeman

                      google it.

                      P Offline
                      P Offline
                      PIEBALDconsult
                      wrote on last edited by
                      #13

                      Cha, as if. :rolleyes: A while back I got around to buying one of these[^] in hopes that I could use it to sample and store outdoor temperatures. But it doesn't seem accurate and it only provides the temperature of the board, which warms up while it has power. :doh: So I need to devise a way to only give it power when I want to gather a sample.

                      1 Reply Last reply
                      0
                      • A aeman

                        yes i did that and i can access the parallel port also but i donot know how to display the values of sensor on pc??

                        B Offline
                        B Offline
                        BobJanova
                        wrote on last edited by
                        #14

                        Then you need to look up the documentation for the device you are interfacing with to find out what it will send you over the parallel port and how you want to represent that.

                        1 Reply Last reply
                        0
                        Reply
                        • Reply as topic
                        Log in to reply
                        • Oldest to Newest
                        • Newest to Oldest
                        • Most Votes


                        • Login

                        • Don't have an account? Register

                        • Login or register to search.
                        • First post
                          Last post
                        0
                        • Categories
                        • Recent
                        • Tags
                        • Popular
                        • World
                        • Users
                        • Groups