element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Sensors
  • Technologies
  • More
Sensors
Sensor Forum having a problem with LM35 temperature sensor
  • Blog
  • Forum
  • Documents
  • Quiz
  • Events
  • Polls
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Sensors to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Not Answered
  • Replies 39 replies
  • Subscribers 336 subscribers
  • Views 1756 views
  • Users 0 members are here
  • sensors
  • arduino ide
  • temperature sensor
  • arduino
  • analog
Related

having a problem with LM35 temperature sensor

samiboutgoulla
samiboutgoulla 2 months ago

Hello, I just started a project with LM35 (temperature sensors) with Arduino, after mounting it on my breadboard I noticed that the values ​​in the serial monitor are inconsistent and vary in a strange way, for example I get 21°, 20°, 22° 24° successively which is impossible I get the same result with 5 different sensors,  even whern i use a heat source the temperature the values vary also in a strange way and I don't know where the problem is can someone help me please? image imageimage

  • Sign in to reply
  • Cancel

Top Replies

  • michaelkellett
    michaelkellett 2 months ago in reply to samiboutgoulla +3
    It looks as if you have no resistor from the output to a negative bias voltage - this means that you will get poor results as the temperature drops towards zero but you can ignore that for now. The sensor…
  • kmikemoo
    kmikemoo 2 months ago +3
    samiboutgoulla You can try one of the circuits below. They are taken from the LM35 datasheet. The capacitance of your breadboard may be impacting your readings. Still... shabaz's video is very compelling…
  • michaelkellett
    michaelkellett 2 months ago in reply to JWx +1
    Good idea but I think he has an external noise problem - let's wait and see ! MK
  • michaelkellett
    0 michaelkellett 2 months ago in reply to Jan Cumps

    He uses red for ground just to test us !

    MK

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • michaelkellett
    0 michaelkellett 2 months ago in reply to samiboutgoulla

    Unless its very hot in your lab just holding the sensor with your fingers should warm it up a bit.

    The lighter could get a bit too hot.

    MK

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • samiboutgoulla
    0 samiboutgoulla 2 months ago in reply to Robert Peter Oakes

    ok i will try ty

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • samiboutgoulla
    0 samiboutgoulla 2 months ago in reply to michaelkellett

    i'm from morocco , i notice a thing even when i'm approching heat source the temperature don't raise

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • samiboutgoulla
    0 samiboutgoulla 2 months ago in reply to Robert Peter Oakes

    i even notice that tempreature wes decreasing when approching a heat source instead of increasing

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • dougw
    0 dougw 2 months ago

    The pins on these sensors are a bit thin to be sure of a good connection in a breadboard.

    One thing to try is just measure the sensor output voltage with a DVM as a heat source is applied.

    Measuring at the sensor will indicate if the sensor is connected properly and working.

    Measuring at the Arduino will indicate if the connections are good.

    If you have a scope, you might be able to see how much noise is on the signal.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • shabaz
    0 shabaz 2 months ago

    There' also might be a good chance of something like this:

    https://youtu.be/NiNTDKKATmo?feature=shared

    You don't have permission to edit metadata of this video.
    Edit media
    x
    image
    Upload Preview
    image

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • kmikemoo
    0 kmikemoo 2 months ago

    samiboutgoulla You can try one of the circuits below.  They are taken from the LM35 datasheet.  The capacitance of your breadboard may be impacting your readings.
    Still... shabaz's video is very compelling.
    image

    • Cancel
    • Vote Up +3 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • dougw
    0 dougw 1 month ago

    I have been bitten by fake temperature sensors before as well...

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
<
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube