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 30th March 2008, 08:41 PM   (permalink)
Default What am i doing wrong? First project

I'am trying to built a simple circuit that will adjust the brightness of an LED depending on the input voltage.
Im using a 4mhz crystal and i have pins 8 and 19 grounded, pin 20 +5Volts
The chip is a pic16f876
Ive attached the settings on my stuff.



Zordon is offline   Reply With Quote
Old 31st March 2008, 12:23 AM   (permalink)
Default

I think this is the first time I've heard of a microcontroller being programmed in ladder logic, does the AVR support this? Sorry that I'm unable to answer your question :\
Salgat is offline   Reply With Quote
Old 31st March 2008, 02:03 AM   (permalink)
Default

yeah you can download it here and its for AVR
http://cq.cx/ladder.pl
Zordon is offline   Reply With Quote
Old 31st March 2008, 07:44 AM   (permalink)
Default

The author has a very nice tutorial about turning On/Off a LED with a push button. It also use a 16F876 as yours.

Have you tried it out yet? It is so important that one should follow the tutorial to prove that every step of the process is happening smoothly and have chance sort out any hardware/software problem one might encounter.

Many don't appreciate the importance of flashing a LED on a PIC or AVR and think it is a childish act. They will never understand its the whole process that counts.
__________________
L.Chung
eblc1388 is offline   Reply With Quote
Old 31st March 2008, 08:04 AM   (permalink)
Default

Do you have /MCLR pulled up?
__________________
Superman returns..
bananasiong is offline   Reply With Quote
Old 31st March 2008, 05:50 PM   (permalink)
Default

Quote:
Originally Posted by Salgat
I think this is the first time I've heard of a microcontroller being programmed in ladder logic, does the AVR support this? Sorry that I'm unable to answer your question :\
Me too, I thought ladder logic was just a PLC thing.
__________________
I also post at the following sites:
http://www.stop-microsoft.org http://www.heated-debates.com
Screen name: Aloone_Jonez
Hero999 is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Latest
AM receiver raj_404 General Electronics Chat 61 11th July 2008 02:41 AM
RF track relay project sivanujan Electronic Projects Design/Ideas/Reviews 0 22nd March 2008 10:08 AM
Building A Touch Screen For My Final Year Project mekman Electronic Projects Design/Ideas/Reviews 6 28th November 2007 08:59 PM
Final Year Project Title kevintcp85 Electronic Projects Design/Ideas/Reviews 3 17th November 2007 02:09 AM
Simple switching/pulse project dbtoutfit Electronic Projects Design/Ideas/Reviews 2 1st November 2007 01:46 PM



All times are GMT. The time now is 12:14 PM.


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