Arduino projects + Bar Code Scanner + USB Shield

  Рет қаралды 176,422

Electroingenio

Electroingenio

Күн бұрын

Пікірлер: 361
@eliottangelo
@eliottangelo 7 жыл бұрын
Hola, queria agradecerte por el video, yo tambien tenia el error HID_PROTOCOL_KEYBOARD' was not declared in this scope, estoy con la versión 1.8.5 y la solución al error fue cambiar la version del USB HOST Shield Library a una más antigua (mediante el gestor de librarias del mismo arduino) y el programa funcionó correctamente.
@joseluisyacemartinez7445
@joseluisyacemartinez7445 7 жыл бұрын
hola me podrias ayudar con una consulta urgente?
@eliottangelo
@eliottangelo 7 жыл бұрын
Cual es la duda?
@joseluisyacemartinez7445
@joseluisyacemartinez7445 7 жыл бұрын
hola bro , acabo de solucionarla despues de 5 horas de informacion xd pero aprovecho y me atrevo a pregntar si sabes como enviar todo los digitos como un solo "caracter" y no como lo hace actualmentes el programas byte x byte(resumen quiero k dispare todo junto y no 1 x 1)
@eliottangelo
@eliottangelo 7 жыл бұрын
Eso no lo se, porque solamente pude hacer que el usb funcione, de hecho aparece los datos mediante el key dentro de las intrucciones usb y solo lo maneja "dato por dato" porque creo que es como si estuviese conectado un taclado: muestra en pantalla letra por letra que se va escribiendo. Tendrías que buscar una forma de convertir los datos que quieres después de la lectura.
@joseluisyacemartinez7445
@joseluisyacemartinez7445 7 жыл бұрын
ya lo consegui... ahora el trabajo es como enviarlo por xbee
@juancamilodovalsanchez2374
@juancamilodovalsanchez2374 Жыл бұрын
una pregunta sirve con los codigos de barras de los documentos de identidad?
@Lean-managementPl
@Lean-managementPl Жыл бұрын
I wanted to buy this code but there is no payment method. Is there any other option to get the code?
@alexmarnan4228
@alexmarnan4228 4 жыл бұрын
Are you using arduino uno?
@pierpa_76pierpaolo
@pierpa_76pierpaolo Жыл бұрын
Code A0 -----------> DATA + USB ?
@cesarmercado8106
@cesarmercado8106 5 жыл бұрын
Hola . Estoy con un proyecto parecido .. si doy ok en la compra por 1 dólar me larga el código que usaste ?? Quería agregarle un módulo relee con 8 relee ..
@marisolgomezsanchez1088
@marisolgomezsanchez1088 6 жыл бұрын
hola buenas tardes serias tan amable de decirme que lector de barras utilizaste
@GeoTalkOfficial
@GeoTalkOfficial 6 жыл бұрын
where you buy the barcode scanner
@ajwilberger
@ajwilberger 6 жыл бұрын
Hola. Mi pregunta es muy concreta: estos lectores de códigos de barras, ¿pueden leer en la oscuridad? Porque lo estoy pensando para un domo astronómico, donde el sistema debe saber constantemente en qué posición está el domo.
@Electroingenio
@Electroingenio 6 жыл бұрын
Hola Javier, no lo he probado en la oscuridad pero debería funcionar.
@necrodrucifver
@necrodrucifver Жыл бұрын
Hola, intenté comprar el código pero no hay forma de pago para México, Ademas el apartado de contacto de la pagina no funciona
@danielamagana8756
@danielamagana8756 10 жыл бұрын
hola!! tengo una duda solo se puede utilizar el codigo de barras mostrado en el video?? o se puede utilizar cualquiera? si se puede utilizar otro aparte del mencionado en el video tiene que tener algunas especificaciones o datos?
@Electroingenio
@Electroingenio 10 жыл бұрын
Te refieres al scanner?, en general funciona con varias referencias, pero tienes que tener en cuenta que al verificar los codigos de Class, Subclass y protocol sean como se indican en el video.
@danielaguirre2511
@danielaguirre2511 5 жыл бұрын
hola, tengo un scanner Symbol LS2208, al conectarlo y ejecutar el USBdesc no me muestra los datos que te aparecen a ti en el monitor serial, solo puros simbolos como garabatos, me podrias ayudar?
@lauta160
@lauta160 9 жыл бұрын
existe algun lector infrerrojo de codigo qr? como los lector de codigo de barras pero para imagenes completas
@Electroingenio
@Electroingenio 9 жыл бұрын
hasta ahora no los conozco, no sabría decirte si existen. Lo que se es que el código QR esta diseñado para ser reconocido por una cámara.
@lauta160
@lauta160 9 жыл бұрын
+Electroingenio Recien buscando encontre unos en alibaba como QR code infrared reader, espero que sean lo que creo.
@Electroingenio
@Electroingenio 9 жыл бұрын
+Julio Nuñez excelente, me cuentas
@teusnani
@teusnani 9 жыл бұрын
en este video que hiciste el código aparece en la pantalla derecha? Necesito exportar esta bares código en el Arduino para leer cualquier tipo de archivo. Para hacer un sistema de medición de producto que el código de barras.
@Electroingenio
@Electroingenio 9 жыл бұрын
es el que aparece a mano izquierda
@oscardavidrodriguezfernand3903
@oscardavidrodriguezfernand3903 4 жыл бұрын
Agrego el programa para validar os tres codigos que indica la pistola lectora, pero veo que ni me energiza la pistola, qe debo hacer en este caso
@Sachin1197
@Sachin1197 6 жыл бұрын
Hi, can this be used to operate a motor only if this barcode info matches with a stored info ?
@liksabar1420
@liksabar1420 5 жыл бұрын
I always find error in . I have searched the library directory but i have not found hid.h. I have searched the comments field but there are no answers that can help. Please help me, how can i solve this...
@declinmaglasang9758
@declinmaglasang9758 4 жыл бұрын
Is it compatible to a Nucleo Board?
@dlsrevolution13
@dlsrevolution13 9 жыл бұрын
hello.. what power supply did you use? how much volts and amperes needed to run both the arduino and barcode scanner?
@Electroingenio
@Electroingenio 9 жыл бұрын
+Loven De Los Santos you need a 5v external power supply with min 1amp
@dlsrevolution13
@dlsrevolution13 9 жыл бұрын
+Electroingenio i supplied an external power supply.. the scanner led indicator just keep blinking.. i did not connect a lcd display to my project.. any help please?
@Electroingenio
@Electroingenio 9 жыл бұрын
+Loven De Los Santos what do you need exactly?
@dlsrevolution13
@dlsrevolution13 9 жыл бұрын
+Electroingenio i would like to use an arduino with barcode scanner.. when i scan a barcode the output will display to the serial monitor.. can you help me? please?
@dlsrevolution13
@dlsrevolution13 9 жыл бұрын
+Electroingenio i tried to upload your code.. but it gives me an error.. sketch to big.. can you help me please.. i badly need it..
@irenekong4588
@irenekong4588 8 жыл бұрын
hi, i got problem when clicking USB_desc of USB_Host_Shield_2.0-master. when compiling it, it appears error : usb.ino: 3:17: fatal error: usb.h: No such file or directory. I use arduino version 1.6.5. How to solve it?
@Electroingenio
@Electroingenio 8 жыл бұрын
hello, I recommend you that erase the underlines and middle lines from folder USB host shield library and join all words of the file name.close the arduino and open again.
@Electroingenio
@Electroingenio 8 жыл бұрын
points too
@momonarie
@momonarie 9 жыл бұрын
I really enjoy your code, I don't fully understand what it does , but maybe you can help me with my problem. I need to read from the barcode scanner and place the value into a variable that I can use for a switch/case statement.
@Electroingenio
@Electroingenio 9 жыл бұрын
Moises Beato in the file code, you need to verify when the scanner finish to send data. In line 86, on file code, the arduino print each number from scanner, you need to collect all number in a string variable.
@momonarie
@momonarie 9 жыл бұрын
Thank you
@szelayho4147
@szelayho4147 9 жыл бұрын
Electroingenio Hi, how i can collect all number that i have scan into a string variable from line 86??
@Electroingenio
@Electroingenio 9 жыл бұрын
use "key" variable, I not do it, but try
@edd199527
@edd199527 8 жыл бұрын
+Electroingenio I don't understand what you exactly meant with that. Could you please give us a little example that you have tested and works?
@louiegary
@louiegary 9 жыл бұрын
Can you please tell me what kind of scanner your using?
@Electroingenio
@Electroingenio 9 жыл бұрын
DATALOGIC QUICKSCAN
@louiegary
@louiegary 9 жыл бұрын
+Electroingenio thank you
@louiegary
@louiegary 9 жыл бұрын
+louiegary Is this the only compatible bar-code scanner that I can use with the Arduino?
@Electroingenio
@Electroingenio 9 жыл бұрын
+louiegary no, others works, verify that not requiere driver
@louiegary
@louiegary 9 жыл бұрын
+Electroingenio so any usb barcode scanner that does not require any drivers, correct?
@dlsrevolution13
@dlsrevolution13 9 жыл бұрын
i am using the same scanner.. any configuration with the barcode scanner?
@Electroingenio
@Electroingenio 9 жыл бұрын
+Loven De Los Santos no, only verify the Intf. Class: 03 Intf. Subclass: 01 Intf. Protocol: 01
@dlsrevolution13
@dlsrevolution13 9 жыл бұрын
+Electroingenio yes i verified the Intf.. but the scanner just keep on blinking... the green led.. whats wrong?
@Electroingenio
@Electroingenio 9 жыл бұрын
+Loven De Los Santos you need external power supply 5v 1amper
@dlsrevolution13
@dlsrevolution13 9 жыл бұрын
+Electroingenio here's my output.. Start 01 -- Device descriptor: Descriptor Length: 12 Descriptor type: 01 USB version: 0200 Device class: 00 Device Subclass: 00 Device Protocol: 00 Max.packet size: 40 Vendor ID: 05F9 Product ID: 221C Revision ID: 0907 Mfg.string index: 01 Prod.string index: 02 Serial number index: 03 Number of conf.: 01 Configuration descriptor: Total length: 0022 Num.intf: 01 Conf.value: 01 Conf.string: 04 Attr.: 80 Max.pwr: 8C Interface descriptor: Intf.number: 00 Alt.: 00 Endpoints: 01 Intf. Class: 03 Intf. Subclass: 01 Intf. Protocol: 01 Intf.string: 05 Unknown descriptor: Length: 09 Type: 21 Contents: 11010001223F000705 Endpoint descriptor: Endpoint address: 82 Attr.: 03 Max.pkt size: 0040 Polling interval: 01 Addr:1(0.0.1)
@dlsrevolution13
@dlsrevolution13 9 жыл бұрын
+Electroingenio sir in your project.. does the barcode scanner required a separate supply of 5 volts?
@vikrantpatelart
@vikrantpatelart 3 жыл бұрын
I have my barcode scanner tied to the circuit that cuts the power to the scanner when the label maker prints the label. Once the label is removed the power is back on and the barcode scanner and key board will turn on. My challenge is that the Barcode scanner doesn’t come back instantly after you remove the label and takes 11secs to turn back on. Do you know a setting or a device that can help me eliminate this delay!
@atrecuador
@atrecuador 5 жыл бұрын
descargue el codigo y me da un error #include //Add to Oleg Mazurov code to Bar Code Scanner . como me puedes ayudar urgente
@jucam
@jucam 5 жыл бұрын
Ya agregaste la librería a arduino?
@danielaguirre2511
@danielaguirre2511 5 жыл бұрын
@@jucam de donde se puede descargar esa librería?
@oscardavidrodriguezfernand3903
@oscardavidrodriguezfernand3903 4 жыл бұрын
Amigo buenas noches, tengo un problema, conecto mi lector codigo de barras (x-718 wired laser barcode scanner) cargo un codigo pero no me energiza la pistola, como puedo validar primero si la salida me esta alimentando la pistola o unicamente se energiza con el codigo correcto?
@MrJavixu94
@MrJavixu94 9 жыл бұрын
Hola, muy buen video de demostración!Tengo una duda, estoy haciendo un proyecto de clase en el que automatizo la verificación de calidad de un paquete, a través de un código de barras conozco los datos de peso, dimensiones, receptor, etcMe han proporcionado el lector CS1504, serviría también para este lector la biblioteca que has utilizado?
@Electroingenio
@Electroingenio 9 жыл бұрын
+Javier Andrés García no te sabria decir con exactitud, debes verificar que sea plug and play y no requiera la instalacion de un software para su reconocimiento.
@simasonline5215
@simasonline5215 3 жыл бұрын
hello, can the barcode device be converted into an RFID module? if so how to do it? thanks
@yoyeah1461
@yoyeah1461 5 жыл бұрын
why i uploaded USB_DEC library into arduino with Barcode scanner but when turn on serial monitor there is no output file of the barcode reader like you?
@hidalgoem
@hidalgoem 5 жыл бұрын
You can not use the same serial port to communicate at the same time to serial monitor and the bar code.
@yoyeah1461
@yoyeah1461 5 жыл бұрын
So what should i do? Can you tell me. Thank you
@yoyeah1461
@yoyeah1461 5 жыл бұрын
I did exactly the same as the video instruction but there is no output file in the serial monitor. Just a "start" line that was all
@guna_onehatibie8185
@guna_onehatibie8185 7 жыл бұрын
hy ... so thanks full ... its so great projetc... its work properly..
@irenekong4588
@irenekong4588 8 жыл бұрын
Thank you so much for helping me!!!
@ariunboldtuvshinbayar3614
@ariunboldtuvshinbayar3614 7 жыл бұрын
Hi what distance does this scanner read barcode
@Electroingenio
@Electroingenio 7 жыл бұрын
I am not sure, maybe 30cm
@naposohkbpsibuluan4384
@naposohkbpsibuluan4384 4 жыл бұрын
I want to design a tool to make a qr code scanner, please help me.
@luiscarlosmonterrozobran9756
@luiscarlosmonterrozobran9756 4 жыл бұрын
For code qr?
@anishamathew5926
@anishamathew5926 8 жыл бұрын
May I also ask what external power supply you are using here?
@Electroingenio
@Electroingenio 8 жыл бұрын
yes, I used 9V power supply to Arduino
@ahsanulkabir8640
@ahsanulkabir8640 4 жыл бұрын
@@Electroingenio 9 volt ???? !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
@fabiodinicolantonioortona1407
@fabiodinicolantonioortona1407 7 жыл бұрын
Hi, i'm looking for Hid.h library. I have HID.h but it doesn't work. Where can i find it? Cheers.
@Electroingenio
@Electroingenio 7 жыл бұрын
Fabio Di Nicolantonio | Ortona if you want I could send you the library, tell me your email
@fabiodn8409
@fabiodn8409 7 жыл бұрын
Fabio Di Nicolantonio | Ortona f.dinicolantonio@cnos-fap.it Cheers!
@brunovcm99
@brunovcm99 7 жыл бұрын
can you send me the complete? brunovcm99@hotmail.com
@wtelectronica
@wtelectronica 7 жыл бұрын
Buenas noches, podrias enviarme por favor la libreria a martin-castellan@hotmail.com?
@brandonbritos7886
@brandonbritos7886 7 жыл бұрын
I need the library too, can you send me in my email? mbaretek1@gmail.com
@powerbibal
@powerbibal 9 жыл бұрын
Estimado tengo un problema, resulta que pude leer todo sin problemas. El tema es que quiero a ese código asignarle un precio y bueno no se donde realizar el codigo, intente ponerlo en el loop, pero no me toma el codigo... ademas el codigo esta solo en una variable, o sea (char)key cambia 13 veces de valor, pero todos esos numeros me gustaria tomarlos y asignarle un precio.
@samfr826
@samfr826 9 жыл бұрын
hola, tengo una duda como puedo almacenar en una variable el dato arrojado por le lector???
@Electroingenio
@Electroingenio 9 жыл бұрын
Sallybertha Salamandra debes capturar cada numero del codigo que llega a la variable "Key" y acumularlo en otra variable, intenta con variable tipo string. No lo he hecho pero creería que puede ser de esa manera.
@edd199527
@edd199527 8 жыл бұрын
+Electroingenio como puedo hacer eso y que me funcione? Si podrías poner un pequeño ejemplo por favor y que funcione. Gracias por tu atención.
@Electroingenio
@Electroingenio 8 жыл бұрын
Eduardo Javier Jimenez Suero por medio de un ciclo FOR
@naposohkbpsibuluan4384
@naposohkbpsibuluan4384 4 жыл бұрын
Can scan qr code?
@maxxmurdock2048
@maxxmurdock2048 6 жыл бұрын
Hi. I'm currently working on it and the revised code worked. But I have 1 big problem. When I plug the barcode scanner it doesnt seem to work. But when I plug it in a pc, it worked fine without a driver. The LCD displays "Ready" as stated on the program. But my barcode scanner doesnt seem to establish a connection with the host. Please help.
@asmatematico1352
@asmatematico1352 8 жыл бұрын
Buena tarde amigo disculpa porque aparece el siguiente error USB_HID_PROTOCOL_KEYBOARD was not declared in this scope
@Electroingenio
@Electroingenio 8 жыл бұрын
te hace falta instalar la librería USB host shield
@zebaforonda
@zebaforonda 8 жыл бұрын
tengo el mismo problema y no me funciona y ya tengo la libreria
@asmatematico1352
@asmatematico1352 8 жыл бұрын
Buscala en los comentarios amigo es un archivo de mega usa ese, no el que esta en la descripcion eso me soluciono el problema a mi
@irenekong4588
@irenekong4588 8 жыл бұрын
shall i need to cut SS jumper? Pin 0,1,2,3,5,6 is used for lcd .
@annasrustriana7625
@annasrustriana7625 6 жыл бұрын
Hi, i'm looking for Hid.h library, Where can i find it?
@MrSaemichlaus
@MrSaemichlaus 10 жыл бұрын
Could you also use the shield as an USB host for your own USB device? I'm planning on making a gamecontroller, so can I wire the USB cable to the Arduino and have it communicate to any device that my controller is plugged in?
@Electroingenio
@Electroingenio 10 жыл бұрын
Yes, is posible, the next video use an PS3 control: USB Shield Arduino + Servo Control PS3
@gdvip728
@gdvip728 9 жыл бұрын
Hi I'm a high school student and I have graduation project, so I want to ask you if we want to convert the code that the scanner reads into number like dates, how can we do that?
@Electroingenio
@Electroingenio 9 жыл бұрын
+GDVIP a barcode is an identifier that is associated with a database. For example, when a barcode in a supermarket you read, this code is searched in a database of products it sold that supermarket . Although a bar code of a product is as unique code assigned to the producer look this link: www.elfring.com/retail-barcode.htm without thier you can create your internal codes if you plan to use personally .
@luisenriquealvaherquinio6356
@luisenriquealvaherquinio6356 6 жыл бұрын
tengo Intf. Subclass "0" .. en circuits@home, dice que tiene que ser "1", pero si en caso es 0 si se puede solo que es un poco mas dificil, pero no encuentro donde explica eso, podras ayudarme con eso si en caso sabes ?
@luisenriquealvaherquinio6356
@luisenriquealvaherquinio6356 6 жыл бұрын
funciona con cualquier bar code scanner ?
@Electroingenio
@Electroingenio 6 жыл бұрын
Lo he probado con 2 clases de Scanners y me ha funcionado.
@Huynh-Tan-Quoc
@Huynh-Tan-Quoc 8 жыл бұрын
what's scaner machine?
@nadhirrosli56
@nadhirrosli56 6 жыл бұрын
can u help me? why my usb-desc didnt show their a same like yours
@amirmahmoud6423
@amirmahmoud6423 7 жыл бұрын
i have a project like that but, with all that i need to transfert that barcode to RFID MF RC522 to write that code in the tag, so i want to transport that code to the RFID to make the writing not to the LCD so is it possible ?
@erikbarajas3674
@erikbarajas3674 9 жыл бұрын
oye tengo una duda si compro una pistola scanner que no tenga ni la class ,ni subclass ,ni protocolo igual que el del video no se puede editar eso de alguna manera o como saber cual pistola scanner comprar?
@Electroingenio
@Electroingenio 9 жыл бұрын
Esos datos no son editables, vienen de fabrica y todos los dispositivos USB tienen esos datos.
@erikbarajas3674
@erikbarajas3674 9 жыл бұрын
Electroingenio Entonces como saber cual pistola comprar? para no hacer un doble gasto. y tener que comprar otra.
@Electroingenio
@Electroingenio 9 жыл бұрын
Erik Barajas debes buscar un escáner que no requiera instalación de driver, que sea plug and play
@luisanthonyfuertesamaya7286
@luisanthonyfuertesamaya7286 8 жыл бұрын
HOLA, puedo usar un BARCODE inalambrico???
@Electroingenio
@Electroingenio 8 жыл бұрын
Luis Anthony Fuertes Amaya este proyecto está desarrollando para trabajar con un módulo USB, no tengo la información de cómo sería con el inalámbrico
@anishamathew5926
@anishamathew5926 8 жыл бұрын
Hello, Sorry to keep spamming with questions. But I need help quite urgently. I went ahead and picked up the same USB shield, in the hope that this would solve all problems. As it appears, it doesnt quite. The code uploads fine and when I open the serial monitor i see the word "start". When I scan my barcode, i get the customary beeping sound from the scanner, but there is nothing printed on my screen. I just picked up the shield today and plugged it in immediately for use. Am i required to do any specific configuration? The device intf. class and subclasss all match, so I realy dont know what I'm doing wrong. I'm using your exact code as well. Please please help! Thank you
@Electroingenio
@Electroingenio 8 жыл бұрын
hello, see this video kzbin.info/www/bejne/i2XId3-apd6FerM , and download app from www.electroingenio.com/download/ to test other way.
@luisalva1732
@luisalva1732 6 жыл бұрын
Hola, quisiera saber si me podrias ayudar con un problema, el programa compila y lo puedo pasar al arduino, pero cuando conecto el lector de barras, el lector prende pero no sale la linea que scanea el codigo? sabras porque pasa esto ?
@momonarie
@momonarie 9 жыл бұрын
I downloaded the USB shield library, but everytime I try to use the USB_desc examples i get errors about undefined variables. Any ideas?
@maox21
@maox21 9 жыл бұрын
Moises Beato download this library file and replace yours: mega.co.nz/#!bABVUTyA!JfhEvVZ4wfcG1MzS3ccBL7SY5uiai1kUy-h4bYBbKJI
@momonarie
@momonarie 9 жыл бұрын
I got the library. USB desc still didn't work. But I still got the barcode scanner to work. Now, all I need is for the servos and steppers to move once I scan something... But nothing I put inside the void loop works
@Electroingenio
@Electroingenio 9 жыл бұрын
Moises Beato what happens is that apparently changed some things in the original library and not working well, so I attached the download link with the library that I used
@teusnani
@teusnani 9 жыл бұрын
hola, me pregunto si puedo conseguir el código y enviarlo a un sistema de supervisión, o exportar el Arduino en serie, por ejemplo, archivos de texto, que ya hizo algo por el estilo?
@Electroingenio
@Electroingenio 9 жыл бұрын
no te he entendido bn la pregunta, que necesitas exactamente?
@muhdazammuddin796
@muhdazammuddin796 6 жыл бұрын
I cant visit the website, it says "Error establishing a connection to the database"
@hammadf2
@hammadf2 8 жыл бұрын
hi, ive exactly followed the same steps as you have shown. The code uploads successfully, LCD shows the 'ready' message and the serial monitor shows start. But nothing is displayed on LCD when I scan any barcode. My barcode scanner works properly as it shows the scanned barcode when i open notepad. Need help plz.
@Electroingenio
@Electroingenio 8 жыл бұрын
Review that the serial speed is 115200 in the serial monitor
@anishamathew5926
@anishamathew5926 8 жыл бұрын
hey! can I ask, so when you connect your barcode scanner into the usb shield and once you have uploaded the code, it prints the barcode into a notepad?
@hammadf2
@hammadf2 8 жыл бұрын
no ..i am assuming either the usb shield is malfunctioning or there is something missing in code.
@anishamathew5926
@anishamathew5926 8 жыл бұрын
oh you mean it only prints in the notepad when its connected directly to the computer and not via the shield?
@hammadf2
@hammadf2 8 жыл бұрын
yes absolutely...i am about to give another try and let u know if anything works...hopefully!!
@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 ?
@sujithkumar8689
@sujithkumar8689 8 жыл бұрын
i am exactly using the same type of arduino usb shield and barcode same program bt its showing hid_protocol_ keyboard not declared in this scope
@Electroingenio
@Electroingenio 7 жыл бұрын
Sujith Kumar you need to check your library
@aisyahpana8251
@aisyahpana8251 9 жыл бұрын
where can i get the source code. i really need that
@alhaithemkhalfan37
@alhaithemkhalfan37 8 жыл бұрын
hi, can you upload a ready code its better than changing it with this step which might not all of us can do it.
@alhaithemkhalfan37
@alhaithemkhalfan37 8 жыл бұрын
and inform me when you upload it ..
@Electroingenio
@Electroingenio 8 жыл бұрын
+alhaithem khalfan you can download from www.electroingenio.com in download seccion
@alhaithemkhalfan37
@alhaithemkhalfan37 8 жыл бұрын
+Electroingenio can you send me the direct link which by it i can only open the link and download the codes?
@Electroingenio
@Electroingenio 8 жыл бұрын
+alhaithem khalfan www.electroingenio.com/download , you need to pay with Paypal to download. Thanks
@alhaithemkhalfan37
@alhaithemkhalfan37 8 жыл бұрын
+Electroingenio why i should paypal to download it ?? why its not free ?
@atzingonzalez1445
@atzingonzalez1445 9 жыл бұрын
Si corro el ejemplo y no me aparece nada en monitor serial, solo aparece start y OSC did not start, que puede ser o necesito instalar otra cosa?
@Electroingenio
@Electroingenio 9 жыл бұрын
+Rosalinda Gonzalez Gomez verifica las librerias
@santiagojavierguzmancabria856
@santiagojavierguzmancabria856 4 жыл бұрын
Hola que tal, que pasa si pago 1 dólar? Me mandas el sketch o que es lo que contiene la compra
@alfauzi8776
@alfauzi8776 8 жыл бұрын
hi, have same problem, I use arduino UNO 1.6.11, the problem is "'HID_PROTOCOL_KEYBOARD' was not declared in this scope" how to fix this, any idea?
@Electroingenio
@Electroingenio 8 жыл бұрын
try compiling with 1.0.5 version
@alfauzi8776
@alfauzi8776 8 жыл бұрын
thanks. but i can find the old vertion arduino 1.0.5 r2. may be i think this is about librarry. can u send me the real library for usb host shield
@Electroingenio
@Electroingenio 8 жыл бұрын
al fauzi sure, give me your email
@prathameshranadive8539
@prathameshranadive8539 8 жыл бұрын
sujithk.ace6@gmail.com
@prathameshranadive8539
@prathameshranadive8539 8 жыл бұрын
even i've got same issue please help!!!!!!!!!
@Huynh-Tan-Quoc
@Huynh-Tan-Quoc 8 жыл бұрын
what is the name of scaner machine?
@Electroingenio
@Electroingenio 7 жыл бұрын
Quoc Huynh quikscan
@dlsrevolution13
@dlsrevolution13 9 жыл бұрын
Hello.. i am using a datalogic qw2100 scanner. it is configured to a autosense scan.. when i plug my scanner to the usb host.. the scanner just light on(green led).. whats the problem? can you help me please??
@lorenazalazar2181
@lorenazalazar2181 6 жыл бұрын
Hola! podrías ayudarme? tengo un usb host shield y un arduino uno, al principio funcionaba y luego obtuve el mensaje de "OSC did not start" y no obtengo ningún tipo de lectura del puerto usb..y no encuentro el problema, agradecería tu ayuda si sabes como repararlo?
@Electroingenio
@Electroingenio 6 жыл бұрын
Hola, posiblemente el oscilador del arduino tiene problemas. Tu lo puedes cambiar, no es complicado, solo asegúrate de poner el mismo valor.
@monotet5752
@monotet5752 9 жыл бұрын
can it use with the code that have alphabet like BC-S180BU ?
@Electroingenio
@Electroingenio 9 жыл бұрын
+Mono Tet I don't know it, tell me the reference of bar code scanner that you use
@monotet5752
@monotet5752 9 жыл бұрын
+Electroingenio my is birch CD-108e barcode scanner
@Electroingenio
@Electroingenio 9 жыл бұрын
Mono Tet Verify the interface that is configured because this scanner have 3 interface options, verify that you have configured USB interface. Read the instruccions manual.
@monotet5752
@monotet5752 9 жыл бұрын
+Electroingenio the interface has 1. keyboard 2.RS232mode 3.usb mode. what mode do I need to take? I have try all mode but notting change.
@Electroingenio
@Electroingenio 9 жыл бұрын
Mono Tet what interface are you talking about?, the scanner or arduino board?
@saulaguilar7165
@saulaguilar7165 8 жыл бұрын
Hola buen dia me surgio un problema 'HID_PROTOCOL_KEYBOARD' was not declared in this scope podrias decirme como resolverlo te lo agradeceria
@Electroingenio
@Electroingenio 8 жыл бұрын
+saul aguilar no tienes instalada la librería en el directorio correcto, por lo tanto el software no la encuentra
@saulaguilar7165
@saulaguilar7165 8 жыл бұрын
muchas gracias que tengas excelente dia
@brayanreyes3255
@brayanreyes3255 7 жыл бұрын
hola es que ice todos los pasos como lo muestra y cuando cague la segunda codificación me sale un error `USB`does not name a type y no lo puedo corregir
@anishamathew5926
@anishamathew5926 8 жыл бұрын
Hi, I have been having troubles using my barcode scanner with my arduino mega. The code complies fine, but it keeps stating the that the OSC does not start. Can you please help me with this? I am using a different (sparkfun usb shield) to what you're using. The barcode scanner satisfies the same communication protocol, int. class, subclass , so I don't think this is the issue. Will you please be able to help? Thanks Much appreciated!
@anishamathew5926
@anishamathew5926 8 жыл бұрын
i see this person has a simliar issue : forum.arduino.cc/index.php?topic=86612.15 he claims that "Olegs's library does NOT work with the Mega ADK,I have tried it again with the new 1.0 IDE and his updated USB library for that IDE. It compiles OK but it will NOT work on the Mega ADK." any help would be greatly appreciated!
@Electroingenio
@Electroingenio 8 жыл бұрын
I have using Mega 2560, I dont`t know if work with mega ADK.
@anishamathew5926
@anishamathew5926 8 жыл бұрын
Hi, yes I use the same. Do you think the difference in our shields might be the reason it is not working for me?>
@jorgefregoso231
@jorgefregoso231 9 жыл бұрын
Hola que tal; cuando compilo el código me sale un error relacionado con la variable Keyboard, me dice que anteriormente ya ha sido declarada, específicamente me da este error: sketch_may03b:21: error: conflicting declaration 'HIDBoot Keyboard' C:\Program Files (x86)\Arduino\hardware\arduino\cores\arduino/USBAPI.h:136: error: 'Keyboard' has a previous declaration as 'Keyboard_ Keyboard'
@xavierreppucci3935
@xavierreppucci3935 9 жыл бұрын
Hola que tal nuevamente, me surgió un inconveniente al querer realizar una aplicación con el código que leo, El problema es que el arduino constantemente esta leyendo el puerto usb y no puedo realizar nada en el loop. Principalmente me idea es comparar el codigo de barras con una tabla interna y realizar una salida. Me gustaria saber si hay alguna forma de detener el usb cuando se termino de pasar todo el dato serie y habilitarlo nuevamente cuando finalice la tarea con el codigo que capture. Estoy usando el if( Usb.getUsbTaskState() == USB_STATE_RUNNING ) pero todavia no logro entender bien su funcionamiento Gracias y saludos
@Electroingenio
@Electroingenio 9 жыл бұрын
En el mismo loop, despues que termine de revisar el puerto USB, programas una funcion o puedes intentar introducir tus lineas de codigo despues de la linea 89.
@anishamathew5926
@anishamathew5926 8 жыл бұрын
Hi, I am unable to access the code from the circuits @ home webpage. I think the website is down now. Can you please please please help share the codes with me? Would really appreciate it. Need it quite urgently :/ Thanks a ton in advance!
@user-ok7ud8tn5z
@user-ok7ud8tn5z 8 жыл бұрын
same situation thank you so much
@Electroingenio
@Electroingenio 8 жыл бұрын
+Anisha Mathew you can download from my web, free
@rjdpsingh
@rjdpsingh 9 жыл бұрын
sir i have a barcode scanner which states Interface Type: USB,RS232,KB. can it work with the same code? please help as soon as possible its really urgent.
@vietnam9x1
@vietnam9x1 6 жыл бұрын
how to read value and compare with fix code, and judge it OK (same) or NG(diffirent)?
@dstech8956
@dstech8956 5 жыл бұрын
Adquiri o codigo mas não esta compilando, da um erro: #include //Add to Oleg Mazurov code to Bar Code Scanner . como resolver??
@job1864
@job1864 4 жыл бұрын
ya lo resolviste?
@sisplani
@sisplani 3 жыл бұрын
Solucionado: no leía el código de barras, lo que hice fue modificar la línea 31 del archivo "Leitor.h", le cambié el "19" por "13". Así quedó: if(key == 13){
@mateuszmrukwa2180
@mateuszmrukwa2180 9 жыл бұрын
Nice music, what's its title?
@Electroingenio
@Electroingenio 9 жыл бұрын
+Mateusz Mrukwa is a song from youtube creator, "Microchip Music" is the name
@mateuszmrukwa2180
@mateuszmrukwa2180 9 жыл бұрын
Thanks :)
@mhdfudhail6399
@mhdfudhail6399 6 жыл бұрын
Can you make a barcode based attendance system pls its code?
@irenekong4588
@irenekong4588 8 жыл бұрын
By using arduino 1.6.5, I got problem of compiling USB_desc of USBHostShield20master, prog_char does not name a type, after that, compiling the coding, unit8_t has not been declared.
@Electroingenio
@Electroingenio 8 жыл бұрын
tell me your Skype user
@irenekong4588
@irenekong4588 8 жыл бұрын
+Electroingenio Ring Kong or u give me ur skype user?
@sanjitanadkarni8705
@sanjitanadkarni8705 7 жыл бұрын
hello I have problem uploading any program on my arduino when host shield is connected to it. I first mounted host shield on my arduino mega and uploaded USB_desc program. the program was getting compiled but was not getting uploaded. Please can you help me in solving this problem
@yashtandon9146
@yashtandon9146 7 жыл бұрын
Sanjita Nadkarni ma'am there r some changes which u have to do on the board , I've faced the same problem when i was working on the board....but now my usb host is working properly and the barcode too
@sanjitanadkarni8705
@sanjitanadkarni8705 6 жыл бұрын
Hello yash tandon , thanks for ur reply.. Can you please tell me what r the changes i have to make on my board. As i m still not able to deal with this problem..
@yashtandon9146
@yashtandon9146 6 жыл бұрын
Sanjita Nadkarni hello, sry for the late reply ....i can send u the pic of the board , as u have too do some soldering on it ,pls tell your email id. i will msg u the details of it
@sanjitanadkarni8705
@sanjitanadkarni8705 6 жыл бұрын
sanjitanadkarni@gmail.com
@sanjitanadkarni8705
@sanjitanadkarni8705 6 жыл бұрын
please send me as early as possible.. its very urgent.. i need to do complete my work
@irenekong4588
@irenekong4588 8 жыл бұрын
Hi, i follow this video steps by steps but it appears error: ‘HID_PROTOCOL_KEYBOARD’ was not declared in this scope, why? ?i use arduino mega, software version 1.6.6 and host usb version 1.1.1
@Electroingenio
@Electroingenio 8 жыл бұрын
+Irene Kong You need to use USBHostShield20master library and compile with arduino 1.0.5 r2
@xadsonsperling1655
@xadsonsperling1655 7 жыл бұрын
I had problems compiling, but I deleted the line HIDBoot Keyboard(&Usb); and it worked
@jingwenchen4042
@jingwenchen4042 7 жыл бұрын
Do you also delete the line Keyboard.SetReportParser(0, (HIDReportParser*)&Prs); ?
@huseyinalisen5928
@huseyinalisen5928 6 жыл бұрын
Hi can you give me a detailed diagram of this?
@hernanherrerameneses4606
@hernanherrerameneses4606 10 жыл бұрын
Amigo como hago para que me lea el codigo de garras Como bloquer la señal
@Electroingenio
@Electroingenio 10 жыл бұрын
Hernan Herrera Meneses No comprendo muy bien tu pregunta, puedes explicarme un poco mejor para poder ayudarte.
@williamsc525
@williamsc525 7 ай бұрын
kindly add code in description.
@ahmadaltamimi4176
@ahmadaltamimi4176 4 жыл бұрын
I did every thing in this vedio but no reading from barcode its just turn on but no number in lcd can any one help me?
@amirmahmoud8194
@amirmahmoud8194 6 жыл бұрын
i have the same project, and i did all the same thing, but i have an error ""fatal error: hid.h: No such file or directory #include "" . i don't know what to do to correct this ... any help pls and thx
@Electroingenio
@Electroingenio 6 жыл бұрын
You need to organize the directory that contains this file. This is in the library. This error comes up when you have located the files in a wrong way into the arduino libraries directory
@edd199527
@edd199527 8 жыл бұрын
Does anyone know how to introduce the read code by the scanner into a variable? I have tested many ways and it didn't work. I would like to receive some help, please.
@Electroingenio
@Electroingenio 8 жыл бұрын
+Eduardo Javier Jimenez Suero you need to send each character to string variable as vector.
@mohd.ehsanbueraheng4133
@mohd.ehsanbueraheng4133 9 жыл бұрын
I downloaded the USB shield library (mega.co.nz/#!bABVUTyA!JfhEvVZ4wfcG1MzS3ccBL7SY5uiai1kUy-h4bYBbKJI), but everytime I try to use the USB_desc examples i get errors about undefined variables. Any ideas? Arduino: 1.6.3 (Windows 7), Board: "Arduino Uno" Using library USBHostShield20 in folder: C:\Program Files\Arduino\libraries\USBHostShield20 (legacy) Arduino: 1.6.3 (Windows 7), Board: "Arduino Uno" USB_desc.ino:23:25: error: 'prog_char' does not name a type USB_desc.ino:23:39: error: ISO C++ forbids declaration of 'str' with no type [-fpermissive] USB_desc.ino: In function 'void PrintDescriptors(uint8_t)': USB_desc.ino:73:33: error: cannot convert 'const char*' to 'const int*' for argument '1' to 'void printProgStr(const int*)' USB_desc.ino:83:37: error: cannot convert 'const char*' to 'const int*' for argument '1' to 'void printProgStr(const int*)' USB_desc.ino: In function 'byte getdevdescr(byte, byte&)': USB_desc.ino:122:30: error: cannot convert 'const char*' to 'const int*' for argument '1' to 'void printProgStr(const int*)' USB_desc.ino:123:30: error: cannot convert 'const char*' to 'const int*' for argument '1' to 'void printProgStr(const int*)' USB_desc.ino:125:28: error: cannot convert 'const char*' to 'const int*' for argument '1' to 'void printProgStr(const int*)' USB_desc.ino:127:31: error: cannot convert 'const char*' to 'const int*' for argument '1' to 'void printProgStr(const int*)' USB_desc.ino:129:29: error: cannot convert 'const char*' to 'const int*' for argument '1' to 'void printProgStr(const int*)' USB_desc.ino:131:32: error: cannot convert 'const char*' to 'const int*' for argument '1' to 'void printProgStr(const int*)' USB_desc.ino:133:32: error: cannot convert 'const char*' to 'const int*' for argument '1' to 'void printProgStr(const int*)' USB_desc.ino:135:31: error: cannot convert 'const char*' to 'const int*' for argument '1' to 'void printProgStr(const int*)' USB_desc.ino:137:30: error: cannot convert 'const char*' to 'const int*' for argument '1' to 'void printProgStr(const int*)' USB_desc.ino:139:31: error: cannot convert 'const char*' to 'const int*' for argument '1' to 'void printProgStr(const int*)' USB_desc.ino:141:32: error: cannot convert 'const char*' to 'const int*' for argument '1' to 'void printProgStr(const int*)' USB_desc.ino:143:27: error: cannot convert 'const char*' to 'const int*' for argument '1' to 'void printProgStr(const int*)' USB_desc.ino:145:28: error: cannot convert 'const char*' to 'const int*' for argument '1' to 'void printProgStr(const int*)' USB_desc.ino:147:30: error: cannot convert 'const char*' to 'const int*' for argument '1' to 'void printProgStr(const int*)' USB_desc.ino:149:29: error: cannot convert 'const char*' to 'const int*' for argument '1' to 'void printProgStr(const int*)' USB_desc.ino: In function 'void printhubdescr(uint8_t*, uint8_t)': USB_desc.ino:160:53: error: cannot convert 'const char*' to 'const int*' for argument '1' to 'void printProgStr(const int*)' USB_desc.ino:161:42: error: cannot convert 'const char*' to 'const int*' for argument '1' to 'void printProgStr(const int*)' USB_desc.ino:164:44: error: cannot convert 'const char*' to 'const int*' for argument '1' to 'void printProgStr(const int*)' USB_desc.ino:167:40: error: cannot convert 'const char*' to 'const int*' for argument '1' to 'void printProgStr(const int*)' USB_desc.ino:170:45: error: cannot convert 'const char*' to 'const int*' for argument '1' to 'void printProgStr(const int*)' USB_desc.ino:173:45: error: cannot convert 'const char*' to 'const int*' for argument '1' to 'void printProgStr(const int*)' USB_desc.ino:176:51: error: cannot convert 'const char*' to 'const int*' for argument '1' to 'void printProgStr(const int*)' USB_desc.ino:179:42: error: cannot convert 'const char*' to 'const int*' for argument '1' to 'void printProgStr(const int*)' USB_desc.ino:182:50: error: cannot convert 'const char*' to 'const int*' for argument '1' to 'void printProgStr(const int*)' USB_desc.ino:185:39: error: cannot convert 'const char*' to 'const int*' for argument '1' to 'void printProgStr(const int*)' USB_desc.ino:188:45: error: cannot convert 'const char*' to 'const int*' for argument '1' to 'void printProgStr(const int*)' USB_desc.ino:191:45: error: cannot convert 'const char*' to 'const int*' for argument '1' to 'void printProgStr(const int*)' USB_desc.ino: In function 'byte getconfdescr(byte, byte)': USB_desc.ino:213:32: error: cannot convert 'const char*' to 'const int*' for argument '1' to 'void printProgStr(const int*)' USB_desc.ino: In function 'void printconfdescr(uint8_t*)': USB_desc.ino:267:31: error: cannot convert 'const char*' to 'const int*' for argument '1' to 'void printProgStr(const int*)' USB_desc.ino:268:31: error: cannot convert 'const char*' to 'const int*' for argument '1' to 'void printProgStr(const int*)' USB_desc.ino:270:29: error: cannot convert 'const char*' to 'const int*' for argument '1' to 'void printProgStr(const int*)' USB_desc.ino:272:30: error: cannot convert 'const char*' to 'const int*' for argument '1' to 'void printProgStr(const int*)' USB_desc.ino:274:31: error: cannot convert 'const char*' to 'const int*' for argument '1' to 'void printProgStr(const int*)' USB_desc.ino:276:29: error: cannot convert 'const char*' to 'const int*' for argument '1' to 'void printProgStr(const int*)' USB_desc.ino:278:28: error: cannot convert 'const char*' to 'const int*' for argument '1' to 'void printProgStr(const int*)' USB_desc.ino: In function 'void printintfdescr(uint8_t*)': USB_desc.ino:286:30: error: cannot convert 'const char*' to 'const int*' for argument '1' to 'void printProgStr(const int*)' USB_desc.ino:287:30: error: cannot convert 'const char*' to 'const int*' for argument '1' to 'void printProgStr(const int*)' USB_desc.ino:289:27: error: cannot convert 'const char*' to 'const int*' for argument '1' to 'void printProgStr(const int*)' USB_desc.ino:291:33: error: cannot convert 'const char*' to 'const int*' for argument '1' to 'void printProgStr(const int*)' USB_desc.ino:293:29: error: cannot convert 'const char*' to 'const int*' for argument '1' to 'void printProgStr(const int*)' USB_desc.ino:295:32: error: cannot convert 'const char*' to 'const int*' for argument '1' to 'void printProgStr(const int*)' USB_desc.ino:297:32: error: cannot convert 'const char*' to 'const int*' for argument '1' to 'void printProgStr(const int*)' USB_desc.ino:299:30: error: cannot convert 'const char*' to 'const int*' for argument '1' to 'void printProgStr(const int*)' USB_desc.ino: In function 'void printepdescr(uint8_t*)': USB_desc.ino:307:30: error: cannot convert 'const char*' to 'const int*' for argument '1' to 'void printProgStr(const int*)' USB_desc.ino:308:31: error: cannot convert 'const char*' to 'const int*' for argument '1' to 'void printProgStr(const int*)' USB_desc.ino:310:28: error: cannot convert 'const char*' to 'const int*' for argument '1' to 'void printProgStr(const int*)' USB_desc.ino:312:31: error: cannot convert 'const char*' to 'const int*' for argument '1' to 'void printProgStr(const int*)' USB_desc.ino:314:32: error: cannot convert 'const char*' to 'const int*' for argument '1' to 'void printProgStr(const int*)' USB_desc.ino: In function 'void printunkdescr(uint8_t*)': USB_desc.ino:324:30: error: cannot convert 'const char*' to 'const int*' for argument '1' to 'void printProgStr(const int*)' USB_desc.ino:325:30: error: cannot convert 'const char*' to 'const int*' for argument '1' to 'void printProgStr(const int*)' USB_desc.ino:327:28: error: cannot convert 'const char*' to 'const int*' for argument '1' to 'void printProgStr(const int*)' USB_desc.ino:329:32: error: cannot convert 'const char*' to 'const int*' for argument '1' to 'void printProgStr(const int*)' USB_desc.ino: At global scope: USB_desc.ino:339:25: error: 'prog_char' does not name a type USB_desc.ino:339:39: error: ISO C++ forbids declaration of 'str' with no type [-fpermissive] Error compiling. This report would have more information with "Show verbose output during compilation" enabled in File > Preferences.
@gustavgalvis1348
@gustavgalvis1348 8 жыл бұрын
buenas tardes , muchas gracias por el video , tengo un error al compilar me dice que no se encuentra la libreria HIDboot.h no he podido bajarla , helpp
@Electroingenio
@Electroingenio 8 жыл бұрын
debes descargar toda la libreria usbhostshield master
@goofy_404
@goofy_404 6 жыл бұрын
I am making same project in my exam.. Can you just tell me components used in it and About Uses of this project..
@ammar786ification
@ammar786ification 6 жыл бұрын
Gaurav War same bro. Im using smart shopping cart project aswell
@goofy_404
@goofy_404 6 жыл бұрын
Ahmad Ammar Components???
@ammar786ification
@ammar786ification 6 жыл бұрын
Is there any sensor we needed to use. If yes. What kind of sensor.
@ammar786ification
@ammar786ification 6 жыл бұрын
Arduino uno Usb cable 16X2 lcd screen Barcode scanner
@ammar786ification
@ammar786ification 6 жыл бұрын
Can u email me. ahmadammar72@gmail.com
@mercris281
@mercris281 6 жыл бұрын
a mi me da este error OSCOKIRQ failed to assert con el ejemplo adk_barcode
@guna_onehatibie8185
@guna_onehatibie8185 7 жыл бұрын
n now i tray to develop more..... the problem is, key is char data , so when i tray to compare its not work properly
@tamiraa111
@tamiraa111 9 жыл бұрын
i downloaded USB_host_shield_2.0_master at arduino.cc . But USB_desc's program had many errors. Can you take me true program of USB_host_shield_2.0_master? Please reply me, Thank you
@maox21
@maox21 9 жыл бұрын
tamiraa111 download this library and replace it: mega.co.nz/#!bABVUTyA!JfhEvVZ4wfcG1MzS3ccBL7SY5uiai1kUy-h4bYBbKJI
@tamiraa111
@tamiraa111 9 жыл бұрын
Mauricio Hidalgo Thank you
@tungvu255
@tungvu255 7 жыл бұрын
Hi guy! I run into problem. It notify that "fatal error: hid.h: No such file or directory". Does anyone fix it?
@Electroingenio
@Electroingenio 7 жыл бұрын
Tùng Vũ you need to check your library directory
@JuanMorales-ip9so
@JuanMorales-ip9so 2 жыл бұрын
#include : fatal error: hid.h: No such file or directory
@xMADigiEx
@xMADigiEx 6 жыл бұрын
Solo me sale el Start en el USB_desc
@xavierreppucci3935
@xavierreppucci3935 9 жыл бұрын
Hola cuando ejecuto el ejemplo de la libreria me sale el siguiente error USB_desc.ino: In function 'void PrintDescriptors(uint8_t)': USB_desc:76: error: invalid conversion from 'const char*' to 'prog_char*' USB_desc:76: error: initializing argument 1 of 'void printProgStr(prog_char*)' USB_desc:86: error: invalid conversion from 'const char*' to 'prog_char*' USB_desc:86: error: initializing argument 1 of 'void printProgStr(prog_char*)' USB_desc.ino: In function 'byte getdevdescr(byte, byte&)': USB_desc:125: error: invalid conversion from 'const char*' to 'prog_char*' USB_desc:125: error: initializing argument 1 of 'void printProgStr(prog_char*)' USB_desc:126: error: invalid conversion from 'const char*' to 'prog_char*' USB_desc:126: error: initializing argument 1 of 'void printProgStr(prog_char*)' USB_desc:128: error: invalid conversion from 'const char*' to 'prog_char*' USB_desc:128: error: initializing argument 1 of 'void printProgStr(prog_char*)' USB_desc:130: error: invalid conversion from 'const char*' to 'prog_char*' USB_desc:130: error: initializing argument 1 of 'void printProgStr(prog_char*)' USB_desc:132: error: invalid conversion from 'const char*' to 'prog_char*' USB_desc:132: error: initializing argument 1 of 'void printProgStr(prog_char*)' USB_desc:134: error: invalid conversion from 'const char*' to 'prog_char*' USB_desc:134: error: initializing argument 1 of 'void printProgStr(prog_char*)' USB_desc:136: error: invalid conversion from 'const char*' to 'prog_char*' USB_desc:136: error: initializing argument 1 of 'void printProgStr(prog_char*)' USB_desc:138: error: invalid conversion from 'const char*' to 'prog_char*' USB_desc:138: error: initializing argument 1 of 'void printProgStr(prog_char*)' USB_desc:140: error: invalid conversion from 'const char*' to 'prog_char*' USB_desc:140: error: initializing argument 1 of 'void printProgStr(prog_char*)' USB_desc:142: error: invalid conversion from 'const char*' to 'prog_char*' ............................................................................................................ .......................................................................................................... y asi hasta USB_desc:332: error: initializing argument 1 of 'void printProgStr(prog_char*)' Cual sera el motivo de mi error gracias
@Electroingenio
@Electroingenio 9 жыл бұрын
Xavier, al parecer esta presentando problemas en la versión 1.6.0 de Arduino, pero con la versión 1.0.4 funciona bien, prueba con esa versión.
@xavierreppucci3935
@xavierreppucci3935 9 жыл бұрын
Electroingenio Gracias por el aporte probe con la 1.6.0 y con la 1.0.5 r2 y 1.0.4 en todas sale el mismo error. Puede ser tmb algun problema con la libreria yo la agregue desde importar libreria y me la agrego bien la usbhostshield alguna mas necesito aparte muchas gracias
@Electroingenio
@Electroingenio 9 жыл бұрын
Xavier Reppucci yo tengo instalada la version 1.6.0 y me aparecen los mismos errores que mencionas y compilo con la version 1.0.4 e inmediatamente funciona, en la verson 1.0.4 tengo las siguientes librerias: EEPROM, Esplora, Ethernet, Firmdata, GSM, LiquidCrystal, SD, Servo, SoftwareSerial, SPI, Stepper, USBHostShield20, WiFi, Wire. Revisa tus librerias a ver si te falta alguna.
@xavierreppucci3935
@xavierreppucci3935 9 жыл бұрын
Electroingenio Muchas gracias ahora voy a probar nuevamente y probar si me compila el Usb_desc. Por otro lado estoy usando una Placa Mega Adk es lo mismo en funcionamiento? Saludos
@maox21
@maox21 9 жыл бұрын
Xavier Reppucci Si, basicamente son lo mismo pero la ADK esta modificada para permitir su uso con la Android Open Accessory Development Kit (ADK) de Google por lo que dispone de un puerto USB Host incorporado.
🤖Я в шоке! ChatGPT пишет Arduino проекты
28:24
Вопрос Ребром - Джиган
43:52
Gazgolder
Рет қаралды 3,8 МЛН
BarCode Scanner with Arduino
4:46
Saravanan AL
Рет қаралды 89 М.
ESP8266 + Arduino + database - Control Anything from Anywhere
13:51
Electronoobs
Рет қаралды 646 М.
LoRa - Long-Range Radio for IoT | Arduino, ESP32, RPI Pico
1:07:58
DroneBot Workshop
Рет қаралды 369 М.
8x8x8 LED CUBE WITH ARDUINO UNO
6:46
HARRY LE
Рет қаралды 15 МЛН
Barcode + QR Code Reader using Arduino & QR Scanner Module
7:32
How To Electronics
Рет қаралды 95 М.
USB Barcode Scanner (Raspberry Pi)
7:57
PiddlerInTheRoot
Рет қаралды 78 М.
Arduino RFID Sensor (MFRC522) Tutorial
8:14
Viral Science - The home of Creativity
Рет қаралды 999 М.