workbee_cnc_router

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
workbee_cnc_router [09.08.2020 23:19] – [G-Code Sender] Pascal Suterworkbee_cnc_router [23.12.2021 21:14] (current) – [Workbee CNC Router] Pascal Suter
Line 55: Line 55:
 |MDF|1/8 upcut 2-flute|spiralpocket | 7000 | 500 | no smoke| |MDF|1/8 upcut 2-flute|spiralpocket | 7000 | 500 | no smoke|
 |Valchromat (Colored MDF, slightly harder than regular MDF)|6mm straight 2-flute | 7mm | 10'000 | 2000 mm/min | some vibrations but acceptable quality that only needs slight sanding on visible edges | |Valchromat (Colored MDF, slightly harder than regular MDF)|6mm straight 2-flute | 7mm | 10'000 | 2000 mm/min | some vibrations but acceptable quality that only needs slight sanding on visible edges |
-|Aluminum|1/8 2-flute straight| 0.1mm | 6000 | 1000mm/min | slow but decent :) |+|Aluminum (unknown type)|1/8 2-flute straight| 0.1mm | 6000 | 1000mm/min | dry with air cooling, slow but decent :)
 +|0.5mm Aluminium 50xx | 1/8 2-flute straight| 0.5mm | 16000 | 700mm/min (200mm/min plunge) | cutting fluid in pan, looks professional :) | 
 +| Brass |1/8 upcut | 0.5 |14000| 500 mm/min | with minimum quantity lubrication |
  
 ===== G-Code Sender ===== ===== G-Code Sender =====
Line 109: Line 111:
 i'm lazy, so i don't want to type that port 8000 all the time, let's add a redirect using ''lightthpd'':  i'm lazy, so i don't want to type that port 8000 all the time, let's add a redirect using ''lightthpd'': 
  
 +<code>
 +sudo apt install lighttpd
 +cd /etc/lighttpd
 +sudo nano conf-available/10-redirect.conf
 +</code>
 +put this in there: 
 +<code>
 +$HTTP["scheme"] == "http" {
 +    # capture vhost name with regex conditiona -> %0 in redirect pattern
 +    # must be the most inner block to the redirect rule
 +    $HTTP["host"] =~ ".*" {
 +        url.redirect = (".*" => "http://%0:8000$0")
 +    }
 +}
 +</code>
 +activate the config and restart the service
 +  cd conf-enabled
 +  sudo ln -s ../conf-available/10-redirect.conf
 +  sudo systemctl restart lighttpd.service
 +now you should be able to simply access the cncjs gui by entering the hostname of your raspberry in your browser
 +
 +it prettymuch runs out of the box now. simply connect to it, choose the usb serial interface and hit connect and you are good to go! 
 +
 +in the future i will add an [[http://www.escam.cn/product/44-en.html|ESCAM Q6]] ip camera. those things are genious.. they come with everything you need and cost only $26 on banggood or aliexpress. the field of view is also perfect for such applications.
 +
 +so far i can't get the stream to display, allthough i can access it with vlc or my webbrowser directy. i have two urls for the sub stream: 
 +  * http://192.168.169.111/Streams/1/4/ReceiveData
 +  * rtsp://192.168.169.111/live/0/sub
  
 +neither show up on screen, got to debug that.. i hope it's not trying to re-encode it on the raspberry using ffmpeg which might be missing.. but we will see.. 
  • workbee_cnc_router.1597007954.txt.gz
  • Last modified: 09.08.2020 23:19
  • by Pascal Suter