Free digital outputs on Rambo board?
 
Notifications
Clear all

Free digital outputs on Rambo board?  

  RSS
andreas.j
(@andreas-j)
Eminent Member
Free digital outputs on Rambo board?

Hi forum,

does anyone know, if there are free digital outputs that I can control via GCODE to set them high?
I would like to connect my own mosfets and control stuff (fans, light, etc) as I did on my Mendel90 which used a Melzi board...

thanks!

Publié : 24/03/2017 9:01 pm
TiccTech
(@ticctech)
Eminent Member
Re: Free digital outputs on Rambo board?

So... I took a brief look at this a while back. I'm not sure I found a definitive answer then, and I'm not sure I correctly remember what I found, but for what it's worth, here's what I remember... 😉

There aren't any obvious spare outputs on the Mini RAMBO. There are spare *inputs* -- the board has inputs for both min and max limit switches on all three axes, but the i3 only has min switches, leaving the max inputs free. I *think* what I read was that the unused max inputs can only be used as inputs, but the min inputs are hooked to pins on the controller that can also be used as outputs (I didn't check this with the controller spec). If this is true, then it would be possible to move one or more min switch to connect to max inputs, change some constants in the firmware so it would expect that, and do something possibly easy and possibly more complicated to the firmware to drive the min "inputs" as outputs in response to gcodes.

So maybe possible, but probably a bit of work. The RAMBO is an open-source design, so documentation is available. Schematics are at http://reprap.org/wiki/MiniRambo .

If you try this, let us know how it works out!

Publié : 25/03/2017 6:14 am
PJR
 PJR
(@pjr)
Antient Member Moderator
Re: Free digital outputs on Rambo board?

All Arduino digital pins can be configured for either input or output.

The MAX end-stop sockets are available as are the pins connected to the P3 header, plus a few other headers on the board.

Pins.h is the file to look at to see what is available.

Peter

Please note: I do not have any affiliation with Prusa Research. Any advices given are offered in good faith. It is your responsibility to ensure that by following my advice you do not suffer or cause injury, damage…

Publié : 25/03/2017 10:53 am
TiccTech
(@ticctech)
Eminent Member
Re: Free digital outputs on Rambo board?

Thanks for the correction, Peter, that's good to know.

Publié : 25/03/2017 2:46 pm
andreas.j
(@andreas-j)
Eminent Member
Topic starter answered:
Re: Free digital outputs on Rambo board?

Good to hear there are unused pins!
But as far as I can see, there is no option to control them via gcode?
That would mean to create a custom firmware and modify it every time a new one comes out 🙁

Publié : 27/03/2017 11:29 pm
PJR
 PJR
(@pjr)
Antient Member Moderator
Re: Free digital outputs on Rambo board?

That would mean to create a custom firmware and modify it every time a new one comes out 🙁

Exactly. And if you go down that route, you won't be the first...

Peter

Please note: I do not have any affiliation with Prusa Research. Any advices given are offered in good faith. It is your responsibility to ensure that by following my advice you do not suffer or cause injury, damage…

Publié : 28/03/2017 9:57 am
andreas.j
(@andreas-j)
Eminent Member
Topic starter answered:
Re: Free digital outputs on Rambo board?

Hi all,

I have to bring this up again.
I checked the 3.0.10 firmware and it still has M42 command enabled for these pins

0, 1, X_STEP_PIN, X_DIR_PIN, X_ENABLE_PIN, X_MIN_PIN, X_MAX_PIN, Y_STEP_PIN, Y_DIR_PIN, Y_ENABLE_PIN, Y_MIN_PIN, Y_MAX_PIN, Z_STEP_PIN, Z_DIR_PIN, Z_ENABLE_PIN, Z_MIN_PIN, Z_MAX_PIN, PS_ON_PIN, \
HEATER_BED_PIN, FAN_PIN, \
_E0_PINS _E1_PINS _E2_PINS \
analogInputToDigitalPin(TEMP_0_PIN), analogInputToDigitalPin(TEMP_1_PIN), analogInputToDigitalPin(TEMP_2_PIN), analogInputToDigitalPin(TEMP_BED_PIN)

PJR, you mentioned the MAX end stop pins are available, are these EVERY max pins like
X_MAX_PIN,
Y_MAX_PIN,
Z_MAX_PIN
or are there others from the above list that are unsused?

thanks!

Publié : 15/04/2017 10:17 pm
david.b14
(@david-b14)
Honorable Member
Re: Free digital outputs on Rambo board?

If you want to control lights or anything else, you could tap into the buzzer which is just a PWM player.

Then use an arduino nano to read the PWM and control your mosfets or anything else using GCODE to modulate the PWM.

Publié : 16/04/2017 4:04 am
andreas.j
(@andreas-j)
Eminent Member
Topic starter answered:
Re: Free digital outputs on Rambo board?

Thanks, but that leaves me with another device to program 🙂

Publié : 16/04/2017 9:52 am
Partager :