raspberry pi Silent boot

Here is the place to discuss software and related tools for Slice generation, machine control, & etc...
User avatar
PomeroyB
Posts: 168
Joined: Thu Mar 27, 2014 9:51 pm

Re: raspberry pi Silent boot

Postby PomeroyB » Sun Nov 23, 2014 8:56 pm

Looking good, hp_!

hp_
Posts: 301
Joined: Tue Dec 24, 2013 10:25 am

Re: raspberry pi Silent boot

Postby hp_ » Thu Nov 27, 2014 5:56 pm

some more progress on direct connection of the RPi and my azteeg(similar to arduino+ramps)

https://www.dropbox.com/s/oni99iqql9zsyd2/Video%2027-11-14%2022%2032%2044.mov?dl=0

next step, connect a nema17 steppermotor and parse the CW gcode file and of we go..


cheers,
hp

User avatar
PomeroyB
Posts: 168
Joined: Thu Mar 27, 2014 9:51 pm

Re: raspberry pi Silent boot

Postby PomeroyB » Fri Nov 28, 2014 11:45 pm

Does your program support sending GCode directly? If you typed "G01 Z4.0", would the printer be able to interpret that?

hp_
Posts: 301
Joined: Tue Dec 24, 2013 10:25 am

Re: raspberry pi Silent boot

Postby hp_ » Sat Nov 29, 2014 11:32 am

Hi PomeroyB,

so the program will support direct GCode commands from browser.. for example when you want to move your z-axis to zero position.
what it will also do is it will interpret generated GCODE from CW for example a snapshot of a file of CW below.

Cheers,
hp

;Here you can set any G or M-Code which should be executed BEFORE the build process
G21 ;Set units to be mm
G91 ;Relative Positioning
M17 ;Enable motors
;********** Header End **********
;********** Pre-Slice Start ********
;Set up any GCode here to be executed before a lift
;********** Pre-Slice End **********
;<Slice> 0
;<Delay> 1000
;<Slice> Blank
;********** Lift Sequence ********
G1 X4.0 Z4.0 F150.0
G1 X-4.0 Z-3.95 F100.0
;<Delay> 6500
;********** Lift Sequence **********
;********** Pre-Slice Start ********
;Set up any GCode here to be executed before a lift
;********** Pre-Slice End **********
;<Slice> 1
;<Delay> 1000
;<Slice> Blank
;********** Lift Sequence ********
G1 X4.0 Z4.0 F150.0
G1 X-4.0 Z-3.95 F100.0
;<Delay> 6500
;********** Lift Sequence **********
;********** Pre-Slice Start ********
;Set up any GCode here to be executed before a lift
;********** Pre-Slice End **********
;<Slice> 2
;<Delay> 1000
;<Slice> Blank
;********** Lift Sequence ********
G1 X4.0 Z4.0 F150.0
G1 X-4.0 Z-3.95 F100.0
;<Delay> 6500
;********** Lift Sequence **********
;********** Pre-Slice Start ********
;Set up any GCode here to be executed before a lift
;********** Pre-Slice End **********
;<Slice> 3
;<Delay> 1000
;<Slice> Blank
;********** Lift Sequence ********
G1 X4.0 Z4.0 F150.0
G1 X-4.0 Z-3.95 F100.0
;<Delay> 6500

User avatar
cncbasher
Posts: 54
Joined: Sun Nov 02, 2014 10:09 am
Location: uk

Re: raspberry pi Silent boot

Postby cncbasher » Sat Nov 29, 2014 1:56 pm

_hp
is their a link to a github repro ? , so i can give this ago

hp_
Posts: 301
Joined: Tue Dec 24, 2013 10:25 am

Re: raspberry pi Silent boot

Postby hp_ » Sat Nov 29, 2014 2:05 pm

hi Cncbasher,

there is, but the codes is really really alpha.. and allot of features are still missing..

you sure you want to check it out already?

hp

User avatar
PacManFan
Site Admin
Posts: 633
Joined: Sun Dec 01, 2013 11:44 am
Location: Ahead of the curve

Re: raspberry pi Silent boot

Postby PacManFan » Sat Nov 29, 2014 4:25 pm

Brandon is just the kind of guy to do that and add code to it :D


hp_ wrote:hi Cncbasher,

there is, but the codes is really really alpha.. and allot of features are still missing..

you sure you want to check it out already?

hp

User avatar
PomeroyB
Posts: 168
Joined: Thu Mar 27, 2014 9:51 pm

Re: raspberry pi Silent boot

Postby PomeroyB » Sat Nov 29, 2014 11:14 pm

PacManFan wrote:Brandon is just the kind of guy to do that and add code to it :D


Way to throw me under the bus! Cncbasher asked for the code, not me! :P

ergobot
Posts: 6
Joined: Wed Jan 14, 2015 2:11 pm

Re: raspberry pi Silent boot

Postby ergobot » Wed Jan 14, 2015 3:27 pm

Sorry for the revive but its relevant to the thread that is referenced by others.

Actively working on a rpi controller.

Getting it stable this week (exciting stuff!).

Will make a thread when ready.

For those interested taking a look:
https://github.com/area515/Creation-Workshop-Host

hp_
Posts: 301
Joined: Tue Dec 24, 2013 10:25 am

Re: raspberry pi Silent boot

Postby hp_ » Sat Apr 11, 2015 7:26 pm

news update:

so after trying out many things on the raspberry pi i just wanted to re-use as many of CW code as possible, so i did give Mono a try, but the framebuffer access is just very limited.
so i reverted back to my python main thread and c programming back end program.

Please have a look at the video maybe i need to upload it to youtube :)
https://www.dropbox.com/s/m6jv60kg624joz8/IMG_0869.MOV?dl=0

so what is working:
Creation Workshop gcode parsing
Loading png files (generated from a slicer.. ie. CW)
executing the gcode and showing the png's at the specified time interval
Connection to the arduino..

the raspberry pi doesn't have to start X - i run my program from the command line, and control the python program via the web browser.


via the webbrowser:
- upload zip file
- prepare zip file.
- start print




cheers,
hp