Disclaimer: I have no connection to adafruit.
A friend and me want to build a little project. We want to connect an arduino to a thermal printer and then print out little fortune-cookie like messages, when a button is pressed. The whole setup should not be stationary and thus we need external, mobile power like batteries.
Since this is our first time using an arduino as well as a thermal printer and we have no clue about electronics, I am asking for help to set everything up without frying the arduino or the thermal printer.
We are using a standart arduino uno rev3 and the Adafruit Tiny Thermal Reciept Printer.
First question: Setting up the power supplies
So the idea was to power the arduino via a 9v battery pack to it's 2.1mm DC port. I think this should work, right?
What I am confused about is the Adafruit Tiny printer. It says it takes 5-9 V, 1.5-2A. Can I just hook up a 9V battery packand clip the caples to the printer? Or what setup do I need so that the printer will recieve enough amperes when printing?
And how would I connect both tools to a single ( larger ?) battery pack? So that we can turn the power off easily?
Second question: Finding a good button compatible with an arduino and setting it up in the project.
So we have a gerneal idea of how things should work. Somehow we need to connect the button to the arduino which then can register a click via one of it's pins. This click I can then register with my code and from there on things get easy for me. But getting to this point is hard for us.
We don't know which buttons will work and neither how to connect it to the right pin. Which pin should we adress? Digital? Analog? Does the button need an external power supply as well? Since otherwise the arduino would not register a change of current on a pin, right? Or do we need to connect the button to the whole circuit?
I do a lot of high language engineering and have no real idea about circuits and electronics and my friend is more of a craftsmen so we really appreciate your ideas, setups and help in general!
I am not sure if this is too much to ask but a sketch of the whole setup with a single power source and button would be awesome! Thanks. Really!