cristiansteib / Sim800l

Library sim800l for Arduino UNO (maybe sim900l work)
226 stars 79 forks source link

_readSerial problem #13

Closed mihaiistrati closed 7 years ago

mihaiistrati commented 7 years ago

Hello, i have a project "Wireless Sensor Network" and i need to do some operations with SIM800L, the problem is that i am using RF24 radio transceiver, and it uses 2,7,8,11,12,13 digital pins, but i opened the library and i've changed the RX and TX pins for free Arduino pins. When i'm connecting the SIM800 platform with no other periferals, it works great, but in my project I figured that the problem is in the _readSerial method. I don't know what is the problem, but actually the method SIM.available() is always 0. And the methods without reading the buffer are working with no problem (like callNumber()). How can i solve this problem. Thanks.

mihaiistrati commented 7 years ago

Actually that is the collision of the SPI pins and my softwareSerial pins... so i've changed pins from 10,11 to 5, 6. works pretty good. Before didn't work because i still use pin 10.