Sunday, February 27, 2011

things i like about the reprap community

i just thought i would do a post about the things i like about the community around the reprap.


  • they are willing to help people out when they are stuck.
  • it is a growing community.
  • eager to learn .
  • willing to adapt, and fairly fast to adapt too i have noticed.
  • for the most part i would have to say it is very transparent with how it operates on a whole.
  • for the retailers i have delt with  so far  makergear, ultimachine, and techzone. they all show they want to support this community 
  • willing to donate time, parts, and money to help get clubs, schools and other places that need help to get this technology working for them.
i would like to see what other people like about this community. i know it is not perfect, and nor am i there are things that get under my skin like any other person.

please leave a comment about what you like.

Thursday, February 24, 2011

cool find

Today when i was out and about town i stopped by the salvation army store, and they had an old HP printer, it had a few parts in it that i have been trying to find it is an optical encoder. i am curious to see if there is a way that i can use this in my repstrap in any way, kinda wish they were not so hard to find.





i have a closer to proper belt tensioner on there now, so thats good


this is a ISP that my friend gave me, it hase a 10 pin cable on it, and so far all i have needed was the 6 so i had to make a bord to take it down to the 6 that the arduino have 

i do hate to say it but i am thinking i might buy a Mendel kit to save my self some time and trouble. i have the motors and electronics so i would just need the bars and printable pieces, i hope i can see what i can find for some kits out there soon.

Tuesday, February 22, 2011

sweet,

well some good news and bad news today,  not that bad really just annoying.

first the good, i got a domain for my blog www.methodtoonesmadness.com so yay. i hope to have it going and email up tomorrow. so that will be nice.

the bad news is that yesterday when i was trying to get my Z axis calibrated, the pulley i was using on my geared stepper motor decided that it had better things to do that stay working, the epoxy i used to make the hole smaller, was not strong enough, and it stripped out on the shaft. no wonder why my measurements were getting worse and worse.



not the most easy stuff to measure out right but i think i got it mixed right.

i also ordered a 4 by 20 lcd today too for my repstrap, i look forward to seeing what i can do with it.

Sunday, February 20, 2011

calibrating

last night i started to calibrate the setting that i could on my repstrap. i got my Y axis calibrated at 1/8 micro stepping @ 158steps/mm, i think i will take up to 1/16th though. today i hope to get the Z axis done but i hope to get another pulley made for that stepper though. so that will change those setting again.

i have gotten allot of improvement with my trouble shooting on my new arduino mega and repsnapper, i was finally able to get it to flash the usb chip, after i found signed drivers, and now it will connect to repsnapper so long has it is the first time in the session that i try to connect to it, so now i think i am waiting for a better driver.

one of the things i used to help be get my setting right was this site http://josefprusa.cz/RepRapCalculator.html#ConvertorsFToMM though for my self i used his formula to make a spreadsheet so that i don't always need to have a browser open

here are some pics of the ramps board i made, it was mostly just practice shots but i think these 2 were really nice out of the 20 or so that i took


i am still amazed at the detail these new cameras can get.

Saturday, February 19, 2011

tools

the other day one of my friends pointed me to this web site http://gabotronics.com/development-boards/xmega-xprotolab.htm where he found there Xprotolab it looks interesting to me and has some nice features.

i would suggest going to look at it. i think i am going to try to buy one when i have some spare cash they are not all that pricey.

Thursday, February 17, 2011

been busy sorry

sorry but work has been keeping me busy,

 i have been able to build a frame for my ramps kit though with a old amd cpu fan, its a little big but it is not has loud as the other fans i had





i hope to get some more things to work on my project some more here soon, i need to build some longer cables for my steppers here soon. i will also need a proper desk for it soon too.

i am still running into some troubles trying re flash my new arduino mega 2560, i am getting there just not has fast as i would like.

Saturday, February 12, 2011

yay

well today i was able to move my Y and Z axis, so that made me very happy. i am up loading the videos now so i will post them later tonight or tomorrow. but i am happy about this, but i know i have allot more testing and building to do still.

i was very happy to see my printer Z axis move, but i think in time that will be the one that will give me the most trouble.





i am happy so be able to do this though, i will start trying to calibrate things tomorrow, i am a little less sure how to do that still, but i will learn. but hey for now i am happy

Friday, February 11, 2011

z belt

i have been able to do a little work on my Z axis. i am tired today so this will be a very short post but here are some pics.



i am having an issue getting the new arduino mega 2360, to connect to repsnapper, for the new ramps board, dose anyone have any tips for that or am i just missing something very basic.

ramps.

yay my ramps board got here yesterday i got it all together last night, but i do like it so far, but i will start testing it out today after work. i also got my other package that canada post. took an extra week to deliver. so i will also try to get my Z stepper properly mounted and tested today too.

Tuesday, February 8, 2011

testing part 2

i did manage to get another round of testing in today, thought i was surprised just to see how hot the brass gets where it meets the peek.
the yellow line is the printing tip, and the blue line
is the base where it mounts onto the peek.

i wanted to put the heatsink i had father down the brass, but it was too big and the fins hit the wood mounts. but i think this may be something worth looking into more for me at least, but i am going to see if i cant find a smaller heatsink. 

 the second dip is where i had a bigger fan blowing on to it, just to see how it would react. it had a harder time heating up and keeping up to it but it was also a fan from a older amd cpu cooler, not that small little guy i had on the heatsink. it dose go to show just how much a poorly aimed fan could affect your printing, maybe even show how much a properly aimed one could also improve it too.

i think i am going to look into ways i can make this process better, i know i dont want to make it too cool, but i think it could help allot if i can get it to stay about 80C to 90C where it meets the peek. with out making the hot end work any harder than it needs too.

i look forward to doing more stuff like this, i find it very interesting.


yay cool or should i say hot.

well today i got my latest package from maker gear, Canada post is running really behind, it should have been here last week but oh well i got it now.i got the code working the way i wanted to from renoir, thanks for all the help dude.

here is some of the data i have collected so far.
the blue line is the temp at the heater nozzle and the yellow line is the temp at the heatsink,
 at the end away from the fan. i only took the heat up to 150, i think i will take it to 180 in my next test. i also plan on slowing how fast the data was logged, to about every 4-5 seconds in my next run, i want to figure out how to average the readings in the code so there not so jittery 

the dips in the blue line are from when i knocked a wire loose. my next one will be more consistent i promise.

with the setup now it is in the middle, the space that was left on the brass rod. the 2 dips near the peak of the yellow line are where i turned the fan on,  it make the heater turn back on allot more than i was expecting. and with it off it did get allot warmer than i was expecting. so tonight i will move it to the top of the rod against the peek.  i will also do a test with no heatsink on it to see what the temp at the top of the brass rod is.

i think the 2 nuts that i used may have added a little more thermal mass than i was thinking so my next test with it at the top will just have one nut pushing it agents the peek, giving it even more space. from the heater.

this is my order from makergear, yay


i thought i would order a new tip for when i get things working, this is a .25mm one.

this is my hodgepodge for my testing, i liked having the lcd
 so that i could tell what my temps were doing 

and here you can see where i had my sensors placed, the one on the barrel read lower that the one on the arduino mega did, but that one is on the metal vs the other one being ontop of the capton tap, so that may have affected the readings some.

and here is the final code that i used on the arduino nano.

#include
LiquidCrystal lcd(7, 8, 9, 10, 11, 12);

#define THERMISTOR_PIN1 0
#define THERMISTOR_PIN2 1


// Thermistor lookup table for RepRap Temperature Sensor Boards (http://make.rrrf.org/ts)
// Made with createTemperatureLookup.py (http://svn.reprap.org/trunk/reprap/firmware/Arduino/utilities/createTemperatureLookup.py)
// ./createTemperatureLookup.py --r0=100000 --t0=25 --r1=0 --r2=4700 --beta=4066 --max-adc=1023
// r0: 100000
// t0: 25
// r1: 0
// r2: 4700
// beta: 4066
// max adc: 1023
#define NUMTEMPS 20
short temptable[NUMTEMPS][2] = {
  {1, 841},
  {54, 255},
  {107, 209},
  {160, 184},
  {213, 166},
  {266, 153},
  {319, 142},
  {372, 132},
  {425, 124},
  {478, 116},
  {531, 108},
  {584, 101},
  {637, 93},
  {690, 86},
  {743, 78},
  {796, 70},
  {849, 61},
  {902, 50},
  {955, 34},
  {1008, 3}
};


void setup()
{
  Serial.begin(9600);
  Serial.println("Starting temperature exerciser.");
  lcd.begin(8, 2);
}

void loop()
{
  int celsius1 = read_temp(THERMISTOR_PIN1);
  int celsius2 = read_temp(THERMISTOR_PIN2);


  Serial.print("Temp 1 ,");
  Serial.print(celsius1);
  Serial.print(", ");

  Serial.print(" Temp 2 ,");
  Serial.print(celsius2);
  Serial.println("");
  
  lcd.setCursor (0, 0);
  lcd.print("T1 ");
  lcd.print(celsius1);
  lcd.print((char)223);
  lcd.print("C");

  lcd.setCursor (0, 1);
  lcd.print("T2 ");
  lcd.print(celsius2);
  lcd.print((char)223);
  lcd.print("C");
  delay(4000);
}

int read_temp(int pin)
{
   int rawtemp = analogRead(pin);
   int current_celsius = 0;

   byte i;
   for (i=1; i
   {
      if (temptable[i][0] > rawtemp)
      {
         int realtemp  = temptable[i-1][1] + (rawtemp - temptable[i-1][0]) * (temptable[i][1] - temptable[i-1][1]) / (temptable[i][0] - temptable[i-1][0]);

         if (realtemp > 255)
            realtemp = 255;

         current_celsius = realtemp;

         break;
      }
   }

   // Overflow: We just clamp to 0 degrees celsius
   if (i == NUMTEMPS)
   current_celsius = 0;

   return current_celsius;
}



Monday, February 7, 2011

getting closer

with allot of thanks to renoir he sent me some code to use. in a comment on the last post,

i have had to refine it some more still and i have one more bug to work out.


#define THERMISTOR_PIN1 0
#define THERMISTOR_PIN2 1


// Thermistor lookup table for RepRap Temperature Sensor Boards (http://make.rrrf.org/ts)
// Made with createTemperatureLookup.py (http://svn.reprap.org/trunk/reprap/firmware/Arduino/utilities/createTemperatureLookup.py)
// ./createTemperatureLookup.py --r0=100000 --t0=25 --r1=0 --r2=4700 --beta=4066 --max-adc=1023
// r0: 100000
// t0: 25
// r1: 0
// r2: 4700
// beta: 4066
// max adc: 1023
#define NUMTEMPS 20
short temptable[NUMTEMPS][2] = {
  {1, 841},
  {54, 255},
  {107, 209},
  {160, 184},
  {213, 166},
  {266, 153},
  {319, 142},
  {372, 132},
  {425, 124},
  {478, 116},
  {531, 108},
  {584, 101},
  {637, 93},
  {690, 86},
  {743, 78},
  {796, 70},
  {849, 61},
  {902, 50},
  {955, 34},
  {1008, 3}
};


void setup()
{
  Serial.begin(9600);
  Serial.println("Starting temperature exerciser.");
}

void loop()
{
  int celsius1 = read_temp(THERMISTOR_PIN1);
  int celsius2 = read_temp(THERMISTOR_PIN2);


  Serial.print("Temp 1 ,");
  Serial.print(celsius1);
  Serial.print(", ");

  Serial.print(" Temp 2 ,");
  Serial.print(celsius2);

  Serial.println("");


  delay(500);
}

int read_temp(int pin)
{
  int rawtemp = analogRead(pin);
    int current_celsius = 0;

  byte i;
  for (i = 1; i ;rawtemp);
  {
  
    int realtemp = temptable[i-1][1] + (rawtemp - temptable[i-1][0]) * (temptable[i][1] - temptable[i-1][1]) / (temptable[i][0] - temptable[i-1][0]);
  {
    if (realtemp > 255)
      realtemp = 255;

    current_celsius = realtemp;

  /break;  // if i leave break here it will not compile, but when it dose i dont get any output that i can            //see
  }
  }

  // Overflow: We just clamp to 0 degrees celsius
  if (i == NUMTEMPS)
    current_celsius = 0;

  return current_celsius;
}




    /break;  // if i leave break here it will not compile, but when it dose i dont get any output that i can            //see
the issue i am having is that on my serial connection all i get so far is just ther very first comment and nothing after that. so i think there is another bug or two in there some where the other bug seems to be related to the break command, the compiler says it is missing a statement before it but i am not sure how to fix that. has far as i can tell there is an IF statement in front of it.

 i think this will be a handy tool when it is done, so i hope that other people will find it useful

i would love feed back on the code, so please leave a comment

code

i am tired and this code is just making me confused. i want to changed this code form
http://www.thebestcasescenario.com/forum/showthread.php?t=23490

#include 
LiquidCrystal lcd(7, 8, 9, 10, 11, 12);    
double Thermistor(int RawADC) {
  long Resistance;  
  double Temp;
  Resistance=((10240000/RawADC) - 10000);
  Temp = log(Resistance);
  Temp = 1 / (0.001129148 + (0.000234125 * Temp) + (0.0000000876741 * Temp * Temp * Temp));
  Temp = Temp - 273.15;
  return Temp;  
}

void printDouble(double val, byte precision) {

  lcd.print (int(val));
  if( precision > 0) {
    lcd.print(".");
    unsigned long frac, mult = 1;
    byte padding = precision -1;
    while(precision--) mult *=10;
    if(val >= 0) frac = (val - int(val)) * mult;
    else frac = (int(val) - val) * mult;
    unsigned long frac1 = frac;
    while(frac1 /= 10) padding--;
    while(padding--) Serial.print("0");
    lcd.print(frac,DEC) ;
  }
}

void setup() {
  Serial.begin(115200);
  lcd.begin(16, 2);
}

#define ThermistorPIN 0  
#define Thermistor2PIN 1
double temp;
void loop() {
  lcd.setCursor(0, 0);
  temp=Thermistor(analogRead(ThermistorPIN));   
  lcd.print("Sensor 1 ");
  printDouble(temp,2);
  lcd.print((char)223);   
  lcd.print("C   ");
  lcd.setCursor(0, 1);
  temp=Thermistor(analogRead(Thermistor2PIN));
  lcd.print("Sensor 2 ");
  printDouble(temp,2);
  lcd.print((char)223);   
  lcd.print("C   ");  
  delay(100);
}


 i am trying to modify it to allot me to make a csv file on my computer so that i can log temp differences when i am testing my mod from the last post. but it was made for a 10k thermistor and a 10k resistor in a voltage divider circuit, and i am using this circuit http://reprap.org/wiki/Temperature_Sensor_1_1 that is for 100k thermistor and a 4.7k resistor in the circuit.

i am not a much of a math guy but i can normaly work out what dose what. but alas i am stumped with this one.

or if any one knows of code that dose this more cleanly that would help too.

i am also trying to get the code form http://reprap.org/wiki/Temperature_Sensor_1_1 to read 2 thermistors, but i have not been able to figure that one out has well. i have not seen any good example of how to use the same routine to do the math for 2 inputs.

thanks in advance for any help

Friday, February 4, 2011

small idea

i found a heatsink that i forgot about, so i thought i would see if it would help cool down the top part of my hot end. i will not be able to test it too well until my ramps board gets here, but here are some pictures of my idea.

i am not sure if it will help or not, but i thought it was worth a try. it is not touching the heating part nor is it touching the peek 



here i mounted a small fan i had to it. this is more a trial to see if it will help or not so i just hot glued it on for now