- Posts: 3981
- Thank you received: 994
How to add HAL pins to QtPyVCP?
- BigJohnT
- Offline
- Admin
-
Less
More
7 years 7 months ago #129471
by BigJohnT
Replied by BigJohnT on topic How to add HAL pins to QtPyVCP?
This is the status items page
qtpyvcp.kcjengr.com/components/status_items.html
This is the basic tutorial
qtpyvcp.kcjengr.com/tutorials/basic_vcp.html
JT
qtpyvcp.kcjengr.com/components/status_items.html
This is the basic tutorial
qtpyvcp.kcjengr.com/tutorials/basic_vcp.html
JT
Please Log in or Create an account to join the conversation.
- KCJ
- Offline
- Moderator
-
Less
More
- Posts: 328
- Thank you received: 267
7 years 7 months ago #129475
by KCJ
Replied by KCJ on topic How to add HAL pins to QtPyVCP?
The only HAL widget we have so far is the HalLedWidget for indicating BIT HAL pin states of existing pins. To use it place it on a window and set the hal_pin_name property to the name of the pin you want it to reflect.
This widget does not create a new pin, but works much like HALMeter to show the states of existing pins. This widget is going to go away and I am going to add a support for reading HAL pins from the widget rules. I am also going to add support for read/write HAL widgets that create their own pins much like the pyvcp widgets.
HAL LED Demo indicating the state of the halui.machine.is-on pin.
This widget does not create a new pin, but works much like HALMeter to show the states of existing pins. This widget is going to go away and I am going to add a support for reading HAL pins from the widget rules. I am also going to add support for read/write HAL widgets that create their own pins much like the pyvcp widgets.
HAL LED Demo indicating the state of the halui.machine.is-on pin.
Please Log in or Create an account to join the conversation.
- KCJ
- Offline
- Moderator
-
Less
More
- Posts: 328
- Thank you received: 267
7 years 6 months ago #130622
by KCJ
Replied by KCJ on topic How to add HAL pins to QtPyVCP?
Scott, we finally have a pretty complete set of HAL widgets in QtPyVCP.
See here for a list of widgets and the pins they create: qtpyvcp.kcjengr.com/widgets/hal_widgets/
We will be adding more HAL widgets down the road, but if you see something is missing let us know and we will add it.
Also QTPyVCP now has a QObject based version of hal_glib that can be used for creating custom HAL components if needed.
Cheers,
Kurt
See here for a list of widgets and the pins they create: qtpyvcp.kcjengr.com/widgets/hal_widgets/
We will be adding more HAL widgets down the road, but if you see something is missing let us know and we will add it.
Also QTPyVCP now has a QObject based version of hal_glib that can be used for creating custom HAL components if needed.
Cheers,
Kurt
The following user(s) said Thank You: tommylight
Please Log in or Create an account to join the conversation.
- Dave3891
- Offline
Less
More
- Posts: 56
- Thank you received: 7
7 years 6 months ago #130684
by Dave3891
Replied by Dave3891 on topic How to add HAL pins to QtPyVCP?
Scott,
Any more info on the SPI PRU for the raspberry pi?
Any more info on the SPI PRU for the raspberry pi?
Please Log in or Create an account to join the conversation.
- scotta
- Offline
Less
More
- Posts: 959
- Thank you received: 489
7 years 6 months ago #130827
by scotta
Replied by scotta on topic How to add HAL pins to QtPyVCP?
Hi Kurt,
Excellent work and thank you. Your efforts are truly appreciated! Sorry for the late reply I have been travelling in the US and just gotten back into Australia today. A really quick look and the only additional widget I can think of is a Progress Bar.
I'd love a slider widget that then incorporates a progress bar. Use the slider to set the required temperature and the groove is the progress bar showing the actual temperature. Now that would be cool!
I'll do a pull and have a bit of a play with the new widgets.
Thanks
Scott
Excellent work and thank you. Your efforts are truly appreciated! Sorry for the late reply I have been travelling in the US and just gotten back into Australia today. A really quick look and the only additional widget I can think of is a Progress Bar.
I'd love a slider widget that then incorporates a progress bar. Use the slider to set the required temperature and the groove is the progress bar showing the actual temperature. Now that would be cool!
I'll do a pull and have a bit of a play with the new widgets.
Thanks
Scott
The following user(s) said Thank You: KCJ
Please Log in or Create an account to join the conversation.
- scotta
- Offline
Less
More
- Posts: 959
- Thank you received: 489
7 years 6 months ago - 7 years 6 months ago #130828
by scotta
Replied by scotta on topic How to add HAL pins to QtPyVCP?
I'm getting closer to be happy to share soon. It's working great for motion and digital IO at the moment. So end stops are working. I just want to migrate the PID controller to the LPC1768 and it will be fully functional again. The first version was Arduino based.
In essence, spiPRU, is a cheap way to take off the shelf 3d printer control boards and turn them into a motion and IO module for the RPi.
Scott
In essence, spiPRU, is a cheap way to take off the shelf 3d printer control boards and turn them into a motion and IO module for the RPi.
Scott
Last edit: 7 years 6 months ago by scotta.
The following user(s) said Thank You: KCJ
Please Log in or Create an account to join the conversation.
Moderators: KCJ, Lcvette
Time to create page: 0.141 seconds