Difficulty Using 7i76e Digital Potentiometer
- TannerFrisby
- Topic Author
- Offline
- Junior Member
Less
More
- Posts: 24
- Thank you received: 10
18 Sep 2021 04:23 #220970
by TannerFrisby
Difficulty Using 7i76e Digital Potentiometer was created by TannerFrisby
Greetings all,
I am trying to use my 7i76e's analog spindle speed capabilities, but I can not get the potentiometer to function.
Spindle: Makita router (0-5V fed through a 100K pot, now replaced with the 7i76e digital pot)
RPM: 10,000 @ 0V -to- 30,000 @ 5V
For debugging, I have a 10v power supply connected to the digital pot. I read low millivolts between wiper and signal regardless of MDI "M3 S#####" commands. The wiper stays firmly at the 0V end of the range, which corresponds to 10,000 rpm. Wiper to positive reads 10V (as expected).
I had the analog output working previously with a VFD, but I can't seem to get it to work now. There seems to be a disconnect between my configuration files (attached) and the mesa board.
Any help would be greatly appreciated.
Thanks,
Tanner Frisby
I am trying to use my 7i76e's analog spindle speed capabilities, but I can not get the potentiometer to function.
Spindle: Makita router (0-5V fed through a 100K pot, now replaced with the 7i76e digital pot)
RPM: 10,000 @ 0V -to- 30,000 @ 5V
For debugging, I have a 10v power supply connected to the digital pot. I read low millivolts between wiper and signal regardless of MDI "M3 S#####" commands. The wiper stays firmly at the 0V end of the range, which corresponds to 10,000 rpm. Wiper to positive reads 10V (as expected).
I had the analog output working previously with a VFD, but I can't seem to get it to work now. There seems to be a disconnect between my configuration files (attached) and the mesa board.
Any help would be greatly appreciated.
Thanks,
Tanner Frisby
Attachments:
Please Log in or Create an account to join the conversation.
- Hakan
- Offline
- Platinum Member
Less
More
- Posts: 504
- Thank you received: 157
18 Sep 2021 06:55 #220975
by Hakan
Replied by Hakan on topic Difficulty Using 7i76e Digital Potentiometer
I think the spinena signal need to be high for the potentiometer to output anything.
Please Log in or Create an account to join the conversation.
- tommylight
- Offline
- Moderator
Less
More
- Posts: 19482
- Thank you received: 6533
18 Sep 2021 09:37 #220984
by tommylight
Replied by tommylight on topic Difficulty Using 7i76e Digital Potentiometer
Yeah the spinena signal is omited in hal so that will not output anything.
Remove the # in front of the line with 7i76e.nn.nn.n.spinena
Remove the # in front of the line with 7i76e.nn.nn.n.spinena
Please Log in or Create an account to join the conversation.
- TannerFrisby
- Topic Author
- Offline
- Junior Member
Less
More
- Posts: 24
- Thank you received: 10
18 Sep 2021 17:00 - 18 Sep 2021 17:17 #221028
by TannerFrisby
Replied by TannerFrisby on topic Difficulty Using 7i76e Digital Potentiometer
Thanks for a quick response, that seems to have fixed my issue. I had forgotten to save my hal before relaunching LinuxCNC.
Thanks for a quick response, but this didn't change my results.
Previously I had:
net spindle-enable => hm2_7i76e.0.7i76.0.0.output-04
#net spindle-enable => hm2_7i76e.0.7i76.0.0.spinena
Which turns on my spindle through a solid-state relay. The spindle turns, but only at the 0V speed. I commented the other line out to preserve it for my future self when I inevitably change my setup again.
I have uncommented the line as suggested, but I have the same results: my digital pot wiper is at GND and doesn't move when a different "S" value is submitted in MDI or when the "+" is clicked in the manual interface of AXIS
I currently have:
net spindle-enable => hm2_7i76e.0.7i76.0.0.output-04
net spindle-enable => hm2_7i76e.0.7i76.0.0.spinena
Previously I had:
net spindle-enable => hm2_7i76e.0.7i76.0.0.output-04
#net spindle-enable => hm2_7i76e.0.7i76.0.0.spinena
Which turns on my spindle through a solid-state relay. The spindle turns, but only at the 0V speed. I commented the other line out to preserve it for my future self when I inevitably change my setup again.
I have uncommented the line as suggested, but I have the same results: my digital pot wiper is at GND and doesn't move when a different "S" value is submitted in MDI or when the "+" is clicked in the manual interface of AXIS
I currently have:
net spindle-enable => hm2_7i76e.0.7i76.0.0.output-04
net spindle-enable => hm2_7i76e.0.7i76.0.0.spinena
Last edit: 18 Sep 2021 17:17 by TannerFrisby. Reason: Correction
The following user(s) said Thank You: tommylight
Please Log in or Create an account to join the conversation.
Time to create page: 0.056 seconds