logo elektroda
logo elektroda
X
logo elektroda

Bluetooth interface for STAG 4 or QBOX gas installation

weryfany 28764 37

TL;DR

  • Built a compact Bluetooth interface for STAG 4 or QBOX gas installations, combining a STAG plug, an HC-05 Bluetooth module, and a universal remote-control housing.
  • A reed switch and a nearby magnet reprogram the interface between STAG 4 and QBOX modes, with power from a 7805 stabilizer or a 4.9V step-down converter.
  • The original interface cost about PLN 80, and any laptop with Bluetooth replaced the old RS-232 cable setup.
  • It corrected settings and updated drivers in multiple vehicles, and the STAG QBOX controller can communicate with an Android phone app for parameter viewing.
Generated by the language model.
ADVERTISEMENT
Treść została przetłumaczona polish » english Zobacz oryginalną wersję tematu
📢 Listen (AI):
  • #31 18469846
    neo_84
    Level 15  
    Posts: 294
    Help: 1
    Rate: 96
    MACIEK_M wrote:
    Optoisolation makes sense when it comes to a diagnostic cable
    Exactly, there is no point in doing optoisloation and everything is battery powered anyway. For signaling, it is probably best to use a 2-color LED connected to RX TX via a transistor so as not to overload the data line.
  • ADVERTISEMENT
  • #32 19360892
    Folxs
    Level 13  
    Posts: 331
    Help: 5
    Rate: 68
    Can you use such an interface based on HC-05 or there JDY-30 update, for example STAGA GOFAST? Is it better to always do "via the USB cable" when updating the driver?
  • ADVERTISEMENT
  • #33 19360967
    MACIEK_M
    Level 29  
    Posts: 1179
    Help: 111
    Rate: 461
    Quote:
    Can you use such an interface based on HC-05 or there JDY-30 update, for example STAGA GOFAST?


    I did - no problems.
  • ADVERTISEMENT
  • #34 19361078
    Folxs
    Level 13  
    Posts: 331
    Help: 5
    Rate: 68
    Thanks for the answer :)
    weryfany wrote:
    And the final one after all modifications:

    Bluetooth interface for STAG 4 or QBOX gas installation Bluetooth interface for STAG 4 or QBOX gas installation Bluetooth interface for STAG 4 or QBOX gas installation

    And the end result:

    Bluetooth interface for STAG 4 or QBOX gas installation Bluetooth interface for STAG 4 or QBOX gas installation Bluetooth interface for STAG 4 or QBOX gas installation
    [/ syntax]


    And this keychain case can you get it on Aliexpress? I searched for "small enclousure electronics" but didn't find it
  • ADVERTISEMENT
  • #35 19361168
    enhanced
    Level 43  
    Posts: 10427
    Help: 961
    Rate: 876
    The housing is the smallest problem, look for something to keep it tight and that's it. You won't shoot it.
  • #36 19361578
    weryfany
    Level 27  
    Posts: 1020
    Help: 59
    Rate: 146
    I updated the driver without any problems.
    As for the housing, it is a gate remote control housing purchased at a local electronics store for less than PLN 2
  • #37 19362365
    Folxs
    Level 13  
    Posts: 331
    Help: 5
    Rate: 68
    I tied up the housing with Kapton tape :) I was thinking to fit it into a kinder-egg but it doesn't come in :P
    The gate remote control housing is a cool idea :)
  • #38 20294665
    makeintosch
    Level 11  
    Posts: 79
    Rate: 16
    I have a CCY BT Basic Qbox and a Stag 4-Qbox Basic - are they compatible?
    I have a problem with the connection (a message appears about the lack of a driver in the program) - I followed all the steps as in the manufacturer's instructions.
    If they don't match, can I remake it somehow (a magnet was mentioned in the first post)?

    Edit: my mistake, I was using AcGas Synchro, on Ac Stag it works fine.
📢 Listen (AI):

Topic summary

✨ The discussion revolves around the development and functionality of a Bluetooth interface for gas installations, specifically for STAG 4 and QBOX models. The interface utilizes an HC-05 Bluetooth module, a STAG plug, and a 7805 voltage stabilizer, allowing users to reprogram settings wirelessly. Participants share experiences regarding configuration, communication issues, and compatibility with various gas controllers, including Lovato and Zenit. The importance of using proper voltage levels and potential solutions for connection problems, such as using level converters and optoisolation, are also highlighted. Users express satisfaction with the ease of use and the advantages of a wireless setup over traditional wired connections.
Generated by the language model.

FAQ

TL;DR: DIY Bluetooth interfaces for STAG 4/QBOX cost ≈ PLN 20 instead of the PLN 80 OEM unit; "I updated the driver without any problems" [Elektroda, weryfany, post #19361578] Build uses an HC-05 at 9600 or 57600 baud and a 5 V regulator.

Why it matters: Saves money, removes dangling cables, and lets you tune LPG maps from a phone.

Quick Facts

• OEM Bluetooth dongle price: ~PLN 80 [Elektroda, weryfany, post #17741134] • DIY parts cost: approx. PLN 15–25 (HC-05, 7805/step-down, plug, case) [Elektroda, weryfany, post #17741134] • STAG 4 baud rate: 9600 8N1 [Elektroda, weryfany, post #17741134] • QBOX / GoFast baud rate: 57600 8N1 [Elektroda, MACIEK_M, post #17886237] • Recommended supply range: 7–16 V car rail → 5 V regulator (≤ 50 mA) [Elektroda, weryfany, post #17747760]

Which gas ECU models work with a re-programmed HC-05?

Confirmed: STAG 4, STAG QBOX, Go Fast and CCY BT Basic QBOX when set to the correct baud rate [Elektroda, weryfany, #17743387; #19360967]. Others like Zenit may need different commands and were not fully tested [Elektroda, weryfany, post #17743387]

What AT commands do I need for a STAG 4 interface?

  1. Enter AT mode (key pin high).
  2. Send AT+UART=9600,0,0
  3. Send AT+PSWD=1234
  4. Send AT+NAME=AC STAG This keeps the default 8N1 framing and preserves ECU compatibility [Elektroda, weryfany, post #17741134]

How do I switch the dongle between STAG 4 and QBOX?

Install a reed switch on the HC-05 KEY pin. Bringing a magnet closes the switch, letting you re-flash the baud setting to 57600 for QBOX, then remove the magnet to return to normal mode [Elektroda, weryfany, post #17741542]

Why does my connection drop after a few seconds?

Voltage sag or noise on the 5 V rail often causes resets. Replace 78L05 with a buck step-down rated ≥ 500 mA and add 100 µF filtering; users report stable links after the swap [Elektroda, MACIEK_M, post #18468145]

Do I need level shifting between ECU (5 V) and HC-05 (3.3 V)?

Yes. Use a simple 1 kΩ–2 kΩ divider on ECU TX → HC-05 RX, and connect HC-05 TX directly; it has 3.3 V-tolerant inputs. Over-voltage killed one user’s ISA2 RX/TX lines [Elektroda, zbyz, post #17747638]

Is opto-isolation required?

No. Bluetooth already provides galvanic isolation; extra optos add cost and latency. Keep good wiring and a regulator; "there is no point in doing optoisolation" [Elektroda, neo_84, post #18469846]

Can I safely flash ECU firmware over Bluetooth?

Yes, several users updated STAG drivers wirelessly without issues [Elektroda, weryfany, post #19361578] Ensure phone or laptop battery is ≥ 50 % to avoid dropouts; a failed flash can brick the ECU (edge case).

How many connections can the ECU log before locking?

Some non-STAG units count connections and lock when the counter is full, but STAG controllers do not implement this protection [Elektroda, jawa1993, #17741929; weryfany, #17742161].

What’s the current draw of the finished dongle?

HC-05 draws ~30 mA when connected and peaks at 50 mA during discovery [HC-05 datasheet]. A linear 7805 wastes ≈ 0.3 W at 14.4 V, hence the recommendation for a 90 % efficient buck converter [Elektroda, weryfany, post #17747760]

How do I check the required baud rate if I only have a wired cable?

Connect the OEM USB interface, open STAG Gas Synchro, and note the COM port speed shown in the status bar. Use the same rate when programming HC-05 via AT commands [Elektroda, MACIEK_M, post #17770975]

Quick 3-step build recap?

  1. Wire ECU TX/RX/GND to HC-05 through a voltage divider and 5 V regulator.
  2. Enter AT mode, set baud (9600 or 57600) and name/pin.
  3. Enclose in a small remote-key housing and pair with phone/laptop. Build time: under 30 minutes [Elektroda, thread synthesis].
Generated by the language model.
ADVERTISEMENT