TinyCircuits Forum

TinyCircuits Products => TinyDuino Processors & TinyShields => Topic started by: yossisun on August 11, 2015, 07:18:21 PM

Title: Is the ANY way I can connect non-tinyduino i/o to the tinyduino processor?
Post by: yossisun on August 11, 2015, 07:18:21 PM
Is it possible?

For example - adding a simple push button? connecting piezo buzzer?

Or even more complex example - wiring it to a simple lcd?

Thanks.
Title: Re: Is the ANY way I can connect non-tinyduino i/o to the tinyduino processor?
Post by: TinyCircuits on August 13, 2015, 05:22:24 PM
Yes!  This is definitely possible.  There are several different proto board options that expose the IO pins and let you either use screw terminals (The Terminal Block TinyShield), or solder points.  You can use this to hook up external sensors, buzzers, buttons, LEDs, etc.

Thanks,

Ken
TinyCircuits
Title: Re: Is the ANY way I can connect non-tinyduino i/o to the tinyduino processor?
Post by: RojBlake on January 10, 2016, 07:30:22 PM
I need this, too. Will the proto board allow me to connect external buttons that control the same functions as the four built-in tiny screen buttons? I'm making an external control panel and I'd like that option. If so, are there examples/schematics?
Title: Re: Is the ANY way I can connect non-tinyduino i/o to the tinyduino processor?
Post by: tastewar on January 12, 2016, 12:01:39 PM
Remember that even if you can't hook up the buttons to the same pin as the TinyScreen buttons, given that what any button does is defined by your software, in general you ought to be able to make two electrically independent buttons perform the same action...
Title: Re: Is the ANY way I can connect non-tinyduino i/o to the tinyduino processor?
Post by: RojBlake on January 31, 2016, 02:25:37 PM
That is very helpful, thanks. I've received my proto board and I'm trying to figure out how to wire my buttons into the flappy birds program. I'm a novice at this so it will take some trial and error. I suspect that I need to route a voltage (5V?) through the button and into a digital input on the board, then find the appropriate piece of code to hack. If anyone has any tips on this please chime in.
Title: Re: Is the ANY way I can connect non-tinyduino i/o to the tinyduino processor?
Post by: RojBlake on January 31, 2016, 05:49:39 PM
I managed to get an external button working. After a bit of digging, I found out that the 3.5 connection doesn't do anything and that you should connect any externals to VCC, not 5V so it can switch between usb and battery power. Hope that helps somebody.
Title: Re: Is the ANY way I can connect non-tinyduino i/o to the tinyduino processor?
Post by: Ben Rose on February 02, 2016, 02:40:11 PM
Right- VCC is where external power should be used.

However in the case of a button, 'standard' practice is to connect one side to ground- then you can use the processor's internal pullup resistors to bring the input up when the button is inactive. Keep in mind the reverse logic in the code.

Ben