|
|||||||
| 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 |
|
|
#11 |
|
diyAudio Member
|
You could also take a look at this book
http://www.amazon.com/exec/obidos/tg...books&n=507846 It's all you need about PIC... A lot of example projects, how to interface with various components such as relays, polariod sonar transducer, keypad, lcd etc... This book is a must. Yeah, you can find everything free on the net but everything you'll ever need is included in this book. The best of all is that the book comes with a PIC programmer PCB ![]() Regards, |
|
|
|
|
#12 |
|
diyAudio Member
Join Date: Aug 2002
Location: Right here
|
Don't forget to ask for samples at Microchip!! I've received today more samples, and I'm learning PIC programming! Tha links above have a lot of useful information. I've learned a lot! Mark Hennessy, how about sharing with us the code of your pic? I've here 3 samples of the 16F877 Pedro Martins |
|
|
|
|
#13 | |
|
Banned
Join Date: Apr 2002
Location: Germany, Clausthal
|
Quote:
|
|
|
|
|
|
#14 |
|
Banned
Join Date: Apr 2002
Location: Germany, Clausthal
|
Pedro , do you plan to use a rotary encoder for volume controll with MC/PGA?
|
|
|
|
|
#15 |
|
diyAudio Member
Join Date: Aug 2002
Location: Right here
|
Yes!
It's going to control the volume and other setup adjustements. But first, I'm gathering information on PIC's to make that possible. It's a promise that I WILL put all here, and in my home page too Pedro Martins |
|
|
|
|
#16 |
|
diyAudio Member
|
I made an input selector in the past using a PIC16F84.
Selection was made using a 2-bits encoder and the PIC was connected to a '2803 which is driving the input relays. You can also see that I added a 45sec delay before enabling any input (to let my preamp tube to warm up...). A bicolor led is blinking red/green during warmup delay and turns green when delay is passed. There's no volume control yet but you can easily add a remote control decoder chip and drive a motorized potentiometer with 2803's output remaining. (Or even easier : simply add a digital potentiometer) I hope this helps
|
|
|
|
|
#17 |
|
diyAudio Member
|
Sorry, I forgot the attachment
|
|
|
|
|
#18 |
|
diyAudio Member
|
I already got a lot of info about pics, and now what programmer/software should I use?
__________________
what? |
|
|
|
|
#19 |
|
diyAudio Member
|
There's a lot of PIC programmer schematics on the Internet.
Here's my recommandations : Solution A If you're really serious about PICs and you plan to use several models of PIC microcontroller, you can buy a Picstart Plus development programmer. Even if it is cheap for a programmer that support almost every PIC (except 18FXXX), it is supported by the free Microchip development environment MPLAB and you don't have to build it yourself. But maybe you're not ready to spend 250$ so there's alternative "B" Solution B If you plan to use mostly 16F877 microcontroller (and all midrange PIC microcontroller supporting ICD - In Circuit Debugging), you can go for MPLAB ICD. It is an In-circuit emulator that allows programming too. Very handy when you need to debug an application. Best of all, it is much cheaper than Pictstart Plus (around 170$ for the complete kit). This one is also fully supported by MPLAB. You can trace in your code etc... very handy. (Note that there's also the MPLAB ICD2 which supports PIC18FXXX at the same price as the normal ICD) Solution C If you wish to get the equivalent of a Picstart Plus programmer, you can look for the PicAll programmer. You need to build it yourself which means that it is much cheaper solution. http://www.picallw.com/hardware.htm Very Interesting solution... It even supports Atmel's AVR. However, you can't use it through MPLAB environment. You have to compile your hex file and then use an another application to program your chip. Solution D The final solution that I'm recommending is to buy this book : http://www.amazon.com/exec/obidos/tg...books&n=507846 As I said previously in this thread, this is the ultimate ressource for PIC programming, from code examples, programming algorythm, hardware interfacing, etc.... This book is a must, and it comes with a printed circuit board to build your own programmer. This is the best way to begin in the world of PIC. Solution "Crazy" about programming I don't recommend this solution as it is by far the most expensive but you can go for an universal programmer. The programmer supports almost programmable ICs but they're a bit hard for a hobbyist to afford those. (Galep 4 shown on the picture) On the software side, you should stick to MPLAB development environment as it support many external compiler. MPLAB has an internal ASM compiler but if you wish to program in C language, take a look at Hitech C compiler. http://www.htsoft.com I hope this helps ! |
|
|
|
|
#20 | |
|
diyAudio Member
Join Date: Feb 2003
Location: Bristol
|
Quote:
samples? from microchip? (runs to website and orders some) and ive been buying them all this time?
__________________
If it aint broke, don't fix it. If it is broke, fix it. If you can't fix it, take it apart and see how it "worked". |
|
|
|
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
|
|
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Up to date PIC programming | TroelsM | Everything Else | 4 | 6th May 2009 09:54 PM |
| microcontroller programming | traf | Digital Source | 7 | 12th September 2007 01:49 PM |
| C Programming problem | FuriousD | The Lounge | 1 | 1st December 2005 10:38 PM |
| PIC programming | serosmaness | Digital Source | 12 | 6th February 2005 11:33 PM |
| New To Site? | Need Help? |
| Page generated in 0.11203 seconds (82.89% PHP - 17.11% MySQL) with 11 queries |