Community discussions

MikroTik App
 
Fabbbio
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 65
Joined: Wed May 31, 2006 2:18 pm
Location: Italy

GPIO on routerboard hw

Wed Mar 04, 2009 12:19 am

I want to know about GPIO on routerboard products and how to manage it with routeros.
Thanks
 
aaa
Member
Member
Posts: 458
Joined: Mon Apr 11, 2005 11:54 am
Location: Latvia, Baltezers

Re: GPIO on routerboard hw

Wed Mar 04, 2009 12:20 pm

RB200 have six GPIO I don't know about RouterOS but in Linux it's possible use it.
http://www.routerboard.com/pdf/RouterBO ... DK-1-1.pdf
 
Fabbbio
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 65
Joined: Wed May 31, 2006 2:18 pm
Location: Italy

Re: GPIO on routerboard hw

Wed Mar 04, 2009 5:15 pm

On RB411 I see 5 leds for signal strength , How can I manage this leds?
 
User avatar
normis
MikroTik Support
MikroTik Support
Posts: 26977
Joined: Fri May 28, 2004 11:04 am
Location: Riga, Latvia
Contact:

Re: GPIO on routerboard hw

Thu Mar 05, 2009 2:32 pm

something like this probably:
:led user-led=yes led3=yes led2=yes 
 
Fabbbio
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 65
Joined: Wed May 31, 2006 2:18 pm
Location: Italy

Re: GPIO on routerboard hw

Thu Mar 05, 2009 7:21 pm

I try and it's ok i connect 1 relay to led1 now the next thing is having input signal .....
 
andret
newbie
Posts: 37
Joined: Fri Apr 17, 2009 11:08 am

Re: GPIO on routerboard hw

Fri Apr 17, 2009 11:14 am

Hi

Did you manage to get GPIO working under MikroTik? I have a RB230 which also has GPIO's but cannot find any method of implementation.

Thanks
 
User avatar
normis
MikroTik Support
MikroTik Support
Posts: 26977
Joined: Fri May 28, 2004 11:04 am
Location: Riga, Latvia
Contact:

Re: GPIO on routerboard hw

Fri Apr 17, 2009 11:17 am

Hi

Did you manage to get GPIO working under MikroTik? I have a RB230 which also has GPIO's but cannot find any method of implementation.

Thanks
all that you need is in the SDK files:
http://www.routerboard.com/rb200.html
 
andret
newbie
Posts: 37
Joined: Fri Apr 17, 2009 11:08 am

Re: GPIO on routerboard hw

Fri Apr 17, 2009 2:05 pm

Hi

Did you manage to get GPIO working under MikroTik? I have a RB230 which also has GPIO's but cannot find any method of implementation.

Thanks
all that you need is in the SDK files:
http://www.routerboard.com/rb200.html
Ok - I can understand that the SDK will allow me to compile code which will run on the RB230 but how do I get something over to the MikroTik as a command?
 
User avatar
normis
MikroTik Support
MikroTik Support
Posts: 26977
Joined: Fri May 28, 2004 11:04 am
Location: Riga, Latvia
Contact:

Re: GPIO on routerboard hw

Fri Apr 17, 2009 2:12 pm

I mean - look in the SDK PDF file, there is all you wanted to know about GPIO. From RouterOS you can't do anything with it.
 
andret
newbie
Posts: 37
Joined: Fri Apr 17, 2009 11:08 am

Re: GPIO on routerboard hw

Fri Apr 17, 2009 2:15 pm

I mean - look in the SDK PDF file, there is all you wanted to know about GPIO. From RouterOS you can't do anything with it.
Right - no way of compiling a binary, uploading it to the CF card and running/executing it from RouterOS?
 
User avatar
normis
MikroTik Support
MikroTik Support
Posts: 26977
Joined: Fri May 28, 2004 11:04 am
Location: Riga, Latvia
Contact:

Re: GPIO on routerboard hw

Fri Apr 17, 2009 2:17 pm

you can't compile a binary for anything in routeros, let alone GPIO :) RouterOS is as it comes, no mods.