Go to Post You think you are building robots, but you are really building yourselves. - sanddrag [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 11-03-2015, 13:32
fovea1959's Avatar
fovea1959 fovea1959 is offline
Herder of programmers
AKA: Doug Wegscheid
FRC #3620 (The Average Joes)
Team Role: Mentor
 
Join Date: Jan 2011
Rookie Year: 2011
Location: St Joseph
Posts: 330
fovea1959 will become famous soon enough
Leanardo++ HID output revisited

a revisit of http://www.chiefdelphi.com/forums/sh...d.php?t=135440, it got a little derailed towards non-Arduino alternatives.

We are wanting to use an Arduino Leonardo as a joystick against the driver's station; this is pretty straightforward (http://www.imaginaryindustries.com/blog/?p=80). We're going to look at using the Launchpad also, but our students have the Arduino experience right now...

The gotcha is using the Leonardo as a HID *output* device; I'm not finding a lot of examples there.

Has anyone done this yet?
  #2   Spotlight this post!  
Unread 11-03-2015, 14:07
billbo911's Avatar
billbo911 billbo911 is offline
I prefer you give a perfect effort.
AKA: That's "Mr. Bill"
FRC #2073 (EagleForce)
Team Role: Mentor
 
Join Date: Mar 2005
Rookie Year: 2005
Location: Elk Grove, Ca.
Posts: 2,356
billbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond repute
Re: Leanardo++ HID output revisited

Quote:
Originally Posted by fovea1959 View Post
a revisit of http://www.chiefdelphi.com/forums/sh...d.php?t=135440, it got a little derailed towards non-Arduino alternatives....

The gotcha is using the Leonardo as a HID *output* device; I'm not finding a lot of examples there.

Has anyone done this yet?
That is why it got derailed.
Currently the Leonardo is excellent as a HID input device, but as an output device, there isn't much development there....yet.

Personally I would love to see the code used on the Launchpad to allow it to be used as a output device as well as an input device. Specifically, I would like to see how the Driver's Station sends data out to the USB HID device to tell it to set output(s). Additionally, I would like to know how the Launchpad, in this case, receives and processes that data.

Energia, a fork of the Arduino environment, doesn't "currently" support the HID environment, so it is difficult to see how the Launchpad achieves HID "output". Here is the quote I base this comment on:
Quote:
however the libraries in Energia do not currently have support for USB HID devices, so you cannot modify the Gamepad firmware in Energia.
I too would love to see the Leonardo, as well as the Teensy 3.1 etc., configured to be able to do output as well as input. I just have not seen any examples of the code used to receive and process the the "output" information. Once that information makes it into the wild, we are VERY likely to see a variety implementations used in various ways on Leonardo and other controllers.
__________________
CalGames 2009 Autonomous Champion Award winner
Sacramento 2010 Creativity in Design winner, Sacramento 2010 Quarter finalist
2011 Sacramento Finalist, 2011 Madtown Engineering Inspiration Award.
2012 Sacramento Semi-Finals, 2012 Sacramento Innovation in Control Award, 2012 SVR Judges Award.
2012 CalGames Autonomous Challenge Award winner ($$$).
2014 2X Rockwell Automation: Innovation in Control Award (CVR and SAC). Curie Division Gracious Professionalism Award.
2014 Capital City Classic Winner AND Runner Up. Madtown Throwdown: Runner up.
2015 Innovation in Control Award, Sacramento.
2016 Chezy Champs Finalist, 2016 MTTD Finalist

Last edited by billbo911 : 11-03-2015 at 14:16.
Closed Thread


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 01:43.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi