Comments (13)
The used version of Processing is 1.5.1. Can you connect to the Arduino using the Arduino software?
On Thursday, May 2, 2013 at 02:56 , atticdweller wrote:
Hi Matt,
I'm in New York and working on building a Pwdr. I have all of the cut acrylic parts and hardware and electronics. I'm having trouble with your software. Whenever I go to connect to the arduino it crashes and gives me this error:
Exception in thread "Animation Thread" java.lang.ArrayIndexOutOfBoundsException: 1
at Pwdr_GUI_V0_3.startSerial(Pwdr_GUI_V0_3.java:501)
at Pwdr_GUI_V0_3.mouseClicked(Pwdr_GUI_V0_3.java:1039)
at processing.core.PApplet.handleMouseEvent(Unknown Source)
at processing.core.PApplet.dequeueMouseEvents(Unknown Source)
at processing.core.PApplet.handleDraw(Unknown Source)
at processing.core.PApplet.run(Unknown Source)
at java.lang.Thread.run(Thread.java:662)
Firmware version 2 is on the Arduino Mega.
I get a similar error when I try to slice any 3D model.
What version of Processing are you using?—
Reply to this email directly or view it on GitHub (#22).
from pwdr-model-0.1.
I am using Processing 1.5.1. I am able to connect to the Arduino through processing and am now able to connect the Arduino to your software and manually control the axes of the printer. I am getting an error now when I load a model and then try to convert. When I press the convert button I get the error :
file://localhost/C:\Users\Mobi\Documents\Pwdr\teapot.stl
Loading STL...
File Loaded, Slicing:
X: -6.304 - 6.304 Y: -3.931 - 3.931 Z: -2.4 - 3.472
Number of slices: 149
6
Exception in thread "Animation Thread" java.lang.ArrayIndexOutOfBoundsException: 2400
at Pwdr_GUI_V0_3.convertModel(Pwdr_GUI_V0_3.java:961)
at Pwdr_GUI_V0_3.draw(Pwdr_GUI_V0_3.java:142)
at processing.core.PApplet.handleDraw(Unknown Source)
at processing.core.PApplet.run(Unknown Source)
at java.lang.Thread.run(Thread.java:662)
It highlights the line in error as Line 74 in your convertModel class which reads:
print_data[index] = byte(unbinary(LowerStr2));
Any idea whats going on?
from pwdr-model-0.1.
No, this is a known bug. Some stl files don't work, but I don't know the
reason.
On Saturday, May 4, 2013, atticdweller wrote:
I am using Processing 1.5.1. I am able to connect to the Arduino through
processing and am now able to connect the Arduino to your software and
manually control the axes of the printer. I am getting an error now when I
load a model and then try to convert. When I press the convert button I get
the error :file://localhost/C:\Users\Mobi\Documents\Pwdr\teapot.stl
Loading STL...
File Loaded, Slicing:
X: -6.304 - 6.304 Y: -3.931 - 3.931 Z: -2.4 - 3.472Number of slices: 149
6
Exception in thread "Animation Thread"
java.lang.ArrayIndexOutOfBoundsException: 2400
at Pwdr_GUI_V0_3.convertModel(Pwdr_GUI_V0_3.java:961)
at Pwdr_GUI_V0_3.draw(Pwdr_GUI_V0_3.java:142)
at processing.core.PApplet.handleDraw(Unknown Source)
at processing.core.PApplet.run(Unknown Source)
at java.lang.Thread.run(Thread.java:662)It highlights the line in error as Line 74 in your convertModel class
which reads:
print_data[index] = byte(unbinary(LowerStr2));Any idea whats going on?
—
Reply to this email directly or view it on GitHubhttps://github.com//issues/22#issuecomment-17423455
.
from pwdr-model-0.1.
This is a file that you suggested to use on thingiverse. The Utah Teapot. I contacted you through thingiverse about it and you suggested that specific model as a model that works well. I'll upload a video in the next few days to show you what we are up to. Thanks for your help.
from pwdr-model-0.1.
I found the source of the problem with that. Now I can get it to slice the Utah Teapot. The problem was your array print_data. On Line 28 of convertModel the layer size was only half the size needed to actually slice and get all the data. The line had to be changed to :
byte[] print_data = new byte[layer_size*2];
I'm now working on putting the rest of the electronics together. I see in your two electronics drawings you have one with an SD card reader and one without it.
In the file : Pwdr Protoshield + Stepper Drivers_schem.pdf
you have no SD card and it seems that this is the correct wiring since if I connect the steppers to the indicated pins it will move them.
In the file : Pwdr-Circuit-0.1.pdf
You have an SD card reader, which isn't in your parts list. The firmware also gives out serial commands that say that it can't initialize the SD card. What pins should I be connecting the SD card to?
from pwdr-model-0.1.
I connect SD card using the method in this link http://arduino.cc/forum/index.php/topic,8314.0.html
So, my scheme now looks like this
from pwdr-model-0.1.
Thanks Boreaz!
I got my SD shield yesterday and tried out what you suggested. I got the examples working for the SD shield using the pins 50,51,52,53. When I use Pwdr Firmware V2_0 I still get the error "Initialization SD failed". I kind of expected this error because in the firmware those pins are used for the control the X motor.
Is there some other version of the firmware that your using?
from pwdr-model-0.1.
Yes, I made a few changes in the firmware for working with this scheme, try this version https://github.com/Boreaz/MyPrintfiles
От: atticdweller [email protected]
Кому: Pwdr/Pwdr-Model-0.1 [email protected]
Копия: Michael [email protected]
Отправлено: вторник, 14 мая 2013 21:19
Тема: Re: [Pwdr-Model-0.1] Problems getting the software running (#22)
Thanks Boreaz!
I got my SD shield yesterday and tried out what you suggested. I got the examples working for the SD shield using the pins 50,51,52,53. When I use Pwdr Firmware V2_0 I still get the error "Initialization SD failed". I kind of expected this error because in the firmware those pins are used for the control the X motor.
Is there some other version of the firmware that your using?
—
Reply to this email directly or view it on GitHub.
from pwdr-model-0.1.
You can just adjust the pins of the motors to the correct values for your board.
@Boreaz could you do a pull request?
On Wednesday, May 15, 2013 at 06:03 , Michael wrote:
Yes, I made a few changes in the firmware for working with this scheme, try this version https://github.com/Boreaz/MyPrintfiles
От: atticdweller <[email protected] (mailto:[email protected])>
Кому: Pwdr/Pwdr-Model-0.1 <[email protected] (mailto:[email protected])>
Копия: Michael <[email protected] (mailto:[email protected])>
Отправлено: вторник, 14 мая 2013 21:19
Тема: Re: [Pwdr-Model-0.1] Problems getting the software running (#22)Thanks Boreaz!
I got my SD shield yesterday and tried out what you suggested. I got the examples working for the SD shield using the pins 50,51,52,53. When I use Pwdr Firmware V2_0 I still get the error "Initialization SD failed". I kind of expected this error because in the firmware those pins are used for the control the X motor.
Is there some other version of the firmware that your using?
—
Reply to this email directly or view it on GitHub.—
Reply to this email directly or view it on GitHub (#22 (comment)).
from pwdr-model-0.1.
Thanks for the help Boreaz. I'm up and running now. Now I have to finish putting together all the laser cut parts.
from pwdr-model-0.1.
@atticdweller We are running into the same problem with the line print_data[index] = byte(unbinary(UpperStr2)); do you have any idea? we need to fix this problem as soon as possible. pLEASE HELP!
from pwdr-model-0.1.
If I remember correctly I was having all of the problems from using the latest version of processing and Arduino. I remember I needed to use some version of Arduino before 1.0 but can't remember specifically the version. Good luck.
from pwdr-model-0.1.
Please keep in mind to use Arduino IDE version 1.0. I'll investigate what
needs to be changed for the newer versions.
On Wed, Oct 15, 2014 at 8:08 PM, atticdweller [email protected]
wrote:
@ckd28 https://github.com/ckd28
If I remember correctly I was having all of the problems from using the
latest version of processing and Arduino. I remember I needed to use some
version of Arduino before 1.0 but can't remember specifically the version.
Good luck.—
Reply to this email directly or view it on GitHub
#22 (comment).
from pwdr-model-0.1.
Related Issues (20)
- Stepper Motors HOT 15
- Progress HOT 6
- Unable to print voids HOT 2
- Head refilling :-) [edit: Pwdr_GUI_V0_3 on Windows 7] HOT 27
- size of clear plastic Plexiglas HOT 8
- Can't connect to Arduino HOT 14
- Printer head location, ink dispersal HOT 26
- Pause the printing HOT 5
- Pause button code a glass half full/empty HOT 1
- Y axis distance HOT 2
- Printing materials/binders HOT 2
- Arduino Setup and Belts HOT 37
- Laser cut Acrylic HOT 2
- This Project ist a fake
- Usage of firmware, please help me out HOT 2
- USB instead of SD possible?
- Error when connecting to COM port
- Calibration issues HOT 6
- lawercut drawing files? HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pwdr-model-0.1.