-
-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
sisCOM modules SIM7xxx series #76
Comments
While none of these are currently supported, I have access to a SIM7080G so I'll be able to try that one out at some point. |
That's perfect it's the newest one, and the sample code is in python. So that's the better option. Thanks i'll be following |
@FGMGIT Have you gotten a SIM7080G to work? I was able to do a couple I do have a Cat M1 SIM in it, so I should be able to connect once I get it configured. It was just too frustrating to send AT commands to manually, so I stopped trying. I can try again. I'm hoping to hear that someone else has seen it work, though. |
Hi @fhunleth yes I'm using NB-IoT band, are your SIM provider giving you the APN automatically if not you need to setup using AT+CGDCONT=1,"IP","your.apn.com". And also you can force the band Cat-M or NB-IoT by using AT+CMNB=2 SIM7080G would chose LTE-NB network and AT+CMNB=1 is Cat-M network or AT+CMNB=3 for both of them. I'll copy the lines of the python code sample in the waveshare wiki adding the lines for set the APN and check for IP.
This is the sample for the mqtt.py but it is working also on the tcp.py sample they provide with my first 4 lines added. Regarding the UART issue I don't know exactly what is the problem. I was able to test it using:
And then using minicom:
press CONTROL+A E to echo the commands. If I use only the setup waveshare propose I'm having UART issues in Raspberry Pi Zero W also with AT commands. Please let me know if it helped, or can I give you some more advice as it took a long time to get it working as well, but the main problem was related to the SIM provider that needs to activate my SIM for NB-IoT. It does not come by default. |
Thanks for all of the info. You gave me a couple ideas of things I might have done wrong. I will try again. |
Great thank you. |
HI @fhunleth any advance with the test? Please let me know if I can help with anything. |
Sorry, I got busy with adding automatic power management support for the Quectel modems and that took all of my time. The SIM7080G is sitting on my desk. I'm not sure that it's far off. My recollection was that some other process (login prompt, kernel logging, or something) was interfering with the UART, and that if I fixed that, it would probably work. With all that I've read about the modem, I honestly think that after AT commands can be reliably sent back and forth, it's probably not much different from the other modems. I'm seriously trying to catch up with so many OSS projects, I'm not sure when I'll get to try next. I'd suggest giving it a try and if you can get AT commands working with Circuits.UART reliably - (AT -> OK working reliably would be sufficient) that would be a huge help. Or if you can put a logic analyzer on the UART (or anything else to capture it), and give me hints has to what's interfering, that would save me a lot of time and I might be able to push the rest of the port more quickly. |
That sounds good, please have a look on the Elixir forum about Circuits. I’m stuked setting up my environmental and let see if I can start testing. |
Hi Frank, I have been doing tests with Circuits.UART without result and without receiving any communication in ttyS0 or ttyAMA0 As I mentioned before, it seems that in Raspberry Pi Z the default port associated with GPIO 14 and 15 serial communication is ttyS0 and what worked for me on raspbian was to disable the console service of the ttyS0 port by stopping the service with I have also seen in Nerves that in "config.txt" it is overlaying ttyAMA0 on ttyS0 with According to the documentation that I have read to use serial communication over GPIO without problems it is necessary to deactivate the console, which also according to the Waveshare documentation is necessary through https://spellfoundry.com/2016/05/29/configuring-gpio-serial-port-raspbian-jessie-including-pi-3-4/ https://www.raspberrypi.org/documentation/configuration/uart.md https://www.waveshare.com/wiki/SIM7080G_Cat-M/NB-IoT_HAT I have tried to modify So I don't know where to continue testing. I think the key is to disable the serial port console, is there any way in nerves to stop this service or run |
Hello again @fhunleth , could please point me, what do you think could be wrong according to your comment. I have tried to test again with same result nothing coming out from ttyAMA0 with the sample use in Circuits.UART documentation. If you can give some direction or sample method to use in that particular case I can try to test. |
Sorry, I really don't have time to help out on this right now. I'd recommend switching to a supported modem (the Quectel BG96, EC96, EG96 all have multiple users here) so that you can see a working setup and use it as a reference. |
I've successfully tested the SIM7600 using the configuration of the Quetcel EC25 on a rpi4 this is part of the dmesg
asking for the info I got:
|
hey @nadsat nadsat, do you have to do this to make work?
i am trying to implement the SIM800L but the ppp port dont show as a interface on vintagenet. i already enabled a lot of stuff in my custom_rpi3, the moden is setup on a protoboard. via Elixircom i can talk to the moden, but vintagenet dont up the interface. +CONFIG_PPP=m when i run cmd "pppd", i have an error that tell me to set "mknod /dev/ppp c 108 0" and i see this is on source code of vintagenetmobile here https://github.com/nerves-networking/vintage_net_mobile/blob/main/lib/vintage_net_mobile.ex#L148 i need to create something in /etc/ppp/options ? https://www.linuxjournal.com/article/2109 this works i dont try to remove the command.txt lines and other stuff, can u give me some gotchas, or just point to right north? |
Hi @gabrielmancini I didn't do anything special apart from including the right modules. The SIM7600 and EC25 are really similar (almost identical set of AT commands) that's why making it work was straightforward. |
@nadsat your modem must be attached on usb? how up the wwan interface? |
Yes, it was attached to a USB port. When I tested, VintageNetMobile used ppp behind the scenes for the EC25 (in my case SIM7600) and I didn't do anything related with wwan0. I wonder if you are using a newer version of VintageNetMobile because AFAIK latest versions use qmi for some modems and if you are using that configuration and your modem doesn't support qmi probably it won't work. |
@nadsat thanks for reply, but i have a question here, to test the moden u use the usb port, but when go to production, the modem will comunicate via usb too? the question here is, how i implement a gprs modem without the usb port to comunicate. vintage_net_mobile/lib/vintage_net_mobile.ex Line 132 in 21377bd
so i understand i need to up this interface, but i dont know how in this gprs modem |
@gabrielmancini I use a hat (sixfab). I used de configuration of the EC25 which uses ttyUSB2 and ttyUSB3
maybe you need https://github.com/nerves-networking/vintage_net_mobile#custom-modems |
Hi, what about support for SIMCom chipsets. This from Waveshare, there are some other manufacturers of board for Raspberry using that chipset.
[SIM7000E NB-IoT HAT] (https://www.waveshare.com/wiki/SIM7000E_NB-IoT_HAT 1)
[SIM7080G Cat-M/NB-IoT HAT] (https://www.waveshare.com/wiki/SIM7080G_Cat-M/NB-IoT_HAT 1)
[SIM7600G-H 4G HAT] (https://www.waveshare.com/wiki/SIM7600G-H_4G_HAT)
The text was updated successfully, but these errors were encountered: