You are not logged in.

#1 2018-11-29 09:29:39

grafalex
Member
Registered: 2016-11-19
Posts: 18

Add more HW buttons

Hello,

Is there a way to add more HW buttons? For instance it would be convenient if I could use hardware up/down buttons for Z elevation fine tuning, rathen than doing mouse clicks on computer.

Offline

#2 2018-11-29 13:28:46

elshad66
Member
Registered: 2017-03-31
Posts: 118

Re: Add more HW buttons

if you use ramps 1.4 + mega 2560
connect RepRapDiscount Smart Controller   or another for 3d printer
and all movements can be controlled

Offline

#3 2018-11-29 13:49:52

grafalex
Member
Registered: 2016-11-19
Posts: 18

Re: Add more HW buttons

Well, currently I use exactly this setup - hardware buttons attached to arduino to control movements (though this is not RAMPS, just simple CNC Shield based solution).

But this is the only thing preventing me to switch to raspberry pi shield and controll everything from RPI

Offline

#4 2018-12-01 19:53:08

Shahin
Administrator
Registered: 2016-02-17
Posts: 3,541

Re: Add more HW buttons

Try using python script and Exec keyword on nanodlp

Offline

#5 2018-12-01 19:58:32

grafalex
Member
Registered: 2016-11-19
Posts: 18

Re: Add more HW buttons

How often NanoDLP will call my script? I mean a main loop should live somewhere.
If NanoDLP owns the main loop then there could be noticeable delays between user presses the button, and it is actually processed.

You you mean run an external process that polls puttons, and sends NanoDLP commands somehow (calling some URL)?

Offline

Board footer

Powered by FluxBB