Shop OBEX P1 Docs P2 Docs Learn Events
PropKey: USB keychain Prop board (was ...toy...) — Parallax Forums

PropKey: USB keychain Prop board (was ...toy...)

pedwardpedward Posts: 1,642
edited 2012-10-05 06:45 in Propeller 1
If 'PropKey' isn't already taken, I was thinking of calling it that.

Yeah, that's a 300-mil DIP reset button, I've got like 29,000 of them. The LED is a 5mm bi-color unit, just what I had. The FT232RL and EEPROM are on the bottom. It runs off USB and plugs right into the port. 28 I/O pins are brought out, as is Vusb, Vdd, and Gnd. The FT232RL supplies a 6Mhz clock to the XI pin and also supplies 50ma for the chip.

I intend for this to be a key FOB kinda toy, for writing code and perhaps some light hacking. I have a couple more ideas, but it will take a PnP machine to make it economical.

My intention is to sell these or get them manufactured by somone else. I'm still thinking of putting a uSD connector on it, on the bottom side.

For "production" the M44 variant would be more appropriate because it leaves a lot more routing space, and of course an SMD reset and SMD leds.

EDIT: So here is the latest go at this idea, on the end is a Molex Micro SD socket. It's a card edge style, very compact.

The Micro SD socket is on P16-P19, I purposely left the P0-P15 contiguous on the one side of the key.

EDIT: Yet more changes. I took an inventory of components on hand and what I needed to order, changed a package and adjusted the layout slightly. I also replaced the slot with a hole, which will be easier
to make and more robust if it is actually hung from a keychain or lanyard.

The MicroSD socket is the small rectangle with the odd pads on the bottom side. The uSD card should extend over the end of the PropKey a little, so it's easy to grasp and remove.

I haven't wired the card detect pin, and I chose to wire the socket for standard SPI mode and not QSPI, to reduce pin usage.

This is the final revision I think, before I send the design off to have some prototype boards made. Turnaround should be 2 weeks.

I won't have any pricing available for a kit format until a later date. I may also sell bare boards if there is a demand.

EDIT: Here is the latest and greatest revision. The major difference is the addition of a crystal and adjustment of the power trace width.

I read about the caveats associated with the clock generator on the FT232, my main concern was poor stability, since the common use case for this board is in a USB socket.

I think I've beat the design to death and I'm ready to send it off to have a few boards made.

EDIT: This *is* the final design, all of the traces are routed how I want, the power traces are beefy (considering only 50ma is possible) and the 4 pin header is on .100 centers to the main 32 pin layout. I also added more labelling to the bottom, though many of the numbers are obscured by parts, between the top and bottom each pin is clearly labeled.

attachment.php?attachmentid=91367&d=1333589322
attachment.php?attachmentid=91368&d=1333589339
816 x 247 - 50K
812 x 236 - 46K
«134

Comments

  • GordonMcCombGordonMcComb Posts: 3,366
    edited 2012-03-29 19:34
    For those of you considering these Prop sticklets, you might think about a variation that uses a DIP socket EEPROM chip. Why? Consider outlets like MakerShed, where they like to build up kits of the articles they do in the magazine. People could buy the stick, unprogrammed, then add in the pre-programmed EEPROM (not everyone wants to do the programming, and it's FAR cheaper to inventory EEPROMs than full microcontrollers). The same stick could also be used in other projects, simply by swapping out the EEPROM. The Propeller is unique in this regard, so we might as well take advantage of it. Right?

    If there were such a product available, at a reasonable price point, I bet you'd see more articles using the Prop. I know I'd be able to pitch several, and I think there would be a built-in sales channel for the half-DIY crowd -- folks wanting to build, but not yet ready to jump in quite yet with both feet.

    -- Gordon
  • TubularTubular Posts: 4,703
    edited 2012-03-29 19:48
    Nice work Pedward! One way or another, we really must have usb prop sticks, this year...
    I reckon that would fit in one of the usb cases Jazzed and I have discussed (Bud enclosures or New Age Enclosures)

    @Gordon
    The thing about uSD cards is that they can be "programmed" just by a laptop, or at worst a usb card reader from any computer store, using routines already present in the operating system (right click and "send to"). I'd argue that speaks to a wider crowd than those who can program I2C memories.

    Having said that, I personally like the expansion possibilities of DIP8, and the possibilties of "autoscanning" i2c addresses to see what peripherals are attached. We already have Raymans 3AD accelerometer and Vanmunch's gyro. A RTC should be possible and with the new FTDI 'X' chips, I2C<>USB seems possible too.
  • pedwardpedward Posts: 1,642
    edited 2012-03-30 19:50
    Hey, would anyone be interested in one of these as a kit? I have all of the SMD components on hand, reels of them. I could put together kits or sell bare boards, I figure most people would want a finished board or a kit, not a bare PCB. I am also thinking of adding a micro SD socket to the board, Molex has a very compact socket that would be easier to add.

    The Prop is a .8mm pitch and the FT232RL is .65mm pitch, the passives are SOT-23, 0603, 0805, and 1208. The reset button is a nice tactile momentary PTH device. The soldering does present a challenge, but not a huge challenge.

    EDIT: removed shots and put new ones at top.
    838 x 267 - 54K
    832 x 286 - 44K
  • GordonMcCombGordonMcComb Posts: 3,366
    edited 2012-03-30 21:28
    Tubular wrote: »
    @Gordon
    The thing about uSD cards is that they can be "programmed" just by a laptop, or at worst a usb card reader from any computer store, using routines already present in the operating system (right click and "send to"). I'd argue that speaks to a wider crowd than those who can program I2C memories.

    Not what I'm talking about. The EEPROM is shipped to the customer pre-programmed. Two scenarios to consider:

    Scenario 1: A mail order company stocks unprogrammed controller boards, useful for a number of kits. A customer buys a kit that has a certain functionality, and the mail order company drops in the appropriate pre-programmed EEPROM chip.

    Scenario 2: A customer already has a controller board, and now wants to try it in a different kit. He or she orders the parts-only kit (no controller board this time -- saves them money), which comes with a pre-programmed 8-pin EEPROM. They pull out the old chip, and insert the new. The customer doesn't program anything.

    Despite their ease of use, SD and uSD cards are more expensive than 8-pin DIPs, and card readers add to the cost of the controller board. The solution has to be as inexpensive as any other, or else why bother. (However, if there can be a reliable source of very low density uSD or SD cards that cost 40 or 50 cents in quantity, it's certainly an idea.)

    The concept rests on a unique aspect of the Propeller, that its program is external. The majority of other controllers used for these types of kits all have internal flash, which means a lot of excess inventory waiting for a sale. Sellers of these ready-to-go kits may be more willing to try non-Arduino offerings if they can stock generic product that can be easily customized.

    -- Gordon
  • StefanL38StefanL38 Posts: 2,292
    edited 2012-03-31 00:48
    Why should plugging the board into a USB-port and using a "flashing"-software to upload new code into the EEPROM such a big problem for users or distributors?
    best regards

    Stefan
  • User NameUser Name Posts: 1,451
    edited 2012-03-31 05:10
    pedward wrote: »
    Hey, would anyone be interested in one of these as a kit? I have all of the SMD components on hand, reels of them. I could put together kits or sell bare boards, I figure most people would want a finished board or a kit, not a bare PCB.
    I'd be very interested in them as a kit. Seriously, put me down for a dozen.
  • RagtopRagtop Posts: 406
    edited 2012-03-31 05:49
    Would be an interesting pairing with an xbee.
  • RaymanRayman Posts: 14,670
    edited 2012-03-31 06:51
    This looks great! You might consider the FT231X instead of FT232RL though to be smaller and cost less...
  • pedwardpedward Posts: 1,642
    edited 2012-03-31 11:46
    Rayman wrote: »
    This looks great! You might consider the FT201X instead of FT232RL though to be smaller and cost less...

    The FT201X series doesn't have DTR, so you can't do reset. I consider this a big omission, or did I miss something?
  • jazzedjazzed Posts: 11,803
    edited 2012-03-31 11:49
    pedward wrote: »
    The FT201X series doesn't have DTR, so you can't do reset. I consider this a big omission, or did I miss something?

    Apparently RTS reset is supported in the latest Propeller Tool. I'm also adding it to SimpleIDE.
  • RaymanRayman Posts: 14,670
    edited 2012-03-31 11:53
    Sorry, I meant to say FT231X. It does have DTR. FT230X is even cheaper, but it doesn't have DTR...
  • pedwardpedward Posts: 1,642
    edited 2012-03-31 14:38
    I have revised the design to remove the bi-color LED and put a single TX/RX LED near the USB connector. This is to make space for a micro SD socket. Molex has a nice, compact, socket here: http://search.digikey.com/us/en/products/0473093751/WM3974CT-ND/2421666
    The socket is about 5mm deep, which makes it easy to put towards the end of the board, without taking up too much space.

    For people that are interested in kits, would you like a *complete* parts kit, or would you like to source some parts locally?

    I've got a neat idea of how to provide a kit while making it very obvious which parts are what and to do a quick QA so no parts are left out.
  • User NameUser Name Posts: 1,451
    edited 2012-03-31 15:57
    pedward wrote: »
    For people that are interested in kits, would you like a *complete* parts kit, or would you like to source some parts locally?
    Speaking just for myself, I've got SMD Props, LEDs, thru-hole switches, and a broad selection of SMD passives. But I'd be interested in having the other ICs supplied as well as a socket for the micro SD - particularly if you were ordering some anyway.
  • pedwardpedward Posts: 1,642
    edited 2012-03-31 18:37
    I added the latest revision to the top post, it has a micro SD socket and I moved to a single SMD LED for USB activity.

    I tried to make the layout spacious so that it could be soldered by hand and I haven't used any parts smaller than 0603. I made the pads for the SB socket bigger so they had some space to wick solder up from.
  • Duane DegnDuane Degn Posts: 10,588
    edited 2012-03-31 20:31
    User Name wrote: »
    Speaking just for myself, I've got SMD Props, LEDs, thru-hole switches, and a broad selection of SMD passives. But I'd be interested in having the other ICs supplied as well as a socket for the micro SD - particularly if you were ordering some anyway.

    I'm in the same boat as User Name as far as parts are concerned.

    Depending on what you end up selling these for, I may be interested in a couple.
  • BeanBean Posts: 8,129
    edited 2012-04-01 06:52
    Is the large rectange on the end a cut-out ? If so you will have to radius the inside corners (I'd recommend 1mm).
    Inside routing is usually expensive. I'd recommend doing a 4 or 5 large holes instead.

    Bean
  • pedwardpedward Posts: 1,642
    edited 2012-04-01 15:29
    I have posted the final design in the top message, unless there is some compelling reason, this version will be sent off tomorrow for a prototype run.
  • jazzedjazzed Posts: 11,803
    edited 2012-04-01 15:40
    How thick is your board?
  • pedwardpedward Posts: 1,642
    edited 2012-04-01 16:00
    jazzed wrote: »
    How thick is your board?

    63 mils is what I'm prototyping with, but I measured a USB connector at .079. I was thinking that a creative way to resolve this is to get some thick plastic adhesive sheeting and adhere it to the back side of the USB connector end. This would make up the difference in thickness without costing a lot extra. I don't do a lot of PCBs, so I'm going through DorbotPDX to get these made, and like most, .063 is the standard. I think the shim idea is solid and innovative, which will keep prices down. I'd bet that it would be completely infeasible to offer these if I had to get .080 thick boards made up.

    EDIT: I checked McMaster carr and they have .022 thick UHMW adhesive tape. This is perfect for the shim, since UHMW is very durable stuff and it will not abrade from being inserted. I tested a board here with some scotch tape and .022 is exactly the perfect thickness over the base to get a snug fit in USB ports.
  • User NameUser Name Posts: 1,451
    edited 2012-04-01 16:57
    Looks great! Phenomenal cosmic power in an itty-bitty living space.

    Edit: I've got second thoughts about the kitting. If you've already got rolls and rolls of the right passives, perhaps you should include passive devices in the kits. Kludging a 1208 part into a 0603 footprint isn't worth saving a few pennies on the kit price.

    Perhaps the only kitting option that makes sense is to offer them with or without Prop.
  • pedwardpedward Posts: 1,642
    edited 2012-04-02 22:22
    Based on the discussion in the GGUSB thread, I reworked the layout to bring p28-p31 out to and added a header for p16-p19 below the uSD socket.

    Honestly, the first layout without p28-p31 is cleaner than the revised layout. I also don't see much point in exposing the pins, since it's intended to plug directly into a USB port.

    Please review the two layouts and give your thoughts.
  • TubularTubular Posts: 4,703
    edited 2012-04-02 22:44
    I think the benefit of having *all* pins broken out outweighs the very slightly less clean layout (it doesn't look much less clean anyway)

    While it's designed to plug into a USB port, end users may want to run it from a mains-to-usb plug pack, in which case powering from 1 source and programming from a second (prop plug) is advantageous.

    You gain a second version of the board that can be programmed using a prop plug, saving the cost of the ftdi.

    Finally, I2C (P28/29) is useful if you want to add an RTC (since you've got a uSD there already).
  • jazzedjazzed Posts: 11,803
    edited 2012-04-02 22:49
    pedward wrote: »
    Based on the discussion in the GGUSB thread, I reworked the layout to bring p28-p31 out to and added a header for p16-p19 below the uSD socket.

    Honestly, the first layout without p28-p31 is cleaner than the revised layout. I also don't see much point in exposing the pins, since it's intended to plug directly into a USB port.

    Please review the two layouts and give your thoughts.

    Here's what I did. http://forums.parallax.com/showthread.php?134602-Propeller-USB-Key I plan to re-spin it with the SSOP16 FTDI chip.
  • TubularTubular Posts: 4,703
    edited 2012-04-02 23:09
    @pedward, two other things I noticed
    - the hole in the corner might be obscured by the uSD card when installed in the molex socket. Hard to tell without a line to see where the extent of the card ends.
    - I reckon your design is a good chance of fitting in a ready made usb enclosure. However it may be a good idea to keep tracks as far as possible away from the 'shoulders' in case you need to file away some of the pcb to make your usb connector deep enough. eg the track that passes outside P0/P1 may be better to route in between P0/P1, and there is another track just outside the FTDI that may go inside the FTDI outline instead.

    @jazzed,
    The FT231X may be a better option as it has DTR for full compatibility. Its about 8c more in 100 off qtys, ie half the price of FT232RL. I only used the FT230X because I really couldn't spare the extra 1.3mm, however I will change to the FT231X when it goes on the other side.
  • pedwardpedward Posts: 1,642
    edited 2012-04-03 02:47
    Tubular, I tweaked the layout a little and tidied up all the traces and vias. The uSD card does interfere with the hole, but if a small lanyard is used, it shouldn't be a problem. There wasn't enough space to move the socket over. The board is 18.5mm wide and ~53mm long, to the shoulder near the USB connector. It's ~64mm long with the USB connector. That works out to 2.08 inches by .728 inches, which is just shy of 3/4 wide.

    I'm satisfied with the layout and will probably send the board off tomorrow.
  • SapiehaSapieha Posts: 2,964
    edited 2012-04-03 04:40
    Hi pedward.

    Before You send it for production increase Power traces at least to dual thickness.

    16 else more mil's
    pedward wrote: »
    Tubular, I tweaked the layout a little and tidied up all the traces and vias. The uSD card does interfere with the hole, but if a small lanyard is used, it shouldn't be a problem. There wasn't enough space to move the socket over. The board is 18.5mm wide and ~53mm long, to the shoulder near the USB connector. It's ~64mm long with the USB connector. That works out to 2.08 inches by .728 inches, which is just shy of 3/4 wide.

    I'm satisfied with the layout and will probably send the board off tomorrow.
  • pedwardpedward Posts: 1,642
    edited 2012-04-03 18:09
    The top post has an updated layout, thicker power traces and a can crystal instead of the FT232 generating the clock.
  • TubularTubular Posts: 4,703
    edited 2012-04-03 18:20
    Looking good.

    The FT232 can't generate the clock output until USB enumeration is complete. Ok so maybe that isn't as big a deal for your design that will mostly run plugged into a PC.

    A few of us have been down that path at one stage or other to try to save an xtal. Separate xtal like you have now is a good idea
  • Cluso99Cluso99 Posts: 18,069
    edited 2012-04-03 18:20
    Looking good. Just increase the power and ground traces as mentioned by Sapieha.

    May I suggest you also add two extra pins in the P16-19, being 5V (or 3V3) and GND in the sequence V,GND,16,17,18,19. Why? Then your PropKey can look like a propplug to another prop board, and you can also supply 5V or 3V3 to this board. I have chosen to supply 5V and put cheap regulators on each of my modules.

    If you do this, will the SD card interfere with these pins? If so, you could put them on the underside. I have 1x14 RA female (can be cut down) and 1x6 ST female (can be bent) if you require some.

    Presume you are using DorkBox - you can put an overlay on the underside too! I suggest you label the I/O pins on the underside.
  • pedwardpedward Posts: 1,642
    edited 2012-04-04 18:34
    The top post contains the *final* final layout, with consideration given to all of the comments and work that has come before. It's jam packed with parts, traces, and labels.

    I'll probably send it off tomorrow, since all of the things that were in the back of my head are resolved and done.

    I'm thinking that I'll offer a passives kit and full kit to start. I may even offer a hybrid kit that is partially assembled, with the hard parts mounted.
Sign In or Register to comment.