Go Back   Home > Forums > Design & Build > Parts

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
Reply
 
Thread Tools Search this Thread
Old 16th May 2003, 09:21 PM   #11
Elkaid is offline Elkaid  Canada
diyAudio Member
 
Elkaid's Avatar
 
Join Date: Jan 2003
Location: Canada
Send a message via MSN to Elkaid
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,
  Reply With Quote
Old 16th May 2003, 11:00 PM   #12
audioPT is offline audioPT  Portugal
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 and some PGA's!

Pedro Martins
  Reply With Quote
Old 16th May 2003, 11:29 PM   #13
Banned
 
Join Date: Apr 2002
Location: Germany, Clausthal
Quote:
Mark Hennessy, how about sharing with us the code of your pic? I've here 3 samples of the 16F877 and some PGA's!
He allready promised to to put something on his homepage, im waiting for this too.
  Reply With Quote
Old 16th May 2003, 11:37 PM   #14
Banned
 
Join Date: Apr 2002
Location: Germany, Clausthal
Pedro , do you plan to use a rotary encoder for volume controll with MC/PGA?
  Reply With Quote
Old 17th May 2003, 12:16 AM   #15
audioPT is offline audioPT  Portugal
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
  Reply With Quote
Old 17th May 2003, 01:01 AM   #16
Elkaid is offline Elkaid  Canada
diyAudio Member
 
Elkaid's Avatar
 
Join Date: Jan 2003
Location: Canada
Send a message via MSN to Elkaid
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
  Reply With Quote
Old 17th May 2003, 01:02 AM   #17
Elkaid is offline Elkaid  Canada
diyAudio Member
 
Elkaid's Avatar
 
Join Date: Jan 2003
Location: Canada
Send a message via MSN to Elkaid
Sorry, I forgot the attachment
Attached Files
File Type: zip elkaid input selector.zip (1,013 Bytes, 74 views)
  Reply With Quote
Old 18th May 2003, 05:46 PM   #18
future is offline future  Brazil
diyAudio Member
 
future's Avatar
 
Join Date: May 2003
Location: Brazil, RGS
Send a message via ICQ to future Send a message via AIM to future Send a message via MSN to future Send a message via Yahoo to future
I already got a lot of info about pics, and now what programmer/software should I use?
__________________
what?
  Reply With Quote
Old 18th May 2003, 08:33 PM   #19
Elkaid is offline Elkaid  Canada
diyAudio Member
 
Elkaid's Avatar
 
Join Date: Jan 2003
Location: Canada
Send a message via MSN to Elkaid
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 !
Attached Images
File Type: jpg programmers.jpg (35.8 KB, 344 views)
  Reply With Quote
Old 18th May 2003, 09:05 PM   #20
diyAudio Member
 
Matttcattt's Avatar
 
Join Date: Feb 2003
Location: Bristol
Quote:
Originally posted by audioPT

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 and some PGA's!

Pedro Martins

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".
  Reply With Quote

Reply


Hide this!Advertise here!
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Up to date PIC programming TroelsM Everything Else 4 6th May 2009 08:54 PM
microcontroller programming traf Digital Source 7 12th September 2007 12:49 PM
C Programming problem FuriousD The Lounge 1 1st December 2005 09:38 PM
PIC programming serosmaness Digital Source 12 6th February 2005 10:33 PM


New To Site? Need Help?

All times are GMT. The time now is 06:00 AM.


vBulletin Optimisation provided by vB Optimise (Pro) - vBulletin Mods & Addons Copyright © 2014 DragonByte Technologies Ltd.
Copyright 1999-2014 diyAudio

Content Relevant URLs by vBSEO 3.3.2