Show Posts
Pages: [1]
1  Using Arduino / LEDs and Multiplexing / Re: Any other examples for Rainbowduino and 4x4 cube besides Plasma? on: November 17, 2012, 10:12:05 pm
i am looking for some more examples too, i like the product but i was hoping to find more of a community behind it too. i want to find something that will work for a night light, and not having it light up a whole room.
2  Using Arduino / Installation & Troubleshooting / serial pins 0 arduino 2560 on: January 18, 2012, 01:46:45 am
i am trying to figure out if the TX0 and RX0 on pin D0, D1 are tied to the serial on the usb, like on my arduino nano, or if i will run into any issues using TR3,RX3 on pins D14,D15, i remember reading some where some one had issues using the higher numbered pins if you did not use TX/RX0 first. is that the case.?

i am trying to hook up a serial lcd on those ports, but those are the only free ones i have.  and i dont wanna use TX/RX0 if it is tied to the usb serial.

thanks for the help
3  Using Arduino / Installation & Troubleshooting / Re: UNO DFU connection problem on: February 18, 2011, 12:20:27 am
http://www.avrfreaks.net/index.php?module=Freaks%20Files&func=viewFile&id=3842&showinfo=1 this link would have saved me allot of trouble, these are signed drivers for windows 7 64b
4  Using Arduino / Project Guidance / Re: Arduino for E-trigger on: February 07, 2011, 03:15:31 am
i can see what you are trying to do, and i kinda like it, i like to play PB when i can but have not been able to much lately.

i think for durability you would be far better off with 1 switch and a tricolor led for feedback, i cant see a pot standing up to PB for long.

but the other fellow is right this would just be a modified blink so nothing too hard there, other than i don't know what the solenoid would need to activate, i think you will need a mosfet  or darlington transistor for it.

i am still pretty new at programming, so i might not be of much help there. 
5  Using Arduino / Project Guidance / dual temp readings for 100k thermistors on: February 07, 2011, 02:28:55 am
i am trying to make a temp logger for some testing on my project http://mike-mack.blogspot.com/2011/02/small-idea.html
i need it do read 2 100k thermistor inputs and put out a csv serial output,

i have not found examples to help me learn how to do it, so i would like some help.

i did find another project that dose have allot of the features i want but i am unable to figure out how to edit it to work with my setup
http://www.thebestcasescenario.com/forum/showthread.php?t=23490 and i also don't need it to be accurate past 1deg C

the temps i need to read up too are 220c and the value of the resistor on my divider circuit is 4.7k
i have gotten my circuit to work with one input with the code from this site, and the design from there too.
http://reprap.org/wiki/Temperature_Sensor_1_1
6  Forum 2005-2010 (read only) / Bugs & Suggestions / Re: example on: April 25, 2010, 10:49:51 pm
http://lusorobotica.com/index.php/topic,106.0.html this is where i found the code posted above

 i tried to put it in but it would not allow that on my first post. :'(


i can understand why thats not a bad idea though. smiley
7  Forum 2005-2010 (read only) / Bugs & Suggestions / example on: April 25, 2010, 10:48:03 pm
i have been looking for stepper motor examples but they are few and hard to find

the one you have in your install dose not work for this controler at

i did find this example  it was not even ment for the board i am using but it dose work for it.


int dirPin = 2;
int stepperPin = 3;

void setup() {
  pinMode(dirPin, OUTPUT);
  pinMode(stepperPin, OUTPUT);
}

void step(boolean dir,int steps){
  digitalWrite(dirPin,dir);
  delay(50);
  for(int i=0;i<steps;i++){
    digitalWrite(stepperPin, HIGH);
    delayMicroseconds(1000);
    digitalWrite(stepperPin, LOW);
    delayMicroseconds(1000);
  }
}

void loop(){
  step(true,1600);
  delay(500);
  step(false,1600*5);
  delay(500);
}


i would like to see this added if the Aurthur would like it to be, but i would like to see something like it added though

i have posted a link to were i found the code thanks to sparkfun for that.
8  Forum 2005-2010 (read only) / Syntax & Programs / Re: 2 thermistors on: August 25, 2010, 12:01:27 pm
here is the code i did use to test it

#define THERMISTOR_PIN 0

// 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 rawvalue = analogRead(THERMISTOR_PIN);
   int celsius = read_temp();
   int fahrenheit = (((celsius * 9) / 5) + 32);

   Serial.print("Current temp: ");
   Serial.print(celsius);
   Serial.print("C / ");
   Serial.print(fahrenheit);
   Serial.println("F");
  
   Serial.print("Raw value: ");
   Serial.println(rawvalue);
   Serial.println(" ");

   delay(1000);
}

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

   byte i;
   for (i=1; i<NUMTEMPS; i++)
   {
      if (temptable
  • > rawtemp)
     {
         int realtemp  = temptable[i-1][1] + (rawtemp - temptable[i-1][0]) * (temptable[1] - temptable[i-1][1]) / (temptable
  • - 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;
}

i got it from the reprap wiki http://reprap.org/wiki/Temperature_Sensor_2_0
it dose work, i am just trying to figure out how to get it to work with 2 inputs and have it post the outputs so that i can see they are working. at the same time. this is more for testing purposes than any thing else.

that and my coding skill are still sorely lacking at this point in time
9  Forum 2005-2010 (read only) / Syntax & Programs / 2 thermistors on: August 24, 2010, 11:16:29 pm
i am trying to figure out how to read from 2 thermistors at the same time on 2 inputs. i am having a hard time figuring out what part of the code in the thermistor example lets me assign the analog inputs. and then send the 2 to the serial output
10  Forum 2005-2010 (read only) / Interfacing / Re: Powering a mega through VIN on: October 12, 2010, 06:48:12 pm
so can you give it 5.5v from the vin or is that too low.?
Pages: [1]