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 3rd February 2007, 04:31 PM   (permalink)
New Member
 
BackFire1 is on a distinguished road
Send a message via MSN to BackFire1
Default Good Pic Book Recomendations

Hello everyone. I got a quick question that I hope you can help me with. I'm fairly new to PIC programming, I taught myself the basics with V2 of EPE's PIC Tutorial. I am now looking for a good book with plenty of example code to take me further, (I'm still at a pretty basic level). I would like it to cover a wide variety of Flash PIC controllers as the EPE Tutorial, though excellent, was concerned mostly with the PIC16F84A. I use a velleman K8048 for my programming, though this shouldn't really matter. I had already brought the book "Programming and Customizing PICMicro Microcontrollers" before I had read the online reviews, which were generally unfavorouble, and I agree with them. That said the book of similar title concerened with STAMPs is excellent. But has anyone got a good PIC book recomendation? I thank you all in advance.
__________________
Its undeniable; The smoke in components keeps things working.
BackFire1 is offline   Reply With Quote
Old 3rd February 2007, 07:01 PM   (permalink)
Super Moderator
 
Nigel Goodwin is a splendid one to beholdNigel Goodwin is a splendid one to beholdNigel Goodwin is a splendid one to beholdNigel Goodwin is a splendid one to beholdNigel Goodwin is a splendid one to beholdNigel Goodwin is a splendid one to behold
Default

I don't really know of any books, but you might try my tutorials, which will give you some ideas and things to play with!.
__________________
PIC programmer software, and PIC Tutorials at:
http://www.winpicprog.co.uk
Nigel Goodwin is offline   Reply With Quote
Old 3rd February 2007, 07:09 PM   (permalink)
New Member
 
BackFire1 is on a distinguished road
Send a message via MSN to BackFire1
Default

I have bookmarked your tutorials and hope to start using them tomorrow! I shall post with any difficulties I encounter! I like the idea of a book as well though, for reference and so on, so I'm still open to suggestions!
__________________
Its undeniable; The smoke in components keeps things working.
BackFire1 is offline   Reply With Quote
Old 3rd February 2007, 07:20 PM   (permalink)
Experienced Member
mvs sarma is a name known to allmvs sarma is a name known to allmvs sarma is a name known to allmvs sarma is a name known to allmvs sarma is a name known to allmvs sarma is a name known to all
Send a message via MSN to mvs sarma Send a message via Yahoo to mvs sarma
Default

Quote:
Originally Posted by BackFire1
I have bookmarked your tutorials and hope to start using them tomorrow! I shall post with any difficulties I encounter! I like the idea of a book as well though, for reference and so on, so I'm still open to suggestions!
Hi,
After Nigel's tutorials , perhaps you may only appreciate Microchip's original documentation.

In fact ,while still i am to study them in detail, i feel these tutorials have been quite good for a start and for reference even.
__________________
Regards,
Sarma.
mvs sarma is offline   Reply With Quote
Old 3rd February 2007, 08:11 PM   (permalink)
New Member
 
BackFire1 is on a distinguished road
Send a message via MSN to BackFire1
Default

Having looked through the tutorials they certainly offer much advice, though I already have a PIC programmer I'm happy with and will be building most of my circuitry on breadboads for prototyping, so the tutorials requiring dedicated boards are of limited help.... That said Nigels explanation of RS232 with PIC's is the best infomation source I've seen so far, and his tutorial on RF modules was also very interesting, so cheers Nigel!
__________________
Its undeniable; The smoke in components keeps things working.
BackFire1 is offline   Reply With Quote
Old 3rd February 2007, 08:20 PM   (permalink)
Super Moderator
 
Nigel Goodwin is a splendid one to beholdNigel Goodwin is a splendid one to beholdNigel Goodwin is a splendid one to beholdNigel Goodwin is a splendid one to beholdNigel Goodwin is a splendid one to beholdNigel Goodwin is a splendid one to behold
Default

Quote:
Originally Posted by BackFire1
will be building most of my circuitry on breadboads for prototyping, so the tutorials requiring dedicated boards are of limited help!
The reason for the boards is simple, they are cheap and easily available for anyone to make, with no special skills. If you build the boards EXACTLY as I show, it WILL work - building them on breadboards is much more prone to errors. Most of the reports I get of problems is down to people using breadboards!.

Still, be careful and you should be OK - if it doesn't work, check your layout!.
__________________
PIC programmer software, and PIC Tutorials at:
http://www.winpicprog.co.uk
Nigel Goodwin is offline   Reply With Quote
Old 3rd February 2007, 08:22 PM   (permalink)
Experienced Member
ljcox is a jewel in the roughljcox is a jewel in the rough
Default

I used a book printed on the UK.

PIC Your Personal Introductory Course by John Morton.

I have the second edition (2001) which is a bit dated, but still relevant.

It explains PICs and assembly programming fairly well and it has 17 sample programmes and associated circuits.
__________________
Len
ljcox is offline   Reply With Quote
Old 3rd February 2007, 08:29 PM   (permalink)
Experienced Member
ljcox is a jewel in the roughljcox is a jewel in the rough
Default

Quote:
Originally Posted by Nigel Goodwin
The reason for the boards is simple, they are cheap and easily available for anyone to make, with no special skills. If you build the boards EXACTLY as I show, it WILL work - building them on breadboards is much more prone to errors. Most of the reports I get of problems is down to people using breadboards!.

Still, be careful and you should be OK - if it doesn't work, check your layout!.
I use prototyping PCBs sold by the electronics stores.

The best one has 2 "vertical" tracks - one for 0V and the other for +5V and "horizontal" tracks of 3 hole tracks each side all in a 2.54 mm grid. So components and wire jumpers can be soldered to the tracks like a normal PCB.

You can mount ICs over the "vertical" tracks such that the pins are in the last and first holes of the "horizontal" tracks.

The pattern is
HHHVVHHHnHHHVVHHHnHHHVVHHH etc
HHHVVHHHnHHHVVHHHnHHHVVHHH etc
HHHVVHHHnHHHVVHHHnHHHVVHHH etc
etc
where V = "vertical" track, H = "horizontal" track and n = no connection between tracks.
__________________
Len

Last edited by ljcox; 3rd February 2007 at 08:32 PM.
ljcox is offline   Reply With Quote
Old 3rd February 2007, 08:50 PM   (permalink)
New Member
 
BackFire1 is on a distinguished road
Send a message via MSN to BackFire1
Default

Thanks for your suggestions Nigel and Len. I programmed with Basic STAMPS for years and got to know their quirks. Now I want to increase my processor power and just advance my skills in general. The hardest part I think will be getting to know the quirks of PICs. I note with interest in Nigels tutorials, the one concerned with analouge to digital conversion, that the two registers holding ADC data were in two banks! this is definately something I would consider a quirk! And its stuff like this that has an impact in real world programming. Now if only I can software debounce I'll sleep easy......
__________________
Its undeniable; The smoke in components keeps things working.
BackFire1 is offline   Reply With Quote
Old 4th February 2007, 03:24 AM   (permalink)
Experienced Member
 
Blog Entries: 1
Sceadwian is just really niceSceadwian is just really niceSceadwian is just really nice
Send a message via AIM to Sceadwian Send a message via Yahoo to Sceadwian
Default

Basic Stamps are actually PIC's programmed with a basic interpreter. I'd suggestion checking out Atmel's micro controllers as well, they have some advantages over PIC's and are particularly strong at I/O
__________________
Curiosity killed the cat; That's why they have nine lives.

Sceadwian is offline   Reply With Quote
Old 4th February 2007, 07:59 AM   (permalink)
Super Moderator
 
Nigel Goodwin is a splendid one to beholdNigel Goodwin is a splendid one to beholdNigel Goodwin is a splendid one to beholdNigel Goodwin is a splendid one to beholdNigel Goodwin is a splendid one to beholdNigel Goodwin is a splendid one to behold
Default

Quote:
Originally Posted by Sceadwian
they have some advantages over PIC's and are particularly strong at I/O
I agree that AVR's have some advantages over PIC's, but PIC's have some advantages over AVR's as well - not the least being their far greater popularity.

But apart from that, what is 'particuarly strong' about I/O on an AVR compared with a PIC?.
__________________
PIC programmer software, and PIC Tutorials at:
http://www.winpicprog.co.uk
Nigel Goodwin is offline   Reply With Quote
Old 4th February 2007, 02:28 PM   (permalink)
Experienced Member
House0Fwax is on a distinguished road
Default

Quote:
Originally Posted by BackFire1
Now if only I can software debounce I'll sleep easy......
Here's an example. have a look at experiments 5A and 5B.

http://users.tpg.com.au/users/talkin...nts_page1.html
House0Fwax is offline   Reply With Quote
Old 4th February 2007, 03:04 PM   (permalink)
New Member
 
BackFire1 is on a distinguished road
Send a message via MSN to BackFire1
Default

Thank you Houseofwax!
__________________
Its undeniable; The smoke in components keeps things working.
BackFire1 is offline   Reply With Quote
Old 5th February 2007, 10:20 PM   (permalink)
Experienced Member
 
OY2L is on a distinguished road
Default

Easy Microcontrol'n By David Benson. See www.sq-1.com
OY2L is online now   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Latest
Electronic Systems (General Electronics) ThermalRunaway Electronic Books 34 29th June 2008 04:42 PM
Can anybody recommend a good book or website for beginner electronics projects p.reshetik General Electronics Chat 10 11th January 2007 08:02 PM
Good Computer Programming Book ThermalRunaway Chit-Chat 21 16th September 2005 10:05 PM
good book for learning pic programing ericbirecki Micro Controllers 0 29th August 2005 08:13 AM
Need help finding a good book on transistors guilio_2000 Datasheet/Parts Requests 5 10th August 2005 09:58 PM



All times are GMT. The time now is 11:27 PM.


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