| Arduino Forum ::  Members :: volkan163
 Show Posts Pages: [1]
 1 Using Arduino / Sensors / Using a Wifi-shield with 3x 5V and 1 x 3.3V sensor and a 6x AA 1.5V battery hold on: July 29, 2014, 10:27:11 am Hello guys, how do you calculate the battery time for these components.The wifi shield 5V3X SENSORS 5V each1x sensor 3.3VIm using 6x 1.5 AA  JTS Battery holder?How long will it last ? Im going to use these sensors on a washing machine ??
 2 Using Arduino / Sensors / Re: Multiple Sensor with AREF problem affecting other sensors on: May 14, 2014, 10:55:09 am Ok , thx for the help bro !
 3 Using Arduino / Sensors / Re: Multiple Sensor with AREF problem affecting other sensors on: May 14, 2014, 04:49:09 am Ah ok, is there any way to scale it right without using aref? Because its hard to scale if you dont know what the ZeroG are in analog values. For example with 5 volt i know that its scaled as 1023, and half of that value.. meaning 512(the analog value) is when we are at  ZeroG. But when i stop using AREF, the values vary alot and i cannot see the  Zero_G because i dont know the maximum analog value for 3.3 Volt.here is the datasheet:http://www.analog.com/static/imported-files/data_sheets/ADXL335.pdfI am new to this and hope i have mentioned my problem in a clear way,I want to get the right Scale and Zero_G, for 3.3v without using aref, cause this pin has caused me much problem..Regards,Volkan Coskun
 4 Using Arduino / Sensors / Re: Multiple Sensor with AREF problem affecting other sensors on: May 13, 2014, 05:51:28 pm How do you exactly mean with scale should i attach the 3.3V to the 5V pin on the accelerometer with the aref ?here is the code i use for teh accelerometer.  Code:Buffra_data_ACC_XYZ(SampleVector,Buffer_XYZ); // sample ten values  for( int i = 0; i < 3; i++){  Sortera_Data(SampleVector,Buffer_XYZ[i]); // sorts the value  Medelvarde_Accelerometer[i] = MedelVarde(float(SampleVector),Buffer_XYZ[i]);  // gets the mean value  }  float Zero_G = 512.0;  float scale = 102.3; // när det ändras så mycket blir det G  Acc_X = (Medelvarde_Accelerometer[0] - Zero_G)/scale;  Acc_Y = (Medelvarde_Accelerometer[1] - Zero_G)/scale;  Acc_Z = (Medelvarde_Accelerometer[2] - Zero_G)/scale;
 5 Using Arduino / Sensors / Re: Multiple Sensor with AREF problem affecting other sensors on: May 13, 2014, 03:52:18 pm Thx , man i will look it up
 6 Using Arduino / Sensors / Multiple Sensor with AREF problem affecting other sensors on: May 13, 2014, 08:32:36 am Hello!I use 4 sensors were i read analog data and the problem I encountered is that the AnalogReference affect all my sensor, I just wanna use it for one which is the accelerometer i have, the others are fine. Is there a way to use the AREF pin on one sensor without affecting other sensor values.Sensors I use:pH- Sensor 5vAccelerometer 3.3V(use AREF) <-------- affects the other sensors, and gives corrupted values?SoundSensor (5V)Temperature sensor (5v)
 7 Using Arduino / Sensors / Re: Measuring vibration on a washing machine with an accelerometer on: May 05, 2014, 04:51:27 am Hmm, could you provide a link or something ? I would be very grateful..Regards,John Schaizar
 8 Using Arduino / Sensors / Re: Measuring vibration on a washing machine with an accelerometer on: May 04, 2014, 04:08:09 pm Ah ok.. I was also wondering if i could take raw input data from the analog accelerometer and save the inputs , and write a fft code for matlab or something similiar to that..
 9 Using Arduino / Sensors / Measuring vibration on a washing machine with an accelerometer on: May 04, 2014, 01:30:07 pm Hello guys!I can measure vibration on my washing machine and can easily get raw data from the accelerometer. My problem here is that , i want to use a freq/amp spectrum , but dont know how to start.The frequency and the amplitude of the vibration can give me more information which can be used to analyze  the data.Is there any way i can save all my raw data, and do a frequency spectrum ? If so , how do you do it ? Do i need Matlab or simulink to get these frequency spectrum/ amplitude spectrum for that signal.I want to present it on a graph.regards.John Schaizar
 10 Using Arduino / General Electronics / Non- Invasive current sensor- Basic questions on: April 08, 2014, 02:28:01 pm Hello boys! I am going to order a non-invasive current sensor but i dont know how to start. I was thinking of using this sensor:https://www.sparkfun.com/products/11005( for my washing machine)The current sensor will be used on a cable, meaning the voltage cable for the washing machine and my question to you is....Do i need to order other components in order to get sensor data into my arduino ?Do i need to think about other factors before applying this sensor on the washing machine ?I just want to know how much current my washing machine draws.Regards,Volkan
 11 Using Arduino / Interfacing w/ Software on the Computer / arduion proccesing graph- problem on: April 19, 2013, 10:55:43 am Hello, im using proccessing for graphs, but i want a linear graph, what function do i need to use to make a normal line like in this graph: Im new to proccesing, ive tried to change and add some code but i get error all the time.here is the code!  Code: // Graphing sketch   // This program takes ASCII-encoded strings // from the serial port at 9600 baud and graphs them. It expects values in the // range 0 to 1023, followed by a newline, or newline and carriage return  // Created 20 Apr 2005 // Updated 18 Jan 2008 // by Tom Igoe // This example code is in the public domain.  import processing.serial.*;  Serial myPort;        // The serial port int xPos = 1;         // horizontal position of the graph  void setup () { // set the window size: size(400, 300);          // List all the available serial ports println(Serial.list()); // I know that the first port in the serial list on my mac // is always my  Arduino, so I open Serial.list()[0]. // Open whatever port is the one you're using. myPort = new Serial(this, Serial.list()[0], 9600); // don't generate a serialEvent() unless you get a newline character: myPort.bufferUntil('\n'); // set inital background: background(0); } void draw () { // everything happens in the serialEvent() }  void serialEvent (Serial myPort) { // get the ASCII string: String inString = myPort.readStringUntil('\n');  if (inString != null) { // trim off any whitespace: inString = trim(inString); // convert to an int and map to the screen height: float inByte = float(inString);  inByte = map(inByte, 0, 1023, 0, height);  // draw the line: stroke(127,34,255); line(xPos, height, xPos, height - inByte);  // at the edge of the screen, go back to the beginning: if (xPos >= width) { xPos = 0; background(0);  }  else { // increment the horizontal position: xPos++; } } }Moderator edit: [code] [/code] tags added.
 Pages: [1]