Barcode reader Problem ?


Closed Thread
Results 1 to 6 of 6
  1. #1

    Question Barcode reader Problem ?

    Hi all,
    If anyone has face this problem to help me,
    In my project I have 12V and 5V , 12 volt for driving 12 seven segments and UDN2981 and 5V to drvie PIC16f877a, max7219, LCD, barcode reader (PS/2 ), DS275 and serial eeprom . when I useing only 3 digits of seven segments my project work fine without any problems and the barcode reader working without any problems but when I add 9 digits of seven segments the project is working with all seven segments but I when I insert the id card in the barcode reader it's not working well it's powered on with 5 volt but no response when I insert the ID card , I think that the current is not sufficient to drive the barcode reader , anyone to help me ?

    I get 5V from 12V with 7805 regulter

  2. #2
    Join Date
    Aug 2006
    Location
    Look, behind you.
    Posts
    2,818


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by iugmoh View Post
    Hi all,
    If anyone has face this problem to help me,
    In my project I have 12V and 5V , 12 volt for driving 12 seven segments and UDN2981 and 5V to drvie PIC16f877a, max7219, LCD, barcode reader (PS/2 ), DS275 and serial eeprom . when I useing only 3 digits of seven segments my project work fine without any problems and the barcode reader working without any problems but when I add 9 digits of seven segments the project is working with all seven segments but I when I insert the id card in the barcode reader it's not working well it's powered on with 5 volt but no response when I insert the ID card , I think that the current is not sufficient to drive the barcode reader , anyone to help me ?

    I get 5V from 12V with 7805 regulter
    Hi iugmoh,
    7805 is a 1 amp regulator, if you exceed 1 amp it gets hot and ... also is your 12v supply big enough to supply everything? Have you disabled brown out detect in your config fuses?
    If you do not believe in MAGIC, Consider how currency has value simply by printing it, and is then traded for real assets.
    .
    Gold is the money of kings, silver is the money of gentlemen, barter is the money of peasants - but debt is the money of slaves
    .
    There simply is no "Happy Spam" If you do it you will disappear from this forum.

  3. #3


    Did you find this post helpful? Yes | No

    Lightbulb

    Quote Originally Posted by Joe S. View Post
    Hi iugmoh,
    7805 is a 1 amp regulator, if you exceed 1 amp it gets hot and ... also is your 12v supply big enough to supply everything? Have you disabled brown out detect in your config fuses?
    thanks Joe ,
    Oky I solve this problem by adding a seperate volatage supply only for barcode reader and it's working fine.

    but what do you mean by "Have you disabled brown out detect in your config fuses"

  4. #4


    Did you find this post helpful? Yes | No

    Lightbulb

    Quote Originally Posted by Joe S. View Post
    Hi iugmoh,
    7805 is a 1 amp regulator, if you exceed 1 amp it gets hot and ... also is your 12v supply big enough to supply everything? Have you disabled brown out detect in your config fuses?
    thanks Joe ,
    Oky I solve this problem by adding a seperate volatage supply only for barcode reader and it's working fine.

    but what do you mean by "Have you disabled brown out detect in your config fuses" ?

  5. #5
    Join Date
    Aug 2006
    Location
    Look, behind you.
    Posts
    2,818


    Did you find this post helpful? Yes | No

    Default

    The PIC has the ability to sense when it's power is getting too low and it shuts down if brown out is enabled, if disabled it will run until it won't run any longer . . . so in your config statement you can enable or disable. Some chips use BOD_OFF or BODEN_OFF, you can see all the choices for the chip you are using in the MPASM directory\ xxFxxxx.inc file, the xxFxxxx being the number of the PIC you are using I. E, 16F628A or 16F876A etc. You will find those files in C:\Program Files\Microchip\MPASM Suite\ if you did not use a "custom" install location.
    From that file on my computer, p16F877A.inc : _BODEN_OFF added to your config statement will disable brown out detect.
    Study this link : http://www.picbasic.co.uk/forum/showthread.php?t=543
    Last edited by Archangel; - 17th February 2008 at 22:27. Reason: add
    If you do not believe in MAGIC, Consider how currency has value simply by printing it, and is then traded for real assets.
    .
    Gold is the money of kings, silver is the money of gentlemen, barter is the money of peasants - but debt is the money of slaves
    .
    There simply is no "Happy Spam" If you do it you will disappear from this forum.

  6. #6


    Did you find this post helpful? Yes | No

    Unhappy

    Quote Originally Posted by Joe S. View Post
    The PIC has the ability to sense when it's power is getting too low and it shuts down if brown out is enabled, if disabled it will run until it won't run any longer . . . so in your config statement you can enable or disable. Some chips use BOD_OFF or BODEN_OFF, you can see all the choices for the chip you are using in the MPASM directory\ xxFxxxx.inc file, the xxFxxxx being the number of the PIC you are using I. E, 16F628A or 16F876A etc. You will find those files in C:\Program Files\Microchip\MPASM Suite\ if you did not use a "custom" install location.
    From that file on my computer, p16F877A.inc : _BODEN_OFF added to your config statement will disable brown out detect.
    Study this link : http://www.picbasic.co.uk/forum/showthread.php?t=543

    Thanks for your replying

    Oky I discover strange problem in my code and I don't know what is the reason , The interrupt woking properly without any problems but when I define new variable like this

    qcount var word

    any name not necessary to be (qcount) , then the interrupt not woking well , what may be the the cause of this problem ????

Similar Threads

  1. Barcode reader with PIC16f877A ?
    By iugmoh in forum General
    Replies: 18
    Last Post: - 26th December 2008, 05:11
  2. PS/2 barcode reader to RS232 port - need help
    By phoenix_1 in forum Schematics
    Replies: 10
    Last Post: - 28th May 2008, 05:35
  3. Serial interface with RFID reader
    By brid0030 in forum Serial
    Replies: 8
    Last Post: - 23rd January 2007, 06:23
  4. Proximity Card Reader
    By Sphere in forum mel PIC BASIC Pro
    Replies: 6
    Last Post: - 6th November 2005, 14:43
  5. Smart card reader with PIC16F84A
    By bangunprayogi in forum Serial
    Replies: 0
    Last Post: - 12th August 2005, 10:36

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts