Show Posts
Pages: [1] 2 3 ... 6
1  Using Arduino / General Electronics / Re: on/off switches in resistor voltage divider on: July 04, 2014, 08:51:53 am
I have two pieces of 10 kOhm , shall I have 18 or 22 kOhm pull-down ?
Now I trying just one rotary encoder to practice, and additional one more to practice with two analog inputs. It is just for practice test.
2  Using Arduino / Interfacing w/ Software on the Computer / Re: X-Plane SDK with Arduino Card on: June 28, 2014, 08:39:22 pm
See this http://caffeinatedaviator.com/2012/04/arduino-project-for-x-plane-10/ Arduino project for X-Plane 10, as you see, you have right that I need to program in arduino 256KB to let X-Plane SDK detect pins, right ?
3  Using Arduino / Interfacing w/ Software on the Computer / Re: X-Plane SDK with Arduino Card on: June 28, 2014, 11:31:53 am
Thus 256 KB is not a lot to put in for 52 pins.
4  Using Arduino / Interfacing w/ Software on the Computer / X-Plane SDK with Arduino Card on: June 28, 2014, 10:18:15 am
Hi.
If I have an ethernet shield version to interface with X-Plane 10 SDK, is that enough to use UDP to send message to each pin so I do not need to programming any function in Arduino card but just let X-Plane 10 SDK send message directly to each pin ?
5  Using Arduino / Networking, Protocols, and Devices / X-Plane 10 SDK plugin direct to Arduino pins ? on: June 27, 2014, 07:13:34 pm
Is that possible to programming plugin in X-Plane 10 direct to Arduino pins through ethernet without need to programming something to Arduino ?
6  Using Arduino / General Electronics / Re: on/off switches in resistor voltage divider on: June 26, 2014, 10:08:36 am
Don't forget adressing size, instruction, memory space, etc.

A 8-bit microcontroller is enough to run some stepper motor at each. For example 3-bit is for instruction and such, 2-bit for pins to the stepper motor, 2-bit for stop the instruction set, and one additional bit for example with toggle switch. That should be enough with one 8-bit microcontroller for 6-8 stepper motors. Thus, I need 10 microcontrollers, which should support ethernet to share with ONE ethernet port in the main computer, to make it easier than USB and other options.

Or another solution is to have a lot of microcontrollers with ethernet support through switch to share with one computer?
7  Using Arduino / General Electronics / Re: on/off switches in resistor voltage divider on: June 26, 2014, 09:46:56 am
I think that I2C bus that run less than 100 kHz is too slow for the task I am find a solution for.
8  Using Arduino / General Electronics / Re: on/off switches in resistor voltage divider on: June 26, 2014, 08:38:50 am
Let us say that I need a computer, how to connect stepper motors and such to a standard Intel i5-3470 with geForce GTX 770 computer ?
Or I can buy something microprocessor with 1-2 GHz and connect it with USB or ethernet from Digikey.Com. Should it be enough ?
9  Using Arduino / General Electronics / Re: on/off switches in resistor voltage divider on: June 26, 2014, 07:55:51 am
4 pins for a steppermotor?
Do you not use a steppermotor driver circuit, a driver needs only direktion and step.

Can anybody calculate if program memory are big enought to handle all this information?

Pelle
What does one driver circuit costs ? Then multiply it with 75
https://www.sparkfun.com/products/9670
35*75=2625 dollar multiply with 6 to get norwegian kroner. It is roughly 16000 kr. That's why I prefer standard pins to save money.
The big question is how to get a microcontroller that is quickly enough to drive many switches, stepper motors, led lights, rotary encoders ? Or I can have 10 pieces of microcontroller with connect 10 pieces of USB. What do you thinking ?
How much is 20 MHz able to do ?
10  Using Arduino / General Electronics / Re: on/off switches in resistor voltage divider on: June 26, 2014, 06:38:23 am
It is fine if I just storing toggle switches that need update roughly each 1/30 second.
But I shall have stepper motor too. Each 0.9 angle stepper motor needs 4 pins each.
I have counted how many stepper motor I need, it is between 70 and 80 which is output. And, roughly 125 switches with lamp which is input. Surely, I will draw a lot of wiring, but in the first initially navigation panel.
11  Using Arduino / General Electronics / Re: on/off switches in resistor voltage divider on: June 25, 2014, 08:55:57 pm
Leave the analog thinking, it do not save pins.
Leave the analog thinking, it's not so safe depending on tolerances of resistors and the voltage to the switches, and temerature and so on.

Pelle
Hmm... Understanding that it do not save pins.
So, where to find a microcontroller or microprocessor that has a lot of pins ?
12  Using Arduino / General Electronics / Re: on/off switches in resistor voltage divider on: June 23, 2014, 03:38:26 pm
I thinking this:
Switch #1 1
Switch #2 2
Switch #3 4
Switch #4 8
Switch #5 13
Switch #6 29
So, the Arduino card can detect which switches are activated, for example #1 to #5 give me 28 as a value which the Arduino card can read.
#1 to #6 is 57 as the value if I activated all together. If #2 and #5 and #6 are activated, I get 44 as one value to the Arduino card.

I am doing this to save pins. If I am using each pins; that would be need maybe 400 pins, so I am using maybe 30 pins.

So, which resistors do I need ?


I don't understand why your last 2 values are 13 and 29. I would have expected 16 and 32.

What you're talking about is an R-2R ladder. Each switch will have a power of 2 value.

Just use values like 1K, 2K, 4K, 8K, 16K, etc..., all pulling down on a current source.
So I still need two toggle switches for each pin?
13  Using Arduino / General Electronics / Re: on/off switches in resistor voltage divider on: June 22, 2014, 04:45:23 pm
I am thinking to make 1.8v, 3.3v, 5v, 7v, 12v, to make the program detect which voltage and  two toggle switch each volt, so I make just one pin to the arduino card instead one volt and many pins.
14  Using Arduino / General Electronics / Re: on/off switches in resistor voltage divider on: June 22, 2014, 04:34:18 pm
I said that... building an Il-62 home cockpit... So you should get a idea what I am trying to do.
Well... building a power station full of toggle switches that detect which instrument is activated or deactived. It is because if something fail in flight, I need to deactivate the instrument in flight, or in practice situation. For example, if I need to landing this airplane immediately, I need to activate some fuel tanks to simulate fuel dump. So, I want to detect which toggle switch, 10 might are used for fuel dump, are activated using only 1 pin.
15  Using Arduino / General Electronics / Re: on/off switches in resistor voltage divider on: June 22, 2014, 12:20:30 pm
Hi, its as though the OP is trying to build not a simulator but a complete Ilyushin-Il in his bedroom.

Even in real life they must have been a nightmare to wire up.

Tom....... smiley
Correct.
I see the easiest solution to use just two switch toggle for each analog pin.

To Torvaldsjoy:
It is a good idea!!! I will trying that.
Pages: [1] 2 3 ... 6