Show Posts
Pages: 1 ... 3 4 [5] 6 7 ... 19
61  Topics / Science and Measurement / Re: ArdMegaScope and automation platform on: February 15, 2014, 06:20:51 am
That's pretty cool.
Have you considered using a PC as a central control unit for all your farm tasks?. I'm sure with your expertise you can do it and you will have a much more powerful system. Just a suggestion.
62  Topics / Science and Measurement / Simple Gauges on: February 14, 2014, 11:03:56 pm
Hi all:
This is another version of Dial Gauges I have developed to be used in Arduino based Projects. This configuration allows for better screen optimization when combined with other virtual instruments. They are also more simple in appearance and operation. Indications are being driven by pots connected as voltage dividers to the Arduino A0-A5 analog inputs.

63  Community / Gigs and Collaborations / Re: Help in Pressure transducer coding... on: February 14, 2014, 10:16:37 pm
You may get better answers if the post is moved to Science and Measurements
64  Topics / Science and Measurement / Re: problems in data measurement on: February 14, 2014, 04:10:18 am
By the way, you should have continued with your previous posting
http://forum.arduino.cc/index.php?topic=215869.0 which I have not seen till now and not starting a new one.
65  Topics / Science and Measurement / Re: Solar Battery Charger/Tester Project (errors, plz help) on: February 13, 2014, 09:49:35 pm
Quote
There are two diodes coming off of the battery pack that come together into one wire that goes to the A0 pin of the Arduino.

If the battery pack voltage is higher than 5V that configuration will fry the Arduino. You need to use a voltage divider using 2 resistors; but you need to tell us what the batteries voltage is, so we can calculate the resistors. Please tell us what the nominal battery voltage is and how much you expect it to swing from discharged to fully charged. If you don't know then you can mention which batteries  you are using and they most likely will tell you here what are those. The diodes are probably not needed there. You may need a diode though to protect Arduino's input from voltages higher than its power supply; but we need to know first the batteries voltage.
66  Topics / Science and Measurement / Re: problems in data measurement on: February 13, 2014, 09:16:00 pm
What signal are you feeding to the coils? Arduino  may have problems reading the voltage levels from the coils without rectification and filtration if it is AC as I guess.
From your code the statement if(i==i) is always true
There are probably better ways to do it; but in the mean time this may help you. At least it compiles. This is from what I interpret from your question on how to drive the multiplexers.

Good luck,

Code:
//pins 10,11,12 for TX
//pins 7,8,9 for RX
int MaxCoils=8;
int YourReadPin=0;
int YourDelay=10;
int YourOtherDelayIfYouNeed=20;

void setup()
{
 for (int k=7;k<13;k++)
{
  pinMode(k,OUTPUT);
}
 Serial.begin(9600);
}

void loop()
{
for (int i=0;i<MaxCoils;i++)
{
WriteTXActivationCode(i);
for(int j=i+1;j<MaxCoils;j++)
{
 WriteRXActivationCode(j);
 int Val=analogRead(YourReadPin);
 Serial.println(Val);
}
delay(YourDelay);
}
delay(YourOtherDelayIfYouNeed);
}

void WriteTXActivationCode(int i)
{
  if(i<4)
  {
  digitalWrite(10,LOW);
  }
  else
  {
  digitalWrite(10,HIGH);
  }
 
  if(i==0|i==1|i==4|i==5)
  {
  digitalWrite(11,LOW);
  }
  else
  {
  digitalWrite(11,HIGH);   
  }
 
  if(i=0|i==2|i==4|i==6)
  {
  digitalWrite(12,LOW);
  }
  else
  {
  digitalWrite(12,HIGH);
  }   
}

void WriteRXActivationCode(int j)
{
   if(j<4)
  {
  digitalWrite(7,LOW);
  }
  else
  {
  digitalWrite(7,HIGH);
  }
 
  if(j==1|j==4|j==5)
  {
  digitalWrite(8,LOW);
  }
  else
  {
  digitalWrite(8,HIGH);   
  }
 
  if(j==2|j==4|j==6)
  {
  digitalWrite(9,LOW);
  }
  else
  {
  digitalWrite(9,HIGH);
  }   
}
67  International / Proyectos / Re: Compas Circular vs Lineal (Arduino+Processing) on: December 14, 2013, 08:13:55 pm
Hola:
Aqui esta el codigo del Compass Circular.
Gracias.
Encontre un pequeno problema con la function map() ya que esta es una rotacion complete de 360 grados y tengo que chequear otra vez.
68  Topics / Science and Measurement / Re: Circular vs. Linear Compass on: December 14, 2013, 08:03:16 pm
Hi:
Thanks for you comment. Sorry it took me a few days to answer; but I have been very busy and had no chance to clean up the code before posting it.
Well, I made another video with the code for the circular compass which is the most difficult one. In reality, this code is the base for many other circular indicators I have built so far, like Gauges and Galvanometers. I used two different methods to achieve rotation to show them as examples of how it can be done, using both, low level instructions and high level ones like rotate() and translate(), which I think are unique of Processing.
Hope you enjoy it and find it useful. The code is there.
Thanks.
I spotted a little problem with the mapping function since this is a complete  360 deg rotation and  I have to double check. I have to try and see how it works with an infinite rotation variable.
69  International / Proyectos / Re: Medidor de energia on: December 12, 2013, 12:16:21 pm
Hola:

Mi impresion es que necesitas calcular el THD (Total Harmonic Distortion). Yo estuve haciendo algo parecido; pero lo deje ahi porque no quiero lidiar con la la construccion del hardware necesario.



Tambien hice una pregunta sobre el THD en el forum y aqui esta lo que se hablo:

http://forum.arduino.cc/index.php?topic=173534.msg1288867#msg1288867

Espero te ayude con tu proyecto.

Suerte.
70  Topics / Science and Measurement / Re: Open Source Underwater Metal Detector Kit on: December 10, 2013, 11:46:57 am
Quote
Its also susceptible to 60Hz noise, which is a problem that needs solving

There is probably not too much 60Hz EMI offshore at the bottom of the sea where you intend to use the device.
71  Topics / Science and Measurement / Circular vs. Linear Compass on: December 08, 2013, 07:34:27 pm
Hi:
These are 2 different types of compasses built with Processing to be used with Arduino.
Thanks.

https://www.youtube.com/watch?v=XPTboqggOdw
72  International / Proyectos / Compas Circular vs Lineal (Arduino+Processing) on: December 06, 2013, 12:12:57 pm
Hola:

Estos son 2 tipos de compases, construidos con Processing para ser utilizados en Projectos basados en Arduino.

Gracias.

73  International / Proyectos / Generador de SOS en codigo Morse on: November 15, 2013, 07:00:00 am
Hola:

Esto es algo extremadamente sencillo que siempre quise hacer. Habia hecho una version hace mas de 10 anos utilizando el NE555, una CD4017 y un monton de transistores, diodos, etc. El circuito era  bastante complicado. Con las posibilidades de Arduino quise implementarlo para comparar. Por otra parte, queria hacer un proyecto bien sencillo que casi no requiriera hardware adicional y que sirviera de motivacion e instruccion a los que comienzan. Yo conecte un buzzer al pin 13 para escuchar la senal; pero para probarlo se puede solo observar el LED del pin 13 sin necesidad de utilizar nada mas. La senal de SOS contribuyo a salvar muchisimas vidas y aunque ya es obsoleta desde hace muchos anos en navegacion real, para mi aun resulta interesante. La tecnologia actual ha desplazado el SOS en codigo Morse como senal de auxilio y probablemente si alguien la usa nadie lo escuchara, asi es que esto es solo instructivo.

El codigo esta en el video.

74  Topics / Science and Measurement / Re: Can you get better than 10 bit A to D resolution from the Arduino platform. on: November 14, 2013, 04:52:28 pm
Quote
The C++ program would also control the furnace temp. by sending on\ off signals back to the Arduino, which would then switch power on and off to the furnace using an SCR

I would leave that function to Arduino instead of the computer. It will be easier, I guess.
75  International / Proyectos / Re: Proyecto Panel de bombillas on: November 13, 2013, 07:24:49 am
Quote
Ahora nuestra duda es saber cuántos shift registers podemos encadenar sin que haya nuevos problemas de potencia. Sería factible conectar varias cadenas de shift registers a varias salidas del arduino y conectar entre todos ellos la señal de reloj y la de latch?

Los detalles no los conozco, pues hay que realizer algunos calculos que aunque muy sencillos requieren tiempo y eso es lo siempre escasea.. smiley-cry

En general, aunque podria haber mas a considerer, el metodo para encontrar respuesta a tu pregunta es el siguiente :
-Buscas la corriente que toman los dispositivos que quieres conectar a la salida de otro. Es decir, que carga representan en cuanto a corriente.
-Averiguas si el dispositivo que deseas conectar, que en tu caso es digital, es compatible en tecnologia con el que lo conectaras, es decir, si ambos on TTL o CMOS o ECL o cualquier otra. Si las tecnologias son compatibles puedes proseguir.
-Garantizas que ambos dispositivos tengan el mismo voltage de alimentacion o el que corresponda a tu aplicacion de forma tal que ello no afecte la compatibilidad de ambos.
-Averiguas cual es la corriente maxima que puede entregar el dispositivo que envia la senal. (fan out).
-Colocas solo una cantidad de dispositivos que demanden menos corriente que el maximo "fan out" del que entrega la senal.
-Si requires mas corriente, entonces tratas de utilizar buffers que suministren mas corriente. Hay buffers inversores y no inversores.
-Garantizas que los dispositivos que conectas no introduzcan demoras que afecten el tiempo de propagacion de la senal de forma inaceptable hasta el final de la cadena donde se realiza el trabajo. En tu caso, esto no debe ser un problema pues para la visualizacion, los tiempos de propagacion deben estar al menos en el orden de los milisegundos que el orden  de tiempo de las percepciones humanas y cualquier dispositivo digital actual solo introduce demoras del orden de los nanosegundos. Sin embargo, el tiempo de conmutacion de los reles si puede representar un problema apreciable a la vista en la visualizacion de tus imagines. En general, estos son lentos y ruidosos como planteas.
Pages: 1 ... 3 4 [5] 6 7 ... 19