Please select To the mobile version | Continue to access the desktop computer version

OrangePi

 Login            
 Register            
Search
Hot search: orangepi
Author: Survive-Pi

OrangePi Plus OctoPrint and 3D Printer

[Copy link]

2

Threads

34

Posts

209

Credits

Intermediate member

Rank: 3Rank: 3

Credits
209
Post time 2015-10-28 13:22:10 | Show all posts
[Errno 98] Address already in use
Means, your octoprint is already running! Go to your browser, punch in the IP of your Orange Pi with port 5000 and BEHOLD.

3

Threads

96

Posts

535

Credits

Senior member

Rank: 4

Credits
535
 Author| Post time 2015-10-28 13:24:24 | Show all posts
Not sure if the last post means anything...I am connected and logged into OctoPrint on my Pi from a web page on my laptop!
Thanks toxuin! Bed time. Next steps tomorrow.
Orange Pi Plus

3

Threads

96

Posts

535

Credits

Senior member

Rank: 4

Credits
535
 Author| Post time 2015-10-29 00:48:15 | Show all posts
I broke it. Lol. Starting from scratch again. Can I run a desktop on pi? Should I install it first? Can I install Arduino ide to program printer or do I need to do that from laptop? Or can I do it from OctoPrint?

Everything worked until connect without 5000... Can still connect to x.x.x.x:5000...
Installed Mate desktop after step 8a, before I tried x.x.x.x:5000 first time...
Step 12, find username and change to octoprint... In nano file line said something like "Octoprint user=pi" I changed it to "Octoprint user=octoprint".
Now when I run sudo nano ~/OctoPrint/sripts/octoprint.default I get an empty file...

Don't waste too much time on this error, like I said, I'm about to start from fresh install again.
Just wondering about the desktop option... You laughed at my picture, so I'm thinking might not be a good idea...
Orange Pi Plus

2

Threads

34

Posts

209

Credits

Intermediate member

Rank: 3Rank: 3

Credits
209
Post time 2015-10-29 02:40:13 From the mobile phone | Show all posts
Desktop on the orangepi is possible. But this little board goes inside your printer eventually, where there's no monitor and keyboard. It's purpose to make printer autonomous. Also, orabgepi's resources are pretty limited. But I guess you have to try! It is definitely going to work - octoprint is not conflicting with desktop environment. Just make several test prints while heavy-ish desktop use and let us know the results. Missing file in ~/OctoPrint/scripts/ means you've moved it somewhere. You can always get fresh copy from foosel's github. The .default file is just a config with like 10 lines.

3

Threads

96

Posts

535

Credits

Senior member

Rank: 4

Credits
535
 Author| Post time 2015-10-29 04:40:30 | Show all posts
Edited by Survive-Pi at 2015-10-28 13:54

A hah! Whenever you save changes in nano/vi whatever, you have to backspace out the .tmp it tries to add to end of file name...

Learning...
Orange Pi Plus

3

Threads

96

Posts

535

Credits

Senior member

Rank: 4

Credits
535
 Author| Post time 2015-10-29 04:42:04 | Show all posts
Edited by Survive-Pi at 2015-10-28 13:53

Edit: sorry, double post...
Orange Pi Plus

3

Threads

96

Posts

535

Credits

Senior member

Rank: 4

Credits
535
 Author| Post time 2015-10-29 04:43:59 | Show all posts
Edited by Survive-Pi at 2015-10-28 13:52

Double post bad enough, 3 just stupid! Forum boggs down, boggs my computer, and 5 minustes later post happens 3 times...
Orange Pi Plus

3

Threads

96

Posts

535

Credits

Senior member

Rank: 4

Credits
535
 Author| Post time 2015-10-29 05:01:36 | Show all posts
Any idea how to make this camera work? I have one, just no idea how to enable it in octoprint...

http://www.cnx-software.com/2015 ... -linux-with-motion/
Orange Pi Plus

2

Threads

34

Posts

209

Credits

Intermediate member

Rank: 3Rank: 3

Credits
209
Post time 2015-10-29 05:38:16 | Show all posts
Survive-Pi replied at 2015-10-28 13:01
Any idea how to make this camera work? I have one, just no idea how to enable it in octoprint...


I don't have a OrangePi ribbon camera but here are some clues.
if you have a /dev/video0 device – that's your camera and you're good to go. If you don't have anything in /dev that starts with video* you have to install drivers for it which I find a pretty advanced task. Consider using a usual USB webcam for this and one other reason: long cable. Short OrangePi camera ribbon cable makes it nearly impossible to use in 3d printer since camera placement is vital. I mean you'll probably want to mount OrangePi and camera to different parts of your printer independently of one another. Longer USB cable kicks ass in this scope.
And surely drivers. I have no clue about that particular ribbon camera since I do not own one. I tried 2 USB webcams and they both work out of the box with latest loboris's kernel update script.
So here's the action plan for you:
- do the
  1. sudo modprobe gc2035
  2. sudo modprobe vfe_v4l2
Copy the Code

- see if there's something in
  1. ls /dev/video*
Copy the Code
Having it output "video0" is a success, output like "no file of directory" is no luck.

3

Threads

96

Posts

535

Credits

Senior member

Rank: 4

Credits
535
 Author| Post time 2015-10-29 05:45:35 | Show all posts
orangepi@OrangePI:~$ sudo modprobe gc2035
sudo: unable to resolve host OrangePI
[sudo] password for orangepi:
orangepi@OrangePI:~$ sudo modprobe vfe_v412sudo: unable to resolve host OrangePI
modprobe: FATAL: Module vfe_v412 not found.
orangepi@OrangePI:~$ ls /dev/video*
ls: cannot access /dev/video*: No such file or directory
orangepi@OrangePI:~$

Other than that, EVERYTHING else appears to work!  
Orange Pi Plus
You have to log in before you can reply Login | Register

Points Rules

Archiver|Mobile edition|Darkroom|OrangePi En ( 粤ICP备14086627号-2

2019-8-24 12:46 GMT+8 , Processed in 0.029797 second(s), 20 queries .

Powered by Discuz! X3.2

© 2014-2015 orangepibbs en.

Quick Reply To Top Return to the list