Show Posts
Pages: 1 [2] 3 4 ... 15
16  Using Arduino / Programming Questions / who does recognize this shield ? on: February 27, 2013, 01:42:07 pm
Anyone recognizing this relay shield ?
I would d love to get a manual for it somewhere
Where i got it from (DFrobot) is not providing me a manual
I suppose it might be s simple copycat of another vendor.
 smiley-confuse


The point is it has some dip-switches 6 or so and an additional switch on top.
17  Using Arduino / General Electronics / Re: manual and smaple code for DFRobotics relay shield 2.1 on: February 26, 2013, 05:21:17 pm
Thanks handy for the abbreviations written on the board.
But the point is the 2.1 board has some switches, and i like to know their function too.

I asume this board might use some other protocol to switch and those switches might set ID's or something like that.
18  Using Arduino / General Electronics / manual and smaple code for DFRobotics relay shield 2.1 on: February 26, 2013, 02:34:56 pm

I asked a friend of me to (help him) to buy a plain 8 port relay for his arduino project.
To my surprise he came  back with 2 Arduino compatible shields from DFRobot both are 4 ports. (2 times 4 makes 8 too)
One is the 1.2 version and the other is the 2.1 version.

The 2.1 version is a mystery for me,
Even Google image search doesn't know of its assistance.
I couldn't find any documentation on their site about this product, but based on their forum some people use it too.
So i was hoping maybe someone knows where the manual can be downloaded, and the sample code.

Another thing i note these boards have a power connector, that surprises me a little as a relay board shouldn't use that much power wouldn't an Arduino Uno be enough to power them ?, or is it common that shield boards have a power connector, i never before had the luxury of a real arduino compatible shield.. so i wonder why this is  (they didn't put 2 extra DC adapters in.. so i doubt its required).

PS (i asked this question on their site too, but out of experience i know the most advanced arduino engineers are on this site, i think i will have better luck here)
19  Using Arduino / General Electronics / Arduino + 12v signal electronics on: February 22, 2013, 04:51:18 pm
Hello

A lot of industrial communication is done using 12v instead of 5v, not sure why but it is that way.
From what i have heard very little amps but 12v, as a power for signal only .

I was thinking i need to interface a machine that uses 12v; in its bus it also provides +12v and ground, if i connect other pins to this 12v it performs some actions.
One way of doing this would be using relays, i think their safe to use and prevent wrong currents into the arduino.

Might it also be possible to connect the ground of the bus to the arduino ground; and use transistor ( or mosfet? ) so that an arduino pin out triggers the fet with 5v (well perhaps put a resistor for less there) and then the transistor would connect my device bus ?  (perhaps put in a diode too, to prevent against wrong currents.  (what kind of transistor / mosfet should i use?)
20  Using Arduino / Programming Questions / Re: How to do exact time blinking for a Led on: February 05, 2013, 06:21:27 pm
Ehm why 1/200   1/250 ?
Wouldnt it be roling shutters on a usb webcam ?
21  Using Arduino / Programming Questions / Re: How to do exact time blinking for a Led on: February 05, 2013, 02:16:58 pm
Dough you gave an interesting answer, since i didn't knew how usb camera's get triggered.

I wanted to make a long movie using a strobe scope but was worried that the strobe scope might get out of sync.   (and so i wanted to test it how precise its timing was)
22  Using Arduino / Programming Questions / How to do exact time blinking for a Led on: February 05, 2013, 01:46:56 pm
Well i would like to check the frequency of my camera, to checkout if it really does 30fps  or 29.5 fps  or 32fpsb...  etc
While thinking about this, it isnt difficult for me to blink a led, but how would one do accurate timing?
Since each instruction also does cost time
23  Using Arduino / Project Guidance / Re: Which arduino mega ? on: January 18, 2013, 07:29:10 pm
Well actually i have been thinking seriously about the shift registers board too, and a lot of thanks for that !.

Though i think programmable boards might allow me to add some more fun, extra tricks
Also i know how to program them so it would speedup building and i might have good use for them after this is over.
I can use 1 smaller arduino board to drive 2 mega versions it would be under 130 euro total.
Excluded other electronics

If it where a permanent thing i would have gone for your version.
24  Using Arduino / Project Guidance / Which arduino mega ? on: January 18, 2013, 05:42:53 pm
never used a mega before, and so i notice there are two versions
I like to use the normal arduino IDE to program it in c++
As i understand it the adk version is for android devices (which seams cool too) however would it still be programmable by the normal IDE ?
AND this is important to me wont i loose pins because of its extra functionality, as i am planning to control 50 I/O ports with it

(if you've seen my prev post i'm thinking of using 3 of these resulting in 150 I/O pins)
25  Using Arduino / Project Guidance / Re: controling in between 100 and 255 outputs on: January 17, 2013, 02:15:55 pm
I am completely new to chip connections how many devices can be connected using ISP and a arduino as a Master ?


Hmm I might favour Arduino slaves, since i have some experience with programming them, and it would require less soldering for me.
Or hmm i make it a soldering project.. smiley
26  Using Arduino / Project Guidance / Re: controling in between 100 and 255 outputs on: January 16, 2013, 05:48:53 pm
just reading an Arduino Mega has 54 pins.. so 3 or 4 of them might do the trick too.


I wonder if i would use SPI and send data to control this all what would be the shortest time to send such control information ?.

27  Using Arduino / Project Guidance / Re: controling in between 100 and 255 outputs on: January 16, 2013, 05:16:47 pm
I think the code to control it would be something like sending the delay time to one of the 100 ~ 255 pins in  ms
Then based on the signal a mosfet will control a larger current.

How does it go with SPI, i've read a bit about it but its a bit unclear, i understand from it that its slightly different then the shift register method.
If i am right, then SPI is a kind of cable on which multiple (arduino?) devices can connect and each get a number.
So then to send a signal the signal should address the number of the connected arduino, and then send an instruction to it ?.
Does one need to invent a protocol or handshake for that to define how much data in which direction you need to send?

Also since i need many outputs here, to save cost, could it be like having a normal duemilanove as a Master, with lots of cheaper Tiny arduino models like SPI slaves ?.

hmm or perhaps.. (thinking) 1 arduino master controling 15 arduino boards through SPI, and then have 10 boards with each 14 pins minus the one used for SPI  ~ i guess 3?  makes 15 * 11 = 165 pins..

.. i am not sure about my budget, i assume i would be able to program the arduino dough thats a big plus
.. however these other two solutions might be cheaper
    (that extension board and using 2 arduino's) gives 128 pins.. maybe using an usb hub i can add 3 arduino's to a PC
   The shift register solution.. i dont know i think it is the cheapest ? , but also require more electronics knowledge perhaps.
28  Using Arduino / Project Guidance / Re: controling in between 100 and 255 outputs on: January 16, 2013, 02:10:30 pm
Interesting do you know what kind of shift registors (i never used them).. can be used, or know of a some sample with an arduino ?
29  Using Arduino / Project Guidance / controling in between 100 and 255 outputs on: January 16, 2013, 01:57:36 pm
Ok i have need to control hundred or more digital outputs in a timed sense. (Art project)

I am not sure what kind of micro controller could do that, or if it should be a combination of multiple micro-controllers.
What i do know that each output would need to be controlled individual with some delay, but this delay will also rapidly change and be different for each output.
Overall it needs to work pretty fast too, like a blink of an eye

I am thinking of setting it all maybe let an arduino output some binary bits, but the arduino doesnt have enough pins.
Any ideas would be welcome on how to do this.
30  Using Arduino / Programming Questions / Re: Finite State Machine Using Switch Statement. on: December 15, 2012, 04:51:57 am
if(state=="try"){ //do actions here }
if(state=="it"){ //  ....}


basically it be done like that.
Pages: 1 [2] 3 4 ... 15