Hi there,
Yes, it's possible. The best way to accomplish your goal is to solder buttons separately to a proto TinyShield and then change the pins in the software. I helped someone do this over email previously so I'll copy over the helpful parts: - including some text on the two classic types of buttons:
A momentary button can work :
- Normally off: With the normally-off switch, there's no connection till you push the button. Most push button switches are used this way. Examples include doorbell buttons, cell phone keys and garage door openers.
- Normally on: Here the switch conducts normally, but interrupts the circuit when you press on it. This is more specialized, and may be used in conjunction with a wiring trick. For example, connecting a normally-on switch in parallel with a light bulb will light the bulb when the button's pushed; otherwise, current will flow through the switch, leaving the bulb off.
For the typical type of button, normally off, or a push-to-make, button, it should work to connect one lead to GND and the other to a digital pin. VCC could be used, but it makes more sense to use GND in my mind since there are 4 breakout pins to GND on the proto board for an easier time soldering.
Here is how I wrote the code attached to work for TinyTV remote button functionality - you might have to adapt this idea to the Tiny Video Player functionality:
#define powerBtn 2
#define muteBtn 4
#define volUpBtn 6
#define volDownBtn 7
#define chanUpBtn 9
#define chanDownBtn A2
I tried to pick pins that wouldn't be too crowded together, but let me know if you're having issues with the pin placements. You should be able to just change the pin value at the top of the code, lines 80-85.
If you're not sure how to upload the code, you can follow the directions found here:
https://learn.tinycircuits.com/Processors/TinyScreen%2B_Setup_Tutorial/ - Just make sure to open the main Arduino code file from inside the attached folder so that you can see all of the tabs of the different files when you open it in the Arduino IDE. If you get lost here, just let me know!
I recommend guiding your soldering based on the colored pinout image on the photo reel:
https://tinycircuits.com/collections/proto-boards/products/proto-board-tinyshieldI was testing with pin 2 and from the silkscreen I kept thinking pin 2 was on the edge of the board, but it's 1 row in – and I work here! Very humbling experience. Don't make my same mistakes!
Code is attached [@ future users: you can only see forum message attachments if you're logged in]
Cheers,
Réna