Show Posts
Pages: [1] 2 3 ... 36
1  Using Arduino / General Electronics / Re: Need a battery source on: Today at 06:51:28 pm
As long as you have a proper soldering iron (wide chisel tip - not conical!, 50 watts or more power)  - clean battery ends with sand paper, set soldering iron at 375 deg.C, tin wires and battery ends, solder together. takes a few seconds.

Battery ends up being lukewarm - not dangerous.

// Per.
2  Topics / Home Automation and Networked Objects / Re: Web controlled relays malfunction when carrying load on: April 14, 2014, 02:30:28 pm

As you can see, the center pin in one end of the relay is the "Hot" pin - it has almost no seperation from the low voltage parts!
http://www.smokeandwires.co.nz/469-thickbox_default/5v-relay-srd-05vdc-sl-c-10a.jpg

For starters, clean the board with mineral spirits (Husholdsningssprit) & an old toothbrush - clean both sides.

Now, connect the cleaned board up to power and Arduino, and place the relay-board on something insulating (a piece of paper etc.)
My best guess is that it works. Try it out and return with your findings.

Anyhow, those relay-boards looks dangerous, with that minimal spacing between "Hot" and lov voltage side.

// Per.
3  Using Arduino / General Electronics / Re: Need a battery source on: April 13, 2014, 11:16:37 am
Wow!  That is some IC package!

I would guess it's a pin header, 2mm pitch...

// Per.
4  Topics / Home Automation and Networked Objects / Re: Web controlled relays malfunction when carrying load on: April 13, 2014, 09:54:05 am
@Zapro - could you recommend a good 8-channel board? (On ebay?)

This one should be OK, haven't heard of any problems with that model:
https://elextra.dk/main.aspx?page=article&artno=H37526

Otherwise i have no personal experience.

// Per.
5  Topics / Home Automation and Networked Objects / Re: Web controlled relays malfunction when carrying load on: April 13, 2014, 09:13:37 am
Please take a look at this video, and watch the signal lights on the arduino:
https://www.dropbox.com/s/mu1ruhjkcernqj8/VID_20140413_144613.mp4

I am powering the arduino from a different outlet (7,5v) - I think its even on a different phase in the house. It shouldn't do that, should it?

I would suspect your relay boards. Can you remove one and photograph the board in detail - good sharp pictures of the top and underside of the board.

My best guess is your boards are manufactures wrong, and offer no real isolation.

// Per.
6  Using Arduino / Programming Questions / Re: Arduino bootloader killed atmega 328p on: April 12, 2014, 10:11:39 am
Great  smiley-razz

// Per.
7  Using Arduino / Programming Questions / Re: Arduino bootloader killed atmega 328p on: April 12, 2014, 03:34:56 am
Ok, I think I must to connect the 16MHz oscillator to my board in order to raise it from the dead. And then I will set the fuses for using 8 MHz internal oscillator such as I could remove 16 MHz oscillator, right?

If you want to use the internal oscillator, yes. In that case, set the board for a Lilypad, and "flash bootloader"  -then the fuses are set for 8 MHz internal osc.

// Per.
8  Using Arduino / Programming Questions / Re: Arduino bootloader killed atmega 328p on: April 12, 2014, 03:22:27 am
Thx, I found this tutorial http://arduino.cc/en/Tutorial/ArduinoToBreadboard about oscillator. But what if I'll try "Upload Programmer" button. What is this button for?

If the fuses is set for using an oscillator, and you as missing that, "upload using programmer" won't work.

// Per.
9  Using Arduino / Programming Questions / Re: Arduino bootloader killed atmega 328p on: April 11, 2014, 04:16:06 pm
A blank Atmega328 from the factory have the fuses set, so it usesthe internal 8 MHz oscillator. When you burn bootloader, the fuses are set for an external crystal/resonator. If this is not present, the chip is indeed "dead" and you cannot communicate with it. Fit a 16 MHz ceramic oscillator and you will be able to use it again.

// Per.
10  Topics / Home Automation and Networked Objects / Re: Web controlled relays malfunction when carrying load on: April 11, 2014, 04:03:01 pm
...so your advise is: buy a better relay board?

Only if the relay-boards is flawed. If they are not made like that, and dangerous, i thing the noise is entering by the air.

Also, try plugging the power supply for the Arduino in another outlet, or supply the Arduino with power from your USB-cable.

What voltage are you powering the Arduino with ? As far as i can see, the wall wart you use is a rather old un-regulated unit, and a spike on the mains line will be carried over to the Arduino easily. As you have wired it, a load on your relays will induce a power drop on the wires supplying the wall wart.

Some things to try out:

1. Set the power supply for 7,5V.
2. put a load on a relay, a lamp for example, turn the lamp off by it's switch. try turning on the relay - what happens ?
3. power the arduino from your USB cable plugged into the computer.

// Per.
11  Topics / Home Automation and Networked Objects / Re: Web controlled relays malfunction when carrying load on: April 11, 2014, 03:35:55 pm
You have a problem with some electrical noise in the system, induced by the Relay-board.

How does the underside of the relay-board look ? I have seen some relay-boards with insufficient insulation from the low-voltage to high-voltage side, making for dangerous situations and problems all together.

For example, look at this board - the one of the high-voltage pins is 2-3mm from the pin header to arduino - dangerously close!
http://www.dx.com/p/arduino-5v-relay-module-blue-black-121354#.U0hUTq2Szno

// Per.
12  General Category / General Discussion / Re: Buff potentiometer on a Arduino Pro Mini? (125k ohm 2w) on: April 10, 2014, 07:08:00 am
40ma/h

current flow is measured in mA (Amps is with big A).

mAh is current over time - when using a pot, you do not use the mAh-rating - it's meant for energy storage - like batteries.

// Per.
13  Using Arduino / Motors, Mechanics, and Power / Re: Micro servo 9 grams on: April 07, 2014, 07:22:33 pm
By using Ohms law.

Volts * Current = Watts.

// Per.
14  Using Arduino / Project Guidance / Re: Faulhaber Encoder Question on: April 03, 2014, 05:33:45 pm
Can someone post a sample code for a magnetic rotary encoder.

Would I place channel A & B into the digital, or analogue pins. and why are there two channels? don't you just need one? smiley-confuse

The outputs behave just exactly like an encoder knob. You connect these to any pins on the Arduino (except the pin0 and 1) and read them as digital pins.

http://playground.arduino.cc/Main/RotaryEncoders#.Uz3gIOeSwa4

// Per.
15  Using Arduino / Project Guidance / Re: Faulhaber Encoder Question on: April 03, 2014, 02:08:01 pm
Connect VDD and GND of the Encoder to the Arduino 5V and GND.

Connect ChannelA & ChannelB to two input pins on the arduino.

Try testing this with a sketch meant for an encoder knob. Simple.

Now, to control the motor with feedback from the encoder, you need to look into PID control, which isn't easy.

// Per.
Pages: [1] 2 3 ... 36