I've made some minor adjustments to my version. The biggest is how I calculate encoder_inc. It now uses E_MM_PER_STEP and inverts the speed. I believe it gets the correct speed as long as E_MM_PER_STEP is correct. I set it to 10, which gives me a nice range of speeds on my 10° encoder which gives me 72 steps per revolution. I haven't added the #define ENCODER_XXX, but I think it is a good idby mccoyn - RepRap Host
Yeah, some of the code could definently be cleaned up. Maybe if the two of us get a well-tested patch together we can convince someone to update SVN. My previous approach of using manage() to look for changes was missing some steps on my 20° encoder. I think it consistently missed 1 step on each cycle and then sometimes missed a second one. Instead, I looked into using an interrupt. I foundby mccoyn - RepRap Host
I've had some success creating a pulsed controller. This runs the motor at full speed until the encoder switches (I'm just using 1 opto-switch) and then stops until a set amount of time has elapsed. The amount of time is controlled by the host software. This isn't my final solution, but it verifies that the hardware is all working as I expect it to. Most of my work is in a function I called eby mccoyn - RepRap Host
Where are you guys at? I live in Ann Arbor and I've been trying to build a Reprap for about a year. It is fully assembled, but not fully working. There are just a bunch of bugs to work out. Maybe we can collaborate to get a working reprap and print off a few sets.by mccoyn - For Sale
I've been thinking of writing my own for a while. I've been distracted for a while, but I think I'll be back to reprapping this week. Getting an encoder working is first on my list.by mccoyn - RepRap Host
I've been having trouble with the Arduino crashing (fails to respond to commands) after I send an extruder on or off command. It doesn't happen every time, I'd estimate about 50% of the time. So, if I try to cycle the extruder on and off twice from the extruder exerciser in the host software it will usually stop responding to commands. I've turned on comm debugging. When I get a crash I no loby mccoyn - RepRap Host
In my impatientence I decided to find a way around this problem since I have no clue how to fix it. I edited ~/projects/reprap/Reprap/src/org/reprap/gui/botConsole/PrintTabFrame.java. I removed lines 221 and 222 which were: getWebPage.setIcon(new javax.swing.ImageIcon( ClassLoader.getSystemResource("rr-logo-green-url.png"))); // NOI18N I am still interested in a proper solution to this pby mccoyn - RepRap Host
I'm getting the same errors as bernard46, but I can't seem to solve the problem. I'm trying to get an install from the LiveCD (0.6, I think) to work. I've checked out the latest from svn and I'm attempting to launch the application using the command "ant run". Here is the errors: Stable Library ========================================= Native lib Version = RXTX-2.1-7by mccoyn - RepRap Host
I did the exact same thing (connecting the three transistors with a single heat sink) and noticed the same behavior. Cutting the heat sink so they weren't connected fixed it. I've also ran it for short periods of time without heat sinks. So, you should be able to test things out by just removing the heat sink.by mccoyn - Controllers
From Nophead's Extruder Tweaks: > When using the RepRap electronics 2V is dropped across the TIP120 Darlington, so to get the same power, a 6Ω heater is required. Better to use a protected MOSFET, something like this, which is a drop in replacement and doesn't need a heatsink. I tried this and it seems to help. I've also put a multi-meter on my power supply and it read only 11 V. I havn'by mccoyn - General
I've been having a lot of trouple with the motor on my extruder either stalling or slipping. I decided to add an encoder so that I can maintain a more consistent speed. I can't find any examples on how to modify the firmware to use an encoder. Has anyone done this? Is there any example code for how to do this? Edit: I'm using Arduino hardware. Looking through the source it appears that theby mccoyn - RepRap Host
It's weird, but I was seeing the same thing. Then I built a new vehicle that was shorter and it went much faster. I then gave up because I didn't want to spend a lot of time figuring out what rules the game uses.by mccoyn - General
Yeah, I thought it was odd that we are simulating the PIC method and then using these tables instead of just putting the code on the chip. I did notice the nasty big jump near 200 C. I generated a larger table and deleted 2 out of every 3 entries for the lower temperatures. Hopefully this will work better. About the 110 C limit. It turns out I hadn't changed the target temperature so it stopby mccoyn - Controllers
I didn't have a 1.6K resistor so I used a 1.4K one. When I set it up, it read 28 C, which sounds good. I let it heat up and it stopped at 110 C because I haven't put any insulation on the heater yet. I modified the script to show voltage, self-heating, sensitivity and linearity. The last two numbers are the first and second derivatives. You can see that at Here is my table // r0: 12120 //by mccoyn - Controllers
My enables are not connected to anything and the steppers run fine.by mccoyn - Controllers
I've measured my thermistor near my expected working temperature (190 for ABS) and at room temperature with these results: 185 C: 103.5 Ω 18 C: 12.12 KΩ I calculated beta as 3796. I'm still not sure how to pick the resisters but it looks like I need values close to the thermistor's value at the working temperature. I also see that the ratio between the two resisters is usually about 2:1.by mccoyn - Controllers
That was printed on the board, so I assumed it was the value for 10K. Your note about using 470 makes sense. I was trying to get the exact setup to match one of the examples listed at so that I could copy the table. Is it easier to measure the characteristics of the thermistor and then generate the values? I've got to pick up a thermometer. I've got a digital one but it updates very slow anby mccoyn - Controllers
I tested it. It was about 11K, so I take it that is a 10K thermistor. I suppose that means the 4.7K resister has to be replaced by a 1.6K one. I think I've got this problem well surrounded now.by mccoyn - Controllers
Yes I did delete the object files. I checked this morning and I was modifying the header file in the wrong directory. This is probably a good reason to not keep multiple copies of something lying around. I'll try again tonight and see if I can get it working right. I'm not entirely sure if I have a 10K or 100K thermistor. Does anyone know approximately what resistance each has at room temperby mccoyn - Controllers
Ok, I was definitely doing that wrong. I updated the firmware and changed all the values to the correct values. Now, I've updated the firmware and I get the same results. On my temperature sensor PCB I have a 4.7 kOhm resistor and a 10 uF capacitor. Do I need to remove the capacitor?by mccoyn - Controllers
I have a 100K thermistor from RRRF. When I started testing my extruder the temperature reported about 90 at room temperature. When I started heating it got to 170 in about 30 seconds. I suspect I have something setup wrong. The reading rises when the heater is on and falls when it is off so I believe I have everything wired correctly. Here are the settings I used: Extruder0_Beta(K) 550.0 Eby mccoyn - Controllers
Is the via epia 10000 one of hose mini-itx boards? That was going to be my backup if my existing computer didn't do it.by mccoyn - RepRap Host
Will the RepRap host run on a 500 mHz computer running Debian Linux? What's the lowest performance people have gotten it running on? EDIT: I got it running, so you can ignore the rest of this post. I am still interested in what low-performance computers people have been able to run on. ---- Original Post ---- I originally setup my reprap software on my laptop and I was able to get it runningby mccoyn - RepRap Host
Sorry about not responding earlier. I got it working. I had to go into the software configuration in Eclipse and disable and uninstall anything with JavaHL or SVNKit in the name. Then I was able to install the right SVNKit (or JavaHL, I suppose).by mccoyn - RepRap Host