# Pinout for 8G5022C0502 SWITCH THUMBWHEEL ROCKER HALL

**URL:** <https://forum.digikey.com/t/pinout-for-8g5022c0502-switch-thumbwheel-rocker-hall/43012>\
**Category:** Switches\
**Tags:** navigation-switches-joysticks, documentation\
**Created:** [July 10, 2024, 1:05am UTC](https://forum.digikey.com/t/pinout-for-8g5022c0502-switch-thumbwheel-rocker-hall/43012 "2024-07-10T01:05:34Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Schwing](https://avatars.discourse-cdn.com/v4/letter/s/ac91a4/32.png) [@Schwing](https://forum.digikey.com/u/Schwing)\
**Post date:** [July 10, 2024, 1:05am UTC](https://forum.digikey.com/t/pinout-for-8g5022c0502-switch-thumbwheel-rocker-hall/43012/1 "2024-07-10T01:05:34Z")

</div>

Good day,

Received rocker switch. Has four wires (red, black, green, white) but no pinout in documentation. I’m assuming red 5v, black gnd, green signal, white redundant signal but am not getting anything on my microcontroller in the analog or hall effect slot. A pinout would be much appreciated.

Thanks,

---

<div class="post-metadata">

**Author:** ![Ryan\_2724](https://sea2.discourse-cdn.com/digikey/user_avatar/forum.digikey.com/ryan_2724/32/1716_2.png) [@Ryan\_2724](https://forum.digikey.com/u/Ryan_2724)\
**Post date:** [July 26, 2024, 8:24pm UTC](https://forum.digikey.com/t/pinout-for-8g5022c0502-switch-thumbwheel-rocker-hall/43012/2 "2024-07-26T20:24:13Z")

</div>

Hi Schwing ,

Thank you for contacting DigiKey. The wiring diagram is listed below per [datasheet](https://www.digikey.com/en/htmldatasheets/production/5417439/0/0/1/8g5022c0102). If this wiring still doesn’t work for you, we will contact our product manager.  
 ![image](https://global.discourse-cdn.com/digikey/original/3X/f/1/f14b71afe150355fdf2c097ca08d769a25c86ee9.png)

Please let us know if you have further questions.

---

<div class="post-metadata">

**Author:** ![Schwing](https://avatars.discourse-cdn.com/v4/letter/s/ac91a4/32.png) [@Schwing](https://forum.digikey.com/u/Schwing)\
**Post date:** [July 26, 2024, 8:34pm UTC](https://forum.digikey.com/t/pinout-for-8g5022c0502-switch-thumbwheel-rocker-hall/43012/3 "2024-07-26T20:34:50Z")

</div>

It did not work. There’s also a discrepancy, the switch I received was just coloured wires, black, red, green, white. I used the common nomenclature and it did not work. I would like to return the switch and be issued a refund. This is over two weeks now.

---

<div class="post-metadata">

**Author:** ![Ryan\_2724](https://sea2.discourse-cdn.com/digikey/user_avatar/forum.digikey.com/ryan_2724/32/1716_2.png) [@Ryan\_2724](https://forum.digikey.com/u/Ryan_2724)\
**Post date:** [July 26, 2024, 9:02pm UTC](https://forum.digikey.com/t/pinout-for-8g5022c0502-switch-thumbwheel-rocker-hall/43012/4 "2024-07-26T21:02:26Z")

</div>

> [@Schwing](#):
>
> red 5v, black gnd, green signal, white redundant signal but am not getting anything on my microcontroller in the analog or hall effect slot.

Our product manager has been contacted regarding the wiring diagram and we will notify this thread what we find out. Regarding customer returns, please use [our returns link.](https://www.digikey.com/mydigikey/returns)

Please let us know if you have further questions.

---

<div class="post-metadata">

**Author:** ![Ryan\_2724](https://sea2.discourse-cdn.com/digikey/user_avatar/forum.digikey.com/ryan_2724/32/1716_2.png) [@Ryan\_2724](https://forum.digikey.com/u/Ryan_2724)\
**Post date:** [July 30, 2024, 2:59pm UTC](https://forum.digikey.com/t/pinout-for-8g5022c0502-switch-thumbwheel-rocker-hall/43012/5 "2024-07-30T14:59:45Z")

</div>

Our product manager confirmed the wiring per datasheet is correct and is not your standard wire coloring. It’s possible the unit can be damaged if wired incorrectly, which may explain why it did not work after wiring it according to the datasheet.

For reference, please see this diagram & related post:  
 ![image](https://global.discourse-cdn.com/digikey/original/3X/b/f/bf3b196fa2a3affe37ec1ad0d8b3b2224ba0ce34.png)

> [@Sensata-Delta Tech Wiring Guide](https://forum.digikey.com/t/sensata-delta-tech-wiring-guide/43657):
>
> This is regarding part numbers [8G5022C0502](https://www.digikey.com/en/products/detail/sensata-deltatech/8G5022C0502/10314510) | [8G5022C0106](https://www.digikey.com/en/products/detail/sensata-deltatech/8G5022C0106/10314524) | [8G5022C0102](https://www.digikey.com/en/products/detail/sensata-deltatech/8G5022C0102/10314509) This is the wiring guide for the above part numbers [image] Please see attachment. [8G5022C0500-GW\_05\_2 (1).pdf](https://forum.digikey.com/uploads/short-url/xRQFbCHuJ1LDZDa8IIVyw9uaxhn.pdf) (230.8 KB)

> **Applicable Part Numbers**
>
> 2149-8G5022C0502-ND  
> AR5 S 40/40 XN -/- -/- 1 V 200 GREY CAP  
> 2149-8G5022C0502  
> 2149-8G5022C0106-ND  
> AR5 S 40/40 XN D26/26 L32/32 1 V 200 RED CAP  
> 2149-8G5022C0106  
> 2149-8G5022C0102-ND  
> AR5 S 40/40 XN D26/26 L32/32 1 V 200 GREY CAP  
> 2149-8G5022C0102
