Show Posts
Pages: 1 ... 11 12 [13] 14 15 ... 28
181  Using Arduino / General Electronics / Re: arduino and MOSFET IRL540 on: April 29, 2013, 10:13:23 am
This is a N-channel MOSFET, the Source pin has to connected to ground and the Drain connect to the valve, the other side of the valve connect to 12V.
182  Using Arduino / Project Guidance / Re: Caps with Xtal? on: April 29, 2013, 10:02:09 am
Show us the picture
183  Using Arduino / Project Guidance / Re: Question about the ISCP headers on the UNO on: April 29, 2013, 07:34:29 am
one for the mega16u2 and the other for the atmega328
184  Using Arduino / Project Guidance / Re: Tinybasic as used in ben heck? on: April 29, 2013, 06:11:13 am
Or you may go with Tiny C
http://n.mtng.org/ele/arduino/iarduino.html
185  Using Arduino / Project Guidance / Re: High Capacity UPS Power Supply, lead-acid battery, multiple devices and voltages on: April 26, 2013, 10:57:21 pm
Excellent, so hows the circuit look now?
Look okay to me.

Looking at this chip: http://www.ti.com/product/bq24450
The chip is SMD, can you do SMD? If you can do it, is a good solution.
186  Using Arduino / Project Guidance / Re: Getting an image with arduino on: April 26, 2013, 10:52:03 pm
So I'm still looking for someone who can show me the way from A to Z (Doesn't even have to explain it to me, just show me how to do it and I will reverse engineer it)
This is the one of it.
http://arduino.cc/forum/index.php/topic,159557.0.html
187  Using Arduino / Project Guidance / Re: High Capacity UPS Power Supply, lead-acid battery, multiple devices and voltages on: April 26, 2013, 05:01:32 am
If you using those digikey converter then you no need those resistors, connect to ground directly.
those resistors needed when you used LM317.
188  Using Arduino / Project Guidance / Re: multiple LCD CRYSTAL on: April 22, 2013, 10:20:10 pm
http://arduino.cc/forum/index.php/topic,118053.0.html
189  Using Arduino / Project Guidance / Re: Thermoelectric Cooler with Arduino? on: April 22, 2013, 06:16:22 pm
Quote
Max Operating Temp: 180℃
Min Operating Temp: -50℃
Learn about TECs (Tom's Wiki)
Learn about thermoelectric effect (Wikipedia)
Example Arduino code to control a MOSFET for power
Code:
/*
 SparkFun Electronics 2010
 Nathan Seidle
 
 This code is public domain.
 
 Peltier ran at 3.6A @ 11.0V = 39.6W!
 
 The thermo-electric cooler (or Peltier) works well well with a computer power supply for power, a computer
 CPU heat sink for cooling and a N-Channel MOSFET to control the power. The Peltier is going to use a ton
 of juice. In this case, I  measured 3.6 amps at 11 volts! I had to attach the hot side of the Peltier
 to a large computer CPU heat sink but it worked so well that the cold side was so cold I could not keep
 my finger on the device.
 
 Because I was so scared of pumping 40 watts into a device, I used this program to slowly ramp
 up the power flowing through the MOSFET. Press 'a' to increase power, 'z' to step down.
 
 */

int peltier = 11; //The N-Channel MOSFET is on digital pin 11
int power = 0; //Power level fro 0 to 99%
int peltier_level = map(power, 0, 99, 0, 255); //This is a value from 0 to 255 that actually controls the MOSFET

void setup(){
  Serial.begin(9600);

  //pinMode(peltier, OUTPUT);
}

void loop(){
  char option;

  if(Serial.available() > 0)
  {
    option = Serial.read();
    if(option == 'a')
      power += 5;
    else if(option == 'z')
      power -= 5;

    if(power > 99) power = 99;
    if(power < 0) power = 0;

    peltier_level = map(power, 0, 99, 0, 255);
  }

  Serial.print("Power=");
  Serial.print(power);
  Serial.print(" PLevel=");
  Serial.println(peltier_level);

  analogWrite(peltier, peltier_level); //Write this new value out to the port

}


190  Using Arduino / Project Guidance / Re: Measure the length of a network cable on: April 22, 2013, 05:49:53 am
Quote
"...Electricity travels through a wire at approximately two-thirds the speed of light (200000 km/s - 0.2 m/nanoseconds), which means that it travels at approximately two-thirds a foot per nanosecond... "
191  Using Arduino / Programming Questions / Re: reading and writing pins on: April 20, 2013, 11:47:04 pm
Quote
The Jaguar pad is basically four sets of buttons. Three of those sets have five buttons, and the fourth has six. Each set has one pin that is pulled low to read the buttons within that set on five (or six) other pins. It is useful to think of the Jagpad as a matrix of twenty-one buttons.


Each of the four column pins is pulled low one at a time, and any buttons in that column that are pressed will cause a low signal to appear on its corresponding row pin.

Pinout

High-density 15-pin male D-sub connector on the controller.


1.  /Column 1 address (option, 3, 6, 9, #)
2.  /Column 2 address (C, 2, 5, 8, 0)
3.  /Column 3 address (B, 1, 4, 7, *)
4.  /Column 4 address (Pause, A, N, S, E, W)
5.  -
6.  Row 1 data (pause)
7.  +5VDC Source
8.  -
9.  GND
10.Row 2 data (A, B, C, Option)
11.Row 3 data (E, 1, 2, 3)
12.Row 4 data (W, 4, 5, 6)
13.Row 5 data (S, 7, 8, 9)
14.Row 6 data (N, *, 0, #)
15.-
http://emu-docs.org/Jaguar/Controllers/jagcont.html
So you need 10 pins, 4 output and 6 input to read the key pad matrix.

Code:
#include <Keypad.h>

/*
Pause
A B C Option
East 1 2 3
West 4 5 6
South 7 8 9
North * 0 #
*/

const byte ROWS = 6; //four rows
const byte COLS = 4; //three columns
char keys[ROWS][COLS] = {
  {'P','P','P','P'},
  {'A','B','C','O'},
  {'E','1','2','3'},
  {'W','4','5','6'},
  {'S','7','8','9'},
  {'N','*','0','#'}
};
byte rowPins[ROWS] = {7, 6, 5, 4, 3, 2}; //connect to the row pinouts of the keypad
byte colPins[COLS] = {11, 10, 9, 8}; //connect to the column pinouts of the keypad

Keypad keypad = Keypad( makeKeymap(keys), rowPins, colPins, ROWS, COLS );

void setup(){
  Serial.begin(9600);
}

void loop(){
  char key = keypad.getKey();

  if (key != NO_KEY){
    Serial.println(key);
  }
}

192  Using Arduino / General Electronics / Re: Multiple pull-down resistors integrated into a header pin? on: April 17, 2013, 08:48:16 am

Resistor Networks & Arrays 10pins 10Kohms Bussed
http://www.mouser.com/ds/2/54/4600M-53173.pdf
193  Using Arduino / General Electronics / Re: DC DC step down converter for smart battery charger on: April 17, 2013, 08:18:28 am
Seems like I've found a schematic of the CV/CC version?

Attached is a conceptual (untested) schematic
194  Using Arduino / Project Guidance / Re: Wifi shield as server without router, webserver, internet? on: April 16, 2013, 10:59:36 am
Yes, you can, use static IP on both wifi shield and your ipad.
195  Using Arduino / Project Guidance / Re: 18v15 Pololu Motor Controller - Need Help With Coding PWM on: April 16, 2013, 09:55:20 am
Quote
connecting Pin 11 on Arduino with PWM pin on Pololu. I have connected 'DIR' pin to pin 3 on Arduino.
That is correct connection

Quote
On the other end of the Motor controller,I have connected a 9V battery into the inputs of the Pololu and a VEX motor into the Pololu 'OutA' and 'OutB'
Are you said those 9V transistor square battery? it may not have current for your motor.

VEX motor? two wire or three wire?
Pages: 1 ... 11 12 [13] 14 15 ... 28