TinyCircuits

Pinout documentation

Pinout documentation
« on: April 29, 2013, 10:48:53 PM »
I would like to see some more documentation as to pinouts and IO instructions. Being new to Arduino and this board being a cut down version it would be nice to have some rudimentary discussion of how to hook thinks up.

I did have success in a small program to use the button to toggle between a blinking yellow and green led's on ports 1 and 2 switch on 3.  I used a pull down resistor on the switch after seeing the usual floating behavior and resultant weird behaviors but a little of my old digital logic background and that got straightened out.

I next want to start working with the motor controls. I have a radio shack micro motors and a vibration motor and a server to play with.

Is there any good wiring examples of using the motor boards for these devices?

Re: Pinout documentation
« Reply #1 on: May 06, 2013, 01:31:39 PM »
Seconded. I recently received my TinyLily boards and several motor boards. I have a few cool ideas for projects that I'd like to try building, but I'm a little hesitant to start wiring up the motor boards. They are so tiny and there are no instructions. Please, try to set up some basic instructions for all your current boards! And I'm really looking forward to a tiny accelerometer board for TinyLily!

Re: Pinout documentation
« Reply #2 on: June 29, 2013, 10:22:42 PM »
Sorry for taking so long to get better documentation up.  We're getting a number of new things up over the next week or two, one of the first ones is for the TinyLily Motor board documentation and some examples of how to use it.  Here's our first draft of this, we plan to update this with some photos and a video early next week. 

http://tiny-circuits.com/learn/tinylily-motor-board/

Thanks,

Ken

Ds1

Re: Pinout documentation
« Reply #3 on: July 04, 2013, 01:29:53 PM »
Awesome, thanks! I am as well in need of some documentation. I wanted to do this project as a simple test with my TinyLily, but the number of pins with the board they use and the TinyLily are different, so I haven't exactly figured out how to do it yet. I also don't want to break anything on my wicked-cool little microprocessor the first day I got it, haha. http://lilypadarduino.org/?page_id=552

Re: Pinout documentation
« Reply #4 on: July 07, 2013, 10:41:45 PM »
The emails after the kickstarter kept soliciting the submission of projects that had used the hardware. That doesn't make much sense when there's not even a pinout available to base a project on.

I spent some time this afternoon trying to get the TinyLily to work, with mixed results. Here's the pinout as best I've found so far. The challenge was increased by the silkscreen being incomplete.



Starting at just left of the top, and going clockwise:
+3.54V
GND
A0 - analog input
A1 - analog input
A4 - analog input
A5 - analog input
GND
+3.54V
0 doesn't do anything
1 is +3.54V
2 is digital I/O as pin 2, I've only tried O
3 - digital I/O as pin 3 with PWM output (you can analogWrite to it a value 0-255)

I figured out that pin 3 is pwm only because it's used that way in the motor shield demo on this site.

I'm guessing the board is not working correctly, it seems like 0 and 1 should be digital I/O as well.

Ds1

Re: Pinout documentation
« Reply #5 on: July 08, 2013, 11:44:14 AM »
You can see the "official" Pinout in the TinyLily's sales page. Just go under photos and scroll through to see the 3D renderings, which are clearly marked. I don't have the link handy so you'll have to go find it yourself.

Re: Pinout documentation
« Reply #6 on: July 08, 2013, 04:35:06 PM »

Re: Pinout documentation
« Reply #7 on: July 08, 2013, 04:39:29 PM »
0 and 1 are marked as dual-purpose in the schematic (can be D0/D1 or tx/rx), so maybe you have Serial I/O enabled on them in the loaded sketch?

http://tiny-circuits.com/wp-content/uploads/2012/09/ASM2101_Rev2.pdf

Re: Pinout documentation
« Reply #8 on: July 08, 2013, 05:15:46 PM »
The sketch is super basic, was just using something similar to the usual blink code to test the digital outputs. Unless the serial port has to be expressly disabled, that's not it.

Re: Pinout documentation
« Reply #9 on: July 08, 2013, 05:46:44 PM »
I finally found that PDF on the fourth tab of the TinyLily shop page in the bottom of a locked filing cabinet stuck in a disused lavatory with a sign on the door saying 'Beware of the Leopard'.

Perhaps a link to it from the "Learn" page would be prudent as well.

Ds1

Re: Pinout documentation
« Reply #10 on: July 08, 2013, 10:32:31 PM »
Hey that PDF is helpful! Although I have no idea what to use that information for, haha.

Re: Pinout documentation
« Reply #11 on: September 18, 2013, 11:53:01 PM »
Does anyone know what the 6 pads in the middle connect to?

Re: Pinout documentation
« Reply #12 on: October 03, 2013, 10:08:35 AM »
Does anyone know what the 6 pads in the middle connect to?

I believe they are the other way of accessing the processing chip directly, without the USB board.

Re: Pinout documentation
« Reply #13 on: October 03, 2013, 10:17:34 AM »
Starting at just left of the top, and going clockwise:
+3.54V
GND
A0 - analog input
A1 - analog input
A4 - analog input
A5 - analog input
GND
+3.54V
0 doesn't do anything
1 is +3.54V
2 is digital I/O as pin 2, I've only tried O
3 - digital I/O as pin 3 with PWM output (you can analogWrite to it a value 0-255)

I figured out that pin 3 is pwm only because it's used that way in the motor shield demo on this site.

I'm guessing the board is not working correctly, it seems like 0 and 1 should be digital I/O as well.

I tried some simple variants of the blink sketch to try and understand the board schematics (this is my first Arduinoish device).

I agree that tab zero does nothing - it seems to be continuously powered.

The tab marked 1, 2, and 3 are referred to by the same numbers, so to make an LED blink when connected to tab 1, replace the "int led = 13;" with "int led = 1;".

I hope this is helpful for others.  Now I need to learn how to do the same thing with the analogue pins.

Re: Pinout documentation
« Reply #14 on: October 05, 2013, 07:24:28 AM »
You can hook up more lights by using "Charley plexing" You can use this schematic:
http://tiny-circuits.com/wp-content/uploads/2012/09/ASD2411_Rev3.pdf