Author Topic: rs-232 help  (Read 1068 times)

death__hound

  • Newbie
  • *
  • Posts: 8
    • View Profile
rs-232 help
« on: April 19, 2012, 04: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
 :o

is there allready a device that dose this that i can mod thew code for??
« Last Edit: April 19, 2012, 04:58:06 pm by death__hound »

sambuca

  • Guru
  • ****
  • Posts: 447
    • View Profile
Re: rs-232 help
« Reply #1 on: April 19, 2012, 08: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

death__hound

  • Newbie
  • *
  • Posts: 8
    • View Profile
Re: rs-232 help
« Reply #2 on: April 20, 2012, 02: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

death__hound

  • Newbie
  • *
  • Posts: 8
    • View Profile
Re: rs-232 help
« Reply #3 on: April 21, 2012, 11: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  ???.

MarcoZan

  • Veteran
  • ***
  • Posts: 148
    • View Profile
Re: rs-232 help
« Reply #4 on: April 21, 2012, 12:03:19 pm »