Arduino Mega 2560 with Barcode Scanner + LCD

Поделиться
HTML-код
  • Опубликовано: 23 окт 2024

Комментарии • 37

  • @momenal-momani5964
    @momenal-momani5964 4 года назад

    my friend can i convert the code to number (price) in Arduino ?
    and do total for all price of product ?

  • @흑마법사_베이가
    @흑마법사_베이가 5 лет назад

    I bought all the parts in the video description in the same way. Could you provide me the code for reference? Please understand that grammar can be strange because it is a translator.

  • @baptfbg6605
    @baptfbg6605 4 года назад

    Hi ! Do you remember how you configured the scanner ?

    • @baptfbg6605
      @baptfbg6605 4 года назад

      because when I try to read a barcode, the only thing I see is "?????"

  • @hariskhansaddozai7100
    @hariskhansaddozai7100 8 лет назад

    hi bro..kindly tell me...there in this video u also use electronic module bcz i am working on this but i not abel to fina bar code scanner and electronic module..plz guide me...thanks...

    • @stefcio007
      @stefcio007  7 лет назад

      +Hariskhan Saddozai DF-DFR0314

  • @dhruvampatel8968
    @dhruvampatel8968 4 года назад +1

    Sir, can you send me code so i can figure out where i need to work on my programming?

  • @rohitdhongadi
    @rohitdhongadi 7 лет назад

    Hello Sir,
    can u please tell me where did u buy that barcode reader.
    plz post a link if you have have bought it online.
    and majorly i need the information whether it is a UART output barcode reader ?
    please reply for my questions i am in real emergency & i urgently need it for my project work. plz help me.

    • @stefcio007
      @stefcio007  7 лет назад

      I bought mine through a local reseller but here is the product direct from the manufacturer that I bought www.dfrobot.com/product-1135.html?tracking=58b60e381054a

  • @antoinevervier206
    @antoinevervier206 6 лет назад

    Hi,
    What is the program you use on arduino ?

  • @Khanarmaanrokz
    @Khanarmaanrokz 4 года назад

    How do we get the product prices ?

  • @MuckYu
    @MuckYu 8 лет назад

    Do you have a sketch of the wiring and code? Mine does not seem to turn on at all :(

    • @stefcio007
      @stefcio007  7 лет назад

      +MuckYu Double check the data sheet, I am using a DF-DFR0314 scanner. Use the barrel plug to supply 5V to the scanner.

    • @MuckYu
      @MuckYu 7 лет назад

      Thanks! I only have a scanner without the blue board underneath. Is it just to add the button and buzzer? (Then I could just make my own) Or is there more to it?

    • @stefcio007
      @stefcio007  7 лет назад

      No, there's a lot more to it. They generally all work the same. If you are unsure, connect an oscilloscope and see what signals you get out of it when it scans a barcode.

  • @arnavgaikar9103
    @arnavgaikar9103 5 лет назад

    Sir we are working on projects in which using this sensor.. it will be a great help by you if send code.. how u interface with Arduino mega? Please sir waiting for your reply

    • @stefcio007
      @stefcio007  4 года назад

      Open a serial connection to the scanner and monitor the incoming characters.

  • @dariosouza8956
    @dariosouza8956 5 лет назад

    Ola amigo, muito bom. Poderia mim passar o codigo? Desde ja agradeço

  • @zulfarafeek5712
    @zulfarafeek5712 6 лет назад

    can i get the code please..
    im using rs232 barcode scanner and using rs232 to ttl convertr

    • @stefcio007
      @stefcio007  6 лет назад

      I didn't use a RS232 to TTL converter, just opened a serial port and connected directly and told it to spit out to the log window then created a program based on that data.

  • @warrenoprs6729
    @warrenoprs6729 5 лет назад +1

    show me your programme please !

  • @syedhussainshanasrizvi848
    @syedhussainshanasrizvi848 5 лет назад

    Sir can you please send code of this barcode module. we are using lv4 barcode module and we are having trouble in assigning values. urgent help is required.

  • @robertoczeljak9492
    @robertoczeljak9492 7 лет назад

    hello, can u provide barcode scanner type please?

    • @stefcio007
      @stefcio007  7 лет назад +1

      +Robert Oczeljak DF-DFR0314

  • @abamicharles1608
    @abamicharles1608 6 лет назад

    Oi amigo
    Você pode me passar o código por favor?

  • @조준혁-c3h
    @조준혁-c3h 7 лет назад

    hello bro...can u provide barcode scanner code? please...

    • @stefcio007
      @stefcio007  7 лет назад +1

      sure, just send me the serial UART values you get from your scanner for each number and I can write you the program. Without them it's useless as it will be different for every single scanner. If you don't know what I'm talking about look at the UART tutorial on the Arduino website and and/or use your oscilloscope to help you.

  • @anishamathew5926
    @anishamathew5926 8 лет назад

    Hi, Would you be able to share your code please? I need help with setting up my barcode scanner with my arduino mega
    much appreciated!! :)

    • @stefcio007
      @stefcio007  8 лет назад

      Hi, whenever a barcode is scanned by the scanner it spits out the data over the UART. Just configure one of your hardware serial ports on your mega to read the data.
      Baud rate should be set to 9600 which is the default for the scanner.

    • @anishamathew5926
      @anishamathew5926 8 лет назад

      Hi Thank you so much for your reply. I am sorry, but I am very new to this so apologies in advance if my questions seems silly.
      When you say configure your hardware serial port, would that suggest a change to be made to my code? my usb shield library (.h file) or a hardware change?

    • @anishamathew5926
      @anishamathew5926 8 лет назад +1

      also, may I ask what external power supply you are using?

    • @stefcio007
      @stefcio007  8 лет назад +1

      Have a look at this tutorial www.arduino.cc/en/Tutorial/MultiSerialMega, I am using an RS232 scanner powered externally using a test bench type power supply set at 5V and less than 500mA available current which is plenty.
      Change byte to int in the tutorial, as you gets numbers from this scanner over serial.
      You computer serial monitor should show numbers coming from the scanner when it scan something.
      NOTE: They are not going to be the barcode numbers, but serial level numbers from 0-255. You need to figure out what each numbers serial level is and convert it with something like an if or case statement.