Show Posts
Pages: 1 ... 11 12 [13] 14 15 ... 18
181  Using Arduino / General Electronics / Re: generating a -10v...+10v control signal from an arduino on: November 24, 2012, 08:28:53 pm
If you want to guess a 1k to 2.2k would be better if you want the right one. Read these
http://www.physics.unlv.edu/~bill/PHYS483/transbas.pdf
 http://www.rason.org/Projects/transwit/transwit.htm
182  Using Arduino / General Electronics / Re: Connecting strange wiper motor, help selecting diodes (or other suggestion) on: November 22, 2012, 11:47:29 pm
Sounds to me like you have a window motor not a wiper motor.

Window motors have gears on them wiper motors don't have any that you can see.
183  Using Arduino / Programming Questions / Re: Help for newbie programmer :) on: November 22, 2012, 11:24:12 pm
No one said
Quote
stupid
He said that the OP should of done some reading up on this And to fix the problem of having to much code running in the ISR

Interrupts are not a fix for poor coding if you layout the flow of your code to handle
time slots it's easy to get done what you want to happen.

Here some good stuff about this http://arduino.cc/forum/index.php/topic,119801.0.html
184  Using Arduino / Programming Questions / Re: Help for newbie programmer :) on: November 22, 2012, 09:45:41 pm
Here It's not to hard to find
Quote
In summary,

Arduino Serial uses: Data_bits=8, Stop_bits=1, Parity=None, Flow_control=None. This is fixed and you cannot change it when using Serial. Set your PC side accordingly.
Choose a baud rate that is safe from UART buffer overflows and HardwareSerial buffer overflows for your code.
Write short ISRs to prevent UART buffer overflow.
Dangling pins with attached ISR may cause fake and random interrupts that can interfere with system clock and cause UART buffer overlow.
Write loop() carefully to check and read Serial as soon as possible to prevent HardwareSerial buffer overflow.
185  Using Arduino / General Electronics / Re: Why double row of pin headers? on: November 21, 2012, 10:06:28 am
Think a little more SD save's data you'll want to add something to make data GPS SIM or something.
186  Using Arduino / Project Guidance / Re: Arduino based Pulse Oximeter on: November 20, 2012, 07:13:36 am
Na it's bad I should read it after I posted I left a lot of words out I do that some time's when I'm thinking faster then I can type. smiley-twist
187  Using Arduino / Project Guidance / Re: PC Can not upload to Barebones with FDTI breakout board on: November 20, 2012, 06:26:43 am
Not all of them FT232 cheap USB to serial dongle or adapters what every you want to call them work the way they should. Some have pins marked as you would hook them RX is for RX same with TX and the DTR not even wired to the pin.

Then you have some that hook up as normal RX to TX and TX to RX.  And the CP2102  does work I use that one myself but you have to look at these and make sure there made right and like the pins are the right pin and in the right order.
188  Using Arduino / Project Guidance / Re: Arduino based Pulse Oximeter on: November 19, 2012, 05:40:59 pm
See it good to have stuff all over the net I lost a bunch of good stuff but Google reading heartbeat with a Light to Frequency Converter

And It shows up with the goodies  

Here all you need to know there two pdf's one under the video and one here it's in two parts but it shows how to make this all work.
189  Using Arduino / Project Guidance / Re: Arduino based Pulse Oximeter on: November 19, 2012, 05:29:58 pm
Yep you use two leds IR and a Red led it works really good the pulse is easy to get
the oxygen level is hard part. I made one using two led's IR and a red one  set the leds to putout there maxim output  with a piece of pvc pipe cut in haft to make like a clip to pace over your finger.

Put to leds on the bottom and the  light-to-frequency converter  on top hooked the output to my scope. It worked better then I figured it would.

here a video I did if you want to see the output its not high-tech but may get you started
Nut's and volts has how to make this better with code for the stamp
190  Using Arduino / Project Guidance / Re: No restart on UNO after power down on: November 19, 2012, 05:00:12 pm
It's the pot what it sounds like to me I have had some go bad on pic before what happens is you have no resistor on the wiper and when your code starts your pot is at five volts on the wiper and the pin is sinking to ground. Can happen I've had more then one pot go bad this way so I now always use a resistor to limit the wiper
to about 5 mA.
191  Using Arduino / Programming Questions / Re: Help with a while loop on: November 18, 2012, 05:35:39 pm
Delta_G I think that's it I was thinking RX == HIGH is the same as digitalRead(RX) == HIGH
Yep that picked up the start bit of 8mS now I see

Arduino code may be easy if you never coded in Basic I figured where i set pinmode of RX would let me just read RX wrong LOL My code I started with works to after fixing that one thing.
192  Using Arduino / Programming Questions / Re: Help with a while loop on: November 18, 2012, 04:57:10 pm
I done the same code in swordfish basic  but can't get the loops right

This is what I'm trying to do I have a 315Mhz RF link kit The transmitter is on a pic 10F200 with three button switches .

You press  sw1 and it sends a 8mS high then a low of 8mS then 8 1mS pulses.

I want to get the start pulses
I tried some thing like this
Code:
int RX = 3;
void setup(){
  Serial.begin(9600);
  pinMode(RX, INPUT);
}

void loop(){
   Serial.println("Here we go again");
     unsigned long start = millis();
         while((millis() - start < 8000UL) && (RX == HIGH)){
   Serial.println("Here we where not");
    delay(100);
         }
}
193  Using Arduino / Programming Questions / Help with a while loop on: November 18, 2012, 03:39:18 pm
This sure is not basic could any one show the right way to write this
Code:
void loop(){
    int x = 0;
  while(RX == HIGH; && x < 8;){
      delay(1000);
      x = ++x;
  }
194  Using Arduino / Project Guidance / Re: current capacity of breadboards on: November 18, 2012, 02:04:14 pm
Solderless bread boards are not a good idea for power over a 1/2 amp there to much that can go wrong with them. I would make a PCB or for one off things use a solder bread board with gang tracks and over size them.

Where I work I've fixed a lot of poorly made boards that controlled motors
The older boards always had solder covered tracks which helps to fix some poorly made boards.   
195  Using Arduino / Project Guidance / Re: current capacity of breadboards on: November 18, 2012, 01:24:14 pm
solderless breadboad are good for 2 amp that's if you have a good one cheap one maybe a 1/2 amp

And here some design charts to use http://www.armisteadtechnologies.com/trace.shtml
Pages: 1 ... 11 12 [13] 14 15 ... 18