Rpi 4 GPIO Calculator

More
13 Oct 2021 14:40 #223024 by BigJohnT
After a guy on the IRC pointed me to a thread about a Hal driver for Rpi GPIO I went looking for the man page but there is none. Andy pointed me to an example and the masks used seemed very confusing to figure out so I made a configuration tool for the hal_pi_gpio driver. Still need to polish it up and see about adding it to 2.8 maybe. Going to add the pinout map on a tab and make the man page.

 

JT
Attachments:
The following user(s) said Thank You: Mike_Eitel, Bari, tommylight, elovalvo, MX_Master, rollfree, Markyd

Please Log in or Create an account to join the conversation.

More
14 Oct 2021 11:51 #223076 by andypugh
Replied by andypugh on topic Rpi 4 GPIO Calculator
Maybe configure the layout to mirror the pinout with the fixed pins (5V, 3.3V etc) included (but not editable)
A drop down of IN / OUT / EXC might be easier to follow too, rather than having to keep two controls synched. (or 0, 1, 2 if drop-down is harder.)

Please Log in or Create an account to join the conversation.

More
14 Oct 2021 20:55 #223117 by BigJohnT
Replied by BigJohnT on topic Rpi 4 GPIO Calculator
That's a very good idea, I'll see what I can do during coffee time in the AM. At least I got the math sorted out so making it pretty is easy. A combo box might be an idea I'll look at that and 0, 1, 2 spin box.

JT

Please Log in or Create an account to join the conversation.

More
14 Oct 2021 21:47 #223127 by BigJohnT
Replied by BigJohnT on topic Rpi 4 GPIO Calculator
Took a few minutes to work up the GUI page, I'll code it in the morning.
 

The Rpi tab.
 

JT
Attachments:
The following user(s) said Thank You: Mike_Eitel, Bari, tommylight, Clive S

Please Log in or Create an account to join the conversation.

More
15 Oct 2021 13:08 #223201 by BigJohnT
Replied by BigJohnT on topic Rpi 4 GPIO Calculator
I'm done with it.
github.com/jethornton/rpi_gpio

JT
The following user(s) said Thank You: tommylight, pietvr, elovalvo, Al

Please Log in or Create an account to join the conversation.

More
15 Oct 2021 21:33 #223235 by BigJohnT
Replied by BigJohnT on topic Rpi 4 GPIO Calculator
Forgot a screen shot

 

JT
Attachments:
The following user(s) said Thank You: tommylight

Please Log in or Create an account to join the conversation.

More
15 Oct 2021 23:57 #223260 by Aaroncnc
Replied by Aaroncnc on topic Rpi 4 GPIO Calculator
That looks awesome. Perfectly simple and clear to use. I will give this a try to see how well it will work for adding more io when using remora.

Please Log in or Create an account to join the conversation.

More
16 Oct 2021 00:18 #223264 by Bari
Replied by Bari on topic Rpi 4 GPIO Calculator
I'll look at getting this to work on the Opi boards, Orange Pi (allwincnc).

forum.linuxcnc.org/18-computer/39037-lin...-orange-pi-allwincnc

Please Log in or Create an account to join the conversation.

More
23 Oct 2021 19:49 #224025 by Cncninja
Replied by Cncninja on topic Rpi 4 GPIO Calculator
I can't seem to open it, any suggestions for install, thanks

Please Log in or Create an account to join the conversation.

Moderators: PCWjmelson
Time to create page: 0.152 seconds
Powered by Kunena Forum