Connect Rapberry Pi
3.1 Insert the SD card into the Raspberry Pi
3.2 Connect HDMI video cable
3.3 Connect keyboard and mouse
3.4 Connect Ethernet cable
3.5 Plug in the USB cable from the Maslow control board to the Raspberry Pi.
Initial Connections
4.1 Power on the Raspberry Pi and wait for login prompt
4.2 Login using default credentials
4.2.1 Login: pi
4.2.2 Password: raspberry
Setup Raspberry Pi:
Use Cursor keys to navigate, [Tab] to cycle through prompts, [Space] to change options. [Enter] to execute selected prompt.
5.1 At the command prompt enter: sudo raspi-config [Enter]
5.1.1 Configure Localization option (not needed if in default UK).
5.1.1.1 Select âChange Localeâ. USA users should select âen_US.UTF-8 UTF8â using [spacebar] to highlight it. Unselect âen_GB.UTF-8 UTF-8â. [Tab] to âOKâ prompt and hit [Enter].
5.1.1.2 âSelect Debian default localeâ . USA users choose âen_US.UTF-8â. [Tab] to âOKâ prompt and hit [Enter].
5.1.2 âNetwork Optionsâ - Select âWi-fiâ. Select your country: e.g. US. Enter your SSID (Wifi name) and passphase.
5.1.3 âInterfacing Optionsâ - Select âSSHâ and select âYesâ to enable if you plan on using the Rpi without a monitor.
5.1.4 Select âFinishâ and hit [Enter] to save.
Check networking
6.1 Enter ip addr show [Enter] at command prompt.
6.2 Look at âwlan0â (for wifi) or âeth0â (for ethernet cable) and check for IP address. e.g 192.168.1.110. Jot this down for later.
6.3 Enter ping -c 4 google.com [Enter]. You should get four responses ending with ping time. Your network is working. If you get âRequest timeoutâ then something is wrong with network config.
Wait for WebControl to download.
If networking is working then Webcontrol will start downloading the Docker image. This can take a while (~15 mins) depending on your connection.
7.1 You can enter top [Enter] at the command prompt to see a list of current processes. You should see a âDockerâ process running at the top. It will appear and disappear. When âPythonâ process starts then everything has completed. Hit [Q] to exit out of âTopâ.
Connect to WebControl
8.1. On your computer/tablet/phone open a browser and go to http://maslowpi.local:5001.
8.2 If that does not work then use the IP address from earlier e.g. http://192.168.1.110:5001
You should see the WebMCP control page.
8.3 The main Webcontrol UI is on port 5000. http://maslowpi.local:5000
Upload GroundControl.ini file (if you have one).
On WebControl page select "Actionâ on the menu, then âImport Groundcontrol.ini Fileâ. Select the file on your computer and click âSubmitâ.
Enable z-axis (optional)
Click âSettingâ -> 'Maslow Setting. Scroll down to âZ-axis installedâ and click on the toggle to enable it.
This is useful, so I copied it to the Wiki category (with attribution, of course). There was nothing in the Wiki category about WebControl, except for one mention in one topic, so I think a more general âIntroduction to WebControlâ article needs to be written. I could take a stab at it, but there are people around here who are much more qualified. Someone who has actually used WebControl, for example.
Is this using the prebuilt image with docker? If so, we probably need to update
the image (and instructions) for the single-directory non-docker version since
the docker image isnât getting updated with each new relese (as I understand
it)
I donât update docker nearly as much as the pyinstaller releases. Iâm trying to build the docker update now to see how it works with all the additions. My process is to make new things work in pyinstaller, get it out for people to test and provide feedback and in the meantime, test it on docker and make necessary changes to get it to work there as well.
Iâd prefer that everything be moved to docker, but I donât have a prebuilt image for pyinstaller so Iâm trying to keep the docker alive⌠honestly Iâve got so much going on that I probably wonât put one together for it. I started looking at this: https://raspap.com/ for the networking but right now Iâm focused on other things.
Did not see instructions on the WebControl github page for using pyinstaller so thought this image would be the quickest/best method to get setup quickly.
So the pyinstaller is bleeding edge beta testing and docker is more stable (but still beta)?
Let me know if you want anything tested with docker update. Have everything on my desk right now and will take it to the shop this weekend to test run it.
early on, Docker had an advantage in that there was a clear way to upgrade it.
Now that the pyinstaller version can update itself, Iâm not sure that there is
any advantage to the docker version.
The pyinstaller has advantages in being smaller, and in having direct access to
the OS (for things like setting up the network on a Pi)
If the docker version didnât already exist, would there be any reason to create
it?
in the long run, should we be focusing on the pyinstaller version and migrate
the docker version (possibly by making the docker version be just a pyinstall
version running inside docker for those people who donât want to reinstall it?)
The only real advantage to the docker version is that someone made a prebuilt image that could be used for a rpi in a completely headless installation. If the same was done for the pyinstaller version, the docker would be obsolete.
Thanks for the âhow-toâ @tinker
I wanted to try this mystery (for me it is ) WebControl and did everything on that list.
Now I think everything is done but I cant open the WebControl via the told https://maslow⌠neither the IP.
By the way is it the first that shows up at wlan0 after inet or the second IP after brd?
Try the ip address at port 5001⌠so if pi was 192.168.1.100, try 192.168.1.100:5001. That will launch webmcp where you can then start/stop/upgrade webcontrol. It will eventually be switched over to pyinstaller version, but the docker is the easiest to get started with.
Thanks to the reply. Seemed to need some time. Today I started and wait and now it worked!
Problem is that I dont have WIFI in the basement⌠Now I have to think what to do maybe I buy a used router and just install it in the basement for using it with the maslow onlyâŚ
I have another question. Whats the three custom/stock/holey Firmware updates for?
Thanks so far @madgrizzle really a big and very nice project you realized here!
Stock firmware is the one from the official Maslow repository⌠you can run triangular calibration with it. Holey firmware is the one that supports holey calibration and updated kinematics formulasâŚit hasnât yet been adopted into the official repository, so itâs available there for people to use. Custom firmware is for something I work on (optical calibration) and shouldnât be used. It likely will disappear as an option in the next release.
Thanks to you both for the FAST responses! I was doing a complete reinstall just in case i missed something.
When I refreshed the com port after after uploading the âiniâ file, the only option shown earlier was the one I posted.
I just went back and checked and now had two additional options. I switched to ttyACM0 (ACM1 was also an option now) and we are in business!!!
I knew it would be something simple and it was!! thanks again.
I have a I have only had this up and running for about 2 weeks and already upgraded to the meticulous z style sled. My wife has been using this machine a TON.
I would eventually like to put a touch screen on the pi to run some basic functions on it (bit change, load file, start-stop).
Currently, I am beyond happy that this is working like this!
I see that you have implemented easy access to the GPIO pins through webcontrol. Are the pins being monitored for inputs or are they set up as outputs?
Example, if I set GPIO2 to âShutdownâ;
Is it looking for a switched input to trigger a shutdown?
-or-
Is the state of the pin changed (hi-lo or lo-hi) upon the Gcode ending and triggering a shutdown?
I would like to run something like this:
It looks like I could control this directly from the pi. How difficult would this be to implement?
Thank you very much for the help and all that you do for the Maslow community!
Regarding the screen⌠know that using a web browser on the pi running webcontrol works, but I donât know if it will slow webcontrol down or not. It shouldnât be showstopping or anything if it does. Please try and report back.
Regarding gpio⌠I have no gpio connected to test with. So give it a try and let me know what you need it to work if it doesnât. Shutdown is in input to trigger the rpi to âgracefully turn offâ.