Show Posts
Pages: 1 ... 147 148 [149] 150 151 ... 158
2221  Forum 2005-2010 (read only) / Frequently-Asked Questions / Re: Possible with Arduino? on: March 17, 2008, 05:30:23 am
I think controllibg 18 servos directly with Arduino would be quite a task. You can get some l controller borads that can be serially controlled from Arduino and they can con trol some servos. Thats probably the easiest way to do it.

Check this (others exist as well) http://www.pololu.com/catalog/product/727
2222  Forum 2005-2010 (read only) / Frequently-Asked Questions / Re: library function for counter module on: April 24, 2008, 02:41:07 am
I think you need to give us a little mor informartion about what you need.

From your post it is very difficult to giove you any help / advice
2223  Forum 2005-2010 (read only) / Frequently-Asked Questions / Re: Arduino with Ethernet ? on: March 28, 2008, 03:59:03 am
You use USB ports to connect Arduino to the PC.
Then on the PC a VIRTUAL serial port is established for each Arduinio bord connected to the PC.
So you do not need a PHYSICAL serial port for each Arduino board, just a USB port.

I don't know how many Arduinos you can connect via USB. I have only tried two at the same time.

You can connect the Arduino to a Ethernet device with something like Lady Ada's Ethermet shield for Arduino :  http://www.adafruit.com/index.php?main_page=product_info&cPath=17_21&products_id=83&zenid=17d891c69840ba3c0791af1a91a37f30

But the shield and the Xport module would cost more than 40$ for each Arduino board

There are other Ethernet to Serial modules available as well
2224  Forum 2005-2010 (read only) / Frequently-Asked Questions / Re: Reading Mux Analogue Inputs on: April 24, 2008, 02:24:52 am
I made a system wiyh 16 slidepots using two 4051 analog mux IC's.

I can read them very fast with the full 10 bit precision supported by the Arduino ADC, without changing any prescalar values or anything else.

You can find the design, including (primitive) PCB layout and Arduino code here:

http://mikmo.dk/misc/arduinomux.zip
2225  Forum 2005-2010 (read only) / Frequently-Asked Questions / Re: starting with arduino ! on: April 20, 2008, 05:26:18 am
You shoud spend some time getting used to writing Arduino code to interface with the sensors you need.

This will make it easier to get the right data in the right format back to PD or MAX.

Theres so much Arduino code available here and in other places, that i guarantee that you will almost always be able to find either what you need, or some code you can use as a starting point for your own code writing.

Also never be afraid to ask questions here. I have seen very few questions that have not been answered in a constructive manner in this forum. The collective electronics and coding knowledge in here is rather amazing :-)

Almost no matter what your project is, someone has done something similar enough to help you get started.
2226  Forum 2005-2010 (read only) / Frequently-Asked Questions / Re: starting with arduino ! on: April 15, 2008, 03:39:27 pm
You can use PD (Pure Data) in stead of MAX

http://puredata.info/

It's an open source alternative to MAX developed by one of the original MAX developers.
It's not as advanced as MAX, but it's constantly being improved. I don't have much experince with it myself, but i know quite a few people who do and i Think the consensus is that it is easy to use and quite capable.

It's available for Windows, MAC, and serveral Linux variants including Ubuntu.
2227  Forum 2005-2010 (read only) / Frequently-Asked Questions / Re: Motor control on: April 18, 2008, 05:03:32 am
The method expalined here has worked great for me :

http://www.tigoe.net/pcomp/code/category/code/picbasic-pro/62

It's just at transistor and a diode and a resistor.

You should be very careful with running motors directly fom Arduno pins, all but the smallest motors can easily draw a lot more current than the 40 mA an Arduino pin can supply. And even if a motor is rated at XX mA it will draw a lot more just when starting up.
2228  Forum 2005-2010 (read only) / Frequently-Asked Questions / Re: Timer Trap on: March 20, 2008, 07:36:01 pm
Infrared LED's do not like sunlight.

My idea would be a cheap laserpointer hitting a LDR in a tube to shield it from ambient light.
Then use an analog pin to detect major change in light hitting the LDR when the beam is interrupted.

One problem is that it requires parts on both sides of the "track" and that the laser and LDR need to be aligned precisely.
2229  Forum 2005-2010 (read only) / Frequently-Asked Questions / Re: newbie: piezo vibration sensor on: April 08, 2008, 04:52:30 am
It would probably work, but you would have to touch or hit the piezo directly.

One problem is that the Piezo is quite fraigle, and without the stiff backing it can easily break.
2230  Forum 2005-2010 (read only) / Frequently-Asked Questions / Re: Interested in a project (Midi from an electric on: March 17, 2008, 05:39:14 am
you can use an ordinary cheap meter to meassure the voltage across the two terminals in the headphone jack. If it's only "on" for a very short time it can be hard to get a good reading.

I would say that it is very likely that this signal could be read with one of the Analog pins on an Arduino board.
If the voltage is over 5V it will have to be scaled down, but thats not too difficult.
2231  Forum 2005-2010 (read only) / Frequently-Asked Questions / Re: Interested in a project (Midi from an electric on: March 05, 2008, 02:42:16 am
I'm not sure i understand your question fully. So let's see.

You have a device that somehow sends out "a electric signal" this signal you want to convert to MIDI data and send to a computer.

If this is right, the first thing to find out is the nature of the electric signal coming from the device.

Is it a voltage ? is it constant ? is it a waveform ? or maybe a pluse train ?
Which changes in the signal do you want to map to changing MIDI which parametres ?

Reading a voltage, and interpretating it and sending out MIDI data is all something you can do with Arduino. You just have to know something aboyt the signal you are trying to "read"
2232  Forum 2005-2010 (read only) / Frequently-Asked Questions / Re: Getting a 5V supply from the board? on: April 08, 2008, 04:56:23 am
Yep, or trying to meassure Amps or m Amps with a meter with a blown fuse as i did recently.

Took me quite a while to figure out why my meter was not showing any current in spite of the fact that 3 ultra bright LED's was shining happily  :-)
2233  Forum 2005-2010 (read only) / Frequently-Asked Questions / Re: Motor shield info on: April 06, 2008, 05:26:03 am
If you mean : is it possible to control a motor from an Arduino board and power the motor from a seperate powersupply, then the answer is yes. Actually with most motors this is required since the Arduini board can only source a very limited amount of current. Muc less than most motors will need.

Check this example : http://www.tigoe.net/pcomp/code/category/code/picbasic-pro/62

Its not Arduino but the setup is exactly the same for Arduino use.
2234  Forum 2005-2010 (read only) / Frequently-Asked Questions / Re: Controlling sounds volume on: March 16, 2008, 08:16:18 am
You can only draw very little current from the parallelport. I build a kit once that had tha datapins of the par. port connected to 100R resistors which connected to optocouplers and then to a 2003 darlington array which in turn controls realys. This was designed to work with the parallelport. This way the optocouplers protect the par. port by isolating it from the rest of the circuit.

2235  Forum 2005-2010 (read only) / Frequently-Asked Questions / Re: distributed processing with multiple arduinos? on: March 28, 2008, 04:11:41 am
Are the Arduino boards only generating MIDI data ?  or are they recieving MIDI data as well ?

Merging two MIDI streams is not trivial, and requires a lot of understanding of the finer details of the MIDI protocol.

If your Arduino boards are only generating MIDI, then i believe a commercial MIDI merger would be the the best solution to merge the two (or more) streams of MIDI data coming from the Arduino boards.

MikMo
http.//www.mikmo.dk
Pages: 1 ... 147 148 [149] 150 151 ... 158