Removing the RFduino chip from Cyton mainboard

mgpro94mgpro94 Israel
edited January 2018 in Cyton
Hi,

I want to use the Cyton board without the BT But with Uart (Rx Tx) directly to my Controller (Arduino in my case)
I removed the BT Chip from the board, and connect the Rx,Tx,GND wires from the microcontroller direct to the Arduino
I manage to communicate with the Cyton Board with Serial Port in my PC through the Arduino
but when i try to run the Python code (https://github.com/OpenBCI/OpenBCI_Python), with the "print" plugin, it not working well...
when i try to see the serial data with monitor (AccessPort) i noticed that i cant see the Start Bit (0xA0)..

any one tried something like that?
any other way to connect the board to Arduino without the BT?

Comments

  • looking for similar solution...
    did you made any progress?
  • wjcroftwjcroft Mount Shasta, CA
    You don't have to remove the RFduino from the mainboard in order to stream to a PIC / chipKIT serial port. This can be done with commands built into the Cyton firmware V2 and V3. There is another serial port (TX RX pins) on the PIC processor that can receive the serial output Cyton data stream.

    One way this has been used in the past is with a FT232H breakout board (using FTDI chip) that converts the PIC serial TX RX pins to a usb serial port. Then combined with a usb (high voltage optical) isolator (in line), the usb plugged into a laptop looks like a COM port. This was the technique used to connect the Cyton with a hardwired usb line.

    There are usb host shields available for Arduino; Raspberry has usb host ports builtin. This thread (rather long) has the details of how we did the serial port connection to the Cyton, with V1 firmware. It is a lot easier now with the 2nd serial port capability / commands that AJ @pushtheworld built into the V2+ firmware.


    If you do a direct connect with serial port, you should definitely have some type of isolation if your computer at the other end is mains powered. If battery powered, less of an issue.

    William
  • wjcroftwjcroft Mount Shasta, CA
    The other huge disadvantage of removing the RFduino from the mainboard, is that you will no longer be able to easily update the mainboard firmware over the air.

  • wjcroftwjcroft Mount Shasta, CA
    OK, here is the thread mentioning the V3 mods to allow data stream output to serial1 port. serial0 is the port used to talk with the RFduino. This mod is not in V2, only V3 and above.


    AJ @pushtheworld, am I correct that the command used for this is "/1" ?


    I think the pin mapping is pin 11 is TX and 12 is RX.
  • hi,
    Thank you very much!, will go to do some HW :)

Sign In or Register to comment.