|
52
|
Using Arduino / Project Guidance / Re: controling in between 100 and 255 outputs
|
on: January 16, 2013, 02:19:54 pm
|
|
74hc595 for instance.
They are rather cheap.
Depending on what you are goint to control you might need other tuff as well. Like the Arduino pins you can't draw much current from the shift register pins. Shift registers with high current draw capability are available but they are much more expencieve. You should alo conider your power upply needs.
If you tell a little about what you are going to control we could probably give better advice :-)
|
|
|
|
|
57
|
Using Arduino / Project Guidance / Re: call function
|
on: January 07, 2013, 05:04:42 pm
|
|
Your loop() is alway running.
So if you call your function from within loop, program flow will always be returned to loop when you exit your function.
So you need to implement the logic to read the switch in your function and then exit the function when the switch is pressed.
|
|
|
|
|
58
|
Using Arduino / Project Guidance / Re: Reading data from an exercise bike
|
on: January 07, 2013, 04:52:53 pm
|
|
Do you have access to a volt meter, or even better an oscilloscope ?
It would be a good idea to measure what ever is on that jack before doing anything with it.
Measureing or "scoping" the ignal could also give you an idea about what the signal is (probably a series of pulses).
|
|
|
|
|
59
|
Using Arduino / Project Guidance / Re: call function
|
on: January 07, 2013, 04:48:30 pm
|
|
Using Goto is considered very poor programming practice. It makes it very difficult to read a program and to understand the structure of the program
You just call your function like this:
Delay_function();
When it is finished doing what it should, program flow will be returnd to where you called it from.
|
|
|
|
|
60
|
Using Arduino / Project Guidance / Re: 24 motor array
|
on: January 04, 2013, 05:30:53 pm
|
|
Do you really mean servos, they usually only rotate 180 degrees ? Do you need full rotation or just, less than 180 degrees back and forth movement?
H bridges are usually used for DC motors not for servos. If what you really need is DC motors you will need geared motors to get 1 RPS, an you will need one H bridge for each motor if you need individual control over speed and direction. Geared motors that go down to 1RPS = $$$
Do you need individual speed/direction control over the 24 motors?
Wireless control over what distance ?
When you say "waterproof it", will it be submerged?, because that will have an influence on wireless options.
Have you considered your powersupply needs?, if what you really need is DC motors, you are going to need a beefy powersupply to run 24 of them.
|
|
|
|
|