Hello everyone !
I must make a Flowcode program that sends fairly simple SMS. Problem: I have the error 254 after having an error 255. When I had the error 255, I put a 5 sec delay in my program, and all the error increased to 254. I I don't ee where is the problem because the simulation works fine ... I send you my FCF file, I use Flowcode 5
EB066-01 GSM module is connected to the port C, and the LCD is connected to port A. The SIM card is a SIM card Bouygues, but we tested a Orange and SFR SIM Card -> Same result. Even without a SIM card, there was an error 254.
Thank you in advance !
PS: I deleted my phone number from the program
Error 254 with EB066 and PIC16F877A
-
- Posts: 3
- Joined: Mon Apr 25, 2016 2:16 pm
- Contact:
- LeighM
- Matrix Staff
- Posts: 2178
- Joined: Tue Jan 17, 2012 10:07 am
- Has thanked: 481 times
- Been thanked: 699 times
- Contact:
Re: Error 254 with EB066 and PIC16F877A
In your project you will need to change the GSM component connections for RTS and CTS.
CTS should be Port C bit 5 and RTS should be Port C bit 2
Also please check that the EB066 patch link is in position B
Details are in the EB066 datasheet.
Hope that helps and gets it working.
CTS should be Port C bit 5 and RTS should be Port C bit 2
Also please check that the EB066 patch link is in position B
Details are in the EB066 datasheet.
Hope that helps and gets it working.
-
- Posts: 3
- Joined: Mon Apr 25, 2016 2:16 pm
- Contact:
Re: Error 254 with EB066 and PIC16F877A
Now i have the return value 0 :p
But i don't have any SMS at all
But i don't have any SMS at all
- LeighM
- Matrix Staff
- Posts: 2178
- Joined: Tue Jan 17, 2012 10:07 am
- Has thanked: 481 times
- Been thanked: 699 times
- Contact:
Re: Error 254 with EB066 and PIC16F877A
Hi,
After the initialize, it is best to wait in a loop until a connection is made with network before you attempt to send a message.
Use the macro CheckNetworkStatus
After the initialize, it is best to wait in a loop until a connection is made with network before you attempt to send a message.
Use the macro CheckNetworkStatus