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.
hi,
One of my project i am using PIC microcontroller (PIC18F452). in the particular project i am using two serial communication devices. i am using cd4016 for switching between them. the problem is the two devices are communicating with two different board rate, is there any problems will arise...
I have two doubts in your code,
1) is the board rate of modem is 115200?
2) are you sending the phone number array with its ascii code or as decimal numbers?
i stucked in the first "while" statement. that means, according to datasheet, presence signal is not getting.
i didn't put any pullup, because the module itself have a 5K pullup, i thought that it is sufficient.
But sir, when I am debugging using pickit3 the code is stucked in while(onewire & 1); this line.
- - - Updated - - -
I am using a dht11 module, in that module already 5.1k is present. I think it is enough, right?
hi,
i am doing a project in PIC18f452, it needs a DHT11 temperature and humidity sensor. my problem is DHT11 is not responding to my detection code
this is my start sequence
void dht11_start(void)
{
onewire_cntrl = 0;
onewire = 0;
__delay_ms(20);
onewire = 1;
__delay_us(30)...
The problem was not my in my code, or in my hardware ( conceptually). And also in GSM. The problem was GSM module is working on 3.3 -3.9v logic. I thought that pic can handle this. But it producing an FERR error. So I added a buffer between GSM tx and PIC Rx.
Now the code and hardware working...
this is my GSM modem
- - - Updated - - -
during the lcd printing i am disabling the interrupt, i am not expecting any reception in this time, is there any problem with that?
- - - Updated - - -
sir, i named it as gsm modem in the circuit
/******************************************************************************/
/* Files to Include */
/******************************************************************************/
#include <xc.h> /* XC8 General Include...
Yea sir,
I simulated it correctly in Proteus, and I fused the program through pikit3 to pic. And in hardware I send GSM returns though serial port (using ft232). At that time it is working as in my simulation in Proteus. But when I am connecting to GSM module the program is not working...
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.