mikered82 Posted November 19, 2018 Posted November 19, 2018 Hello! Could someone help me please with a UDF/library/example to communicate with Arduino thru USB using V-USB Driver (HID Device). I want to implement remote control for PC (TV Tuner remote). Arduino would read and decode data from an IR Sensor then send the decoded data to the PC thru USB. Thanks! Any help much appreciated!!
ModemJunki Posted November 19, 2018 Posted November 19, 2018 Did you google "arduino autoit"? 'cause I did.... Always carry a towel.
mikered82 Posted November 19, 2018 Author Posted November 19, 2018 Of course I google IT! I've read about 50 topics/pages but nothing promising! Otherwise I have NOT opened a thread! I was hoping that someone encountered the same problem and there is a solution!
ModemJunki Posted November 19, 2018 Posted November 19, 2018 How about this from 2011, mentions V-USB: Always carry a towel.
mikered82 Posted November 21, 2018 Author Posted November 21, 2018 I also found that topic/script! It runs, but it doesn't have any function that get or send data from a device! Major available function are: HidD_GetCAPS, HidD_GetFeature, HidD_SetFeature, but no HidD_GetData for example!
mikered82 Posted November 21, 2018 Author Posted November 21, 2018 Hmm. It appear that the script use the data transfer over HID feature report. I guess I will have to figure out how to implement that! That will be a challenge, but I like a challenge! Best thing about Autoit and Arduino programming is overcoming challenges (and accomplish something)! Worst thing when you have NO idea how to proceed! So, thanks for give me an incite and for give me your time to respond!
ModemJunki Posted November 26, 2018 Posted November 26, 2018 On 11/21/2018 at 10:55 AM, mikered82 said: Worst thing when you have NO idea how to proceed! I disagree. Not knowing is the ideal place to start learning. Best of luck! Always carry a towel.
mikered82 Posted December 24, 2018 Author Posted December 24, 2018 I managed to make it work with the help of a FTDI FT232 Module on Arduino side (and default Serial library) and CommMG64.au3 on Autoit side. I also used CTS/RTS pins of the module to synchronize communication between Arduino and Autoit. Thanks for all that took the time to point me in the right direction!
ModemJunki Posted December 28, 2018 Posted December 28, 2018 Neat. Did you post your project anywhere? Are you willing to share your solution? Always carry a towel.
Earthshine Posted December 28, 2018 Posted December 28, 2018 When can we expect to purchase production models? LOL good job My resources are limited. You must ask the right questions
mikered82 Posted December 29, 2018 Author Posted December 29, 2018 (edited) On 12/28/2018 at 8:52 PM, Earthshine said: When can we expect to purchase production models? LOL good job I'm not sure if you are serious or not but at the moment I'm doing this for HOBBY only! Also because is a pure hobby (personal use) , and my limited english writing skill I never post my projects anywhere! But if someone is interested in my solution for NON commercial purpose I'm willing to share! Edited December 29, 2018 by mikered82 Add file.
ModemJunki Posted January 2, 2019 Posted January 2, 2019 Your English seems fine to me. The GUI looks great! I'm interested in being able to interface with Arduino using AutoIT- but it's OK if you don't want to share the sources! That's your right (and it would have to have the Arduino sources as well, I think!). I've tried to use a Windows media center IR controller for a couple of things in the past but gave up in frustration (I was not using AutoIT but some other third-party tools, all my attempts were lost when the PC died from overheating). Always carry a towel.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now