Dangerous Prototypes

In development => Project logs => Topic started by: jdownj on August 07, 2011, 01:56:25 am

Title: Free PCB Build - PICqueno32
Post by: jdownj on August 07, 2011, 01:56:25 am
06 Aug 2011
-------------------
Starting a build of the PICqueno32 board that just arrived.  Right now there isn't much going on yet, but need to get a post in before the spam filter gets me.  Parts are ordered from Digi-Key.

22 Oct 2011
-------------------
Made a bunch of progress today.  Still have a few parts not here... The diodes an resistor networks are in a separate order. The FT232 is backordered.  The crystal isn't the right package but I think it will work.


23 Oct 2011
-------------------
Soldered ICSP header and Power Select Jumper, and I have a red LED!

Added the female headers... Looks a little rough because I shortened 1X16 headers to work(Curse you, Arduino form-factor).



24 Nov 2011
-------------------
FT232RL Soldered.  Enumerates as serial port.  Need PICkit to show up.  Starting to think about what free PCB to build next.


Outstanding Issues
-------------------
Title: Free PCB Build - PICqueno32
Post by: jdownj on August 07, 2011, 05:45:44 am
First question... PIC:)

The wiki specs the PIC32MX320F064H but that isn't a complete Microchip part number, it has both 40 and 80 MHz versions.  Given that this is based on the UNO32, I expect the 80 MHz version.

BUT... Their(UNO32) page references yet another pic, PIC32MX320F128. 

AND... There have been two DP blog posts regarding this project, the second one mentioning that the first attempt had used the wrong PIC...

Which should I order?
Title: Re: Free PCB Build - PICqueno32
Post by: ian on August 07, 2011, 10:04:46 am
The chipkit schematic actually lists both chips. PIC32MX320F128 is shipped on the ChipKit, it is the one to use :)
Title: Free PCB Build - PICqueno32
Post by: jdownj on August 07, 2011, 01:47:27 pm
Ian,
Thanks for the quick response! Correct PIC ordered:)
Title: Free PCB Build - PICqueno32
Post by: jdownj on August 08, 2011, 04:19:26 am
The power jack listed on the master parts list is listed as out of stock at Mouser, anyone have an alternate source or alternate part?
Title: Re: Free PCB Build - PICqueno32
Post by: ian on August 09, 2011, 12:33:52 pm
Oh noes, mine are discontinued :(

This looks like an alternate: http://eu.mouser.com/ProductDetail/163- ... WHZq2Ts%3d (http://eu.mouser.com/ProductDetail/163-0179-EX/?qs=sGAEpiMZZMu2f9RNbWupYoQlNS5bqCa3xNUnWHZq2Ts%3d)
Title: Free PCB Build - PICqueno32
Post by: jdownj on October 22, 2011, 02:29:52 am
Almost ready to start assembly... Mouser order is likely sitting in the mailbox waiting for my roommate to get home with the key.  What I am still lacking is an ft232... It looks like Sparkfun has them so maybe I can use that as an excuse to order more stuff I don't need:). Mouser is back ordered for a month or so on those.
Title: Free PCB Build - PICqueno32
Post by: jdownj on October 23, 2011, 03:38:07 am
Finished most of assembly, updated post 1.
Title: Free PCB Build - PICqueno32
Post by: jdownj on October 23, 2011, 05:54:27 pm
Am I missing something, or is the 8Mhz crystral linked from the partslist in the HC-49 package, not actually in the HC-49 package?
Title: Re: Free PCB Build - PICqueno32
Post by: jdownj on October 23, 2011, 08:33:11 pm
Future Changes:
I really like this little board, and I am looking forward to writing some code for it, but there are a few changes that I am going to implement in a future revision:

*Mini-USB-B is depreciated, will be replaced by Micro-USB-B.

*Personally I don't need Arduino shield compatability, so I likely will change headers to a standard spacing.  Might start tweaking from the DIP version that is in SVN.

*FT232 is an expensive chip, and is limiting.  If I can find my way through the maze that is obtaining a "mostly legal" USB VID/PID, I would love to replace the FT232 with the ATMEGA 8u2 or a similar PIC.  This would allow the device to enumerate as HID, or whatever someone wanted to write the code for.  Another thought is that there is a USB-enhanced version of the same PIC in the same package, although it would require a massive code effort to develop an open-source USB bootloader.
Title: Re: Free PCB Build - PICqueno32
Post by: Markus Gritsch on October 23, 2011, 09:01:07 pm
Not that I want to lure you away from the PICqueƱo :)  but if you are not that interrested in the Arduino shield raster, and want to get rid of the FT232 and use a PIC32 with built in USB peripheral, you might want to take a look at the CUI32 [1].  It is also open hardware, and a complete package containing the Eagle and Gerber files for the latest revision called the CUI32Stem is avilable here [2].  It is not limited to be an USB device, but can also be used as an USB host.

An open source Stk500v2 bootloader, which emulates the avrdude protocol to be used with avrdude or the chipKIT MPIDE, is available here [3].

[1] http://code.google.com/p/cui32/ (http://code.google.com/p/cui32/)
[2] http://cui32.googlecode.com/svn/trunk/e ... 32Stem.zip (http://cui32.googlecode.com/svn/trunk/eagle/CUI32Stem/CUI32Stem.zip)
[3] https://github.com/rtestardi/PIC32-CDC- ... Bootloader (https://github.com/rtestardi/PIC32-CDC-ACM-Stk500v2-Bootloader)
Title: Re: Free PCB Build - PICqueno32
Post by: jdownj on October 24, 2011, 01:43:57 am
Hmm... Might try to combine the best of both worlds and use the PICqueno32-DIP form factor and that USB bootloader... that looks very nice!
Title: Re: Free PCB Build - PICqueno32
Post by: Markus Gritsch on October 24, 2011, 08:41:20 am
Alternatively, you could build the UBW32 [1].  It uses a PIC32 with the higher pin count, but might otherwise be what you are looking for.

[1] http://www.schmalzhaus.com/UBW32/ (http://www.schmalzhaus.com/UBW32/)
Title: Re: Free PCB Build - PICqueno32
Post by: jdownj on November 24, 2011, 08:20:24 pm
Soldered FT232, Waiting on programmer.
Title: Free PCB Build - PICqueno32
Post by: jdownj on November 30, 2011, 02:22:15 pm
Anybody have info on sourcing the diodes/resistor networks?
Title: Re: Free PCB Build - PICqueno32
Post by: fcobcn on November 30, 2011, 02:27:40 pm
Old computer motherboards contain thousands of them.
If you have access to a smd rework station is very easy to desolder them.
Title: Free PCB Build - PICqueno32
Post by: jdownj on December 01, 2011, 03:06:17 pm
I'll have to look at the old mbs that I have... I don't have SMD rework equipment, but I have a good history of getting by without it...
Title: Re: Free PCB Build - PICqueno32
Post by: hak8or on December 02, 2011, 06:25:52 am
What resistor's and diodes do you need exactly?

IF you have a multimeter, you should be able to fetch a proper resistor off old motherboards. Don't forget to desolder them before checking their resistance! :P

For diodes, yes, motherboards have them, but what spec do you need them? I would check myself but it seems the picqueno32 wiki is down so I can't find the schematic. :(

Also, sparkfun normally has components for far far more expensive than other distributors, I normally stick with digikey and their cheapest shipping ($2.75 I think) instead.

Edit: also, I presume you are familiar with getting SMD ic's off pcb's through the use of stove, paint peeling gun, hot air gun, candle, or even blowtorch? I normally just put the paint gun on the pcb from a good distance, let the solder melt, and just slide all the components off with tweezers or a screwdriver onto a piece of paper.
Title: Free PCB Build - PICqueno32
Post by: jdownj on December 02, 2011, 02:55:41 pm
Partslist is here:

http://dangerousprototypes.com/docs/PIC ... n_overview (http://dangerousprototypes.com/docs/PICque%C3%B1o32_V1_design_overview)

Looking for the SOT-363 diodes(D1-D4) and the resistor networks(RN1 and RN2).  Those part numbers don't turn up anything that is available on mouser.

Edit:
Mouser has the diodes back in stock.  Really just need a different part number or more info on the resistor networks.
Title: Re: Free PCB Build - PICqueno32
Post by: ian on December 07, 2011, 06:43:21 pm
The resistor networks are on the partlist on the wiki here:
http://dangerousprototypes.com/docs/Partlist#Resistors (http://dangerousprototypes.com/docs/Partlist#Resistors)

The diodes I'm not yet sure of, but seem to be available at Mouser and Digikey.

( ! ) Fatal error: Uncaught exception 'Elk_Exception' with message 'Please try again. If you come back to this error screen, report the error to an administrator.' in /var/www/dangerousprototypes/forum/sources/database/Db-mysql.class.php on line 696
( ! ) Elk_Exception: Please try again. If you come back to this error screen, report the error to an administrator. in /var/www/dangerousprototypes/forum/sources/database/Db-mysql.class.php on line 696
Call Stack
#TimeMemoryFunctionLocation
10.01352114216session_write_close ( )...(null):0
20.01392245808ElkArte\sources\subs\SessionHandler\DatabaseHandler->write( )...(null):0
30.01392246584Database_MySQL->query( ).../DatabaseHandler.php:119
40.05962385320Database_MySQL->error( ).../Db-mysql.class.php:273