a5:octopi-zero

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
a5:octopi-zero [2018/02/19 03:14] – [Stuff you'll need] cedrica5:octopi-zero [2018/02/19 03:36] – [PIZERO OCTOPI] cedric
Line 4: Line 4:
 This quick guide is an example of how you can you a **Raspberry Pi ZERO W** as an Octoprint controller. This quick guide is an example of how you can you a **Raspberry Pi ZERO W** as an Octoprint controller.
  
-The recommended setup is still to use a Raspi3, as it has more CPU power and full width USB ports, however I do believe a PiZero setup works quite well, and has the benefit to be extremely small, non invasive, and can even fit on the A3S/A5 screws in an elegant way.+The recommended setup is still to use a Raspi3, as it has more CPU power and full width USB ports.  
 +However I do believe a PiZero setup works quite well, and has the benefit to be extremely compact (no external camerano external power, less cables, etc) 
 +This setup is "non invasive" (can be easily removed), and it can even fit on the A3S/A5 screws in an elegant way.
  
 {{:a5:ced_2018-02-18_16h26_img_0684.jpg?800|}} {{:a5:ced_2018-02-18_16h26_img_0684.jpg?800|}}
  
-Detail+Detail ;
  
 {{:a5:ced_2018-02-18_16h09_img_0683.jpg?400|}} {{:a5:ced_2018-02-18_16h09_img_0683.jpg?400|}}
Line 34: Line 36:
 {{:a5:raspberry-pi-zero-w-840x485.jpg?600|}} {{:a5:raspberry-pi-zero-w-840x485.jpg?600|}}
  
-Now - as covered in multiple other tutorials, simply find an image of Octoprint for Pi (https://octoprint.org/download/) flash it on a MicroSD card ( 16 GB or more recommended )+Now - as covered in multiple other tutorials (eg http://dabbletron.com/how-to-run-octoprint-on-a-raspberry-pi-zero/ ), simply find an image of Octoprint for Pi (https://octoprint.org/download/) flash it on a MicroSD card ( 16 GB or more recommended ) 
 + 
 +As the PIZERO doesn't know your network settings yet, mount the flash drive in a PC and edit the network config (  
 + **found in /boot/octopi-network.txt** ) for your internal LAN's SSID and password. 
 + 
 +Then put it in the PIZERO, boot it and verify it gets an ip adress (eg : in your router) 
 + 
 +Beware the **PIZERO has two USB ports and you need them both** ( https://www.wmaker.net/einstein2a/photo/art/default/8858432-14028092.jpg?v=1453918540 ) ; the one at the bottom of the case is the "power" one, you simply connect it with a micro usb cable to the USB thumbdrive port on the A5/A3S : it'll power the pi. 
 + 
 +The second one, in the center, is the data port. You connect this one with an OTG adapter to the "blue" data cable (USB2.0 TYPE B, the square port). You can find a micro USB to USB2.0 TYPE B cable, they do exist in china.
  
-As the PIZERO doesn't know your network settings yet, mount the flash drive in a PC and edit the network config for your SSID and password. 
  
-Then put it in the PIZERO and verify it gets an ip adress (eg : in your router) 
  
 Try connecting to it with it's ip, or maybe http://octopi.local if proper dns resolution is in place. Try connecting to it with it's ip, or maybe http://octopi.local if proper dns resolution is in place.
  
  
-==== SERIAL PORT ====+==== Serial port ====
  
  
Line 56: Line 65:
  
  
-==== CAMERA ====+==== Camera ====
  
 You can of course put your camera wherever you see fit. I did put it next to the extruder, as it gives me a nice view of the current printing process, and it's not obstructing access to the printer. You can of course put your camera wherever you see fit. I did put it next to the extruder, as it gives me a nice view of the current printing process, and it's not obstructing access to the printer.
Line 98: Line 107:
 ==== Hardware setup ==== ==== Hardware setup ====
  
-in progress+//in progress 
 + 
 +Basically : I'm using a 3D printed mount, then use two screws from the vertical rods to tighten it. 
 + 
 +I then find a proper viewing angle, then glue it for good. 
 + 
 +more details later :)// 
 + 
 +==== Final comments ==== 
 + 
 +The Octoprint website is not very clear ; they "do not recommend" the PiZERO for a setup, but the related bug ( https://github.com/guysoft/OctoPi/issues/318#issuecomment-284762963 ) has been closed since a long time, and many people report this works fine for them.  
 +And so do I. 
 + 
 +**As long as you limit the bandwidth of the webcam**, which makes sense anyway for such a small and wifi device, I've never seen more than 17% cpu usage for streaming. You can even go lower than that by limiting FPS.  
 + 
 +My experience has been very positive so far with a PizeroW setup as an octopi, it's also great to use with smartphone apps ( like "octoprint remote" and others ) by scanning the qR code.
  
 +I hope you enjoyed this little tutorial and that it inspired you to **think "out of the box"** and try things by yourself. :) 
  
 +**--CEDRIC**
  
a5/octopi-zero.txt · Last modified: 2020/12/25 02:13 by 127.0.0.1