Community discussions

MikroTik App
 
MikeRoTik
just joined
Topic Author
Posts: 21
Joined: Wed Jul 08, 2020 4:47 am

RBM33G has 6 GPIO

Tue Oct 20, 2020 5:16 am

Thanks to xvo, I installed version 6.48beta48. I can confirm that I am able change DIRECTION on "pin3" to output, change "OUTPUT" from 0 to 1 and read a voltage change on pin 3. I'm not going to attempt to drive the INPUT until I hear back from Mikrotik support. I suspect that a jumper needs to be placed on J23 to change the functionality of the 26 pin header pins to GPIO. It appears that there are 6 programmable GPIOs. This is awesome!
[admin@MikroTik] /system gpio> print         
Flags: X - disabled 
 #   NAME                                                DIRECTION OUTPUT INPUT SCRIPT                                               
 0   pin3                                                input     0      1    
 1   pin5                                                input     0      1    
 2   pin12                                               input     0      0    
 3   pin13                                               input     0      1    
 4   pin15                                               input     0      0    
 5   pin16                                               input     0      1    

set                  
pin3  pin5  pin12  pin13  pin15  pin16  comment  direction  disabled  output  script  numbers

set pin3 
comment  direction  disabled  output  script
 
David1234
Forum Guru
Forum Guru
Posts: 1424
Joined: Sun Sep 18, 2011 7:00 pm

Re: RBM33G has 6 GPIO

Tue Nov 03, 2020 11:24 am

did you get any reply ?

what need to be done in order to just send "0" \ "1" using GPIO14?
need to change any jumpers?

Thanks ,
 
User avatar
SiB
Forum Guru
Forum Guru
Posts: 1888
Joined: Sun Jan 06, 2013 11:19 pm
Location: Poland

Re: RBM33G has 6 GPIO

Tue Nov 03, 2020 2:33 pm

We know only that /system gpio is new CLI feature, not documented.
Only doc is here: https://wiki.mikrotik.com/wiki/Manual:S ... ial_header
RB M33G Aditional serial header
For RBM33G additional serial header can be attached on GPIO pins U3_RXD, GND, U3_TXD, and 3V3

Icon-note.png
Note: RouterOS 6.45.1 and firmware are required!
The same at new document system: https://help.mikrotik.com/docs/display/ ... rialHeader

All others should be ask at support@mikrotik.com or https://help.mikrotik.com/servicedesk
 
Pier63
just joined
Posts: 1
Joined: Wed Nov 04, 2020 2:57 pm

Re: RBM33G has 6 GPIO

Wed Nov 04, 2020 3:35 pm

Hi,

I'm testing GPIOs on a RBM33G.
pin3 and pin5 work fine in output direction but the others don't change their state if I switch output from 0 to 1.

Like you, I'm wondering if a jumper is needed somewhere


Did you get any answer from Mikrotik support ??


Thanks
 
MikeRoTik
just joined
Topic Author
Posts: 21
Joined: Wed Jul 08, 2020 4:47 am

Re: RBM33G has 6 GPIO

Fri Nov 06, 2020 5:41 am

It took over a week to get this reply. I was tempted to try to either "pull up" or "pull down" the pins but I chickened out in fear that I could cook the inputs. I was thinking about trying a 47K resistor inline from pin to ground and then vcc.
Hello,
Thank you for contacting MikroTik Support and apologies for the delayed answer.
Documentation for this feature is currently in-progress, however there is no ETA when it will be publicly available.
Apologies for the inconvenience caused.
Best regards,
 
byte123
just joined
Posts: 1
Joined: Mon Apr 26, 2021 11:33 am

Re: RBM33G has 6 GPIO

Mon Apr 26, 2021 11:34 am

Any updates ?
 
MikeRoTik
just joined
Topic Author
Posts: 21
Joined: Wed Jul 08, 2020 4:47 am

Re: RBM33G has 6 GPIO

Thu Apr 29, 2021 5:36 pm

Yes, here are the replies that I finally received from technical support. I have not tested using the pins as inputs yet.

The M33 has 2 usable GPIOs (pin3 and pin5), which can be softly pulled both up and down - no external pull-up / down resistors are required.

> I simply need to know how to wire the pull-up or pull-down.
• pin3 ( GPIO3) and pin 5 ( GPIO4 ) are pulled-up to system 3.3V via 4.7k resistor.
> Do I wire the GPIO pin to VCC or 3.3 to change the input state?
• to change input state connect one side of dry contact to GND and other through series resistor to GPIO input pin. ( 1k resistor should be fine );
• parallel capacitor for debouncing can be added.
 
ubikrotik
Member Candidate
Member Candidate
Posts: 158
Joined: Wed May 25, 2016 3:56 am

Re: RBM33G has 6 GPIO

Wed Dec 28, 2022 3:32 pm

hi, I only can see 2 gpio pins on my rbm33g using the lastest stable ro6 fw.

I installed the iot package to get access to the cli gpio : iot/gpio

how can I activate the other pin ? is there a jumper or a commande to show those pins?

Who is online

Users browsing this forum: No registered users and 23 guests