#Addressing pins on a toolboard

24 messages · Page 1 of 1 (latest)

brittle birch
#

I added a microswitch to my setup (to test filament presence) and have attached it to my EBB42 toolboard at PB5 (an extra unused endstop pin). How do I address that pin? Is simply PB5 enough or do I need to add something else to the assignment to let ratos know I mean the toolboard?

simple wagon
brittle birch
simple wagon
#

your toolboard should have a pinout and that should tell you the name to use

brittle birch
simple wagon
#

You don't need the ! unless you need to invert the switch logic

brittle birch
wraith dirge
#

nono

simple wagon
wraith dirge
#

Just do toolboard:PB5

#

The above will only fail if that pin is used for something else

#

Ie, there's never a reason to change the pin aliases, or try and use the aliases themselves if you don't know if one exists.

#

Just use the pin from your boards pinout diagram 🙂

brittle birch
#

I tried to create my own alias at first and it wasn't happy lol. toolboard:PB5 worked.

#

Is there a way to get the state of the switch on PB5 in mainsail terminal now that I have it assigned just to see if it's working as expected without actually running a print?

wraith dirge
simple wagon
wraith dirge
#

Or a filament switch sensor

#

That's prolly better

#

That shows realtime feedback right on the mainsail dashboard