Electronic Projects, forums and more.

Go Back   Electronic Circuits Projects Diagrams Free > Electronics Categories > Micro Controllers


Micro Controllers Discuss all aspects of micro controllers - building them, coding them, etc. All controllers are welcome - PIC, BASIC, Z8 Encore!, etc.

Reply
 
Thread Tools Display Modes
Old 19th January 2007, 06:13 PM   (permalink)
Default Inchworm components

I've just received my inchworm kit and its almost completed but have a question on some of the component values. In the pdf file the capacitors listed are:


1 C1 0.33uF 25V
2 C2,9 47uF 25V
3 C3,4,5 0.1uF
5 C6,7,8,11,12 10uF 16V
2 C10,13 33pF

In my kit I received:

5 x 2.2uF Elec
2 x 22pF
4 x 0.1uF
1 x 47uF Elec
1 x 22uF Elec

Are the values in the pdf not critical, or did i get the wrong values.
What would the new values be:
C1 = 0.1u, C6=2.2u, C2=47u, C3=0.1u, C10=22p?

I hope this is the right place to post this as I cannot find a support forum inchworm.
gregmcc is offline   Reply With Quote
Old 19th January 2007, 06:55 PM   (permalink)
Default

Well aside from mailing me directly you found the right place. Many parts are non critical and DIPMicro adds their own (He buys in bulk)

The 2.2uf are fine, anything from 2.2uf to 10uf will work on the ST232

C1 is optional, the LM7805 suggests 0.33 but 0.1 works fine.
22pf is fine for C10 & 13

C9 = 22uf
C6,7,8,11,12 = 2.2uf
C2 = 47uf

Have fun with the kit.
__________________
Bill
Home of the
Firefly PIC Tutor
Inchworm ICD2

http://www.blueroomelectronics.com
William At MyBlueRoom is offline   Reply With Quote
Old 19th January 2007, 06:59 PM   (permalink)
Default

Excellent - thanks. Should have it finished in a jiffy. Then the fun begins!
gregmcc is offline   Reply With Quote
Old 19th January 2007, 07:08 PM   (permalink)
Default

Download the Inchworm quick project PDF from my site.
__________________
Bill
Home of the
Firefly PIC Tutor
Inchworm ICD2

http://www.blueroomelectronics.com
William At MyBlueRoom is offline   Reply With Quote
Old 19th January 2007, 07:13 PM   (permalink)
Default

Already it got it Gonna be the first thing I try.
gregmcc is offline   Reply With Quote
Old 19th January 2007, 08:41 PM   (permalink)
Default

I'm having a few problems

Inchworm is built and I've connected it up and setup mplab - disabled fifo, using a 1:1 serial cable. When connecting in mplab I get the following:

Connecting to MPLAB ICD 2
...Connected
ICDWarn0054: MPLAB IDE has lost communications with the MPLAB ICD 2. Would you like to attempt to reconnect?
Connecting to MPLAB ICD 2
...Connected
ICD0286: Unable to communicate with ICD
ICD0082: Failed MPLAB ICD 2 operation
MPLAB ICD 2 Ready

If I try and run the self test in status the same error occurs as above. I've read a few posts with similiar problems - already checked the cable. Also viewing the power in mplab shows 0.00
If I try and do a download OS I get:

Downloading Operating System
ICD0152: Failed to read all of requested bytes (0x0 of 0x8)
...Download Operating System Failed
ICD0152: Failed to read all of requested bytes (0x0 of 0x2)
ICD0082: Failed MPLAB ICD 2 operation
ICD0082: Failed MPLAB ICD 2 operation
ICD0082: Failed MPLAB ICD 2 operation
ICD0082: Failed MPLAB ICD 2 operation
MPLAB ICD 2 Ready


I've not yet connected any pics up to the inchworm.

Update: I've also checked the 5V and TP VPP=13.36V

Last edited by gregmcc; 19th January 2007 at 08:56 PM.
gregmcc is offline   Reply With Quote
Old 19th January 2007, 08:56 PM   (permalink)
Default

what COM port (only 1 and 2 work)
Are you using a USB - RS232 cable? What OS are you running? Which MPLAB are you running?
__________________
Bill
Home of the
Firefly PIC Tutor
Inchworm ICD2

http://www.blueroomelectronics.com

Last edited by William At MyBlueRoom; 19th January 2007 at 09:03 PM.
William At MyBlueRoom is offline   Reply With Quote
Old 19th January 2007, 09:05 PM   (permalink)
Default

XP SP2, Com1, RS232 Cable.
MPlab 7.50

I've also restarted after I disabled the fifo
gregmcc is offline   Reply With Quote
Old 19th January 2007, 09:52 PM   (permalink)
Default

Same thing here(as original poster). Dipmicro supplied a 10V cap instead of a 25V cap for C2. I don't really feel good about the derating so I'm going to put my own 68uF 35V cap in. I guess since it is just to reduce ripple on a 5V line the one it came with will be fine, but I would like it at least as good as the original design (the way it was tested). I will put the same thing in for C9.

Also one of the plated through holes on P1 did not turn out right.

Overall I am still very happy. You can't beat 36$ for this level of programmer. Customer service with Dipmicro is great and the components are high quality. Except for the one minor flaw, the board looks fantastic.

Silly me forgot to order any microcontrollers, so assembly and testing to come later.
Attached Images
File Type: png Inchworm1.PNG (737.1 KB, 25 views)
File Type: png Inchworm2.PNG (465.1 KB, 16 views)
File Type: png Inchworm3.PNG (673.8 KB, 14 views)
File Type: png inchworm4.PNG (871.5 KB, 23 views)

Last edited by Sig239; 19th January 2007 at 09:55 PM.
Sig239 is offline   Reply With Quote
Old 19th January 2007, 09:55 PM   (permalink)
Default

I'm going to supply parts myself for the next batch of Inchworms. I don't mind a couple of part subs for non critical parts but drilling out holes is not something I can reccomend, DIPMicro has modded the PCB that's why the plated hole sticks up. Your wire should solve it nicely but it is something I'll fix (larger holes for P1) so we can use more commonly available power connectors.

The larger caps will be fine, you don't need C9 to be too large but it has to be rated for > 16V. It won't affect the OS loading or give you connection problems. It's strickly for the VPP supply.

Well I've taken a brand new Inchworm and will capture the steps. Are you using your own 16F877A or 16F877? Or is it the one supplied from DIPMicro?

Connecting to MPLAB ICD 2
ICD0019: Communications: Failed to open port: (Windows::GetLastError() = 0x2, 'The system cannot find the file specified.
')
ICD0021: Unable to connect with MPLAB ICD 2

Now choose under settings COM1 or COM2

MPLAB ICD 2 Ready
ICDWarn0034: Please ensure that your system's serial FIFO buffers are disabled.
Connecting to MPLAB ICD 2
ICD0082: Failed MPLAB ICD 2 operation
ICD0021: Unable to connect with MPLAB ICD 2
MPLAB ICD 2 Ready

Here is where you must download an OS The file is
ICD01020701.HEX

Downloading Operating System
Connecting to MPLAB ICD 2
...Connected
Setting Vdd source to MPLAB ICD 2
ICDWarn0020: Invalid target device id (expected=0x71, read=0x0)

(Normal till you have a target PIC attached, a sign its working actually)

...Reading ICD Product ID
Running ICD Self Test
...Passed
...Download Operating System Succeeded
MPLAB ICD 2 Ready

That all there is.
Make sure all the diodes are in the right way. Also make sure you have at least a 7.5V or greater 300ma power supply connected. (Yes someone tried it without a powersuppy thinking it was like a JDM type programmer)

Now if I have a blank or not present 16F877A the MPLAB looks like this...
Connecting to MPLAB ICD 2
ICD0019: Communications: Failed to open port: (Windows::GetLastError() = 0x2, 'The system cannot find the file specified.
')
ICD0021: Unable to connect with MPLAB ICD 2
MPLAB ICD 2 Ready
ICDWarn0034: Please ensure that your system's serial FIFO buffers are disabled.
Connecting to MPLAB ICD 2
ICDWarn0054: MPLAB IDE has lost communications with the MPLAB ICD 2. Would you like to attempt to reconnect?
Connecting to MPLAB ICD 2
ICD0021: Unable to connect with MPLAB ICD 2
MPLAB ICD 2 Ready
Downloading Operating System
ICD0021: Unable to connect with MPLAB ICD 2
...Download Operating System Failed
ICD0286: Unable to communicate with ICD
ICD0286: Unable to communicate with ICD
ICD0286: Unable to communicate with ICD
ICD0286: Unable to communicate with ICD
ICD0286: Unable to communicate with ICD
MPLAB ICD 2 Ready


__________________
Bill
Home of the
Firefly PIC Tutor
Inchworm ICD2

http://www.blueroomelectronics.com

Last edited by William At MyBlueRoom; 19th January 2007 at 10:13 PM.
William At MyBlueRoom is offline   Reply With Quote
Old 20th January 2007, 05:11 AM   (permalink)
Default

Thanks for the info - I'll go through all the components and triple check everything. I'll also connect up a 16f628a pic and see what happens.

Also a suggestion for us noobs It is possible to make the busy led flash on startup - that way we (I) at least know that uC is working. You could also use this for version control - 2 short flashes for version 0.1 of the code, a short and a long flash for version 0.2 etc etc - just an idea.

I'll let you know on my findings.

My P1 pad also looks like the pic above - but its not causing any problems. I have to agree, excellent quality PCB, now to just get it working

Last edited by gregmcc; 20th January 2007 at 05:17 AM.
gregmcc is offline   Reply With Quote
Old 20th January 2007, 06:43 AM   (permalink)
Default

Quote:
Originally Posted by gregmcc
Also a suggestion for us noobs It is possible to make the busy led flash on startup - that way we (I) at least know that uC is working. You could also use this for version control - 2 short flashes for version 0.1 of the code, a short and a long flash for version 0.2 etc etc - just an idea.
The Inchworm is an ICD2 clone, so it uses the software provided by MicroChip as part of MPLAB - Bill hasn't written any software for it.
__________________
PIC programmer software, and PIC Tutorials at:
http://www.winpicprog.co.uk
Nigel Goodwin is online now   Reply With Quote
Old 20th January 2007, 08:11 AM   (permalink)
Default

I mean the firmware for the PIC on the inchworm (the 16F877A which runs ICD2_BOOTLOADER_A.HEX)

Update: After re-reading the post I thought you were refering to the MPLab software, you mean the the hex is provided by microchip as well?

Last edited by gregmcc; 20th January 2007 at 08:15 AM.
gregmcc is offline   Reply With Quote
Old 20th January 2007, 08:13 AM   (permalink)
Default

Quote:
Originally Posted by gregmcc
I mean the firmware for the PIC on the inchworm (the 16F877A which runs ICD2_BOOTLOADER_A.HEX)
See my previous reply!.
__________________
PIC programmer software, and PIC Tutorials at:
http://www.winpicprog.co.uk
Nigel Goodwin is online now   Reply With Quote
Old 20th January 2007, 08:19 AM   (permalink)
Default

Thanks - see my update

I'm a little slow this morning - too many late nights filddeling with PICs
gregmcc is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Latest
Configuration Bits (Nigel's tutorials and Inchworm) lpinkai Micro Controllers 7 23rd January 2007 05:38 PM
Inchworm built: Next step Hedos Micro Controllers 3 17th December 2006 11:29 PM
Is it possible to transfer components from PsPice into multi Terrano General Electronics Chat 0 1st April 2005 06:29 PM
Components to start width Dan719 Electronic Projects Design/Ideas/Reviews 5 19th June 2004 12:07 AM
Need Information For Passive Components shermaine General Electronics Chat 1 9th July 2003 07:40 AM



All times are GMT. The time now is 02:44 PM.


Electronic Circuits  |  Electronics Wiki
Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.