This is the second half of setting up an Orange Pi Zero. These are the steps I followed to configure Octoprint. I’m annoyed that it has to be started manually, but it does work and stay running.
—- OctoPrint Config —- (adapted from http://www.orangepi.org/orangepibbsen/forum.php?mod=viewthread&tid=594)
**add user and configure permissions
sudo adduser octoprint
sudo usermod -a -G tty octoprint
sudo usermod -a -G dialout octoprint
sudo adduser octoprint sudo
sudo visudo
octoprint ALL=(ALL) NOPASSWD:ALL
**clear password for user
sudo passwd octoprint -d
** install packages
sudo apt-get install python-pip python-dev git python-setuptools psmisc
set memory on Python otherwise you can have issues: (or create 256M of swap, see above)
sudo su octoprint
** setup pyserial
cd ~
wget https://pypi.python.org/packages/source/p/pyserial/pyserial-2.7.tar.gz
tar -zxf pyserial-2.7.tar.gz
cd pyserial-2.7
sudo python setup.py install
** Obtain Octoprint
cd ~
git clone https://github.com/foosel/OctoPrint.git
cd OctoPrint
sudo python setup.py install
exit (stop being SUDO)
cd ~/OctoPRint (you should still be there, so this is just in case you did something else)
./run (it should start)
So… I learned a bit about RCA and VGA today. VGA is a component input, RCA is a composite input. What does this mean? RCA has the signal all on one wire and the devices that use it separate it electronically. This compromises fidelity, or information density which is why it’s great for 640×480 and TV but not for 1080p or 4K. VGA on the other hand is a component signal, red/green/blue, vertical/horizontal sync etc.
Here is a great image of VGA, courtesy of Instructables: (click to view the article)
I’m not sure how well this would work… it’s a little too good to be true.. but it gives you an idea of what is going on.
Here is a better illustration of the VGA pinout: (courtesy of stackexchange, click to view source article)
Here is a schematic that backs up my hunch that the instructables is too simple. Courtesy of Next.GR (click to visit)
This circuit only generates greyscale…. or black and white video.
In case you were wondering how hard can a video signal be? lol…. it’s complex. Really a marvel of radio engineering. Courtesy of Field Effect LLC, click to follow to article.
I have other objectives than engineering this solution…. and I only need one…. so I bought this on Amazon. (click the image to go to the product)
You must be logged in to post a comment.