LinuxMCE Forums
May 20, 2013, 12:49:11 am GMT-1 *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Rule #1 - Be Patient - Rule #2 - Don't ask when, if you don't contribute - Rule #3 - You have coding skills - LinuxMCE's small brother is available: http://www.agocontrol.com
 
   Home   Help Search Chat Login Register  
Pages: [1]
  Print  
Author Topic: rs-232 help  (Read 713 times)
death__hound
Newbie
*
Posts: 8


View Profile
« on: April 19, 2012, 03:23:01 pm »

im trying to setup linux mce to talk serial to a bunch of arduinos using simple txt .

eg have code for arduino

if recive "A" turn on relay 1
if recive "a" turn off relay 1

and so on and so forth

i was planing on using boards  with relays  to do lighting , security and retic.
is it possible ??
can anyone help me please its doing my nogen in
 Shocked

is there allready a device that dose this that i can mod thew code for??
« Last Edit: April 19, 2012, 03:58:06 pm by death__hound » Logged
sambuca
Guru
****
Posts: 420


View Profile
« Reply #1 on: April 19, 2012, 07:14:48 pm »

You can create a GSD device, which is a simple way to create new device templates in LMCE. GSDs will set up a serial connection for you and allow you to write code to communicate with your particular hardware.

Search for GSD in the wiki to get started.

br,
sambuca
Logged
death__hound
Newbie
*
Posts: 8


View Profile
« Reply #2 on: April 20, 2012, 01:36:38 am »

awsome will have a look today as would be good to be able build my own hardware as arduinos are cheap and can do lots


if anyone is looking for cade for the arduino feel free to ask . it not finished but should still work will post wiki once it works
Logged
death__hound
Newbie
*
Posts: 8


View Profile
« Reply #3 on: April 21, 2012, 10:42:00 am »

i'm still stuck
do i create a serial device in the interface section then add the actual device in the respective area?
i feel like such a nood  Huh.
Logged
MarcoZan
Veteran
***
Posts: 143


View Profile
« Reply #4 on: April 21, 2012, 11:03:19 am »

Did you have a look here ?
http://wiki.linuxmce.org/index.php/How_to_add_your_own_GSD_device
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!