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
 
LinkBack Thread Tools Display Modes
Old 7th February 2007, 03:54 AM   (permalink)
Exclamation PIC16F84A Single Digit Clock coding Problems (Nixie)

Hi I’m building nixie’s single digit clock. the original link and the source code you can find here

http://www.electronixandmore.com/project/15.html

I made and assembled the file and ran the circuit. But I got a problem. The segment “E” is not working all the others working. Why is this?

Table for the numbers also done in a different way. Taken PORTB 2 pins & PORTA all 5pins for the segment. For the table it hasn’t use RETLW. I’m confused with it. I changed more PICS but still having the problem. So I need urgent help from you.

Thanks a lot.
Attached Files
File Type: txt clock.txt (9.2 KB, 12 views)
Suraj143 is offline  
Old 7th February 2007, 07:38 AM   (permalink)
Default

You might try reading the datasheet?, RA4 is an open collector output - you need a pullup resistor to make it go high!.
__________________
PIC programmer software, and PIC Tutorials at:
http://www.winpicprog.co.uk
Nigel Goodwin is offline  
Old 8th February 2007, 05:36 AM   (permalink)
Default

Quote:
Originally Posted by Nigel Goodwin
You might try reading the datasheet?, RA4 is an open collector output - you need a pullup resistor to make it go high!.
Ya thats the problem Nigel.I referred to the data sheet RA4 is open drain type.I missed that pullup resistor.Now its working.

thankx .
Suraj143 is offline  
Old 8th February 2007, 07:47 AM   (permalink)
Default

Quote:
Originally Posted by Suraj143
Ya thats the problem Nigel.I referred to the data sheet RA4 is open drain type.I missed that pullup resistor.Now its working.
It's a VERY, VERY, VERY common mistake! - I still do it occasionally even now!.
__________________
PIC programmer software, and PIC Tutorials at:
http://www.winpicprog.co.uk
Nigel Goodwin is offline  
Old 8th February 2007, 01:49 PM   (permalink)
Default

Thanks friend. This info is very usefull for me also. Coz i also have same problem
pasanlaksiri is offline  
Old 8th February 2007, 02:20 PM   (permalink)
Default

Quote:
Originally Posted by pasanlaksiri
Thanks friend. This info is very usefull for me also. Coz i also have same problem
No need to thank me, you will find the same information posted all over this forum by MANY different people - like I said, it's a VERY common mistake.

It's funny, sometimes you really curse it for being different, then another day you wish all the outputs were like that! - you just can't win!
__________________
PIC programmer software, and PIC Tutorials at:
http://www.winpicprog.co.uk
Nigel Goodwin is offline  
Old 8th February 2007, 06:15 PM   (permalink)
Default

hi every body! we all humen makes same mistakes many times.
But i try to start with some tips. checking of powersupply, reset pin,oscilator, low voltage programming pin, and always RA4.
and Nigel Goodwin is every where in the pic forums with his excellent experties.

Have a nice day!
mrpicing is offline  
Reply

Bookmarks

Thread Tools
Display Modes



Similar Threads
Title Starter Forum Replies Latest
Problem with LCD code? spondootre Micro Controllers 15 29th April 2008 10:15 AM
Coding problems on 16f88 IMSlo Micro Controllers 40 29th December 2006 12:50 PM
Hardcode a PIC by hand? (or 16F74 + par.port.prog = problem) smilen Micro Controllers 15 21st November 2005 10:23 AM
Single digit 7 segment VF displays Eclipsed General Electronics Chat 6 12th July 2005 04:57 AM
Help me on basketball's game clock and shot clock! syaw_007 Electronic Projects Design/Ideas/Reviews 1 6th September 2004 10:50 PM



All times are GMT. The time now is 07:36 AM.


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

eXTReMe Tracker