interfacing to microcontroller

Discussion in 'Embedded Systems and Microcontrollers' started by sampath k, Apr 14, 2016.

  1. sampath k

    Thread Starter New Member

    Apr 11, 2016
    4
    0
    i want to interface bar code to 89s52 atmel micro controller please help me regarding this program.


    Mods Edit:
    Email account was deleted.
    Please don't post Email on forum, it will bring the spam robotics to the forum and you.
     
  2. vpoko

    Member

    Jan 5, 2012
    258
    47
    How this normally works is you ask your specific question here, and if anyone has expertise, they answer them here so that others can benefit from the answers. Nobody's going to personally email you.
     
  3. ErnieM

    AAC Fanatic!

    Apr 24, 2011
    7,388
    1,605
    Get a bar code reader with an output type you both understand and can easily handle, such as RS-232.

    Then connect it thru an RS-232 to logic converter to the appropriate place on your micro controller.
     
  4. Papabravo

    Expert

    Feb 24, 2006
    10,142
    1,790
    It would help immensely if you could point to a bar code reader you might be interested in so we can look at the technical manual to see what kind if interface it has. That way we can recommend a proper strategy for accomplishing your goal.
     
  5. shteii01

    AAC Fanatic!

    Feb 19, 2010
    3,387
    497
    My isk is on bar code being led bar graph.
     
  6. atferrari

    AAC Fanatic!

    Jan 6, 2004
    2,648
    763
    Where in that program you have a problem? Schematic? Block diagram? Code?
     
  7. sampath k

    Thread Starter New Member

    Apr 11, 2016
    4
    0
    sir i am using (i ball bar code) i want this bar code to interface atmel 89s52 micro controller help me regarding interfacing program
     
  8. sampath k

    Thread Starter New Member

    Apr 11, 2016
    4
    0
    yes
    i am using this circuit board
     
  9. sampath k

    Thread Starter New Member

    Apr 11, 2016
    4
    0
    USB barcode i am interfacing
     
  10. Papabravo

    Expert

    Feb 24, 2006
    10,142
    1,790
    We are at nine posts and you still have not identified the bar code reader you are using, except to suggest that it has a USB interface. IMHO, since no version of the 89S52 has USB hardware, you will need to find a USB controller to do this interface. I don't think that an 89S52 has the horsepower to bit-bang a USB interface, at least not a full speed (12 MHz.) USB 2.0 compatible connection.
     
  11. shteii01

    AAC Fanatic!

    Feb 19, 2010
    3,387
    497
    i ball bar code from #7 == http://www.iball.co.in/category/Barcode-Scanners/226
     
  12. Papabravo

    Expert

    Feb 24, 2006
    10,142
    1,790
    Thanks for the link. It was unclear from Post #7 what the poster was referring to. I thought he was describing a type of bar code since I had never heard of the company or their reader. Poster's should be aware that communicating in textspeak (all lower case letters) has certain manifest disadvantages. If he had said: "I'm using a bar code reader from the "i ball" company that would have been most helpful.
     
    absf likes this.
  13. Papabravo

    Expert

    Feb 24, 2006
    10,142
    1,790
    Lovely website -- but,
    1. Which scanner are you using?
    2. How do I access the technical documentation?
    Maybe the modern technique is to avoid language problems with text and just transfer information by osmosis.
     
  14. shteii01

    AAC Fanatic!

    Feb 19, 2010
    3,387
    497
    At this point I don't think OP using textspeak. I think we are having language problem. If I understand correctly the OP is from India. And while they do use English for education, the quality of English varies greatly. Some individuals are more fluent than others.
     
  15. Papabravo

    Expert

    Feb 24, 2006
    10,142
    1,790
    Communication is more than words. Capitalization, punctuation, and word selection are equally important. His shortcoming was to conflate the bar code itself with a bar code reader. Since "i ball" is an Indian company, there is no apriori reason why I would know or recognize that; he could have drawn attention to that fact by providing the link which you did for him. This is his project and he needs to show some industry in order to receive the help he seeks. Maybe he has a friend with greater knowledge of English that can help him compose his questions.
     
    Last edited: Apr 16, 2016
Loading...