connect Cyton board with Android mobile application

Hello everyone,

Sorry if this topic is already posted, I didn't see anything while looking!
Am I wondering about how can I connect the Cyton board with my android application without using Wifi Shield?

Thanks.


Comments

  • wjcroftwjcroft Mount Shasta, CA
    Wejdan, hi.

    The Cyton RFduino radios speak an unusual Bluetooth protocol named Gazelle. It's not compatible with Bluetooth Low Energy or Bluetooth Classic.

    Most Android mobiles these days support usb host mode, also called OTG adapter. Plugging the Cyton dongle into the OTG adapter will appear as a serial port on the Android device.


    Once you have the serial stream from the Cyton, you can send SDK commands and receive the data stream.

    Regards,

    William

  • Sorry do you mean that the Cyton Board not support Bluetooth Low Energy (BLE)?
  • wjcroftwjcroft Mount Shasta, CA
    See these two links,



    As you can see, there are tradeoffs, only 2 channels, lower sample rate, and some packet loss.

    If you can use the OTG cable with your mobile (for example a tablet, with good battery), you will get the full Cyton 250 Hz sample rate and number of channels.

    ----

    If you are into firmware hacking, take a look at the ESP32 radio chip, available on breakout boards. This take the place of the RFduino on the Cyton mainboard. And the ESP32 supports Bluetooth Classic SPP Serial Port Protocol. Which all Android devices also support.

    Regards,

  • @wjcroft thanks for your response!

    But to be clear I don't care about losing packets, my goal is just to send a sign from Cyton board to my android application in a specific time after signals processing(in Matlab). Do you think the BLE is enough to do that? 
  • wjcroftwjcroft Mount Shasta, CA
    If 2 channels at 125 Hz works for you, then give AJ's alpha code a try. You would likely be the first to use it.

    If you want to take the easiest route, use the OTG cable and Cyton dongle with your Android (tablet recommended for larger battery).
  • wjcroftwjcroft Mount Shasta, CA
    "my goal is just to send a sign from Cyton board to my android application in a specific time after signals processing(in Matlab)"

    I did not catch the Matlab comment on your previous post. How is Matlab involved, when you are just using an Android mobile and Cyton?
Sign In or Register to comment.