when I run the simulation nothing happens on the virtual terminal.help me please
Since your LCD is working properly I assume that you were able to successfully compile the code and obtain the hex file.
The reason for your Virtual terminal to show nothing might be due to some wrong settings in with your baudrate or Crystal frequency.
Kindly check the following
1. Have you changed any parameters from the original code?
2. Ensure baudrate is set as 9600 in virtual terminal
3. The crystal frequency of both your external Crystal and your MCU both should be set as 20Mhz.
If it does not work still, try the simple USART program from here
https://circuitdigest.com/microcontroller-projects/uart-communication-u…
and check if your virtual terminal could display something
i am facing the same problem as well. instead of AT the virtual terminal display Ÿ. Never change the code, baudrate is set as 9600 in virtual terminal, crystal frequency of external Crystal and MCU both are set as 20Mhz. can you send the hex file ?
tq :)
You can find the hex file from here.
https://github.com/Aswinth-raj/Interfacing-PIC-with-ESP8266
Kindly let me know if this works, so that I can tail back to where the bug is.
Thanks,
Aswinth
tested but still unknown character displayed instead of AT. can you share the proteus file as well ?
im planning to use an esp8266 (master) to start 4 pic timers interfacing with an esp8266 (slave) each at the same time wirelessly. may i know if esp8266 is capable of doing this task ?
appreciate your guidance !
hi, i have tried your project on proteus and it worked already. but when i build it it doesnt work, baudrate is 115200. i read articles saying that you need ot flash your esp8266 first to go into programming mode. do i need to do that? or i just connect and it should work already?
Yes LYE,
Before you can interface PIC with ESP8266, you should make sure your ESP is functioning properly. You can check that by using it in simple AT command mode.
If the AT mode is working properly then you wont have to flash it. Else flashing is required
Jean Marck
Permalinkhttps://circuitdigest.com/sites/default/files/inline_users/u4453/proteus.PNG
here is the screenshot
- Log in or register to post comments
Joined September 08, 2017 2Friday at 11:14 AM