Sign up Calendar Latest Topics
 
 
 


Reply
  Author   Comment  
guppster01

Registered:
Posts: 15
Reply with quote  #1 
I'm just getting started with Raspberry Pi's. 

I'm looking to use it to hook up buttons and make a custom console (weapons for example). 

How do I get it hooked up to the PC to then, I'm guessing it needs to, emulate the keyboard presses? 

I haven't found a good tutorial or explanation on hooking up the Raspberry Pi to a PC to do this.

Thoughts? Other ideas in the Raspberry Pi price range?
janx

Registered:
Posts: 464
Reply with quote  #2 
Pi might be the wrong device for the job.

Check in this sub-forum for a thread by me about USB keypress input devices.  There are gadgets for about $40 that you wire up your switches to, and will send mapped keystroke signals to the PC via the USB wire (result custom keyboard that is really your Artemis control panel).

Pi is a PC that can run Linux or Android*.  It has HDMI and USB sockets for hooking to a monitor and keyboard mouse.
*but not Windows, unless you do some more technical mumbo-jumbo.  Check Google.

The USB keyboard ->switch input device (or mouse or joystick version) is probably the most direct and obvious way to build a custom console.  Some folks have used some Python or whatever tool to translate certain signal inputs into game behavior.  Check other threads on custom consoles as I can't remember the details.


One thing I just pondered, is if anybody got Artemis to run over Remote Desktop.  There were some video concerns, if I recall.  If it did work, one possible use for Rasberry Pi is to set them up as dedicated remote desktop clients (ala Thin Clients).  Then, you bring one beefy PC to be the host and use the Pi as stations (smaller cheaper, lighter).  Perhaps built into the custom consoles (so the console IS the controls and Pi).  Then they boot up and auto-connect via RDP to the Host.




HunterAP

Registered:
Posts: 24
Reply with quote  #3 
Would a Pi run the Android version of Artemis?
BigEd

Registered:
Posts: 188
Reply with quote  #4 
I'm not a Raspberry Pi expert but I found this:

https://www.mepits.com/project/180/DIY-Projects/How-to-Install-Android-on-Raspberry-Pi-?

Of course they always make it sound so "easy".  But that wouldn't necessarily solve the problem of the custom console since the Pi becomes the computer and you still have to interact with it.  From what I've read, the most common method is to use an Arduino as the I/O interface to the Pi if you aren't using a USB keyboard and mouse.  Of course you could probably use a touch screen as the IO to the PI - basically make a really big Android tablet...

Interesting idea!
ivansanchez

Avatar / Picture

Registered:
Posts: 113
Reply with quote  #5 
Quote:
Originally Posted by HunterAP
Would a Pi run the Android version of Artemis?


I know a Pi can run Glitter, but I haven't done extensive development on that - I plan to tinker with some i2c devices to get some LCD displays going. I hope to have the time and mood to work on that in the near future.

__________________
Need more bling for your bridge? Try out Artemis-Glitter today!
johnkiniston

Avatar / Picture

Registered:
Posts: 138
Reply with quote  #6 
Quote:
Originally Posted by HunterAP
Would a Pi run the Android version of Artemis?


I don't believe there is a stable 'modern' version of Android for the Pi.

That said, I also don't think the Pi would have the horsepower to run Artemis on top of Android.

Unless size is a huge factor I've found it's easy to buy old Dell Optiplex systems for not much more than a Pi+Case+SD Card goes for.
StuartBall

Registered:
Posts: 29
Reply with quote  #7 

Raspberry Pi 2, 800MHz A7 ARM, which will have Windows 10 ported to it....


Enough grunt for Artemis, if ported?

Ulysses08

Registered:
Posts: 3
Reply with quote  #8 
i have a friend with one on order, i'll try to borrow it and try it, though personally i'm looking at cheap m-itx motherboards with built in processors, or an Intel NUC despite the price of them
Alpha_Geek

Avatar / Picture

Registered:
Posts: 10
Reply with quote  #9 
The Pi also has a whole bunch of digital and analog GPIO ports on it. This is probably why the OP expressed interest.
Ulysses08

Registered:
Posts: 3
Reply with quote  #10 
that makes sense, I think my friends Pi arrives in a week or so, i'll try to borrow it some time after that then
StuartBall

Registered:
Posts: 29
Reply with quote  #11 
Mine's arrived. Going to put Raspbian on it for the moment, until Win10 drops a dev preview. I presume the Android version is likely to be closed to be able to run on it?
kwadroke

Avatar / Picture

Registered:
Posts: 31
Reply with quote  #12 
Quote:
Originally Posted by StuartBall
I presume the Android version is likely to be closed to be able to run on it?


Android is a no-go on the Pi until Broadcom releases video drivers for Android. That or someone makes a hardware accelerated driver. The original Pi was fast enough, but without the drivers neither the Pi or the Pi2 will run Android at any acceptable speed.

__________________

The Starship Bridge Simulation Network - http://bridgesim.net

"News, discussions, and information to make your simulation experience more immersive!"

Previous Topic | Next Topic
Print
Reply

Quick Navigation:

Easily create a Forum Website with Website Toolbox.