Shop OBEX P1 Docs P2 Docs Learn Events
Any Propellerheads have Arduino Shields? — Parallax Forums

Any Propellerheads have Arduino Shields?

Nick McClickNick McClick Posts: 1,003
edited 2009-11-04 18:05 in Propeller 1
I've been working on a Platform / Shield adapter so you can use Arduino Shields on the Propeller Platform (James of Lil Brother) did most of the design work, I just added a few labels on the silkscreen). This would provide physical compatibility and an onboard ADC for interfacing with the analog signals that some shields generate.

Attached is the PCB design. The IC is a Maxim MCP3208 for ADC converesion. I wanted;
1 - To get any thoughts / suggestions / feedback on the design before I run prototypes

2 - To find any Propeller Users who would like to 'beta test' the adapter. You'd need some Arduino shields, but I'll provide the PCB, MCP3208 and sockets. The adapter is meant to fit on a Propeller Platform Module, but you can also use it on a breadboard. If you're interested, just shoot me a PM with the list of shields you have.

What do you think?

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Gadget Gangster - Share your Electronic Projects

Post Edited (Nick McClick) : 10/26/2009 3:14:52 AM GMT
608 x 673 - 33K

Comments

  • James LongJames Long Posts: 1,181
    edited 2009-10-26 02:58
    Nick,

    I was looking at the added silkscreen, and there is something missing. The CLK for the ADC is not on there.

    The pins from left to right should be Din (P12), Clk(P13), Dout(P14), CS/SHDN (P15).

    Just wanted to make sure the pin out is right.

    James L

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    James L
    Partner/Designer
    Lil Brother SMT Assembly Services

    Are you addicted to technology or Micro-controllers..... then checkout the forums at Savage Circuits. Learn to build your own Gizmos!
  • Nick McClickNick McClick Posts: 1,003
    edited 2009-10-26 03:05
    Good catch - fixed the labeling of the ADC (attached).

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Gadget Gangster - Share your Electronic Projects

    Post Edited (Nick McClick) : 10/26/2009 3:12:41 AM GMT
  • James LongJames Long Posts: 1,181
    edited 2009-10-26 03:06
    Nick McClick said...
    Good catch - fixed the labeling of the ADC (attached).

    I guess I should have done that.........dropped the ball!!

    James L

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    James L
    Partner/Designer
    Lil Brother SMT Assembly Services

    Are you addicted to technology or Micro-controllers..... then checkout the forums at Savage Circuits. Learn to build your own Gizmos!
  • Nick McClickNick McClick Posts: 1,003
    edited 2009-10-26 03:10
    Naw - you got it right, but I missed it.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Gadget Gangster - Share your Electronic Projects
  • James LongJames Long Posts: 1,181
    edited 2009-10-26 03:16
    Nick McClick said...
    Naw - you got it right, but I missed it.

    Yea....but I should have put down the silkscreen labels anyway........so I can't take credit there.

    James L

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    James L
    Partner/Designer
    Lil Brother SMT Assembly Services

    Are you addicted to technology or Micro-controllers..... then checkout the forums at Savage Circuits. Learn to build your own Gizmos!
  • SRLMSRLM Posts: 5,045
    edited 2009-10-26 04:36
    I'm confused. Is this intended to be used with the Propeller? If so, I think you should add the option of 2 more MCP3208 chips. There is an excellent object already that has support for the 3 chips with just 5 pins:

    obex.parallax.com/objects/403/
  • James LongJames Long Posts: 1,181
    edited 2009-10-26 04:57
    SRLM said...
    I'm confused. Is this intended to be used with the Propeller? If so, I think you should add the option of 2 more MCP3208 chips. There is an excellent object already that has support for the 3 chips with just 5 pins:

    obex.parallax.com/objects/403/

    Well it is and it isn't. The board is an adapter which lets anyone who has a Propeller Platform Module from Gadget Gangster use an Arduino Shield directly. This board sits on top of the Propeller Platform Module, and lets an Arduino Shield plug directly in.

    We didn't put any more ADC's on, for there is not much room to access the inputs. An Arduino Shield will cover most if not all of the board (this board is sandwiched between the PPM and the Arduino).

    J13 was added just to use up the extra 2 spots on the single MCP ADC. It will probably be left as holes....and let the user wire directly to it for access reasons.

    There are a number of Arduino shields out there........so the adapter was designed. Some of the Arduino Shields have analog outputs, hence the addition of the ADC.

    James L

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    James L
    Partner/Designer
    Lil Brother SMT Assembly Services

    Are you addicted to technology or Micro-controllers..... then checkout the forums at Savage Circuits. Learn to build your own Gizmos!
  • Nick McClickNick McClick Posts: 1,003
    edited 2009-10-26 05:05
    James beat me to it! There are a TON of cool arduino shields, so this adapter makes it easy to connect those shields to a Propeller. The Arduino only has 5 Analog ports so that's why there's only one ADC.

    the Arduino Shields have odd spacing and aren't compatible with a breadboard, so you could also use this adapter to connect a shield to a breadboard or regular protoboard (not sure how many people want to do that, but it's an option).

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Gadget Gangster - Share your Electronic Projects
  • James LongJames Long Posts: 1,181
    edited 2009-10-26 05:18
    Nick McClick said...
    James beat me to it! There are a TON of cool arduino shields, so this adapter makes it easy to connect those shields to a Propeller. The Arduino only has 5 Analog ports so that's why there's only one ADC.

    the Arduino Shields have odd spacing and aren't compatible with a breadboard, so you could also use this adapter to connect a shield to a breadboard or regular protoboard (not sure how many people want to do that, but it's an option).

    Posting competition.....I rarely win.

    James L

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    James L
    Partner/Designer
    Lil Brother SMT Assembly Services

    Are you addicted to technology or Micro-controllers..... then checkout the forums at Savage Circuits. Learn to build your own Gizmos!
  • Nick McClickNick McClick Posts: 1,003
    edited 2009-10-26 20:02
    Nobody? Well, I didn't expect many prop users to have arduino hardware (I don't have any), but I thought maybe a few folks would [noparse]:)[/noparse]

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Gadget Gangster - Share your Electronic Projects
  • CounterRotatingPropsCounterRotatingProps Posts: 1,132
    edited 2009-10-26 20:11
    > nobody?

    Nick,

    You have to let a thread stew longer than 24hrs [noparse]:)[/noparse])

    I have one and have often eyed more. As you point out, there are many cool "shield" devices. However, you spotted their Achille's heel - they don't breadboard easily - and that bugs me. More fiddling, less time to do something.

    Perhaps this will entice Propheads to 'absorb' some Arduino goodies? Any idea on price yet?

    thanks
    - Howard

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
  • SciNemoSciNemo Posts: 91
    edited 2009-10-26 20:11
    I've got several arduinos, but no shields. I love them when I want to hash out a quick idea and see if it works, so I never really invested in shields because it is usually better to design my own solution than use a pre-built one.

    Atmega168's are cheap and easy to replace within an Arduino. The only reason I haven't switched over to the Propeller for rapid prototyping, debugging, and general quick projects is that they are much more expensive, and the dev boards I have do not allow me to replace just the chip.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Not the fish.
    sites.google.com/site/bitwinproject/
  • Toby SeckshundToby Seckshund Posts: 2,027
    edited 2009-10-26 20:42
    I had an Arduino in an old beta cassete case with a bread board glued to its lid so that it could be opened like a book played with and the shut for safe storage (or whenever management aproached)

    The sane case has evolved into a "DemoBoard" but the bread board is on the outside with the bottom 30 (columns of 5) getting P0 ..... and the six terminals 0V, +12V, N/C, +5V, +3.3V.

    Links are provided so that SND, VDU, VGA, KBD or mouse can be deselected or left to come out onto sockets on the sides. More of abrick but great for quick lash ups.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Style and grace : Nil point
  • Nick McClickNick McClick Posts: 1,003
    edited 2009-10-26 22:29
    @counterrotatingprops
    I'm the same way - I might have picked up an arduino shield, but it's really only good for the arduino. Can't use it on a breadboard or a protoboard. Hopefully, this helps. I'm not a huge Arduino fan, but there are a lot of shields out there that are pretty cool. For price, it will be fairly inexpensive - probably $10-$15.

    What shield were you looking at?

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Gadget Gangster - Share your Electronic Projects
  • schillschill Posts: 741
    edited 2009-10-28 17:54
    This is what I've been testing and planning to use for my interface between a prop and arduino shields:

    http://www.nkcelectronics.com/freeduino-protoboard-breakout-shield-arduino-compatible.html

    This board essentially converts the awkward spacing of an arduino shield to two evenly space (0.1") rows of pins.

    My plan is to have male headers on the bottom of this board plug into female headers in the middle of a propeller platform board. Female headers on top of the board will accept the arduino shields. I figured I'd use some extra female headers to create end points for jumpers between the shield headers and the platform board headers.

    I have used one of these plugged into a solderless breadboard stuck in the middle of a propeller platform board with no issues.

    Since there are so many arduino shields out there, including bare proto boards, I think it makes a lot of sense to have some form of interface with them. Many of them don't have any "arduino-specific" hardware on them. I find the proto boards are useful for quick prototypes - whether they are driven by a prop or an arduino.

    Also, bear in mind that the analog pins on the shield can also be used as digital inputs/outputs. The arduino "standard" using these for analog does not preclude using them as normal pins. Any generic interface between an arduino shield and something else, like the prop platform, should allow you to make a direct connection to these pins without going through an ADC.

    Post Edited (schill) : 10/28/2009 5:59:42 PM GMT
  • Nick McClickNick McClick Posts: 1,003
    edited 2009-11-04 05:03
    I got protos in the mail on Friday and they look pretty good! I don't have the ADC's yet (I should get them in a few days), but I put one together and hooked it up to my battle-worn Propeller Platform. I still have a few unclaimed prototypes if anyone would like to give one a try.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Gadget Gangster - Share your Electronic Projects
    936 x 600 - 123K
    800 x 601 - 122K
  • James LongJames Long Posts: 1,181
    edited 2009-11-04 05:18
    Nick McClick said...
    I got protos in the mail on Friday and they look pretty good! I don't have the ADC's yet (I should get them in a few days), but I put one together and hooked it up to my battle-worn Propeller Platform. I still have a few unclaimed prototypes if anyone would like to give one a try.

    Well, just seeing the Shield plugged in relieves me of the spacing. I'm sure you checked, but I'm always worried when dealing with critical spacing issues.

    James L

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    James L
    Partner/Designer
    Lil Brother SMT Assembly Services

    Are you addicted to technology or Micro-controllers..... then checkout the forums at Savage Circuits. Learn to build your own Gizmos!
  • photomankcphotomankc Posts: 943
    edited 2009-11-04 05:25
    Nice. More options == good. I'm really liking the Propeller Platform. Hoping to order a couple more bare PCBs to build up for some other projects.
  • Nick McClickNick McClick Posts: 1,003
    edited 2009-11-04 18:05
    @james - fits like a glove!

    @photo - exactly, this just adds options for connecting hardware to the Propeller. The connectors are also pretty sturdy, too. Also, the Adapter has standard spacing, so you can plug it into a breadboard, or to a Prototyper module. Most Propeller folks don't have an Arduino module right now (why would they?), but there are a lot of cool shields out there that are cheap, and this will hopefully make it easy to take advantage of what's out there.

    @schill - I figured that most Arduino modules are going to use the Analog in as digital I/O. I want to offer a module that doesn't require any re-soldering when you switch modules, so that's why the ADC is the default method of connection. There are a couple of other small changes I'd like to make, but I'll collect all the feedback and see what people thing.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Gadget Gangster - Share your Electronic Projects
Sign In or Register to comment.