Show Posts
Pages: 1 2 [3] 4 5 ... 15
31  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)
32  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
33  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 ?.

34  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.
35  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 ?
36  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.
37  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.
38  Using Arduino / Programming Questions / uarts buffers on the arduino mega on: December 05, 2012, 06:13:26 pm
Hi friends,

I was reading about the arduino mega, and learned it has 3 additional  USB ports, or uart connections through specific pins.
I am wondering about this because i have need for a micro controller to control 4 USB devices
Well my 4 questions are

1) Does each USB port has its own buffer.
    So that if two devices are simultaneously writing data, they each store it in their buffer until I read it out

2) Can there be multiple USB device configurations like 3 reading data 1 for writing data, or is there some limit here ?.

3) i was also thinking is it possible to use an external USB hub to extend the number of USB ports ? > and if so how to address them?

4) if i add an ethernet shield wil this cost me a USB port ?

39  Development / Other Software Development / Mariamole an improved Editor for arduino on: November 30, 2012, 01:49:54 pm
Alex Dalpix made something that might interest you  >>
40  Using Arduino / Programming Questions / Might an arduino-ethernet be able to talk with a S7-1200 plc with profinet on: October 24, 2012, 05:50:36 pm
Well i'm in a war of protocols it seams smiley
Device X wont talk to device Y
where X is Linux ubuntu and Y is a Siemens s7-1200.

Now it seams rather complex but as this is "THE" forum for people who create microcontroller stuff.. and turn around every byte we see.
I was thinking maybe.. well just maybe connect an arduino through usb with an ethernet shield to the linux so it be able to send a few bytes.
Perhaps someone here allready tried it, and wrote a Arduino lib ?
41  Using Arduino / General Electronics / screen (LCD?) counter interface on: October 10, 2012, 04:40:20 pm
I'm not deeply into hardware, and so i wonder can someone recommend a simple cheap LCD like output to connect to a Arduino
I have a fast counter that i would like to keep track of so the numbers will be high
Multi lines would be nice too maybe, like 2 or 4 lines but mainly 1 line should be enough, i'm thinking of at least 8 digits, more is oké too
Not sure yet if it should also be able to display letters but it might be handy too

(I dont want to use USB out to computer screen)
42  Using Arduino / Microcontrollers / freesoc new arduino type board on: October 07, 2012, 02:34:19 pm

well just to inform you
43  Using Arduino / Microcontrollers / Re: Arduino IDE for Android on: October 07, 2012, 05:09:33 am
no there isnt just go to the app store / google-play its called these days and see what is available for arduino ( type arduino there).

I think there is some emulation software in windows, but for the price you might buy some real arduino's instead.
44  Using Arduino / Programming Questions / Re: Analog to digital pin on: October 03, 2012, 05:27:02 pm
just as you would configure a normal pin for digital input or output in the setup part..
45  Using Arduino / Programming Questions / Re: Help on reading serial data on: October 03, 2012, 05:06:11 pm
oh sorry its a future of the CMUcam to detect color blobs, i didnt knew that.
sounds interesting dough
Pages: 1 2 [3] 4 5 ... 15