Arduino Forum

Community => Gigs and Collaborations => Topic started by: nickname1400 on Feb 16, 2017, 11:06 pm

Title: Need Code for typing a Letter.
Post by: nickname1400 on Feb 16, 2017, 11:06 pm
Hi,
I am in need of a coding that will allow a button, when pressed, to type the letter 'g'.

Thank you (FYI I know barely anything about this kind of stuff) 
Title: Re: Need Code for typing a Letter.
Post by: pert on Feb 17, 2017, 12:03 am
Which Arduino board are you using?
Title: Re: Need Code for typing a Letter.
Post by: nickname1400 on Feb 17, 2017, 12:10 am
duinotech UNO r3
Title: Re: Need Code for typing a Letter.
Post by: pert on Feb 17, 2017, 12:19 am
Although generally a very good choice, that's not the ideal board for this specific application because the primary microcontroller doesn't have native USB support. Much better would be a ATmega32U4 based board such as Leonardo or Pro Micro, which would make this very easy.

The Duinotech Uno R3 does use an ATmega16U2 for the USB-serial chip, which does have the native USB capability so it is possible for you to use the board you have for this purpose but it's a much more complex process. If you decide to go that route I refer you to:
https://github.com/NicoHood/HID (https://github.com/NicoHood/HID)

FYI, by posting in this forum section, Gigs and Collaborations, you are indicating you wish to pay someone to do this work for you. Is that correct?
Title: Re: Need Code for typing a Letter.
Post by: nickname1400 on Feb 17, 2017, 12:25 am
Oh, I didn't realise, my apologies, I do not wish to pay.
Title: Re: Need Code for typing a Letter.
Post by: pert on Feb 17, 2017, 12:30 am
We're happy to help for free on this forum but typically we will want to assist you in learning, rather than just handing over a finished product. Some users would prefer to just pay for a finished product and there are forum members who will do this for a reasonable fee so I thought it would be good to be clear on your intentions.
Title: Re: Need Code for typing a Letter.
Post by: nickname1400 on Feb 17, 2017, 12:37 am
Yeah, I only need this code for a single project and don't really have the time to learn the coding language....
Title: Re: Need Code for typing a Letter.
Post by: pert on Feb 17, 2017, 12:44 am
Well my recommendation is to buy an ATmega32U4 based board because to do this with your Uno is probably either going to require a significant amount of learning or paying someone and you don't want to do either.
Title: Re: Need Code for typing a Letter.
Post by: nickname1400 on Feb 17, 2017, 12:46 am
Okay, thanks for your assistance, I will consider my options and go from there.
Thanks again!
Title: Re: Need Code for typing a Letter.
Post by: nickname1400 on Feb 17, 2017, 12:53 am
Actually, I was looking at the link you sent, does Hood loader allow you to do what I need to do??
Title: Re: Need Code for typing a Letter.
Post by: pert on Feb 17, 2017, 05:08 am
As I said before, it's possible to use the ATmega16U2 on your Uno for the keyboard emulation but the installation of HoodLoader and the usage of HID is fairly complex for a beginner. I'm not saying you can't do it and luckily NicoHood has done a lot of the hard work for you and documented it pretty well but it sounds like you're more interested in achieving your goal than the journey to arrive at that goal. Buying the hardware specifically intended for your application is a much smoother road than a complicated hack to make the hardware you already have work.
Title: Re: Need Code for typing a Letter.
Post by: nickname1400 on Feb 17, 2017, 06:09 am
Okay, I understand now, Thank you