You are reading a single comment by @Gordon and its replies. Click here to read the full conversation.
  • What baud rate are you connecting with? You'll need 9600 baud (the default).

    The best way to test is when connected with Bluetooth you can run the commands:

    Serial1.on('data',d=>print("Serial>",JSO­N.stringify(d));
    Serial1.println("Hello");
    

    So you can see if any data is being received and can try pushing data.

    As @MaBe says you'll need to apply power to the puck while it is connected to the FT232R (which is plugged into USB). Enabling the Serial port uses quite a bit of battery power so Puck.js only does it when it's sure there is a connection.

    Or you can also try enabling it manually with:

    Serial1.setup(9600,{rx:D29,tx:D28});
    
  • I'm using the defaults when I pick the device in Serial2, I think it's something like 9600,8,N,1 ? I can check tonight to be sure, but I know I was using at least 9600 baud, 8 bits, and no parity.

    I'll have to try the first script set you gave me later tonight as well, but I did try Serial1.println("blah") and got nothing.

    Shouldn't

    Serial1.setup(9600,{rx:D29,tx:D28});
    

    be

    Serial1.setup(9600,{rx:D28,tx:D29});
    

    ?

About

Avatar for Gordon @Gordon started