Advanced Search

Search Results (Searched for: raspberry)

17 Jan 2024 09:41

LinuxCNC at RPI4 with using IO Pins only ?

Category: Installing LinuxCNC

Is it possible to provide a tutorial for configuring the Raspberry Pi using GPIO with LinuxCNC?


Try linuxcnc.org/docs/stable/html/drivers/hal_gpio.html
17 Jan 2024 07:02

Remora - ethernet NVEM / EC300 / EC500 cnc board

Category: Computers and Hardware

hello,
i have also tried to setup an raspberry pi4b with linuxcnc 2.9.1 and nvem v2 5axis cnc board.
setup of rpi and flashing nevem is done like remora manual and should work, i can start remora-xyz and also become answer with ping on 10.10.10.10
but i can't unlock e-stop.
and also see no reaction on input and output pins.
can someone please help me and send me a working hal and ini file for my nvem v2 cnc board?
regards
al
17 Jan 2024 01:25

LinuxCNC at RPI4 with using IO Pins only ?

Category: Installing LinuxCNC

Is it possible to provide a tutorial for configuring the Raspberry Pi using GPIO with LinuxCNC?
17 Jan 2024 01:09

configuring my GPIO pins to linuxcnc with Raspberry pi 4

Category: HAL

Is it possible to provide a tutorial for configuring the Raspberry Pi using GPIO with LinuxCNC?
16 Jan 2024 19:08
Replied by bobwolf on topic 7i43-4 firmware

7i43-4 firmware

Category: Driver Boards

Its a bit tricky because EPP interfaced cards don't have the full HM2 64Kaddress space (only 32K)

I also have a 7i90 that I got a few years ago that I would like to use with a raspberry... would you advise me not to use it if I wanted to make a new cnc?
16 Jan 2024 15:19 - 16 Jan 2024 16:05
Replied by PCW on topic Raspberry Pi 4 with Mesa 7c81

Raspberry Pi 4 with Mesa 7c81

Category: Driver Boards

Is that the latest mesaflash?

(current mesaflash should print the 7C81 pinouts correctly)
16 Jan 2024 14:55

Raspberry Pi 4 with Mesa 7c81

Category: Driver Boards

IO Connections for P1+Serial
Pin#  I/O   Pri. func    Sec. func       Chan      Pin func        Pin Dir

 0      0   IOPort       PWM              0        PWM             (Out)
 0      1   IOPort       None           
 0      2   IOPort       StepGen          0        Step/Table1     (Out)
 0      3   IOPort       None           
 0      4   IOPort       StepGen          0        Dir/Table2      (Out)
 0      5   IOPort       None           
 0      6   IOPort       StepGen          1        Step/Table1     (Out)
 0      7   IOPort       None           
 0      8   IOPort       StepGen          1        Dir/Table2      (Out)
 0      9   IOPort       StepGen          2        Step/Table1     (Out)
 0     10   IOPort       StepGen          2        Dir/Table2      (Out)
 0     11   IOPort       StepGen          3        Step/Table1     (Out)
 0     12   IOPort       StepGen          3        Dir/Table2      (Out)
 0     13   IOPort       None           
 0     14   IOPort       QCount           0        Quad-A          (In)
 0     15   IOPort       QCount           0        Quad-B          (In)
 0     16   IOPort       QCount           0        Quad-IDX        (In)
 0     17   IOPort       None           
 0     18   IOPort       None           

IO Connections for P2+Serial
Pin#  I/O   Pri. func    Sec. func       Chan      Pin func        Pin Dir

 0     19   IOPort       PWM              1        PWM             (Out)
 0     20   IOPort       None           
 0     21   IOPort       StepGen          4        Step/Table1     (Out)
 0     22   IOPort       None           
 0     23   IOPort       StepGen          4        Dir/Table2      (Out)
 0     24   IOPort       None           
 0     25   IOPort       StepGen          5        Step/Table1     (Out)
 0     26   IOPort       None           
 0     27   IOPort       StepGen          5        Dir/Table2      (Out)
 0     28   IOPort       StepGen          6        Step/Table1     (Out)
 0     29   IOPort       StepGen          6        Dir/Table2      (Out)
 0     30   IOPort       StepGen          7        Step/Table1     (Out)
 0     31   IOPort       StepGen          7        Dir/Table2      (Out)
 0     32   IOPort       None           
 0     33   IOPort       QCount           1        Quad-A          (In)
 0     34   IOPort       QCount           1        Quad-B          (In)
 0     35   IOPort       QCount           1        Quad-IDX        (In)
 0     36   IOPort       None           
 0     37   IOPort       None           

IO Connections for P7+Serial
Pin#  I/O   Pri. func    Sec. func       Chan      Pin func        Pin Dir

 0     38   IOPort       PWM              2        PWM             (Out)
 0     39   IOPort       None           
 0     40   IOPort       StepGen          8        Step/Table1     (Out)
 0     41   IOPort       None           
 0     42   IOPort       StepGen          8        Dir/Table2      (Out)
 0     43   IOPort       None           
 0     44   IOPort       StepGen          9        Step/Table1     (Out)
 0     45   IOPort       None           
 0     46   IOPort       StepGen          9        Dir/Table2      (Out)
 0     47   IOPort       StepGen         10        Step/Table1     (Out)
 0     48   IOPort       StepGen         10        Dir/Table2      (Out)
 0     49   IOPort       StepGen         11        Step/Table1     (Out)
 0     50   IOPort       StepGen         11        Dir/Table2      (Out)
 0     51   IOPort       None           
 0     52   IOPort       QCount           2        Quad-A          (In)
 0     53   IOPort       QCount           2        Quad-B          (In)
 0     54   IOPort       QCount           2        Quad-IDX        (In)
 0     55   IOPort       None           
 0     56   IOPort       None           

It looks like you will have to use the manual to map the physical pin numbers to IO numbers to find where each signal is, which is slightly unfortunate.
16 Jan 2024 14:38
Replied by PCW on topic Raspberry Pi 4 with Mesa 7c81

Raspberry Pi 4 with Mesa 7c81

Category: Driver Boards

The default 7C81 firmware is 5ABOBx3 which is compatible
with the common Mach 5 Axis BOBs
16 Jan 2024 11:24

Raspberry Pi 4 with Mesa 7c81

Category: Driver Boards

The current gap I’m trying to fill is how to get from the Mesa 7c81 board to the 5 StepperOnline DM542Ts (Spindle, X, Z, A, & C).  In particular, I am at a loss on how to get the 3 needed signals to the DM542Ts:  Step, Direction, & Enable. 

I am seeking some guidance on where to find instructions or manuals which can me help get started.  I recognize that this is probably a very basic set of questions, so I appreciate whatever help can be provided to point me in the right direction. 

 

Have you found the 7C81 manual?  www.mesanet.com/pdf/parallel/7c81man.pdf

Though admittedly that doesn't really answer your questions, because the functions of the various chips depends on the firmware flashed to the 7c81. 

There are a number of possible firmwares, but it is probable that the one you have is good enough for your purposes. 

There are two ways to identify which signals are on each header pin of the 7C81. You can use mesaflash, or you can run a LinuxCNC HAL command line session. 

Starting with the HAL method, this will also check that LinuxCNC comms to the board are working. 

Open a terminal. 
halrun
loadrt hostmot2
loadrt hm2_rpspi

If all it well, this should connect to the Mesa board, and give you a list of what function is on which IO pin. 

You can then continue with additional HAL commands, for example 
show pin

When finished:
exit

The other way is with mesaflash. You might need to install this: "sudo apt-get install mesaflash"
mesaflash --spi --device 7c81 --readhmid

(This might need to tbe "sudo mesaflash")

Report back what the results are, there are a number of possible hurdles to either of these working immediately. 

 
16 Jan 2024 08:09 - 16 Jan 2024 08:10
Replied by Jiyar on topic LinuxCNC on Raspberry Pi 5

LinuxCNC on Raspberry Pi 5

Category: Installing LinuxCNC

Hi,
Here is a YouTube link that may be useful.

16 Jan 2024 02:50
Replied by PCW on topic Raspberry Pi 4 with Mesa 7c81

Raspberry Pi 4 with Mesa 7c81

Category: Driver Boards

Typically you would use a breakout board like the common "5 Axis Mach" BOB
and not connect directly to the 7C81s ports
16 Jan 2024 02:39 - 16 Jan 2024 02:41

Raspberry Pi 4 with Mesa 7c81

Category: Driver Boards

I’m just getting started with LinuxCNC, with an end goal of running it on a Raspberry Pi (4B or 5), and driving stepper motors on my rose engine lathe. 

I have LinuxCNC running on a Raspberry Pi 4B which is connected to a Mesa 7c81 board.  I assume each stepper motor will need a driver and currently have each one hooked up to a StepperOnline DM542T.

The current gap I’m trying to fill is how to get from the Mesa 7c81 board to the 5 StepperOnline DM542Ts (Spindle, X, Z, A, & C).  In particular, I am at a loss on how to get the 3 needed signals to the DM542Ts:  Step, Direction, & Enable. 

I am seeking some guidance on where to find instructions or manuals which can me help get started.  I recognize that this is probably a very basic set of questions, so I appreciate whatever help can be provided to point me in the right direction. 
 
15 Jan 2024 23:08

LitexCNC: firmware and driver for 5A-75B and 5A-75E

Category: Driver Boards

Thank you very much for your help.
Now it seems to work.
To be on the safe side, I reinstalled the image on the SD card and followed all the steps as described in the documentation here
litex-cnc.readthedocs.io/en/latest/raspberrypi.html
described here.
After reading these lines here:
# set PATH so it includes oss-cad-suite
if [ -d "/home/cnc/toolchain/oss-cad-suite/bin" ] ; then
PATH="/home/cnc/toolchain/oss-cad-suite/bin:$PATH"
fi
in my /.bashrc, the compilation of the JSON file seems to work.
I do get the error message at the end:

ERROR: Cell 'watchdog0$tr_io' cannot be bound to bel 'X0/Y44/PIOD' since it is already bound to cell 'gpio_out0$tr_io'
0 warnings, 1 error
Traceback (most recent call last):
File "/home/cnc/.local/bin/litexcnc", line 8, in <module>
sys.exit(cli())
^^^^^
File "/home/cnc/.local/lib/python3.11/site-packages/click/core.py", line 1157, in __call__
return self.main(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/cnc/.local/lib/python3.11/site-packages/click/core.py", line 1078, in main
rv = self.invoke(ctx)
^^^^^^^^^^^^^^^^
File "/home/cnc/.local/lib/python3.11/site-packages/click/core.py", line 1688, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/cnc/.local/lib/python3.11/site-packages/click/core.py", line 1434, in invoke
return ctx.invoke(self.callback, **ctx.params)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/cnc/.local/lib/python3.11/site-packages/click/core.py", line 783, in invoke
return __callback(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/cnc/.local/lib/python3.11/site-packages/litexcnc/cli/build_firmware.py", line 58, in cli
builder.build(run=build)
File "/home/cnc/toolchain/litex/litex/litex/soc/integration/builder.py", line 350, in build
vns = self.soc.build(build_dir=self.gateware_dir, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/cnc/toolchain/litex/litex/litex/soc/integration/soc.py", line 1205, in build
return self.platform.build(self, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/cnc/toolchain/litex/litex/litex/build/lattice/platform.py", line 43, in build
return self.toolchain.build(self, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/cnc/toolchain/litex/litex/litex/build/lattice/trellis.py", line 236, in build
_run_script(script)
File "/home/cnc/toolchain/litex/litex/litex/build/lattice/trellis.py", line 174, in _run_script
raise OSError("Error occured during Yosys/Nextpnr's script execution.")
OSError: Error occured during Yosys/Nextpnr's script execution.

But this seems to me to be an error in the example file 5a-75b_v8.0_i12o14p6s6e6.json.
15 Jan 2024 20:53

VirtualBox7.0 Install err Dependency not satisfiable: libqt5x11extras5 (>=5.6.0)

Category: Computers and Hardware

means you have installed libqtestras5 less than 5.6 .... or not istall .... haven you installed QT5 lib? do it ... actually minimun is 5.15 ..


sudo apt install qtbase5-dev qt5-qmake qtbase5-dev-tools
sudo apt-get install build-essential
sudo apt-get install libfontconfig1-dev libdbus-1-dev libfreetype6-dev libicu-dev libudev-dev libinput-dev libxkbcommon-dev libssl-dev libpng-dev libjpeg-dev libglib2.0-dev libraspberrypi-dev
sudo apt-get install qtcreator qtcreator-data qtcreator-doc qtbase5-examples qtbase5-doc-html qtbase5-dev qtbase5-private-dev cmake

but I'm not a debian expert .... not use it ... but have the same issue (install virtualbox7) on other linux distro solved in these way ....
15 Jan 2024 14:19 - 16 Jan 2024 17:47

Linuxcnc 2.9.2 and 2.93 images for Raspberry Pi 4b & 5

Category: Installing LinuxCNC

I have a Pi 400 and the image loads fine. I have sound, and can confirm that it runs great on my setup.  Had a minor hiccup with my Mesa 7i96s board. I could ping the board at address 10.10.10.10, but when I started LinuxCNC I got the "temporarily unavaliable" error. Had to go configure my network settings. Once that was set everything works great.  Thanks!
Displaying 751 - 765 out of 953 results.
Time to create page: 0.977 seconds
Powered by Kunena Forum