|
|||||||
| Home | Forums | Rules | Articles | Store | Gallery | Blogs | Register | Donations | FAQ | Calendar | Search | Today's Posts | Mark Forums Read | Search |
| Parts Where to get, and how to make the best bits. PCB's, caps, transformers, etc. |
|
Please consider donating to help us continue to serve you.
Ads on/off / Custom Title / More PMs / More album space / Advanced printing & mass image saving |
|
|
|
Thread Tools | Search this Thread |
|
|
#1 |
|
diyAudio Member
|
I don't know if I should post this here, but I really need help, so I'll do it anyway
I want to make a digitally controlled preamp, therefore I need a microcontroller. I chose the PIC18F452, which is one of the top models of Microchip and can be easilly had. So, to program everything I build myself the JDM Programmer. I designed my own PCB layout, which you can see here. The Eagle project files are here. On this site they tell you how to measure everything. This is also the site where I got the schematic from. I measure everything like told there, but I get very strange measurements: Ground reference is pin #12/31. x -> y means that the measurement is first x then starts going up/down until it reaches y. MCLR (pin #1): 9.75V -> 8.68V (1-2 mins later) - Off: -0.5V - Should be: 14V Vcc (pin #11): I measured about everything below 1V (starting at 0.95V and then it keeps getting lower) - Off: 0.2V lower than On - Should be: 5V Clock (pin #39): 15.7V/12V - Off: 0.2V -> -0.2V - Should be: 5V +- 1V Data Out (pin #40): 0.4V -> 0.15V (2 mins later) - Off: -6V - Should be: 5V +- 0.5V Can anybody help me with this? I've checked the layout of my PCB for at least 10 times now and I don't see what's wrong. Also, everything seems to be soldered in the right place. I'm getting quite desperate. Help is appreciated .
|
|
|
|
|
#2 |
|
diyAudio Member
Join Date: Dec 2003
Location: Sydney
|
look on the forum www.midibox.org there is lots of hints there.
|
|
|
|
|
#3 |
|
diyAudio Member
Join Date: Apr 2002
Location: Birdlings Flat, New Zealand
|
If you have the board wired correctly then nothing should be able to be more negative than Vss. The readings you have would be around correct if you were measuring with reference to Vdd rather than Vss.
These self powered serial port programmers always seem to be more trouble than they are worth. I've always used the classic buffered and powered jobs like the David Tait (or a Fobbit) for PICs, and the ISP dongle for AVRs. I've just fired up a breadboard of my digitally controlled preamp, using PGA2310s in balanced configuration, controlled by an AVR with RC5 and encoder input. It's all looking good! Colin |
|
|
|
|
#4 |
|
diyAudio Member
|
Well, I'll consider making the Tait programmer.
|
|
|
|
|
#5 |
|
diyAudio Member
Join Date: Dec 2003
Location: Sydney
|
The JDM can easily be upgraded to be powered by two 9v batteries. Have a look at the link I provided. You may have to do some 'forum searches' but here you will find excellent hints. There is a thread under the 'troubleshooting' forum, it is 'sticky' so it is always at the top of the list of topics.
good luck. |
|
|
|
|
#6 | |
|
diyAudio Member
|
Quote:
|
|
|
|
|
|
#7 | |
|
diyAudio Member
Join Date: Jun 2003
Location: Connecticut
|
Quote:
__________________
dave |
|
|
|
|
|
#8 |
|
diyAudio Member
|
always test out your programmer -- every time I do a project with a new variety of PIC I program it with a "BLINK" project -- to blink a LED -- as simple as this sounds it will point out whether the programmer is working in the first place.
i don't think i would have chosen the 18FXXX line for a first project anyway -- you can search the PIC LIST (go to www.melabs.com) for the quirks which people experience with PICS of different flavors. btw. I usually build my projects on a BasicStamp II, then port it to a PIC using PICBasic Pro. The BasicStamp II has a very easy DEBUG function which allows you to make changes on the fly, i.e. without taking the device in and out of the programmer. The stamps lack the utility of the PIC's, but will get you most of the way there. |
|
|
|
|
#9 | |||
|
diyAudio Member
|
Quote:
Quote:
However, the PIC18F452 has as much pins and can be programmed in C. I know some Visual Basic, PHP & other programming languages and this C stuff for PICs doesn't look hard. Another advantage of starting with a top of the line PIC is that I'll have every option available. If I don't want to use an option, I don't, if I want to, I do, simple as that. I also believe that learning to program "lower rank" PICs will be easier than starting from a "low rank" PIC and later upgrade to a "high rank" one. The PIC16F877 costs 6€, the PIC18F452 costs 8€, so that isn't a reason not to choose it either. Quote:
Then, if you decide to use a PIC18xxx you could use a free C compiler. That saves you 250$. I found PICBasic very interesting at first, since I know Visual Basic, but I can't spend that amound of money on just a software package that I might find usefull while there are alternatives. I'm a student and I can't justify spending +250$ on software and parts needed for 1 part in a project. |
|||
|
|
|
|
#10 | |
|
diyAudio Member
|
Quote:
If you really want to be at the cutting edge, then USB compatibility is the way to go, but most of these devices are "Future Production". in the PIC18FXXX line. btw, I only subscribe to the PICLIST periodically as it gets clogged with SPAM. |
|
|
|
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
|
|
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| ET51 programmer | Garyepe | Vendor's Bazaar | 2 | 24th July 2009 03:55 PM |
| ET51 programmer | Garyepe | Group Buys | 2 | 22nd July 2009 03:08 PM |
| AD21161 Programmer | dmfraser | Digital Source | 0 | 10th August 2004 07:09 PM |
| VIACCESS Sat. Card programmer . | darkm4n | Parts | 0 | 29th November 2003 05:52 PM |
| PIC programmer | biff584 | Parts | 25 | 21st February 2003 10:11 PM |
| New To Site? | Need Help? |
| Page generated in 0.56944 seconds (42.16% PHP - 57.84% MySQL) with 11 queries |