Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.
hello guys
i just want to know the math equations that will be needed to go into my C18 code to display the battery voltage from 0-12V on LCD.
Of course the battery voltage is scaled from 0-5 volts and im using a 10bit adc on PIC18F2420 with VDD as the ref.
MY head has worked out following to...
Howdee people.
I have just completed an I2C interface to get two PICs talking ... MASTER and SLAVE setup.
This is working......but after successfully reading the first byte from the SLAVE and displaying on MASTER LCD ....if the MASTER again requests to read another byte from the SLAVE....then...
Hello
I have tried to solve the problem my self but i fail. I can not get the slave pic to transmit a single byte to master
pic via I2C interface. I have however successfully completed I2C link when master send byte to slave...then it
works fine and i can get result on my LCD screen too. But...
hello
i can not get the text message receive on my cell phone or any other network via the program coding below.
it simply desinged so that to send sms only .... not receive
i can get all other command resposnes back from the gsm modem and display on my LCD....so i know that the hardware is...
Dear GSM Man
Thank you for your reply....i tried what you said above but im afraid adding a CR (13 or 0x0D) did not not solve my problem.
the LCD still remained blank as before.
please can you help?
Can you check the schematic to see that if there may be a problem on the connections of DB9...
Hello
Im trying to interface a GSM modem with PIC18F4220 @ 20MHz ceramic using C18 compiler. The GSM modem is a Siemens Model TC35. For the RS232 im using the 'MAX202CPE' chip.
The initial test setup interface with the GSM modem and the PIC seems a failure as im not getting back 'OK' reply...
thank you so all so much for ur kind input
I have solved the problem and here is the fixed code and im now happy that the seconds are displaying very nicely and ticking away from 00-59 and then rolling over again to 00 and starting again...
problem was simply not breaking up the BCD bytes...
hello
I have successfully interfaced a PIC18F4423 and DS1307 via I2C interface using C18. For now I can read the seconds ticking away and can partailly dispay them on a 20x2 LCD.
Now let me explain my problem.
I can not get the 'units' (right most digit of the second) to roll over back to...
Hello
I have a confusion on the displaying of temperature value less than - 20.4 deg C.
Before i begin, here is my hardware/software setup
PIC18F4423 @ 20MHz ceramic
using 12bit ADC
Vref++ == VDD == 5V
thermistor: MCP9701A
compiler C18
Now my problem is explained as follows...
Im using the...
Hello
My project is working partially. I have designed a temperature display on LCD project that involves
the following components...
PIC18F4423
ceramic 20Mhz
C18 compiler
Thermistor: MCP9701A
LCD: 16X2
Im using full 12bit ADC and +Vref == VDD and -Vref == VSS.
Im displaying both the ADC...
Here is a simple question that im confused on...plz can someone answer it...
Im using C18 compiler....
if i use "unsigned int".... and then subtract two integers in such a way that the one which is subtracted is greater
than the one from which im subtracting...forexample...
result = small -...
Hello
Im using PIC18F4220, 20MHz ceramic, C18 compiler.
I have a running project where im taking temperature readings after every 300ms intervals and display on 16x2 LCD.
Im using thermistor MCP9701A. I have 8bit ADC enabled on my PIC and im only reading the high byte ADRESH.
My V+ref ==...
hello
I have a PIC18F4220 running @ 20MHz and using C18 compiler.
I have a 20x2 LCD module connected to my PIC and i can successfully display my characters & strings etc out on to the LCD. The LCD is configured for 8bit mode operation....no nibbling!
I now have a temperature sensor module...
Hello
Im using a PIC18F4220 @ 20Mhz ceramic with C18 compiler.
Im trying to do a simple test program where the PIC sends out the letter 'a' to an LCD connected to PORTD (8bit mode).....no nibbling!
However I can not get a consistent result each time the PIC is powered up. The behaviour is...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.