Hologram Cellular Expansion Docs?



  • I had an email a couple of weeks ago saying that Onion were working on some documentation and it would be ready "in a couple of weeks". So hopefully there will be something official along shortly.



  • Ohh - I have mine going but haven't installed the SDK yet, so I'll do you a trade.. šŸ™‚

    As with any USB device, they have a VID (Vendor ID) and PID (Product ID). The linux device will see the VID and PID but you will have to tell it what hardware this is.. Is it a keyboard? Mouse? How can it communicate with the Cellphone modem? Looking at the docs for the UBlox Sara-201, it says that it has a few connections but one of them is an AT command set interface. Historically (if you are old enough to remember the 9600 baud modems we used to access the internet with in the early 90's...) modems with an AT command set are based on serial links. So in this case I took a guess and just said that the device is a serial device.

    To get the PID and VID, you need to do the following:

    root@Omega-F5C5:/usr/bin# lsusb
    Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 001 Device 003: ID 1546:1102 U-Blox AG
    Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    root@Omega-F5C5:/usr/bin#
    

    So, device 3 is the U-Blox cell phone module. The ID 1546:1102 id the VID and PID. CD to /etc/modules.d and edit the file usb-serial with the contents, "usbserial vendor=0x1546 product=0x1102 maxSize=2048"

    This includes the VID and PID from the command, "lsusb" above and tells the omega that there is a serial port.

    root@Omega-F5C5:/etc/modules.d# cd /etc/modules.d
    root@Omega-F5C5:/etc/modules.d# cat usb-serial
    usbserial vendor=0x1546 product=0x1102 maxSize=2048
    root@Omega-F5C5:/etc/modules.d#
    

    Install screen with opkg install screen
    then cd to the /dev directory and ttyACM1 should be there

    pipe the port to screen

    screen ttyACM1 <enter>

    and then you are connected to the modem. Try AT <enter> and it should say OK.



  • Very cool! I'll have to mess around with it. I finally got the SIM card the other day (didn't realize that was coming separately), but still no info on how to activate it.



  • @TheLion Woo! Thanks so much! I made the changes to my usb-serial file as you mentioned, rebooted, and I'm able to use the serial AT terminal.

    I'm now using modem-cmd and sms to interface with the modem from Python.

    I still get a usb.core.NoBackendError: No backend available reply error when trying to use the python SDK, and I've troubleshooted that for hours to no avail. Has anyone else had any luck? Hopefully Omega does release docs soon.

    In the meantime, the AT command reference for Ublox modems is located here:
    https://www.u-blox.com/sites/default/files/u-blox-CEL_ATCommands_(UBX-13002752).pdf
    https://www.u-blox.com/sites/default/files/AT-CommandsExamples_AppNote_(UBX-13001820).pdf

    Using that you can directly interact with the modem from screen /dev/ttyACM1 or modem-cmd [command].



  • Has anyone had any luck using this expansion with the Battery Dock? I cannot get mine to turn on when the Hologram Expansion is installed. When the expansion isn't in place, the Omega2+ boots up fine. With it in place, the LEDs flash for a split second then nothing. The dock doesn't haven a LiPo connected at this moment, but I feel that even if it did have a battery, it still wouldn't boot. Do you think I have a defective Hologram Board?



  • @Daniel-OBrien what are you using to power the combination omega2 & hologram?



  • @Douglas-Kryder I have a 5v 2.4A USB wall wart. It has powered the same dock, with a battery attached and the OLED expansion without issue. I don't think it's a power problem. I'm more inclined to believe there is a short somewhere. Or the power dock isn't compatible with the expansion board, which would be weird.



  • I figured it out. I need the battery plugged in in order for it to work. If the battery isn't there, the battery dock doesn't seem to power the hologram board or the Omega2+. When the battery is plugged in, USB power works fine and charges the battery. There must be something on the hologram board that checks for the battery and if it doesn't find it, it doesn't power up?
    Maybe it has more integration with the battery doc than I thought. Which is neat. Now I need more batteries.



  • @Daniel-OBrien I've had really weird issues with the power dock. I can't get it to boot with battery only, most of the time, which I think is a current-draw issue. The Omega will begin to boot and expansions will be powered but then the Omega shuts off mid-boot. I can't run from USB-only unless I'm using a 2.4amp charger, and even that's not guaranteed. I usually NEED a small lipo AND usb for power to work.



  • Some official information is finally here: https://onion.io/2bt-january-2-2018/



  • Since afaik, there's no further production of this module planned, one has to wonder what the point of it is. Apart from being just a tick in the checkbox of promises made during the kickstarter. I mean, it's not like you can plan any future projects to use it - unless you also plan to reverse engineer the module and build it yourself.

    Or have I missed something here?



  • @cas said in Hologram Cellular Expansion Docs?:

    Since afaik, there's no further production of this module planned, one has to wonder what the point of it is. Apart from being just a tick in the checkbox of promises made during the kickstarter. I mean, it's not like you can plan any future projects to use it - unless you also plan to reverse engineer the module and build it yourself.

    Or have I missed something here?

    The docs posted above at least let us use it. For hobbyists that's great.

    For other projects, there are other solutions.



  • @Andrew said in Hologram Cellular Expansion Docs?:

    Some official information is finally here: https://onion.io/2bt-january-2-2018/

    Its not working for me. Well, I get an IP for the module, but connection are going out the wifi connection. I had to do:

    ip route delete default via <gateway from ip route> dev apcli0

    ip route add default via <ip from ifconfig 3g-hologram> dev 3g-hologram

    Can't ssh to it though.


Log in to reply
 

Looks like your connection to Community was lost, please wait while we try to reconnect.