Can the OPI5 be Configured to Run LCNC?

More
28 Jun 2023 20:30 #274414 by royka
Perhaps twisting the wires will help or use a cat 5 cable.

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

More
29 Jun 2023 01:15 - 29 Jun 2023 01:21 #274428 by buzzFab
Currently there are 2 metal cases for the OPi5+

There is this one from geekworm which has internal heatsink and 5v fan, the heat sink is only for the cpu chip and not the ram.
www.aliexpress.com/item/1005005698413948.html


There is also this one, no clue who makes it but it is available from a few stores on aliexpress. This one also has a fan but the case is the heatsink with a cover plate for the bottom. It looks like the heatsink contacts 4 chips instead of just the cpu. This doesn't provide as much protection as the first one but is probably better for anyone who plans to embed their SBC in their CNC controller box like me.

www.aliexpress.com/item/1005005731835349.html
www.aliexpress.com/item/1005005728553439.html
www.aliexpress.com/item/1005005724742745.html
www.aliexpress.com/item/1005005753568195.html

 
 
Attachments:
Last edit: 29 Jun 2023 01:21 by buzzFab.

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

More
30 Jun 2023 21:43 #274545 by Guglielmi
Or... you can build your case as I did.. 

 
 

Inside there is the heatsink showd by BuzzFab inside, with fan.
The temperature thay around 55 degrees.
 
Attachments:
The following user(s) said Thank You: tommylight, buzzFab

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

More
07 Aug 2023 00:02 #277177 by echristley
I'm almost over the finish line. I have the Boss3 running. Not cut any parts yet, but I'm working through the final configurations.

-Due to limited inputs, I configured X and Y axis to use a single switch for both limits. I haven't yet figured out how to make the home in gmocappy. The Z has separate limit and home switch, and is working great.
-I read posts here saying that you can't control the VFD using the Mesa 7i96s's onboard RS-485. So I bought a $12 converter. I don't get a /dev/ttyUSB<x> so I'm thinking there might be a module that is needed for it to recognize the CH343 chipset?
-I have a start and a pause button wired in. As well as a switch to control the spindle direction.. But, I've yet to figure out how to tie those in to LinuxCNC.

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

More
07 Aug 2023 00:42 #277182 by echristley
Found the port for the RS-485 converter.
demsg | grep tty
Plug it in and run the command again. And extra /dev/ttyACM0 was reported at the bottom.

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

More
07 Aug 2023 20:47 - 07 Aug 2023 20:49 #277279 by royka
Great you've got the Boss3 running!
I would think that it has to be possible to use the RS-485 of the Mesa 7i96:
linuxcnc.org/docs/2.9/html/drivers/mesa_modbus.html
forum.linuxcnc.org/27-driver-boards/47590-7i96-bit-files

My USB adapter was taken over by BRLTTY, you could see it in dmesg. To disable that:
sudo systemctl stop brltty-udev.service
sudo systemctl mask brltty-udev.service
sudo systemctl stop brltty.service
sudo systemctl disable brltty.service

Instead of /dev/ttyUSBx it's better to use /dev/serial/by-id/id-of-your-adapter so when you've another serial device connected it won't randomly change the order ttyUSB0 to ttyUSB1
Last edit: 07 Aug 2023 20:49 by royka.
The following user(s) said Thank You: echristley

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

More
07 Aug 2023 20:53 #277282 by tommylight

My USB adapter was taken over by BRLTTY, you could see it in dmesg. To disable that:
sudo systemctl stop brltty-udev.service
sudo systemctl mask brltty-udev.service
sudo systemctl stop brltty.service
sudo systemctl disable brltty.service

Or you can just do
sudo apt purge brltty
and be done with it.
Took me a while to get there about 2 years ago, now i just remove it with all the stuff that i do not need as soon as installation finishes.
The following user(s) said Thank You: royka, echristley

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

More
12 Aug 2023 17:07 - 13 Aug 2023 21:40 #277741 by echristley
Removing brltty

Does anyone have a package for vfdmod that would be appropriate for Armbian? The deb package on Github appears to be for the wrong architecture.

EDIT:  Went with mb2hal instead.  So far, I've been able to turn the spindle on.  Could not get it to turn off, but at least I know it is communicating.
Last edit: 13 Aug 2023 21:40 by echristley.

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

More
16 Aug 2023 16:37 #278180 by royka
In case you still would like to try vfdmod...
Attachments:
The following user(s) said Thank You: echristley

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

More
18 Aug 2023 01:01 #278316 by echristley
A ferrite bead corrected my communication problems, and I'm now able to control the spindle by setting registers using mb2hal.

But, I think I still want to give vfdmod a a run. Which directory should the file above go in?

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

Time to create page: 1.810 seconds
Powered by Kunena Forum