Announcement

Collapse
No announcement yet.

Connecting to BBSHD - WinChipHead CH340 USB2Serial chip supported? [SOLVED]

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

    Connecting to BBSHD - WinChipHead CH340 USB2Serial chip supported? [SOLVED]

    Update 3 August 2019:: Finally success!! For anyone looking to connect with a Mac, here's what worked for me.
    • Installed a VM running Win10 Enterprise 90-day trial.
    • Installed CH341SER drivers for WCH340 USB2Serial module.
    • Within Win10 Device Manager, ran update driver which updated the driver to 3.5.2019.1
    • Ran the Blitip version of Penoff's Bafang programming software as Administrator (this may not be necessary)
    • Battery off. Connect to cable. Connect to Mac (accept device connection to Win VM). Battery on. Fire up Blitip app and Connect
    • The connection should be instantaneous and display Firmware data etc.
    ---
    Hi,

    I've recently got a 12H error (current sense error) after riding with a new Luna controller for a couple of weeks using shipped settings. Before I pull this off the bike and replace I am hoping to investigate and update the power settings to something milder and hopefully avoid the issue.

    The display (750c) still powers off the controller so I would expect the programming cable to connect. I bought a cheap unit from China which uses a USB2Serial module identified as QinHeng WinChipHead CH340. They're often used in Arduino clones so there are resources online to support them. As I don't have a PC I downloaded drivers for Mac OSX and have tried to connect to the BBSHD using two Windows apps (one in Wine and another using a virtual VM with WIn v10 installed) with PC versions of the drivers installed. In both cases the device was mapped to a COM port and the TX port would pulse when I clicked the connect button but no RX traffic was observed.

    Eventually I did a loopback test of just the cable with a terminal app and it failed so I purchased a replacement identical module and re-soldered that onto the cable. This passes a loopback test and echoes keyboard input but when I connect to the BBSHD same thing... TX pulsing but no RX data. I've done continuity tests on the pins on the cable to confirm that the wiring is correct (i.e. TX<-> RX and RX<-->TX, jumpered P+ and PL).

    Has anyone successfully used this cable/chipset? If the display fires and shows engine data, should the controller software connect also? Is virtualisation a possible issue?Click image for larger version  Name:	CH340_wired.jpg Views:	1 Size:	143.1 KB ID:	90717
    Last edited by mp52; 08-02-2019, 04:54 PM.

    #2
    Perhaps this link will help. Seems to be very popular today!

    https://electricbike.com/forum/forum...ming-cable-diy



    Regards,

    T.C.
    See my completed Magic Pie V5 rear hub motor E-Bike build HERE.

    Comment


      #3
      Thanks - that was one of my source references going into this. I really just need a clear steer on whether anyone has had success with this particular chipset. I'm happy the serial device itself checks out it just doesn't seem to communicate with the Bafang controller.

      Comment

      Working...
      X