Search Results (Searched for: raspberry pi 3)
- scotta
24 Oct 2024 21:32
Replied by scotta on topic Remora - Rpi Software Stepping Using External Microcontroller via SPI
Remora - Rpi Software Stepping Using External Microcontroller via SPI
Category: Computers and Hardware
Raspberry Pi 5 support
As you may have seen in the rp1lib thread, I've been working on RPi 5 SPI support for LinuxCNC. It's ready for some testing and feedback!
github.com/scottalford75/Remora/tree/mai...omponents/Remora-spi
This version of the Remora component will detect which Raspberry Pi version it is running on and load the appropriate SPI and GPIO drivers, BCM2835 or rp1lib.
For the Raspberry Pi 5 there is future features that will need to be added to the loadrt command line:
As you may have seen in the rp1lib thread, I've been working on RPi 5 SPI support for LinuxCNC. It's ready for some testing and feedback!
github.com/scottalford75/Remora/tree/mai...omponents/Remora-spi
This version of the Remora component will detect which Raspberry Pi version it is running on and load the appropriate SPI and GPIO drivers, BCM2835 or rp1lib.
For the Raspberry Pi 5 there is future features that will need to be added to the loadrt command line:
- The RPi 5 has 5 SPI instances available on the header
- Each SPI instance has a choice of 2 - 4 chip select GPIO pins
- Different method to configure frequency
- mylastpolo
- mylastpolo
24 Oct 2024 17:54 - 24 Oct 2024 17:59
Fanuc Servos Single Phase was created by mylastpolo
Fanuc Servos Single Phase
Category: Computers and Hardware
Hello everyone.
I am in the early stages of undertaking a CNC conversion on a manual lathe.
I have a Raspberry Pi 5 with Linux CNC installed, I have a pair of Fanuc servos with matching amplifiers removed from a suitably sized lathe and a manual lathe running it’s original 3 phase motor via a Jaguar VFD on a single phase UK supply.
I am quite familiar with motor control but servos are new to me, my question is would it be possible to run my servos/amplifiers on single phase?
I am aware of rotary phase converters but there must be other options, what type of servo are other people using?
The spindle motor is 3hp so that gives you an idea of the size of the lathe.
Thanks in advance.
I am in the early stages of undertaking a CNC conversion on a manual lathe.
I have a Raspberry Pi 5 with Linux CNC installed, I have a pair of Fanuc servos with matching amplifiers removed from a suitably sized lathe and a manual lathe running it’s original 3 phase motor via a Jaguar VFD on a single phase UK supply.
I am quite familiar with motor control but servos are new to me, my question is would it be possible to run my servos/amplifiers on single phase?
I am aware of rotary phase converters but there must be other options, what type of servo are other people using?
The spindle motor is 3hp so that gives you an idea of the size of the lathe.
Thanks in advance.
- Guytou
- Guytou
22 Oct 2024 20:39
10" 1024 x 600 display with touchscreen was created by Guytou
10" 1024 x 600 display with touchscreen
Category: Basic Configuration
Hi,
I intend to use Linuxcnc on a Raspberry PI 4 together with a 10" display 1024 x 600 with touchscreen.
Did anyone tried this already? And which GUI would you recommend ?
I intend to use Linuxcnc on a Raspberry PI 4 together with a 10" display 1024 x 600 with touchscreen.
Did anyone tried this already? And which GUI would you recommend ?
- bladekel
- bladekel
22 Oct 2024 15:01 - 22 Oct 2024 15:11
How to use QStyleSheet with actionButtons? was created by bladekel
How to use QStyleSheet with actionButtons?
Category: Qtvcp
I'm trying to create custom qui with QtDesigner.
I have an interesting problem with actionButton.
I added an actionButton to my MainWidget,and set Action > Machine Control > Home
So far everything worked as it should.. I pressed the button and it started to homing...
After that I wanted to add color change to my Home button with sytlesheet
I tried both isHomed,isAllHomed,is_homed_status and is_joint_homed_status...
Also I tried for estop button, machine on button... All the same...
The button action worked but the stylesheet not worked.
My QtDesigner version is 5.15.8, linuxcnc 2.9.3, and working on raspberry pi5 ....
And here is the xml code part of actionButton...
I have an interesting problem with actionButton.
I added an actionButton to my MainWidget,and set Action > Machine Control > Home
So far everything worked as it should.. I pressed the button and it started to homing...
After that I wanted to add color change to my Home button with sytlesheet
ActionButton[isHomed=false]{
background-color: rgb(61, 56, 70);
}
ActionButton[isHomed=true]{
background-color: rgb(51, 209, 122);
}
I tried both isHomed,isAllHomed,is_homed_status and is_joint_homed_status...
Also I tried for estop button, machine on button... All the same...
The button action worked but the stylesheet not worked.
My QtDesigner version is 5.15.8, linuxcnc 2.9.3, and working on raspberry pi5 ....
And here is the xml code part of actionButton...
<widget class="ActionButton" name="actionbutton_8">
<property name="minimumSize">
<size>
<width>80</width>
<height>80</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>80</width>
<height>80</height>
</size>
</property>
<property name="styleSheet">
<string notr="true">ActionButton[isHomed=false]{
background-color: rgb(61, 56, 70);
}
ActionButton[isHomed=true]{
background-color: rgb(51, 209, 122);
}</string>
</property>
<property name="text">
<string/>
</property>
<property name="icon">
<iconset resource="../../../linuxcnc/configs/my-mill/gui/resource.qrc">
<normaloff>:/iconlar/pngIconlar/home.png</normaloff>:/iconlar/pngIconlar/home.png</iconset>
</property>
<property name="iconSize">
<size>
<width>60</width>
<height>60</height>
</size>
</property>
<property name="checkable">
<bool>false</bool>
</property>
<property name="indicator_option" stdset="0">
<bool>false</bool>
</property>
<property name="indicator_HAL_pin_option" stdset="0">
<bool>false</bool>
</property>
<property name="indicator_status_option" stdset="0">
<bool>false</bool>
</property>
<property name="checked_state_text_option" stdset="0">
<bool>false</bool>
</property>
<property name="python_command_option" stdset="0">
<bool>false</bool>
</property>
<property name="on_color" stdset="0">
<color>
<red>255</red>
<green>0</green>
<blue>0</blue>
</color>
</property>
<property name="shape_option" stdset="0">
<number>2</number>
</property>
<property name="off_color" stdset="0">
<color>
<red>0</red>
<green>0</green>
<blue>0</blue>
</color>
</property>
<property name="indicator_size" stdset="0">
<double>0.300000000000000</double>
</property>
<property name="circle_diameter" stdset="0">
<number>10</number>
</property>
<property name="right_edge_offset" stdset="0">
<number>0</number>
</property>
<property name="top_edge_offset" stdset="0">
<number>0</number>
</property>
<property name="corner_radius" stdset="0">
<double>5.000000000000000</double>
</property>
<property name="height_fraction" stdset="0">
<double>0.300000000000000</double>
</property>
<property name="width_fraction" stdset="0">
<double>0.900000000000000</double>
</property>
<property name="true_state_string" stdset="0">
<string>True</string>
</property>
<property name="false_state_string" stdset="0">
<string>False</string>
</property>
<property name="true_python_cmd_string" stdset="0">
<string>print("true command")</string>
</property>
<property name="false_python_cmd_string" stdset="0">
<string>print("false command")</string>
</property>
<property name="invert_the_status" stdset="0">
<bool>false</bool>
</property>
<property name="is_paused_status" stdset="0">
<bool>false</bool>
</property>
<property name="is_estopped_status" stdset="0">
<bool>false</bool>
</property>
<property name="is_on_status" stdset="0">
<bool>false</bool>
</property>
<property name="is_idle_status" stdset="0">
<bool>false</bool>
</property>
<property name="is_homed_status" stdset="0">
<bool>false</bool>
</property>
<property name="is_flood_status" stdset="0">
<bool>false</bool>
</property>
<property name="is_mist_status" stdset="0">
<bool>false</bool>
</property>
<property name="is_block_delete_status" stdset="0">
<bool>false</bool>
</property>
<property name="is_optional_stop_status" stdset="0">
<bool>false</bool>
</property>
<property name="is_joint_homed_status" stdset="0">
<bool>false</bool>
</property>
<property name="is_limits_overridden_status" stdset="0">
<bool>false</bool>
</property>
<property name="is_manual_status" stdset="0">
<bool>false</bool>
</property>
<property name="is_mdi_status" stdset="0">
<bool>false</bool>
</property>
<property name="is_auto_status" stdset="0">
<bool>false</bool>
</property>
<property name="is_spindle_stopped_status" stdset="0">
<bool>false</bool>
</property>
<property name="is_spindle_fwd_status" stdset="0">
<bool>false</bool>
</property>
<property name="is_spindle_rev_status" stdset="0">
<bool>false</bool>
</property>
<property name="joint_number_status" stdset="0">
<number>0</number>
</property>
<property name="isHomed" stdset="0">
<bool>false</bool>
</property>
<property name="isAllHomed" stdset="0">
<bool>false</bool>
</property>
<property name="home_action" stdset="0">
<bool>true</bool>
</property>
<property name="template_label_option" stdset="0">
<bool>false</bool>
</property>
<property name="joint_number" stdset="0">
<number>-1</number>
</property>
<property name="incr_imperial_number" stdset="0">
<double>0.010000000000000</double>
</property>
<property name="incr_mm_number" stdset="0">
<double>0.025000000000000</double>
</property>
<property name="incr_angular_number" stdset="0">
<double>-1.000000000000000</double>
</property>
<property name="toggle_float_option" stdset="0">
<bool>false</bool>
</property>
<property name="float_num" stdset="0">
<double>0.300000000000000</double>
</property>
<property name="float_alt_num" stdset="0">
<double>50.000000000000000</double>
</property>
<property name="view_type_string" stdset="0">
<string>P</string>
</property>
<property name="command_text_string" stdset="0">
<string/>
</property>
<property name="ini_mdi_number" stdset="0">
<number>0</number>
</property>
<property name="textTemplate" stdset="0">
<string>%1.3f in</string>
</property>
<property name="alt_textTemplate" stdset="0">
<string>%1.2f mm</string>
</property>
</widget>
- Aciera
20 Oct 2024 05:23
www.raspberrypi.com/news/rp1-the-silicon...ere-at-raspberry-pi/
Replied by Aciera on topic rp1lib - user space driver for the RP1 chip
rp1lib - user space driver for the RP1 chip
Category: Computers and Hardware
It's what the new chip is called that controls the IO on the Rpi5Why rp1lib? Why not rp5lib?
www.raspberrypi.com/news/rp1-the-silicon...ere-at-raspberry-pi/
- scotta
19 Oct 2024 23:59
rp1lib - user space driver for the RP1 chip was created by scotta
rp1lib - user space driver for the RP1 chip
Category: Computers and Hardware
People may have been wondering why I have been a little quiet on the forum of late and that pull requests to Remora have been slow to be merged. Well, I've been working away on getting SPI on the Raspberry Pi 5 working so that we can support the SPI version of Remora. I'm now happy to share where things are up to.
github.com/scottalford75/rp1lib
The BCM2835 library was the inspiration, a library that gave access to all the chip peripherals. Hopefully the rp1lib can become the start of something similar.
Rather than reinventing the wheel, the library utilises the gpiochip_rp1 library for GPIO and I've adapted the kernel Designware driver for user space.
Next step is to update the Remora component, which is not too far off as I've got the RPi version detection working already.
github.com/scottalford75/rp1lib
The BCM2835 library was the inspiration, a library that gave access to all the chip peripherals. Hopefully the rp1lib can become the start of something similar.
Rather than reinventing the wheel, the library utilises the gpiochip_rp1 library for GPIO and I've adapted the kernel Designware driver for user space.
Next step is to update the Remora component, which is not too far off as I've got the RPi version detection working already.
Time to create page: 0.910 seconds