botletics / SIM7000-LTE-Shield

Botletics SIM7000 LTE CAT-M1/NB-IoT Shield for Arduino
https://www.botletics.com/products/sim7000-shield
GNU General Public License v3.0
477 stars 215 forks source link

compatibility with LILYGO® TTGO T-SIM7000G #211

Open Macfly opened 3 years ago

Macfly commented 3 years ago

anyone has try to make this code work with the LILYGO® TTGO T-SIM7000G Module ESP32-WROVER-B board?

https://www.aliexpress.com/item/1005001625046691.html?spm=a2g0o.cart.0.0.456e3c00qx7Cgj&mp=1

DrMarty commented 3 years ago

Hi Macfly, I've started getting this working on TTGO-T-SIM7000G: https://github.com/DrMarty/TTGO-T-SIM7000x At this point, it's still a bit of a hack as I haven't linked to the Botletics repo (i've just copied the code directly into the project). I'll be trying to clean this up over the next few days and fleshing it out to include more functionality.

Macfly commented 3 years ago

thanks for the response. I'll check it out!

DrMarty commented 3 years ago

A quick update... I've just pushed my lastest updates to my github repository (see above). It's still very bare-bones but I'm much happier with the structure. Specifically I've removed all references to Botletics and Adafruit_FONA. There were a number of things about the FONA code that I didn't like and because Botletics is built on top of that, changing one meant ripping gaping holes in the other. In the end the FONA code has far too much overlap between the SIMCOM hardware and the AT command processing, so I've abstracted them apart from each other and created two separate classes - SIM7000x and ATCOM. I plan to create my own PCB and possibly use alternate modem chips so I wanted to keep the hardware and AT command processors separated.

Macfly commented 3 years ago

great! what modem chip are you thinking about? SIM7070G?

DrMarty commented 3 years ago

Actually i haven't put a whole lot of thought into it yet. I picked the SIM7000G because it has global band coverage, LTE Cat-M1, NB-IoT as well as GPS / GNSS and this gives me the broadest possible combination of features I may use. But if I can drop one or a couple of those features and go down in price then maybe I will. I also want the option of going with Quectel or U-Blox

Macfly commented 3 years ago

I have time finally but your repo looks down. Did you give up trying to make it work?

DrMarty commented 3 years ago

@Macfly Am still working on it but I've had to 'close source' it for now until we get our product out the door.

ishdemon commented 2 years ago

@DrMarty ah bummer. I am using same board but having trouble getting it to work.. I am unable to get the board detected by the library even though I have set the correct RX TX pins.. It always fails saying could not found Fona in modulesetup

adam2809 commented 2 years ago

@DrMarty Any updates on this? Would you mind sharing your work since I have the same problem and I don't want to duplicate efforts.