[An old project I moved from my previous website]
This is a test project built hastily on a solder less breadboard. It uses a LM75 to read the current temperature via I2C and displays the result on three 7 segment displays. It uses a PIC16F628 with an internal 4 Mhz clock.
The program was created using JAL
Note the LM75 is a surface mount device, so I had to solder wires onto it to use it on the solderless breadboard.
Sorry for the bad quality photo. The stuff on the left is a 5V voltage regulator and not shown on the schematic below.
Part Value Device Package Library Sheet D1 7SEG-CA 7SEG-13 special 1 D2 7SEG-CA 7SEG-13 special 1 D3 7SEG-CA 7SEG-13 special 1 IC1 PIC16F628 PIC16F628 DIL18 microchip 1 IC2 LM75 LM75 SOP-8 andre_lm75 1 Q1 BC557C BC557C TO92-EBC transistor-pnp 1 Q2 BC557C BC557C TO92-EBC transistor-pnp 1 Q3 BC557C BC557C TO92-EBC transistor-pnp 1 R1 12K R-EU_0207/7 0207/7 rcl 1 R2 12K R-EU_0207/7 0207/7 rcl 1 R3 1K R-EU_0207/7 0207/7 rcl 1 R4 1K R-EU_0207/7 0207/7 rcl 1 R5 1K R-EU_0207/7 0207/7 rcl 1 R7 220 R-EU_0207/7 0207/7 rcl 1 R8 220 R-EU_0207/7 0207/7 rcl 1 R9 220 R-EU_0207/7 0207/7 rcl 1 R10 220 R-EU_0207/7 0207/7 rcl 1 R11 220 R-EU_0207/7 0207/7 rcl 1 R12 220 R-EU_0207/7 0207/7 rcl 1 R13 220 R-EU_0207/7 0207/7 rcl 1 R14 220 R-EU_0207/7 0207/7 rcl 1
In case you are like me and couldn’t find the pinouts for the sevent segment display, here they are:
Download the project here: [download id=”1″ format=”1″]
28 thoughts on “LM75 Temperature Sensor with 7 segment display output”
I am trying to recreate your project as you have graciously laid out for a novice such as myself. The difference that I have made, is that I am trying to increase the scale of the LEDs to 4″ requiring 3.3v max on each segment. Any ideas on the pitfalls that I may encounter? BTW, Great looking website!
I have to admit, its been a long time since I tinkered with this stuff, but I expect that with the correct value resistors you can limit the voltage to 3.3v.
Hi, i have reproduced your project. And i was so amazed it worked great. The only problem is the LM75 chip that seems to come only on SOP package. Isn’t there any adapter or converter to DIP or something?. Anyways, you are awesome.
Newby here again. To program the PIC I am using a PICkit2 and a small bred board. Is there a guide how to wire the bred board as an interface between the PICkit 2 and the 16F628?
I found the PICkit 2 programmer adapter design from http://www.sq-1.com/pickit2.html It appears I was successful at programming my chip with your HEX file. Awesome!
Now I am about to power up my thermometer. I am trying to determine how many amps should the 5V regulator have. Is there any additional wiring that I should do? Ideas?
This project is quite simple as the author has wrote in the previous site on 100acre.org . I had no problem at all in order to make it work, once again great job for beginners on electronics like myself. To me the hardest part was to solder wires to the LM75, but i am already contacting a taiwan supply company that makes SOP to DIP adaptors (www.cpu.com.tw) to bypass that problem. Except that, i believe everything else works fine to me. By the way, does your voltage regulator is a LM7805?, i use one, but checking on national.com, its already discontinued. Good luck Brian.
where to get LM75 and PIC16F628 from?
The answer. Digikey (http://www.digikey.com) they provide an excellent service, another choice can be Allied electronics (http://www.alliedelec.com), their service is also good.
Please I’d like to get the same project in PicBasic language because I have pic develpoment board simulator and I’m good in v.b, basic so I’ll be most great full if you kindlly help please.
Thanks for your information. l had also maked the project, but with a Micorocontroller AVR ATMega8535
Friend, do you have the Proteus DLL model file for LM75?
The base package of Proteus doesn’t include it.
Can you please resend the Hex. led_i2c.hex
I only get 05.9 on the leds.
Can you explain on how to go about loading the JAL source code, as well as the compiled hex file on the PIC16F628; I’m a novice in PIC programming, but I’ll sure do well with a little help from you…
can you send me your
jlib libraries i have not found on the Internet.
i wos new on the JAL World or cant you me say how find the jlib libraries
Thomas S. from Germany
I need to change the application output to :
X.X(two 7 segment displays).
and i also need the range of the input levels will be: from 0.4ma -20ma (0.4=0.0,20=9.9)
Can you explain me, how can i change the application for output to two 7 segment displays?
I need the range of the input levels will be from 0.4ma -20ma & the range of output levels will be from 0.0 – 9.9 (0.4mA=0.0, 20mA=9.9)
Hi, i am actually a novice at this. I was wondering if you can recommend me a PIC with a built in I2C so that i need not bit-bang it. Thank you.
can i use pic16f8a replacement for pic16f628..??pls reply..as soon as possible..
Hy! I have N75 temperature sensor instead of LM75.is there any need to make changes in source code and hex file?
Great synopsis and really very well written. If this was a forum you would have a sticky on this.Keep it flowing, Thanks.
can i replace LM75 with LM35?pls reply..as soon as possible..
I have made your temperaturesensor circuit with the LM75. The cable between the sensor and the 7-segment display is 20 centimeters.
My circuit works ok but in my room it is actually 22°C and my sensorcircuit says it 26,5°C. What do i have to adjust in the circuit (resistors? or maybe software programme?) to make it more accurate so i also measure the correct 22°C on my 7-segment display instead of 26°C ?
Hoping to hear something from you.
Please lay out a model for the sensor LM75 Proteus, the Internet could not find
quite an intresting project, good work! I wander if you can sugest me a circuit that can detect temperatures up to 300′ C. Want to build a preheating plate for BGA reballing. Hope to hear from you and good luck for future projects.
First and for most I would like to thank you for yourI had already started building a temperature sensor using a “Common cathode” seven segment display and LM35DZ precision integrated-circuit temperature sensors. Now that I have come across your project, I am tempted to utilize your circuit. My question is I see that you are using PNP transistors so that means your 7-segment display must be Common anode and the 7-segment display I have is Common Cathode, would that matter ? And will LM35DZ work with your circuit ? Please get back to me quick.
im going to do this project in assembly language using MPLAB. So is it possible if you could attach the .asm file as well? Your help would be much appreciated 🙂
I want this project hex file