Advanced Search

Search Results (Searched for: raspberry pi 3)

18 Jan 2024 09:23

Remora - ethernet NVEM / EC300 / EC500 cnc board

Category: Computers and Hardware

have tried to install tftpy but not working...

cnc@raspberrypi:~$ pip install tftpy
bash: pip: command not found
cnc@raspberrypi:~$ sudo pip3 install tftpy
sudo: pip3: command not found

please help
18 Jan 2024 07:17 - 18 Jan 2024 07:24
Raspberry pi 5 was created by rohit269

Raspberry pi 5

Category: General LinuxCNC Questions

  I am install linuxcnc 2.9.2 on raspberry pi5  and  I am  completing all  setting for Linux cnc lathe then I started linuxcnc and I found error and error picture I am also attached please see and guide me how to solve this problem 
18 Jan 2024 01:46

Remora - Rpi Software Stepping Using External Microcontroller via SPI

Category: Computers and Hardware

Linuxcnc on the RaspberryPi has since evolved, and there became less of a need for Scott/Remora to maintain a linuxcnc build for the RPI. While Im sure the steps are fundamentally the same, the section is out of date, and I am questioning if we should remove the section entirely.

My personal opinion, is to look for a premade image, or the steps for it. I think theres a configuration setting in the RPI imager software where you can select RPI3, but I do not recall. There were a few threads from earlier this year that you may be able to find more current steps/references.

Not to try and pass the buck on this, but RPI builds/installs have fallen from the per view of the remora project, and now more of a linuxcnc standard thing. Have a look through this section of the forum, and you will probably get more help if you have questions regarding linuxcnc on the rpi3

forum.linuxcnc.org/9-installing-linuxcnc
17 Jan 2024 16:58

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

Category: Driver Boards

I must apologize.
I read the command: "litexcnc_eth" incorrectly from a forum.
The first command is correct:
"loadrt litexcnc" to append the "connections=eth:10.0.0.10".
Then the output looks better.

cnc@raspberrypi:~$ halrun
halcmd: loadrt litexcnc connections="eth:10.0.0.10"
Note: Using POSIX realtime
litexcnc: Loading Litex CNC driver version 1.1.0
litexcnc: Loading and registering default modules:
litexcnc: Registered module gpio
litexcnc: Registered module pwm
litexcnc: Registered module encoder
litexcnc: Registered module step
litexcnc: Setting up board drivers:
litexcnc: Registered driver eth
LitexCNC-eth: connected to board on '10.0.0.10:1234'
litexcnc: Setting up modules...
litexcnc: Reading 36 bytes
litexcnc: - Watchdog
litexcnc: - Wallclock
litexcnc: - gpio ... done!
litexcnc: - pwm ... done!
litexcnc: - encoder ... done!
litexcnc: - step ... done!
litexcnc: Creating read and write buffers...
litexcnc: Base addresses: init: 00000000, reset: 00000044, config: 00000048, write: 0000004C, read: 000000C8
litexcnc: - Write buffer: 124 bytes
litexcnc: - Read buffer: 96 bytes
litexcnc: Exporting functions...
17 Jan 2024 15:43

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

Category: Driver Boards

I have tried to connect to the board.
As you can see, I can successfully ping the board after flashing. So I think that the flashing was successful,

cnc@raspberrypi:~$ ping -c 5 10.0.0.10
PING 10.0.0.10 (10.0.0.10) 56(84) bytes of data.
64 bytes from 10.0.0.10: icmp_seq=1 ttl=128 time=0.257 ms
64 bytes from 10.0.0.10: icmp_seq=2 ttl=128 time=0.149 ms
64 bytes from 10.0.0.10: icmp_seq=3 ttl=128 time=0.164 ms
64 bytes from 10.0.0.10: icmp_seq=4 ttl=128 time=0.175 ms
64 bytes from 10.0.0.10: icmp_seq=5 ttl=128 time=0.162 ms

--- 10.0.0.10 ping statistics ---
5 packets transmitted, 5 received, 0% packet loss, time 4080ms
rtt min/avg/max/mdev = 0.149/0.181/0.257/0.038 ms
cnc@raspberrypi:~$


The Litexcnc driver can also be loaded in halrun.

cnc@raspberrypi:~$ halrun
halcmd: loadrt litexcnc
Note: Using POSIX realtime
litexcnc: Loading Litex CNC driver version 1.1.0
litexcnc: Loading and registering default modules:
litexcnc: Registered module gpio
litexcnc: Registered module pwm
litexcnc: Registered module encoder
litexcnc: Registered module step
halcmd:

But the connection to the board via eth does not work.

halcmd: loadrt litexcnc_eth connections="eth:10.0.0.10"
Unknown parameter `connections=eth:10.0.0.10'
<stdin>:4: waitpid failed /usr/bin/rtapi_app litexcnc_eth
<stdin>:4: /usr/bin/rtapi_app exited without becoming ready
<stdin>:4: insmod for litexcnc_eth failed, returned -1
halcmd:

Have I forgotten a step?
17 Jan 2024 12:23

Installing linuxcnc on Raspberry Pi with EtherCAT

Category: EtherCAT

Thank you for your valuable response. I watched your video, and it's truly informative and motivational in this field.
  1. Slave MCU should the EtherCAT Slave Library be attached to?
  2. No requried On the master side EtherCAT Slave Library, only follow the steps outlined in the video link for implementing EtherCAT on LinuxCNC with Raspberry Pi. 
  3. Where can I obtain the Beckhoff Slave Stack Code? Is it available for free?

    I am a beginner, so I would like to gather information before starting the development process.

    If I use the Beckhoff ready-made EtherCAT module(slave)  with  master(EtherCAT + LinuxCNC + Raspberry Pi), as demonstrated in the provided video, will it function? If not, how can I develop the master ( EtherCAT + LinuxCNC + Raspberry Pi) setup using the  slave (Beckhoff EtherCAT module)?"
17 Jan 2024 11:53 - 17 Jan 2024 11:55

Installing linuxcnc on Raspberry Pi with EtherCAT

Category: EtherCAT

Hi govind@89, that's my video right there.. Things have progressed since then and EtherCAT is now mainstream, at least almost, and rodw has written guides on how to install EtherCAT. Better to follow them.

As for your questions.
1. An ethercat module such as LAN9252 or AX58100 is not programmed with C/C++. They need a configuration, which is stored in an external eeprom. Once connected to a EtherCAT master, the eeprom can be programmed from for example TwinCAT. The esi file is needed for that.
The EtherCAT module communicate with an MCU, or FPGA in your case, typically using SPI, and for synchronization there are three lines/pins/signals that can be watched by the MCU.To manage the communication one would need a EtherCAT Slave Library on the MCU (or FPGA) and on top of that add some user code to do what it is supposed to do.

2. When you buy an EtherCAT slave unit like an EtherCAT stepper driver or EtherCAT servo driver, they are ready to use of course. But to make one from scratch - I am in the process of making my own EtherCAT device and have started a video series of that. It's not a tutorial, it is my struggles. There are many things to learn and many things to get together to make an EtherCAT slave.
Here is a link to that play list



3. I am not familiar with how FPGA works, but it must be some code to handle the EtherCAT peculiarities, state changes, sending receiving data, synchronization and all such things, SPI communication. The FPGA equivalent to an EtherCAT Slave library. Plus your own application code.
 
17 Jan 2024 10:47

Installing linuxcnc on Raspberry Pi with EtherCAT

Category: EtherCAT

Hello, I am new to this field and am seeking guidance. My goal is to develop a CNC machine using an FPGA with EtherCAT Using Linuxcnc. I have come across various types of EtherCAT modules, but I am confused about which EtherCAT module to prefer.

My master is raspberry pi and slave is FPGA board  i want to communication between them using EtherCAT

I have outlined my questions below:
  1. Is it necessary to program the EtherCAT module using any programming language such as C/C++? 
  2. I watched a video explaining the installation process of EtherCAT on Raspberry Pi, but I am unsure about what to do on the slave side. Could you provide guidance on that? 
  3. In the scenario where my slave is an FPGA board, how can I install EtherCAT?


Are EtherCAT modules available in the market? Here are some options I found:
  1.  MICROCHIP : in.element14.com/microchip/evb-lan9252-a.../2819865?st=ethercat 
  2.  AB&T technology: www.bausano.net/en/hardware/easycat.html 
  3.  Esmacat :https://www.crowdsupply.com/harmonic-bionics/ease 
  4. Infineon : in.rsdelivers.com/product/infineon/kitxm...ED49fQEC5Rrm4x77Jazw

I prefer installing LinuxCNC using this video link:
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 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.
Displaying 736 - 750 out of 944 results.
Time to create page: 0.956 seconds
Powered by Kunena Forum