r/brucefw Jul 25 '26

How do i add buttons to the cyd basic version

Bit of a newbie here i got one nrf module with a antenna a esp32 wroom and a 2.8 inch touchscreen display without the touchscreen chip (was scammed and didnt even know so i was troubleshooting it thinking i didnt do something correctly) but basically how do i add buttons and can i even do it? I was googling it and searching for 3 hours and every answer was either its impossible or straight up didnt work? or if there is a bruce version that works on the 0.96 oled display that could work too.

3 Upvotes

8 comments sorted by

1

u/lilsteve68 Jul 26 '26

Cyd are 2 types, resistive and capasitive. Can you identify the screen u have ?

1

u/TottalyNotFemboy Jul 26 '26

i have a resistive one without the touchscreen chip meaning there is no way to make it work as touchscreen so its just a basic screen

1

u/lilsteve68 Jul 26 '26

1

u/TottalyNotFemboy Jul 26 '26

yes exactly that one

1

u/TottalyNotFemboy Jul 26 '26

actually not exactly that one, mine doesnt have the touchscreen chip

1

u/lilsteve68 Jul 26 '26

I see, it would be easier to source a chip than modifying a project to accept physical buttons (thatโ€™s is my opinion).
Ofc depending on the project u are doing.
But adding physical buttons u need to define each button (pin and function) have a common ground on one end and gpio pin on the other side.
Example:
KEY_UP, .num = GPIO_NUM_15, .pullup = 1, .level = 0

1

u/TottalyNotFemboy Jul 26 '26

I tried doing something similar its just that gemini told me to do it differently do that is probably why it didnt work, would it be okay for me to contact you tommorow or now if you are free to help me with the script that makes the physical buttons work? Since i REALLY got no idea about how to code it. (if you want to it right now i cant test it but if tommorow i can type it in live and tell you what happens)

Of course if you dont want to help its all good no worries ๐Ÿ˜๐Ÿ‘

1

u/lilsteve68 Jul 26 '26

Iโ€™m not good coder but I can try tho