RBM33G has 6 GPIO

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

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 ,

We know only that /system gpio is new CLI feature, not documented.
Only doc is here: https://wiki.mikrotik.com/wiki/Manual:System/Serial_Console#RB_M33G_Aditional_serial_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/ROS/Serial+Console#heading-RBM33GAdditionalSerialHeader

All others should be ask at support@mikrotik.com or https://help.mikrotik.com/servicedesk

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

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,

Any updates ?

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.

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?