# Mini Bluetooth Keypad

**URL:** <https://forum.core-electronics.com.au/t/mini-bluetooth-keypad/15417>\
**Category:** Uncategorized\
**Created:** [21 October 2022 06:08 UTC](https://forum.core-electronics.com.au/t/mini-bluetooth-keypad/15417 "2022-10-21T06:08:29Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Matt209395](https://avatars.discourse-cdn.com/v4/letter/m/7ab992/32.png) [@Matt209395](https://forum.core-electronics.com.au/u/Matt209395)\
**Post date:** [21 October 2022 06:08 UTC](https://forum.core-electronics.com.au/t/mini-bluetooth-keypad/15417/1 "2022-10-21T06:08:29Z")

</div>

Hey All,

Hoping the brainstrust can point me in the right direction!

I’m finalising the build of my Racecar and looking to incorporate some further functionality on my steering wheel. I have already repurposed some of the wiring from the stock car (2015 Renault Megane RS275) but looking to add 5 more buttons to control the Pi based lap timing/data/telemetry system.

Space is very limited and I’d prefer to not have to run a curly cable and additional wiring from the wheel. My idea is to use an appropriate BT module that can be programmed to emulate the 5 additional keys, just not sure where to start. I am relatively handy with electrical stuff (soldering is probably a bit average!) and do have some reasonable tech skills, but certainly no programmer.

I have momentary buttons ready mounted just need the smart bits in as small a form factor as possible, bonus would be the ability to run off 12v as there is power in the steering mounted button housing.

 ![20220928_161730](https://canada1.discourse-cdn.com/flex028/uploads/core_electronics/original/2X/2/23a673ed25d34efcadb004844fac3f56e4514767.jpeg)

Anyone done anything like this or have thoughts on the best approach?

Cheers,  
Matt

---

<div class="post-metadata">

**Author:** ![James84823](https://avatars.discourse-cdn.com/v4/letter/j/3bc359/32.png) [@James84823](https://forum.core-electronics.com.au/u/James84823)\
**Post date:** [21 October 2022 11:29 UTC](https://forum.core-electronics.com.au/t/mini-bluetooth-keypad/15417/2 "2022-10-21T11:29:32Z")

</div>

Hi Matt,

One approach you could take would be to re-use the existing wires to transmit power and CANBUS to a microcontroller on the wheel. This would definitely be enough for sending button pushes, but could be expanded to encoders, pots, or even displays if you were keen enough.

I know teensies have an excellent CAN library and peripheral, but they are hard to come by these days.

Maybe a simpler protocol than CANBUS could work, but you definitely want something with electrical and data robustness (RS485 and checksums)

Let me know if you have any questions on this as I’ve delved pretty deep into this for my university racing team.  
-James

---

<div class="post-metadata">

**Author:** ![Matt209395](https://avatars.discourse-cdn.com/v4/letter/m/7ab992/32.png) [@Matt209395](https://forum.core-electronics.com.au/u/Matt209395)\
**Post date:** [23 October 2022 21:23 UTC](https://forum.core-electronics.com.au/t/mini-bluetooth-keypad/15417/3 "2022-10-23T21:23:40Z")

</div>

Thanks James, problem with CANBUS is there is no connectivity from the Raspberry Pi to the CANBUS system in the car, the Pi is just a display for the data system. I guess you could go to the trouble of setting up a controller etc, but it’s a complicated approach, plus I am out of spare wires on the wheel.

A small bluetooth setup seems to be a simple approach, just need some ideas on what’s required.

Cheers,  
Matt

---

<div class="post-metadata">

**Author:** ![James](https://yyz2.discourse-cdn.com/flex028/user_avatar/forum.core-electronics.com.au/james/32/4400_2.png) [@James](https://forum.core-electronics.com.au/u/James)\
**Post date:** [24 October 2022 05:46 UTC](https://forum.core-electronics.com.au/t/mini-bluetooth-keypad/15417/4 "2022-10-24T05:46:46Z")

</div>

Hi Matt,

Perhaps a simpler option would be a PISO shift register? You’d only need 4 wires (VCC, GND, CLK, DATA). Then your microcontroller can take that serial data and record it:  
[https://learn.sparkfun.com/tutorials/shift-registers](https://learn.sparkfun.com/tutorials/shift-registers)

> **[shiftIn() - Arduino Reference](https://www.arduino.cc/reference/en/language/functions/advanced-io/shiftin/)**
>
> The Arduino programming language Reference, organized into Functions, Variable and Constant, and Structure keywords.

> **[CD74HCT597E | Digi-Key Electronics](https://www.digikey.com/en/products/detail/texas-instruments/CD74HCT597E/38729)**
>
> Order today, ships today. CD74HCT597E – Shift Shift Register 1 Element 8 Bit 16-PDIP from Texas Instruments. Pricing and Availability on millions of electronic components from Digi-Key Electronics.

Let me know what you think!  
-James

---

<div class="post-metadata">

**Author:** ![Matt209395](https://avatars.discourse-cdn.com/v4/letter/m/7ab992/32.png) [@Matt209395](https://forum.core-electronics.com.au/u/Matt209395)\
**Post date:** [26 October 2022 04:26 UTC](https://forum.core-electronics.com.au/t/mini-bluetooth-keypad/15417/5 "2022-10-26T04:26:46Z")

</div>

To be honest just seems a little too complex for a simple issue. I was thinking of a solution based on one of these [Adafruit Feather M0 Bluefruit LE | ADA2995 | Core Electronics Australia](https://core-electronics.com.au/adafruit-feather-m0-bluefruit-le.html) as it will fit inside the enclosure and I could run a small battery. It’s not “mission critical” but would like it to be reliable without over engineering it. It doesn’t need to integrate into the car CANBUS or be more complex than a simple bluetooth connection.
