i had constructed thermometer (which using PIC16f84) and LCDisplay (which using PIC16f877). Then how can combine together???? |
|
Thermometer + LCDisplay
> i had constructed thermometer (which using PIC16f84) and LCDisplay > (which using PIC16f877). Then how can combine together???? Why use two PICs? Below: Jal code for displaying the temperature on an LCD (from http://www.voti.nl/jal/doc/exa.html#e0004). Wouter van Ooijen -- ------- Van Ooijen Technische Informatica: www.voti.nl consultancy, development, PICmicro products -- a temperature display using -- an LM75 and a HD44780 LCD controller include 16c84_10 include jlib include lm75 include hd447804 const lm75_address = 0 hd44780_clear forever loop var byte t, d var bit f lm75_read_fdt( lm75_address, f, d, t ) hd44780_line1 if f then hd44780 = "-" else hd44780 = "+" end if print_decimal_2( hd44780, d, " " ) hd44780 = "." print_decimal_1( hd44780, t, "0" ) delay_200mS end loop |
I am in the process of building the same the thing. I saw a project on Rentron using a 16F84. But instead of using the 16F84 I wanted to use the 16F876 or the 877 since I am going to need more ports for other application. Anything I am suppose to beware of? I am going to use the PIC Basic. The sensor is a DS1820 from Dallas
Semiconductor. LCD is from Hitachi which I am still trying to read "Hello
World". The backlight turns on. The contrast on it works. But no "Hello
World"?????!!!! Other inputs are to be used for voltmeter and rpm using OPTEK sensor.If anyone has any projects in Basic that I could use please help me out.
to unsubscribe, go to http://www.yahoogroups.com and follow the instructions ">Yahoo! Terms of Service. -- ___________________________________________________________ |
|
You might consider Microchip's TB052 -- they use the MSSP module of an F872 to communicate with multiple temp sensors. Not sure if it's the range and accuracy you need, but the TB also has good LCD communication code (in .asm though, not basic). I am just finishing up a weather monitor based on that TB with humidity and pressure sensors all being driven by one F872 chip. --- In , "randy ram" <anilram@e...> wrote: > |
it should be very easy to move the temp sensing pieces from the f84 project to the f877 one. since you included zero details on either project, its impossible to give you any concrete advice. Assuming you wrote the PIC code, it should be a piece-o-cake. --- In , "Eugene Lai" <genelewis88@y...> wrote: > i had constructed thermometer (which using PIC16f84) and LCDisplay > (which using PIC16f877). Then how can combine together???? |
That is my major challenge. I am new to the the PIC world and I got all the
codes from a website.(Rentron). They had example of this themometer + lcd
project on the F84. So, I thought I will do it on a F84 then transfer it to the
F876 or F877. ----- Original Message ----- From: "Phil" Date: Thu, 20 Nov 2003 16:33:25 -0000 To: p...@yahoogroups.com Subject: [piclist] Re: Thermometer + LCDisplay it should be very easy to move the temp sensing pieces from the f84 project to the f877 one. since you included zero details on either project, its impossible to give you any concrete advice. Assuming you wrote the PIC code, it should be a piece-o-cake. --- In p...@yahoogroups.com, "Eugene Lai" <genelewis88@y...> wrote: > i had constructed thermometer (which using PIC16f84) and LCDisplay > (which using PIC16f877). Then how can combine together????
to unsubscribe, go to http://www.yahoogroups.com and follow the instructions ">Yahoo! Terms of Service. -- ___________________________________________________________ | |||
|
--- In , "randy ram" <anilram@e...> wrote: > If you think that you are going to use the f877 more than the 16f84 hten just beging with the 16f877. The question I think you want to ask is what is the diference between 16f84 and the 16f877? The 16f877 has more bells and wistles. I think you have two options here. You could either use the Analog to digital capabilities of te 16f877 or just use the code and circuit written for the 16f84. Just copy paste the code for the 16f84 into the 16f877. Then change a few lines here and there. For example, the port being use, and make all pins on the 16f877 digital. then write the LCD code on a diferent port. SO it would lok like portA is dedicated to the tempreture reading. And port B is dedicated to the LCD output. On the other hand if you want to use the 16f877 analog to digital capabilities then more reading is required. I haven't got this far yet. The third option is just to stick with the 16f84. Use what the book or article told you. PortA for inputs and port B for LCD display. You have more than enought pins for the job. |