Skip to content

Trouble communicating with Cicada via serial #2

@Jaribeau

Description

@Jaribeau

Hey!
I've been playing with the Cicada (2g v1.2) (thanks to the Okra guys in Phnom Penh for hooking us up!) - and have been struggling to get any proper response from my AT commands to it.

  • I'm connected to the Cicada from my mac via usb
  • I've been using the examples - mostly serial_linux.cpp - and a serial monitor to try to get a nice OK back from the SIM. In both cases I'm getting garble back.
  • When I first start it up, the IMEI and a few other pieces come cleanly amidst a whole pile of garble (see the snippet below)
                                                                                              T      *T      T       ¥
                                                                                                                                                                                         T&┴       ┌
         T      :U!MT6261,1418B08SIM800C24_BTUU!␊SDC_T␋└␊O┤├H▒┼␍┌␊⎼UM␊
                                                                      Z>L1⎽␋└_R␊⎽␊├_A┌┌=>␊│⎻␊␌├┴⎺┌├:4,*⎼␊⎽┤┌├┴⎺┌├:0,┬▒⎼└:0,▒⎻⎻:0,IF:0▒┌U%␊
                                                                                                                                          IMEI:861230047519380U1␊
                                                                                                                                                                 "RL =1, GEA = 0│70, SM =1, PFC = 1!7U5␊
             (MS GPRS = 1, └┤┌├␋⎽┌⎺├ =12, ␊│├ ␍≤┼ = 1U1␊!$[SIM_DRV] 10 : °°°°°°°°, 0, 0, 0, 0^T U'
                                                                                                  @
                                                                                                   U'&
                                                                                                      @%
                                                                                                        U)
                                                                                 

or if I'm running the serial_linux example:

Sending command: AT+cpin?
10 bytes written
31 bytes received
Received message: w�ӥ

Sending command: AT+cpin?
10 bytes written
31 bytes received
Received message: $
 �

What I've tried:

  • Running a few different examples
  • Sending raw AT commands via serial
  • Changing baud rates in my serial monitor, and in serial_linux
  • It feels like a baud rate issue, but I've all standard rates to no avail. I'm primarily using 115200 w/ 8 data bits.

I'm hoping it's something simple that I'm overlooking. If you have any suggestions on what to try would be wonderfully appreciated.

I'm out for an hour or two, but then I'm going to try from a linux machine, and hopefully an ESP if I can get my hands on one today.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions