Advanced Search

Search Results (Searched for: raspberry pi 3)

03 Feb 2024 22:08

Linuxcnc + raspberry Pi + ethercat project opensource

Category: EtherCAT

Have you managed to work around the strange Beckhoff licence?

I don't think there is an issue here for software. If a machine design is used to make a machine  to sell  for profit, you need to have a company and register for a free license with tthe Ethercat Technology Group
03 Feb 2024 22:01

Linuxcnc + raspberry Pi + ethercat project opensource

Category: EtherCAT

Very nice. Try monitors from greentouch. www.greentouch.com.cn/?list_9/
Can you list specifications for your spindle and x,y,z stages?
03 Feb 2024 10:31

Linuxcnc + raspberry Pi + ethercat project opensource

Category: EtherCAT

Have you managed to work around the strange Beckhoff licence?
02 Feb 2024 03:41 - 02 Feb 2024 03:41

Linuxcnc + raspberry Pi + ethercat project opensource

Category: EtherCAT

PROJECT VLOG: space.bilibili.com/341589947/channel/col...ondetail?sid=1918828
GitHub: github.com/rabin-HE/OPENCNC-J
  • Introduction
    • This is an open-source integration project based on Linuxcnc. Its aim is to facilitate electrical engineers in using a combination of Linuxcnc + EtherCAT with CIA402 protocol + Raspberry Pi (or X86 - Debian).
01 Feb 2024 10:10

PID Problems: Jerking while in steady run state

Category: General LinuxCNC Questions

I think I've finally licked it.

I hooked the TMC5041 clock up to the clock on the Raspberry Pi. It didn't detect any improvement. So then I created a test program that essentially runs the servo loop like LinuxCNC, calling the same code just outside LinuxCNC. The problem was still there only not as bad.

I then started commenting out an non-essential TMC5041 register reads. And like magic the position jumps stopped. So in the end my driver loop was too slow. Reminds me of the old saying, when you hear hoofbeats think horses not zebras.

It took me so long to find the issue because the halscope graph didn't look like there was a delay. I expected the position number to flatten out before jumping. Maybe this a case of the graphing library helping too much. I also thought the SPI reads would be much faster than they actually seem to be.

My plan going forward is to have separate functions for issuing the commands to the TMC5041 and reading data back from it.
31 Jan 2024 22:25

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

Category: Installing LinuxCNC

Hi,
I want to use Raspberry PI 4 + LinuxCNC-RIO (Tangoboard) with SPI connection.
How can I enable SPI (using the IO pins) with the LinuxCNC image?
How can I disable the automatic screen lock?

Thanks,
-- Itai

 
31 Jan 2024 11:28

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

Category: Driver Boards

I think this one has been answered on GitHub, but for future reference. If you have a configuration file (some examples are available here ), lets say 5a-75b_v8.0_i24o32.json, you can compile this file with:
litexcnc build_firmware 5a-75b_v8.0_i24o32.json --build - a

When the compilation is successful, a new directory with the compiled firmware will be created. The name of this directory is equal to the name of the configuration file. The .svf-file required for flashing can be found in the gateware sub-directory. For this example you can change the directory and then flash the firmware with the following commands:
cd 5a-75b_v8.0_i24o32/gateware
litexcnc flash_firmware colorlight.svf

The above command is valid when you use a RaspberryPi in combination with the HUB75HAT as a programmer. If you have a different programmer, such as the FT232R, you have to provide the name of the configuration file for OpenOCD, i.e.:
litexcnc --programmer ft232r flash_firmware colorlight.svf

These commands will flash the firmware only in this session. When you power-cycle the FPGA, the previous program will be loaded again. To make the firmware permanent, one has to flash the NAND-flash on the board. One can use the --permanent flag:
litexcnc --permanent flash_firmware colorlight.svf
28 Jan 2024 23:26

Remora - Rpi Software Stepping Using External Microcontroller via SPI

Category: Computers and Hardware

Hurray!!!! After 8 days I've managed to get a version of Raspberry Pi OS, the prempt-rt patch, and Linuxcnc and linuuxcnc-dev on my 3B......Was picking at it daily while trying to read and absorb the documentation on it and Remora.....

So I guess the next step is to install the Remora stuff on Linuxcnc?

How's those cheap as chips boards coming along that you've been working on? Are they ready for a thick headed pensioner to make a version yet ? And what do I order as far as one of these "pill" things?

Cheers from sunny Canada,
Lewis
24 Jan 2024 13:30

LinuxCNC 2.9.2 Raspberry pi 5 cannot hange resolution

Category: General LinuxCNC Questions

I have downloaded LinuxCNC 2.9.2 for pi4 and pi5. Pi4 works perfect so far,but on the pi 5 i cannot change display resolution it is stuck on 1920x1080 i have tried to edit profile , xrandr but get gamma error if i change config.txt it only works before loading xfce4 then 1920x1080. I also downloaded image again just to be sure. I have alse tried to google a solution , no luck !

 

This is really annoying ! Can anyone help me pretty please ?
24 Jan 2024 08:02

Remora - ethernet NVEM / EC300 / EC500 cnc board

Category: Computers and Hardware

hi raff110,
thanks for your help!
i thought i have install newest version...

here is the complete terminal window.

cnc@raspberrypi:~$ pip install tftpy
error: externally-managed-environment

× This environment is externally managed
╰─> To install Python packages system-wide, try apt install
python3-xyz, where xyz is the package you are trying to
install.

If you wish to install a non-Debian-packaged Python package,
create a virtual environment using python3 -m venv path/to/venv.
Then use path/to/venv/bin/python and path/to/venv/bin/pip. Make
sure you have python3-full installed.

If you wish to install a non-Debian packaged Python application,
it may be easiest to use pipx install xyz, which will manage a
virtual environment for you. Make sure you have pipx installed.

See /usr/share/doc/python3.11/README.venv for more information.

note: If you believe this is a mistake, please contact your Python installation or OS distribution provider. You can override this, at the risk of breaking your Python installation or OS, by passing --break-system-packages.
hint: See PEP 668 for the detailed specification.
cnc@raspberrypi:~$ pip3 install tftpy
error: externally-managed-environment

× This environment is externally managed
╰─> To install Python packages system-wide, try apt install
python3-xyz, where xyz is the package you are trying to
install.

If you wish to install a non-Debian-packaged Python package,
create a virtual environment using python3 -m venv path/to/venv.
Then use path/to/venv/bin/python and path/to/venv/bin/pip. Make
sure you have python3-full installed.

If you wish to install a non-Debian packaged Python application,
it may be easiest to use pipx install xyz, which will manage a
virtual environment for you. Make sure you have pipx installed.

See /usr/share/doc/python3.11/README.venv for more information.

note: If you believe this is a mistake, please contact your Python installation or OS distribution provider. You can override this, at the risk of breaking your Python installation or OS, by passing --break-system-packages.
hint: See PEP 668 for the detailed specification.
cnc@raspberrypi:~$ sudo apt install python3-pip -y
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
python3-pip is already the newest version (23.0.1+dfsg-1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
cnc@raspberrypi:~$ pip3 --version
pip 23.0.1 from /usr/lib/python3/dist-packages/pip (python 3.11)
cnc@raspberrypi:~$

hope you know now whats going wrong.
thanks in advance
aol
24 Jan 2024 06:06
Replied by rohit269 on topic Raspberry pi 5

Raspberry pi 5

Category: General LinuxCNC Questions

Many Thanks.
23 Jan 2024 11:10
Replied by elovalvo on topic Raspberry pi 5

Raspberry pi 5

Category: General LinuxCNC Questions

Sir,
Please tell how to change pin status ( input , output, active low and active high) in gpioinfo.


lloydrochester.com/post/hardware/libgpiod-intro-rpi/
23 Jan 2024 06:31

Remora - ethernet NVEM / EC300 / EC500 cnc board

Category: Computers and Hardware

hello,
i have tried to install pip and python3 i think with success...
my linux knowledge and my english is not so good, sorry for that!

cnc@raspberrypi:~$ sudo apt install python3-tftpy
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package python3-tftpy
cnc@raspberrypi:~$ sudo apt install python3
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
python3 is already the newest version (3.11.2-1+b1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
cnc@raspberrypi:~$

i'm relaly confused...can't install tftpy...
also i have new begun to read from the beginning... and follow the setup instructions once more form beginning!
but not sure if that will fit for the new things here in forum.
i have flashed my nvem v2 with Remora-NVEM-STM32-1.0.0.bin in past and i can ping it!
i think only need upload the config.txt with tftpy to bring my pinout in lcnc working!?
in .hal and .ini i have all outputs i need configurated in my mind...
but tftpy not work so can't upload config.txt.

or have i flash it with remora-rt1052-3.1.2.bin new?
is this the actual firmware file for my nvem v2 card?

i hope someone can bring some more clearness

thanks in advance!
22 Jan 2024 20:04 - 22 Jan 2024 20:05
Replied by acondit on topic LinuxCNC on Raspberry Pi 5

LinuxCNC on Raspberry Pi 5

Category: Installing LinuxCNC

I found a sweet spot for a moment. github/raspberrypi/linux rpi-6.6.y was at 6.6.12 (rpi-6.6.y is now at 6.6.13). I used patch-6.6.12-rt20.patch.xz The patch applied with no problems.
 uname -a
Linux RaspberryPi5-1 6.6.12-rt20-v8-16k+ #2 SMP PREEMPT_RT Mon Jan 22 08:35:10 CST 2024 aarch64 GNU/Linux

I haven't done any testing yet. If it looks good I will try to create a release for the .debs on github.

 
Displaying 706 - 720 out of 944 results.
Time to create page: 1.004 seconds
Powered by Kunena Forum