Advanced Search

Search Results (Searched for: )

  • Trihwangyudi1990
  • Trihwangyudi1990
22 Dec 2024 12:40

ESP32/S2/S3 LinuxCNC Controller (6 axis hardware step gen), USB plug-and-play

Category: Computers and Hardware

have problem install with platformio the message is :
 *  Executing task in folder ESP32_LinuxCNC_MotionController_RealTime-main: platformio run --environment esp32-rmii-ethernet

Processing esp32-rmii-ethernet (platform: espressif32@6.5.0; board: esp32dev; framework: arduino)
Verbose mode can be enabled via `-v, --verbose` option
CONFIGURATION: docs.platformio.org/page/boards/espressif32/esp32dev.html
PLATFORM: Espressif 32 (6.5.0) > Espressif ESP32 Dev Module
HARDWARE: ESP32 240MHz, 320KB RAM, 4MB Flash
DEBUG: Current (cmsis-dap) External (cmsis-dap, esp-bridge, esp-prog, iot-bus-jtag, jlink, minimodule, olimex-arm-usb-ocd, olimex-arm-usb-ocd-h, olimex-arm-usb-tiny-h, olimex-jtag-tiny, tumpa)
PACKAGES:
 - framework-arduinoespressif32 @ 2.0.14+sha.44da992
 - tool-esptoolpy @ 1.40501.0 (4.5.1)
 - toolchain-xtensa-esp32 @ 8.4.0+2021r2-patch5
LDF: Library Dependency Finder -> bit.ly/configure-pio-ldf
LDF Modes: Finder ~ chain, Compatibility ~ soft
Found 42 compatible libraries
Scanning dependencies...
Dependency Graph
|-- FastAccelStepper @ 0.30.15
|-- ESP32Ping @ 1.7.0
|-- AsyncTCP @ 1.1.1
|-- ESP32Encoder @ 0.11.7
|-- WiFi @ 2.0.0
|-- ArduinoNvs @ 2.8.0
|-- ESP32Console @ 1.2.2
|-- ArduinoOTA @ 2.0.0
|-- Ethernet @ 2.0.0
|-- Ticker @ 2.0.0
|-- ESP32 Async UDP @ 2.0.0
Building in release mode
Compiling .pio/build/esp32-rmii-ethernet/src/ClientMode.cpp.o
Compiling .pio/build/esp32-rmii-ethernet/src/ConfigManager.cpp.o
Compiling .pio/build/esp32-rmii-ethernet/src/ConsoleMenus.cpp.o
Compiling .pio/build/esp32-rmii-ethernet/src/ControllerMode.cpp.o
In file included from src/Types.hpp:7,
                 from src/ClientMode.h:3,
                 from src/ClientMode.cpp:4:
src/Config.h:11:12: fatal error: Eth.h: No such file or directory

*************************************************************
* Looking for Eth.h dependency? Check our library registry!
*
* CLI  > platformio lib search "header:Eth.h"
* Web  > registry.platformio.org/search?q=header:Eth.h
*
*************************************************************

   #include "Eth.h"
            ^~~~~~~
compilation terminated.
*** [.pio/build/esp32-rmii-ethernet/src/ClientMode.cpp.o] Error 1
In file included from src/Types.hpp:7,
                 from src/ControllerMode.h:6,
                 from src/ControllerMode.cpp:4:
src/Config.h:11:12: fatal error: Eth.h: No such file or directory

*************************************************************
* Looking for Eth.h dependency? Check our library registry!
*
* CLI  > platformio lib search "header:Eth.h"
* Web  > registry.platformio.org/search?q=header:Eth.h
*
*************************************************************

   #include "Eth.h"
            ^~~~~~~
compilation terminated.
*** [.pio/build/esp32-rmii-ethernet/src/ControllerMode.cpp.o] Error 1
In file included from src/Types.hpp:7,
                 from src/ConsoleMenus.h:10,
                 from src/ConsoleMenus.cpp:3:
src/Config.h:11:12: fatal error: Eth.h: No such file or directory

*************************************************************
* Looking for Eth.h dependency? Check our library registry!
*
* CLI  > platformio lib search "header:Eth.h"
* Web  > registry.platformio.org/search?q=header:Eth.h
*
*************************************************************

   #include "Eth.h"
            ^~~~~~~
compilation terminated.
*** [.pio/build/esp32-rmii-ethernet/src/ConsoleMenus.cpp.o] Error 1
In file included from src/Types.hpp:7,
                 from src/ConfigManager.h:9,
                 from src/ConfigManager.cpp:4:
src/Config.h:11:12: fatal error: Eth.h: No such file or directory

*************************************************************
* Looking for Eth.h dependency? Check our library registry!
*
* CLI  > platformio lib search "header:Eth.h"
* Web  > registry.platformio.org/search?q=header:Eth.h
*
*************************************************************

   #include "Eth.h"
            ^~~~~~~
compilation terminated.
*** [.pio/build/esp32-rmii-ethernet/src/ConfigManager.cpp.o] Error 1
========================================== [FAILED] Took 2.89 seconds ==========================================

Environment          Status    Duration
 
 
esp32-rmii-ethernet  FAILED    00:00:02.890
===================================== 1 failed, 0 succeeded in 00:00:02.890 =====================================

 *  The terminal process "platformio 'run', '--environment', 'esp32-rmii-ethernet'" terminated with exit code: 1.
 *  Terminal will be reused by tasks, press any key to close it.


i searching eth.h file but does not found any
  • resmond
  • resmond
22 Dec 2024 12:18
Replied by resmond on topic LinuxCNC on Raspberry Pi 5

LinuxCNC on Raspberry Pi 5

Category: Installing LinuxCNC

I finally feel like my basic Pi5 (NVME boot) / Mesa 7i95T system is basically functional.

I used Rob's link to what I think is his Google Drive to get what I believe is a LinuxCNC 2.9.3 / Kernel 6.6 RT ISO.

Because of being new or very rusty on virtually every level, I wound up stumbling my way through that process relying on the gracious help from the community.

I will attach a number of files for anyone to glance at or comment on if they wish.

Since I know now that there are many choices I should do differently I ordered an inventory of NVME and SD cards to start over clean and also try out other combinations of options without abandoning what I have.

I have a few questions before I start over 'clean':

1) Is the Pi5 2.9.3 ISO that I downloaded (or a newer one) now attached to the link on the Downloads page or is the one I downloaded still the latest?

2) I installed NetworkManager because I was struggling getting my WiFi working for internet access while dedicating the cable Ethernet to the Mesa board. Would it be better for me to avoid NetworkManager this time around?

3) I installed the Raspberry KVM because I thought that it might be useful sometimes, but I have never really used it so far. I'm wondering if there might be some latency implications to its presence or use?

I also included a screen capture for the latency histogram if anyone is curious.

Thanks
  • cromlin
  • cromlin
22 Dec 2024 12:14 - 22 Dec 2024 13:30

[SOLVED] get to work an old stepper_mm machine

Category: Basic Configuration

Hello. I've been using linuxcnc from emc2 until 2019. now I have to restore my old machine. I cut foam. I installed 2.7.4 old distro but cannot get it to work. I saved old config files, try to use them but cannot get to work.
as far as I remember I only changed standart_pinout and that's all. Motors are connected and I cannot rotate them by hand, but cannot remember what should I do more.
from default
net Xstep => parport.0.pin-03-out
net Xdir  => parport.0.pin-02-out
net Ystep => parport.0.pin-05-out
net Ydir  => parport.0.pin-04-out
to
net Xstep => parport.0.pin-02-out
net Xdir  => parport.0.pin-03-out
net Ystep => parport.0.pin-04-out
net Ydir  => parport.0.pin-05-out.
I remember I inverted them with
setp parport.0.pin-03-out-invert 1
but it doesn't help also.
machine is very simple stepper_mm with parport.
it seems something simple but I cannot remember. please help if possible.

edit: I started Stepper Configuration Wizard and remembered that machine is based on L297.
then I tried cat /proc/ioports and lspci -v but haven't found anything 0378-037a or 278: is it possible my parallel port is dead or maybe wheezy didn't install driver for it? maybe try buster.
edit: BIOS says parport is 378, irq7.
EDIT: holy moses! i lurked linuxcnc forums and somehow from other topics found something "holds" or uses parport. then after
sudo rmmod ppdev sudo rmmod lp
parport "freed" and motors began to move. thanks to linuxcnc.
I leave this thread in case if someone will be also googling similar problem.
  • Hossein74Majidi
  • Hossein74Majidi
22 Dec 2024 12:05
Replied by Hossein74Majidi on topic G Code Syntax Check (Python + Qt Designer)

G Code Syntax Check (Python + Qt Designer)

Category: Qtvcp

If you use a graphic display , the file is checked each time it is loaded.
Look here how that is actually done:
github.com/LinuxCNC/linuxcnc/blob/master...qt5_graphics.py#L350
 

Thanks for your reply, I dont wanna use graphic display. I simply just want to know if I select a file from a file browser for example, or even a list of gcode files, it returns me an error with some details about the gcode syntax error in that file
I studied the link you've provided but it was so complicated. I didnt get it well
  • zieluch
  • zieluch
22 Dec 2024 11:42
Replied by zieluch on topic Inconsistent values from Versaprobe

Inconsistent values from Versaprobe

Category: Qtvcp

Can you share your ini file and tool change macro ? 

 
  • resmond
  • resmond
22 Dec 2024 11:33
Replied by resmond on topic Choosing AC vs. DC for stepper motor drivers

Choosing AC vs. DC for stepper motor drivers

Category: General LinuxCNC Questions

What 'driver' config should be used for the Rtelligent ECT86?

I just set it to one of the Gekko's until I could figure out something better, but obviously you likely already have.

Thanks
  • CaspianCmonster
  • CaspianCmonster
22 Dec 2024 11:14
help with tool setter was created by CaspianCmonster

help with tool setter

Category: General LinuxCNC Questions

I am trying to get a tool length sensor setup and as I have not worked with LinuxCNC in a long time, getting this figured out is going to a be a bit slow.  I would much rather spend my time making stuff than fighting with software. 

This may sound strange but are any of you interested in being paid for a few hours of consulting to help me get things running?

I am in France at the moment (I am am American mechanical engineer who lives in Norway but has a workshop in France just to make things interesting :) 

I have this setter  www.sorotec.de/shop/Z-Finder-inductiv-PN...865.html?language=en 
and am running a Mesa 7I76-5I25 cards on a small CNC router ( cncwerk.de/forum/viewtopic.php?f=2&t=21) with a ER spindle motor.

Thanks 
Luke 
  • elovalvo
  • elovalvo
22 Dec 2024 11:10
Replied by elovalvo on topic LinuxCNC on Raspberry Pi 5

LinuxCNC on Raspberry Pi 5

Category: Installing LinuxCNC

I have never used EtherCat with Raspberry so I can't answer you.
However, I read on the forum that others have had a similar problem
(forum.linuxcnc.org/9-installing-linuxcnc...ectory-lib-modules-6 -1-0-25-rt-amd64#310761).
Maybe you can find some useful information there.
  • MarkoPolo
  • MarkoPolo
22 Dec 2024 11:07
Replied by MarkoPolo on topic qtvismach, a axis toolpath

qtvismach, a axis toolpath

Category: Qtvcp

I tried in qt_vismach.py ​​in the same way as in the screenshot, but then the color of the entire generated path changes depending on the type of movement. 
Maybe draw separate paths for each color, then it will be easier to turn off the selected path?
  • Guytou
  • Guytou
22 Dec 2024 10:42
Replied by Guytou on topic QtDragon

QtDragon

Category: General LinuxCNC Questions

It os working now, thanks for the tip !
  • tommylight
  • tommylight's Avatar
22 Dec 2024 10:19
Replied by tommylight on topic One axis loosing it completely

One axis loosing it completely

Category: General LinuxCNC Questions

More info, please.
About the hardware....
  • epineh
  • epineh
22 Dec 2024 09:10

LinuxCNC-RIO - RealtimeIO for LinuxCNC based on FPGA (ICE40 / ECP5)

Category: Computers and Hardware

So I've found something interesting, I have configured a machine, done bench testing, everything seems good.
Only issue is the estop, it seems to only trigger on the transition from input high to input low. My estop is wired how I would say is standard, normally closed contact, if the wire is cut then estop will trigger.  I also tried the reverse situation, so high input is estop condition, but it will allow me to start the machine in an estop condition, until I clear the estop then activate it again. I probably haven't explained this well but the machine shouldn't startup with a hardware estop active. Actually now I think about it setting up a hardware estop when I was using a MESA card disabled the software estop button and relied on hardware estop, only the software enable button worked. Has anyone else encountered this ?
  • rodw
  • rodw's Avatar
22 Dec 2024 08:09
Replied by rodw on topic Slag on tight corners

Slag on tight corners

Category: Plasmac

 
This is the laws of physics at work.
Velocity and acceleration is king for plasma
Acceleration determines the maximum arc radius that can be negotiated without slowing down

Design you parts to not have sharp corners or loop the corners.
  • cmorley
  • cmorley
22 Dec 2024 08:07
Replied by cmorley on topic QtDragon

QtDragon

Category: General LinuxCNC Questions

connect spindle.0.speed-out-rps to spindle.0.speed-in

something like this assuming neither of these pins are already connected to a signal:

net fake-spindle-feedback spindle.0.speed-out-rps spindle.0.speed-in
  • cmorley
  • cmorley
22 Dec 2024 06:49
Replied by cmorley on topic qtvismach, a axis toolpath

qtvismach, a axis toolpath

Category: Qtvcp

A little more difficult, as vismach doesn't know anything about the type of move, only that it has moved. I'll experiment a bit.

It sure seems useful if vismach and the normal plotter could be combined.
Displaying 21631 - 21645 out of 21702 results.
Time to create page: 0.448 seconds
Powered by Kunena Forum