ESP32 HAL2UDP setup for linux CNC noob.

More
2 years 7 months ago #295897 by sapra.aayush
Trying to fix this old obsolete CNC Lathe (2Axis+tool turret ) for my diploma college with new electronics but I am a total noob to Linux and Linux CNC. I have done some GRBL CNC work but never tried Linux CNC. I was advised not to use the parallel port as I had a newer PC donated for the project with a Jitter of nearly 35000. And unable to get Mesa boards into the country and their cost would be massive if I import them myself. 

I came across this project called HAL2UDP by jzolee on Git Hub running on ethernet. ( github.com/jzolee/HAL2UDP ). 
I started but I am failing execution. I Have installed LinuxCNC, and uploaded the file CPP file to ESP32.
I am failing to install linuxcnc-uspace-dev
install build-essential

halcompile --install udp.comp image missing https://media.discordapp.net/attachments/1141440056939249787/1217754938143277086/rn_image_picker_lib_temp_c92782b7-58f0-4e9d-8d7b-6a42db487d7b.jpg?ex=66052daa&is=65f2b8aa&hm=3e0faa8841603237a4c031286d8ca6013470ee58ab61f6ea53655393749fdeb5&=&format=webp&width=1205&height=677



What Do i do next. how do i proceed with the project , How do i remove this error. What would be next steps after compiling? How do i setup the machine?

Thank You
The following user(s) said Thank You: cekaa

Please Log in or Create an account to join the conversation.

More
2 years 7 months ago #295900 by cekaa
My English is poor, I found it from another video and ran it

You had a question about installing udp.comp. If you copied the file to the config folder, you must enter the config folder in the command line and issue the following commands:  sudo apt-get install linuxcnc-uspace-dev build-essential

sudo halcompile --install udp.comp
link ----


I applied the steps in this video
I put it everywhere in config linuxcncimage missing /media/kunena/emoticons/laughing.png
ip configiration thıs video ok 

I'm trying to learn too
I cannot start Linuxcnc, it is important for me.
 

Please Log in or Create an account to join the conversation.

More
2 years 3 months ago #305995 by yathish
Even im stuck with this problem can anyone help

Please Log in or Create an account to join the conversation.

More
1 year 11 months ago #313949 by tommylight

Please Log in or Create an account to join the conversation.

More
1 year 11 months ago - 1 year 11 months ago #314004 by michaeln
Are the linux commands the problem?

Please use:
sudo apt install linuxcnc-uspace-dev
sudo apt install build-essential

sudo halcompile --install udp.comp
Last edit: 1 year 11 months ago by michaeln.

Please Log in or Create an account to join the conversation.

More
1 year 2 months ago #333931 by lj
Hello, I just started working on the linuxcnc esp32 W5500 setup and I ran into some issues.
1. Hardware: Rpi4 8gb with linuxcnc 2.8.4, W5500, Esp32 Wroom 
2. Esp firmware: hal2udp pwm
3. Motion: open loop stepper with TB6600 Driver

Issues
1. activation of spindle or flood no voltage change on esp32 pins 4 or 25.
2. joint follow error all axis3. My stepper is enable without the enable pin connection (I'm not even sure what pin to use for enable/disable on the esp32-the pin out from the read file doesn't show what pin to use.
3. udp.stepgen.1.enable (error doesn't exsist) (My assumption is that because the udp.comp file doesnt show the param or pin) maybe I'm missing something
4. is the Pid function only used for closed loop steppers to accurately determine movement
I attached my hal and ini files

thanks for the help

Please Log in or Create an account to join the conversation.

Time to create page: 0.379 seconds
Powered by Kunena Forum