Advanced Search

Search Results (Searched for: raspberry)

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.

 
21 Jan 2024 14:39
Replied by rohit269 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.
21 Jan 2024 07:39
Replied by rohit269 on topic Raspberry pi 5

Raspberry pi 5

Category: General LinuxCNC Questions

Many thanks.
20 Jan 2024 12:16

Introduction along with some questions regarding LinuxCNC

Category: General LinuxCNC Questions

Does LinuxCNC have a steep learning curve or am I overthinking too much?

I my case it was/is a steep learning curve. Why? I didn't choose the easy way. You can use the parallel port, but if you have the money, just buy a mesa-card that is supported by PnCconf, a configuration wizard. 7i96s for example. And use a decent intel/amd pc, not a raspberry pi like I did.
And, read the Linuxcnc manual. There is a point where you probably don't understand is anymore, but just keep reading. And after that, read it again. Use the search function on this form if you really get stuck.

I don't know about other diy machines, but if you look at the wiki of PrintNC, you can find a lot of information to get started.

Please tells us more about your experience with metal/aluminium/wood/linux/electronics/plc's/computers/etc... 

I understand the discussion/frustration about linuxcnc, but that should be in another topic I think. 
19 Jan 2024 14:39
Replied by elovalvo on topic Raspberry pi 5

Raspberry pi 5

Category: General LinuxCNC Questions

This problem was already known:
forum.linuxcnc.org/9-installing-linuxcnc...-pi-5?start=0#285243
My advice is to use this new module (hal_gpio) which, in addition to working on Pi 5, in my opinion is more versatile and easier to configure

For changes to be made to .hal files it may be useful to refer to this video
forum.linuxcnc.org/9-installing-linuxcnc...i-5?start=110#290838
19 Jan 2024 13:47

Remora - Rpi Software Stepping Using External Microcontroller via SPI

Category: Computers and Hardware

I'll have a read of that link once I get squared away with some coffee here. I came across another thread in the general section yesterday where a fellow made a slight modification to an older iso image (2.8.0) and got it to work on a Pi3B. It involved modifying the config-rt.txt file in the \boot section on the sd card post-etcher and pre-Pi3B boot. Figuring I needed a Linux machine to made this edit, I went off and installed a virtual box, along with xubuntu (which seemed to take forever). I then began to dig for how to "see" the sdcard in Linux, but before I did that I discovered that the \boot section on the sdcard is accessible by windows and I could easily see and mod the config-rt.txt file with someting like notepad++. That's as far as I got.

Here's the thread where I came across this approach -
forum.linuxcnc.org/38-general-linuxcnc-q...aspberry-pi-3#228816
Displaying 631 - 645 out of 1060 results.
Time to create page: 1.053 seconds
Powered by Kunena Forum