emt, A couple things to help you out: 1. You have to enable VREF to 5V internal for the ADC to work. Do this in mendel.c where all the other initialization happens: //Set VREF to 5V. ADMUX=(1<<REFS0); //Enable the ADC. ADCSRA=(1<<ADEN); //Set ADC prescaler to 125kHz. ADCSRA=(1<<ADPS2)|(1<<ADPS1)|(1<<ADPS0); 2. You have to make sure not to disable the ADC to saveby Demented Chihuahua - Firmware - experimental, borrowed, and future
emt, You will also need to enable VREF to 5V before this will work. I'm not at home right now so I can't paste in exactely what I did, but you have to set a couple of registers to select it when doing the other setup stuff. Dementedby Demented Chihuahua - Firmware - experimental, borrowed, and future
hahaha! I died! My boss thought it was hilarious too! Don't fancy java either but I think we can all join together in hating MS. Dementedby Demented Chihuahua - General
Thanks a lot jgilmore. I haven't had a chance to upload it and try but perhaps something like this? if (bit_is_set(ADCSRA, ADSC)){ raw.bytes.low = ADCL; raw.bytes.high = ADCH; old_low = ADCL; old_high = ADCH; } else { raw.bytes.low = old_low; raw.bytes.high = old_high; } in place of this while (bit_is_set(ADCSRA, ADSC)); raw.bytes.low = ADCL; raw.bytes.high = ADby Demented Chihuahua - Firmware - experimental, borrowed, and future
Triffid, I'm a bit confused by your code and your comments. In your temp_read() function you use a delay of 1, // enable MAX6675 WRITE(SS, 0); // ensure 100ns delay - a bit extra is fine delay(1); // read MSB SPDR = 0; but you say not to block. Doesn't this block? Or is it just so short it doesn't matter? Dementedby Demented Chihuahua - Firmware - experimental, borrowed, and future
Thanks for the responses Triffid/Traumflug! I'll get back on it here soon and see what I come up with. Dementedby Demented Chihuahua - Firmware - experimental, borrowed, and future
So, I've been trying to impliment this on my single Arduino 328. I got the initial version by Triffid to compile and load on my Arduino but I have a thermocouple and not the temp sensor chip he uses. I set about trying to write in an alternate temp routine for those of us with a thermocouple but I started running into a lot of problems. Chief among these was the fact that I have never done microcby Demented Chihuahua - Firmware - experimental, borrowed, and future
by Demented Chihuahua - Kartik M. Gada Humanitarian Innovation Prize
Been awhile since I've posted. I'm trying to get my gen 1 electronics to play nicely with the reprap-host-linux-20090804 distribution. My problems stem from the fact that the host seems to have arduino set as the only possibility for the gen 1 electronics. I've got the pic based ones and it won't talk to them over the usb-serial adapter. A bit more infos...I've tested and verified the cable viaby Demented Chihuahua - RepRap Host
Okay, figured the problem...we needed, as VDX says here, all the libraries...which required for some reason that we compile from source. I really don't like using Kubuntu as it seems like I hit this problem a lot. Never the less, once that was done we got the whole, """ avrdude: initialization failed, rc=-1 Double check connections and try again, or use -F to override this check. """ error thingby Demented Chihuahua - Controllers
Any body else notice that we are on the front page of the pirate bay? Nice little link says, "The future of sharing is near, and physical!" Pretty cool. Dementedby Demented Chihuahua - General
Okay, just tried some more stuff... Tried externally powering the motherboard...no goodness. While fiddling with AVRdude, found that we may have a file permissions problem. This test, , fails unless we run it as root using sudo. When run with sudo, it gives the response it's supposed to. So, knowing this we started the Arduino environment from terminal with sudo ./arduino This fixed part ofby Demented Chihuahua - Controllers
Having the same problem here. Installed the Sanguino stuff correctly, I think...double checked it at least. The full text of my error reads as: """ USB read error: expected 4, got -1 USB read error: expected 4, got -1 avrdude: initialization failed, rc=-1 Double check connections and try again, or use -F to override this check. """ Read somewhere that maybe external power mayby Demented Chihuahua - Controllers
It's imaginary till you manage to put in enough effort to make it real...like most things in life, it isn't free nor is it easy. Dementedby Demented Chihuahua - General
I believe this is the part number from Fastenal 31161517 But I'm never really sure about shoulder bolts. They have a bunch of dimensions that regular bolts don't. If I understand it right the first letter-number combo in the spec refers to the shoulder diameter--the part the bearing will sit on--and the second number-letter combo refers to the length of the shoulder from the cap to the beginniby Demented Chihuahua - Reprappers
hehe, oops! Thanks Forest. Dementedby Demented Chihuahua - General
Looking good. Maybe I missed it in there somewhere but how much time do these recent blog posts account for? Are we talking months? Weeks? Days? What is your next step? Dementedby Demented Chihuahua - Reprappers
Another article over at Ieee Spectrum online Dementedby Demented Chihuahua - General
hehe, very nice Steve Dementedby Demented Chihuahua - Let's design something! (I've got an idea ...)
I believe you have to use Subversion to get the source for those...I'm not sure but that is what I remember reading once. Should be in the documentation. from subversion here... Developer install on linux here which will get you most of the programs you need to work with this stuff. Hope that helped. Dementedby Demented Chihuahua - RepRap Host
That's pretty sweet! It looks REALLY good. What did you use for slides on that 80/20? Dementedby Demented Chihuahua - Reprappers
I really like ball screws and recirculating ball nuts! We used those in our OIT RepStrap here oitreprap.googlepages.com They give flawless performance. Slowdown isn't too bad either since the tpi is pretty low. Only problem I have with them is their cost...damn things are expensive! Very interested in your blog progress! Dementedby Demented Chihuahua - Reprappers
McWire doesn't require any more tools. I built mine--excluding the z-axis which used a mill but didn't need to--with a battery powered hand drill, a hack saw, pliers, snippers, screwdrivers, an analog multimeter, a soldering iron, and a table-top vice. That's it. My extruder was a kit from RRRF when they still sold them. Bearings were made via the method Wade used. Same with the drive screw. Myby Demented Chihuahua - General
Very interesting reading...I like that you went the same way as Nophead. I kinda wish I had done the same now...that xy stage looks pretty sweet. After you ran it for 24 hours, did you notice any changes, settling, drift, or lost steps? I imagine not but you never know with these used parts/machines. I'm working on an extruder design that does not require specialty components--just stuff you canby Demented Chihuahua - Reprappers
I've been thinking about the exact things Forest mentioned. I.e. what exactely is Mendel gonna be if not a simple--not simple as in easy--upgrade to the Darwin. Darwin 2.0 is more the term to use. However, I suppose it doesn't take a massive change to get us a new version of Ubuntu every so often and they name it something different each time...maybe what we are thinking of as Darwin 2.0 is realby Demented Chihuahua - General
Here's some quick info. There is much more out there. If you get either of these two books you will get a wealth of information from the bibliography sections. ***Books*** Rapid Prototyping--Laser-based and Other Technologies Rapid Prototyping: Principles and Applications (2nd Edition) (Paperback) ***Articles in Specific Areas*** **Part Orientation and Support Generation: Masood, S.H., W.by Demented Chihuahua - RepRap Host
Yes, cooling was a huge issue for us. For some reason the L298's got really hot on the GEN 2 boards. Much hotter by far than on the GEN 1 boards. We ended up needing bigger heat sinks and a nice little PC case fan for each one to blow cool air directly on it. Stupid things ended up burning up a couple of times. As far as the electronics being stable...hehe, yeah right! Zach just keeps churning oby Demented Chihuahua - Reprappers
I really think it's very interesting to see these sorts of tensions pop up every now and then. There is some sort of rhythm to it with an essential period. You could almost model it probably. Very fascinating even after having been the cause of some myself. Hehe... ;-) I wonder what is the difference between these sorts of things in forums that die and ones that continue to live on like RepRap?by Demented Chihuahua - General
I *HATE* AOI...no offense Forrest. :-) Dementedby Demented Chihuahua - RepRap Host
I didn't realize we were talking about machining stuff. If you are going that route, I have plenty of drawings of production extruders down to a very small size. No need to do extra work. However, the point is making an extruder that you don't need a machine shop to produce. The average joe has to be able to make it, buy it, or print it himself. Otherwise it's just like so much other technical aby Demented Chihuahua - Mechanics