Skip to content

Advices about serial connection to the Astra module #16

Description

@Balou866

Hello,

Thanks for this fun project !!

Not really an issue, but as a first timer setting a serial connection, I had great troubles getting the connection between the scooter and my laptop.

I started with Putty, wich was getting me only an "error 31" , whatever I was trying.
Then I tried CoolTerm, wich seemed to have more settings with serial connections.

I spent maybe 2 hours messing with every combinations I could try.

What has finally been working was this very specific combination :

  • disabling the FIFO ability of the RS232 USB adapter in the device manager (still no idea what this is 😅)
  • disabling flow control
  • but leaving on "DTR on " and "RTS on" at "inital line states when Port opens"
  • setting the terminal mode in "Line mode"
  • initiating a first connection with baudrate= 9600 , disconnect, THEN connect at baudrate=115200 (I had an error 31 if I tried directly with 115200)

After this very awkward and raging process, I finally managed to get a viable connection, and could set $IPAD1, and everything is working perfect as it should !

Question : at this point, I suspect my physical connection might probably be in cause, as it was a very clunky DIY (soldered some salvaged metal pins to a DB9 RS232 breakout board), but I'm wondering what would have been the correct software + settings you would advise ? It might help a noob like me in the future 😂

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions