Show Posts
Pages: 1 ... 57 58 [59] 60 61 ... 146
871  Using Arduino / Programming Questions / Re: LilyPad Lesson 3: Sensing Switches [Obviously a novice] on: May 12, 2013, 07:17:06 pm
What part of your sketch makes
When the button is pressed again, it will leave the LED on. The third press will turn the LED off. The fourth press will turn it on. The fifth will leave the LED on, and the sixth will turn it off. 7 - on, 8-off, 9-on, 10-stays on, 11-stays on, 12-off, 13-off, 14-on, 15-on, 16-off...
that happen ?
872  Using Arduino / Motors, Mechanics, and Power / Re: Wireing for Arduino/Relay Shield to control a cold cathode tube on: May 12, 2013, 07:05:24 pm
Let me know the results of the voltage checks goes (pictorial in previous reply.)
873  Using Arduino / Installation & Troubleshooting / Re: Arduino Nano v3.0 Replacing Diode MBR0520LT1G on: May 12, 2013, 07:03:43 pm
The original is a Schottky diode, with a nominal 0.3V drop.

That 1N4000-series diode has a nominal 0.7V drop.
In lieu of no better alternative, that's OK, it won't hurt anything.

The replacement diode is available from DigiKey.
874  Using Arduino / Motors, Mechanics, and Power / Re: Wireing for Arduino/Relay Shield to control a cold cathode tube on: May 12, 2013, 06:57:01 pm
I found this (attached) pictorial of the seeesstudio board.
I added some test points.
You have to do this with the board powered up.
Check for these volts and grounds.

When I ask you to check for a voltage, it's always with the black probe on Ground (one or more may be "missing") and the red probe going to the point of interest. 

Try with all points marked Ground.
The 7805 tab is Gnd.
Any Gnd should be the same as any other, if not there's no continuity.

Check for the 9V on the regulator input.

Careful with the probes.

Just trying to find what's missing, process of elimination.
875  Using Arduino / Motors, Mechanics, and Power / Re: Wireing for Arduino/Relay Shield to control a cold cathode tube on: May 12, 2013, 06:33:30 pm
OK, I had Sunday dinner, too.

I wonder if something is wrong with the board, wouldn't voltage be coming from one of the terminals if I am hearing a clicking?

Do some more ohms checks.
DMM on ohms.
Touch the probes together, look at the display, that's a short.
Leave the probes apart, look at the display, that's an open.
Remove the shield from the Arduino, unpowered.
Probe from the "9V" terminal to the jack centre terminal: open or short?
Likewise, see if you can find a short (continuity) from the "Gnd" terminal back to the jack.
Those jacks have a switch function (that's why there are three soldered points underneath.)

Does the tube light if it's powered by the 9V battery? (I suspect not.)

> > > Do you know how to solder?
876  Using Arduino / General Electronics / Re: question about a schematic on: May 12, 2013, 03:24:21 pm
Yes
3300Ω
orange-orange-red
877  Using Arduino / Motors, Mechanics, and Power / Re: Wireing for Arduino/Relay Shield to control a cold cathode tube on: May 12, 2013, 03:17:20 pm
Any progress?

Depending on their construction, you may have to turn those terminals down. 
You can't always count on the screw-tops if they're not clamping a wire in between. 
[I found that out the hard way.]
878  Using Arduino / General Electronics / Re: question about a schematic on: May 12, 2013, 03:08:23 pm
Get rid of the regulator.
Use the LED and the 3300Ω resistor - unless you need the 5V for something else.


879  Using Arduino / General Electronics / Re: question about a schematic on: May 12, 2013, 02:12:42 pm
.. but how can you run an LED from 18v? wouldn't it like.. blow up or something? that's a lot of voltage.

What - you were going with no resistor at all.

Here's how:
I'll assume this is a red LED and 5mA will do it.
So, it if you place a 3300Ω (1/4W) resistor in series with the LED then you can run it from 18V.
880  Using Arduino / Motors, Mechanics, and Power / Re: Wireing for Arduino/Relay Shield to control a cold cathode tube on: May 12, 2013, 01:54:42 pm
There is no 9V coming from the 9V terminal. I believe this is to input power, not get out.
Well, that's a big problem.
Is there a jumper on the board for that?  I don't see one.
seeedstudio documentation is the pits.

More nincompoopery from the seeedstudio wiki:
IO controlling 4 on-board relays
D0-D3 4pins could be connected directly with Arduino pin number of 7-4, so that four relays could be easily controlled by the Arduino.

Perplexing and infuriating - that's what makes it fun.

Set your DMM to ohms Ω.  Disconnect any jumpers, have the relay shield just as it is out of the box, but plugged into the Arduino running the test sketch (click, click, click).
With one probe to C and the other to NC or NO, the ohmmeter will indicate alternately "0.0" or high ohms "oL" when its relay goes on/off.
Try and find out what's going on that way.

> > >
9V DC power supply connection
The function of the Terminal and the Jack is the same since they are internally connected, and you can choose either of them in needs.


Oh, really?  Meaning what, exactly, I can only wonder.
881  Using Arduino / Motors, Mechanics, and Power / Re: Wireing for Arduino/Relay Shield to control a cold cathode tube on: May 12, 2013, 01:37:13 pm
Please don't make another youtube.

You are saying that with
1) the relay shield powered
2) the Arduino running a sketch that digitalWrites digital 4 HIGH/LOW
3) "9V" jumpered to Relay 1 COM
4) DMM red probe to NO1 and DMM black probe to GND
that there is no 9V on/off?

Is there 9V at the "9V" terminal (again one probe "9V" and the other at "Gnd")?

882  Using Arduino / Programming Questions / Re: Switching between 3 sections of code using rotary switch and digital inputs on: May 12, 2013, 01:30:07 pm
In Reply #31 I made a hotlink to the page on "Port Manipulation"
Sometimes people don't see those, so here it is as an address --
http://www.arduino.cc/en/Reference/PortManipulation

They mention PIND (PINC PINB) almost in passing.
I thought you said that you were getting good reads with PORTx and
I've only used PORTx for outputting with.
I kept reading and reading that and said to myself, "We've gotta go there."
883  Using Arduino / Motors, Mechanics, and Power / Re: Wireing for Arduino/Relay Shield to control a cold cathode tube on: May 12, 2013, 01:20:37 pm
You are using Relay #1 which is controlled, I believe, by Arduino digital pin 4.
Your sketch posted is using digital pin 7, which will click, I believe, Relay 4.

seeedstudio wiki --
Relays 1-4 can be activated by setting Arduino ports 4-7 to output, and doing a digitalWrite(portNumber,HIGH).
884  Using Arduino / Motors, Mechanics, and Power / Re: Wireing for Arduino/Relay Shield to control a cold cathode tube on: May 12, 2013, 01:05:06 pm
Set it to DCV.
If there's a range then set it as appropriate (20V, 30V, whatever it has.)
Disconnect everything but the white jumper.
With one probe to Gnd and the other to NO, when the relay is clicking (if the relay is clicking) the DMM will indicate its/voltage's presence/absence.
It will also be at NC, but opposite state from NO's.
885  Using Arduino / Motors, Mechanics, and Power / Re: Wireing for Arduino/Relay Shield to control a cold cathode tube on: May 12, 2013, 12:59:27 pm
Do you have a voltmeter?
Pages: 1 ... 57 58 [59] 60 61 ... 146