Show Posts
Pages: 1 2 [3] 4 5 ... 9
31  Using Arduino / Project Guidance / How to Measuring resistance on a fence. on: January 23, 2014, 05:49:08 am
Hey Guys

My uncle has a farm and has a lot of problems with people cutting his fence. is it possible to insulate one wire of the fence from earth and then ether measure put  12 v  on the line and measure dropping in voltage at the other end or maybe sending a code via wire library and receiving it on the other end ?   the wire fence can be from 1 km to km in length.
I know electric fence for game farms has this feature but it cost 1$$$$$ looking for purely monitoring

is it possible ?
thanx
32  Using Arduino / Project Guidance / Re: XY-MK-5V 433Mhz Data Radio Range Report ! on: January 23, 2014, 02:34:35 am
Shorten the antenna wire on both Tx and Rx to 17cm and remove the Resistor is is not needed. be very accurate when cutting the antenna . each radio is slightly different so the antenna length can vary from 164-170mm start at 170 and cut your way down 1mm at a time. try and use very tick solid copper wire not stranded or braided.   
33  Using Arduino / General Electronics / Re: Arduino dBSPL meter on: January 08, 2014, 01:49:25 am
I was hoping to stay away from IC's but it seems it s the only way.
i will see if i can order one.

Question i have is is the mic i have order has the op amp built in will it still word with this chip or do I need to just use a normal mic on the chip
34  Using Arduino / General Electronics / Re: Arduino dBSPL meter on: January 08, 2014, 01:07:38 am
yes 1khz to 6khz .
sorry here is the link
http://netram.co.za/1097-electret-microphone-breakout-board.html  . under documents there is data sheet for the op amp and one for the mic. but i am still not clear on what the output voltage range is.
35  Using Arduino / General Electronics / Re: Arduino dBSPL meter on: January 08, 2014, 12:37:17 am
the Mic i am planning on using is this mic. it very small size and has a op amp built in. (100x)
the mic sensitivity is (0dB=1v/Pa)
36  Using Arduino / General Electronics / Re: Arduino dBSPL meter on: January 08, 2014, 12:24:14 am
that is good to know ! would 1 -6 khz also be doable ? ( other bird) setting on device ?
ambient noise is generally insects and the bird sound over powers insect sound by far.

[edit]
come to think of it what good would the device be for anything outside human hearing range. since we first ID the bird by hearing it and then taking a measurement. so if the device does what a human can hear it will be sufficient
37  Using Arduino / General Electronics / Re: Arduino dBSPL meter on: January 08, 2014, 12:05:12 am
WOW guys

thank for the great response !  one thing i can see now is that i have clearly miss judges of how complicated this is. let me explain what my project has to do and maybe you would get a better idea on how to do it.

First of tracking is not possible as birds can not carry anything more then 25g

the Background
I am studding  the territorial behavior   of a bird called South african koraan. our studies have show that these birds hand there territories down from generation to generation rather then being owned by dominate males.

the problem
these birds habit is normally very thick and you can barley see 5 meters into the bush from the road. but you always always hear them when driving through their area.

the idea
we want to be able to listen to the sound get a decibel reading and calculate the distance from where we are to where the bird is. Crazy ? well the rest is easy. we know the birds natural decibel level at 1 meter is around 85 decibel and we know in the thick bush we can hear the bird up to 100 meters away.   so i have two of the three factors needed to calculate the distance. and i can do it using a linear graph but if i can make this work the next stage would saving the Decibels and distance on a SD card. and final stage would be to take a GPS reading from where recorded and calculate where the bird was heard.( we can already point out direction)

so where does that leave me now? is a very expensive mic required for what i want to do ?

[EDIT]
50hz to 20Khz is more then enough
38  Using Arduino / General Electronics / Re: Arduino dBSPL meter on: January 07, 2014, 11:48:02 am
well it wil be used for bird sounds and the bird sounds range from 50hz to 200 khz as far as we know, but we do not want to record we only want a decibel reading
39  Using Arduino / General Electronics / Re: Arduino dBSPL meter on: January 07, 2014, 09:36:35 am
is this the fomula
 Formula: dB = 20 x Log (volts1/volts2) or 20 Log (2.5/5)?
40  Using Arduino / General Electronics / Arduino dBSPL meter on: January 07, 2014, 09:06:12 am
Hi Guys

I am busy with a project that has a few phases, the first phase is the most difficult one in my eyes and i would really like some guidance on how and where to begin.

I want to use a mic, pre amp and Uno to accurately measure dBm from a speaker. at the risk of sounding very naive
what is the formula to calculate the dbm from a mic out put of 2.7 to 5 v ? i would prefer to stay away from the IC that spit out dbm for you as i need to know what the calculation is for the next phase

any help would be great 
41  Using Arduino / Project Guidance / Re: XY-MK-5V 433Mhz Data Radio Range Report ! on: November 15, 2013, 11:00:59 am
Hi Mark

have you ever played with these radios ? please show me a report of anyone getting a 1000meters with THESE radio's , I have RF22b radios and get 10km with then thats not the point.
42  Using Arduino / Programming Questions / Re: virtualwire.h and servo.h with mega on: November 15, 2013, 05:25:30 am
I seem to have the same problem , my sketch uses Virtual wire and Servo.h but i can not get it to compile on my mega, where and what must i change?
43  Using Arduino / Project Guidance / XY-MK-5V 433Mhz Data Radio Range Report ! on: November 15, 2013, 02:20:39 am

I have played with the code to optimize baud rate and data size. and this is what we found

At 3. v    on the Transmitter we achieved 31 meters
At 5v     on Transmitter we achieved 47 meters
At 7.2v   on Transmitter we achieved 82 meters !

The antenna on both the TX and RX n a vertically placed 170 mm steel rod 1.5 mm diameter ( used for aircraft control rods).

The Code used on the Transmitter is as follows
Code:
#include <LiquidCrystal.h>
#include <VirtualWire.h>

typedef struct roverRemoteData
{
  int    TX_ID;
  int    Sensor1Data;// The variable were the data from each sensor
  int    Sensor2Data;// will be stored
  int    Sensor3Data;
  int    Sensor4Data;
  int    Sensor5Data;// will be stored
  int    Sensor6Data;
};


void setup() {
  Serial.begin(9600);
  // LED


  // VirtualWire setup
  vw_setup(2000); // Bits per sec
  vw_set_tx_pin(11);

}
void loop()
{
  struct roverRemoteData payload;

  payload.TX_ID = 3;
  payload.Sensor1Data =255;// analogRead(Sensor1Pin);
  payload.Sensor2Data =4;// analogRead(Sensor2Pin);
  payload.Sensor3Data =4;// analogRead(Sensor3Pin);
  payload.Sensor4Data =4;// analogRead(Sensor4Pin);
  payload.Sensor5Data =4;// analogRead(Sensor1Pin);
  payload.Sensor6Data =4;// analogRead(Sensor2Pin);


  vw_send((uint8_t *)&payload, sizeof(payload));
  vw_wait_tx();
  vw_send((uint8_t *)&payload, sizeof(payload));
  vw_wait_tx();
  vw_send((uint8_t *)&payload, sizeof(payload));
  vw_wait_tx();
  vw_send((uint8_t *)&payload, sizeof(payload));
  vw_wait_tx();

}

the RX code

Code:
#include <VirtualWire.h> 
int RX_ID;
int TX_ID =3;

typedef struct roverRemoteData
{
int    TX_ID;
int    Sensor1Data;// The variable were the data from each sensor
int    Sensor2Data;// will be stored
int    Sensor3Data;
int    Sensor4Data;
int    Sensor5Data;// will be stored
int    Sensor6Data;
};
void setup() {
              Serial.begin(9600);
              vw_setup(2000);
              vw_set_rx_pin(11);
              vw_rx_start();
                   
              } 
void loop()
{
      struct roverRemoteData receivedData;
      uint8_t rcvdSize = sizeof(receivedData);
      vw_wait_rx();

if (vw_get_message((uint8_t *)&receivedData, &rcvdSize))
{
  if (receivedData.TX_ID == 3)
    {
         //Serial.println("------------------------New MSG-----------------------");
         //Serial.print("TX ID = ");
         Serial.print(TX_ID);
         //Serial.print("Sensor1Data:");
         Serial.print(receivedData.Sensor1Data);
         //Serial.print("Sensor2Data:");
         Serial.print(receivedData.Sensor2Data);
         //Serial.print("SensorData3:");
         Serial.print(receivedData.Sensor3Data);
         //Serial.print("SensorData4:");
         Serial.print(receivedData.Sensor4Data);
          //Serial.print("SensorData5:");
         Serial.print(receivedData.Sensor5Data);
         //Serial.print("SensorData6:");
         Serial.println(receivedData.Sensor6Data);
         //Serial.println("-----------------------End of MSG--------------------");
        }
      else
        {
Serial.println(" ID Does not match waiting for next transmission ");
        } } }


Please note that this code only prints out
"3,255,4,4,4,4,4" as this was all that was needed for our tests.

Hope this helps someone with there projects!
44  Using Arduino / Project Guidance / Re: FS1000A / XY-MK-5V 433Mhz TX/RX Module on: November 14, 2013, 11:51:11 pm
Hi Bob

I tend to agree with you, with 16cm antenna's on both side at 7.2v on the TX i get 24 meters , Im still looking to increase my range but other thing to look at before just looking at the antenna it is the code. this can also have an effect on the range.
45  Using Arduino / Programming Questions / Re: How to Send Struct via Virtual Wire. on: November 13, 2013, 11:59:55 pm
Hi Awol

Today im faced with a new issue and from what i can gather of what other people have to say is that the line of code we worked on yesterday , is now my problem. this is the post i made ,http://forum.arduino.cc/index.php?topic=198867.0
Pages: 1 2 [3] 4 5 ... 9