Show Posts
Pages: 1 ... 3 4 [5] 6 7 ... 22
61  Using Arduino / Installation & Troubleshooting / Re: Computer freezes completely after a few uploads on: February 24, 2013, 06:29:03 pm
Seeing as this is being reported on two different Lenovo laptops, I suspect a bad system-level driver common to Lenovo.  Perhaps try making sure that all the system-level drivers are up to date.  Pay particular attention to chipset/motherboard drivers.
62  Using Arduino / Project Guidance / Re: arduino +100Mhz radio jammer on: February 24, 2013, 12:01:53 pm
This is the "Project Guidance" section, so if I picked the wrong band to mess with jamming to learn from then tell me. Dont jump on my case because you dont know US laws or how the country's laws work.

A lot of you are more bent out of shape on RF bands than realizing that some home made circuit's can also outputting interference. How many of you test every circuit you build? 5% of the people on this forum actually test for that, or less?
If the FCC went around checking interference they would find appliances shorting out in homes producing interference. Your PC is one program away from being a jammer, yes its that easy!

Yes they know I have a brass set and the one is bigger then the other two.

I'll tell you what S_Flex, I DO work for the FCC as an engineer.  You think I don't know the FCC regulations?  Here's a list of our field offices. http://transition.fcc.gov/eb/rfo/FieldPhone.html I DARE you to call any one of them and tell them that your little jamming scheme is LEGAL, give them your address, and DEFY them to do something about it. 

Since I KNOW that you only "have a brass set" while you are hiding behind what you THINK is the anonymity of a forum posting and would never actually call us, for my part, I'll initiate the process to have our Special Counsel for the Spectrum Enforcement Division get your IP address from the forum moderators, use that to get your REAL name and address from your ISP, and start an investigation based upon your PUBLIC admission regarding carrying out a pre-meditated jamming operation with full knowledge that your actions are both harmful to radio communications and illegal.

I am sick of you coming on this forum and telling the good people of this forum that DO KNOW the FCC regulations, that they are wrong and engaging in your pathetic little saber-rattling tirade of superiority.
63  Using Arduino / Project Guidance / Re: arduino +100Mhz radio jammer on: February 23, 2013, 01:06:09 pm
Stop wasting your time folks.  Those of us that hold several FCC licenses, myself being Amateur Extra Class as well as GROL+RADAR, as well as being a COLEM and VEC, obviously know nothing about communications regulations and the OP is the world expert on all things communications related.

FCC not enforcing jamming regulations?

http://www.fcc.gov/document/fcc-cites-online-retailers-marketing-illegal-jamming-devices  http://urgentcomm.com/policy_and_law/news/fcc-cell-jamming-enforcement-20111013  http://www.marcus-spectrum.com/Blog/files/EBjammerenf.html

Stick those in your "wiki"

As for RFID devices, the FCC regulates the RF part of the device.  They have nothing to do with whether or not someone can implant an RFID device in the human body.

The ISM bands ARE regulated under part 15 of the FCC regulations.   In the early 1990's the Federal Communications Commission (FCC) allowed using three of the ISM bands for unlicensed communication equipment.  These three ISM bands are:

902 to 928 MHz
2.400 to 2.4835 GHz
5.725 to 5.875 GHz

In the United States the use of these bands for communication purposes is regulated by part 15 of the FCC rules.  These regulations cover such things as maximum transmitter input power for mobile as well as point-to-point communications.
64  Community / Products and Services / Re: Introducing Q-kits and more from Aztec MCU Prototyping on: February 22, 2013, 06:36:41 pm
The point of he shipping comparison was that with the $2.50 price for the LM35DZ + $5.00 shipping, it was more expensive than Mouser.
65  Using Arduino / LEDs and Multiplexing / Re: arduino mega an lcd trouble noob needs advice on: February 22, 2013, 04:35:58 pm
This is a working test sketch that I use with my SainSmart I2C LCD  The only variable may be that your I2C address may be 0X27 instead of 0X3F.  The I2C scanner here http://playground.arduino.cc/Main/I2cScanner will tell you the correct address.

Code:
#include <Wire.h>
#include <LCD.h>
#include <LiquidCrystal_I2C.h>

#define I2C_ADDR    0x3F  // Define I2C Address where the PCF8574A is
#define BACKLIGHT_PIN     3
#define En_pin  2
#define Rw_pin  1
#define Rs_pin  0
#define D4_pin  4
#define D5_pin  5
#define D6_pin  6
#define D7_pin  7


LiquidCrystal_I2C lcd(I2C_ADDR,En_pin,Rw_pin,Rs_pin,D4_pin,D5_pin,D6_pin,D7_pin);

void setup()
{
  lcd.begin (20,4);
  
// Switch on the backlight
  lcd.setBacklightPin(BACKLIGHT_PIN,POSITIVE);
  lcd.setBacklight(HIGH);
  lcd.home ();                   // go home

  lcd.print("If you can read this");  
  lcd.setCursor ( 0, 1 );        // go to the 2nd line
  lcd.print("Your LCD is working!");
  lcd.setCursor ( 0, 2 );        // go to the third line
  lcd.print("Congratulations!");
  lcd.setCursor ( 0, 3 );        // go to the fourth line
  lcd.print("Enjoy your I2C LCD");
}

void loop()
{
  // Backlight on/off every 3 seconds
  lcd.setCursor (14,3);        // go col 14 of line 3
  lcd.setBacklight(LOW);      // Backlight off
  delay(3000);
  lcd.setBacklight(HIGH);     // Backlight on
  delay(3000);
}
66  Using Arduino / Project Guidance / Re: arduino +100Mhz radio jammer on: February 22, 2013, 04:09:34 pm
The FCC regulations preempt ANY state attempt at regulating federally licensed communications systems.  You are being fed patently false information that your state/city/county/dog catcher/mayor or ANY other entity can regulate federally licensed communications systems.

As for your failed attempt at equating marijuana laws, I will just leave this here for your perusal http://www.sbsun.com/ci_22532373/authorities-raiding-multiple-san-bernardino-medical-marijuana-dispensaries

Good luck with your jammer.  I'll be watching the FCC enforcement logs for when you get your arse handed to you for using a jammer.  BTW, the fines START at $10,000 PLUS jail time.
67  Using Arduino / Sensors / Re: bmp085 + pro mini 328 on: February 22, 2013, 12:53:52 pm
It's in the code.  It's prints the results to the serial monitor at 9600 baud in the Arduino IDE:

Code:
void loop() {
    Serial.print("Temperature = ");
    Serial.print(bmp.readTemperature());
    Serial.println(" *C");
 
    Serial.print("Pressure = ");
    Serial.print(bmp.readPressure());
    Serial.println(" Pa");
68  Using Arduino / Sensors / Re: bmp085 + pro mini 328 on: February 22, 2013, 11:49:02 am
First make sure that you have not powered the BMP085 with 5 volts.  If you did, it's time to buy another one.
Second, once you know that you have a good BMP085, try just using it with the serial monitor to make sure that it's working properly all by itself.
Third, test your LCD with the Hello World example, and make sure that it's working on it's own as well.
Fourth, once you have verified that both of your components are functioning stand alone, you can then work on integrating them.
69  Using Arduino / Project Guidance / Re: Arduino MEGA Pinout Diagram on: February 22, 2013, 10:45:37 am
Thank you very much!
Any plans to work on other variants of the Mega2560 such as the Seeeduino Mega that break out the extra pins?
70  Using Arduino / General Electronics / Re: Backside of Arduino on: February 20, 2013, 03:04:25 pm
I use this to hold my Arduino Mega and my Seedunio Mega http://www.ponoko.com/design-your-own/products/arduino-mega-mount-5044

They also make a couple for the Uno http://www.ponoko.com/design-your-own/products/arduino-mount-large--4878  
http://www.ponoko.com/design-your-own/products/arduino-mount-standard--4853
71  Community / Products and Services / Re: Introducing Q-kits and more from Aztec MCU Prototyping on: February 20, 2013, 11:10:26 am
My point was that there are dozens of sites where someone can purchase the same items at far less cost than Aztec offers.  I used Mouser as an example because they are normally thought of as an expensive option for components, and yet they beat Aztec's price in this particular area.  If Aztec wants to succeed, the should revisit their pricing and shipping policies.  I would much rather give my money to an independent business than to a large corporation, but not when the price differential is that great (approximately 20% higher).  If I can purchase single quantities of parts cheaper than Aztec sells them for, then they need to find a new supplier for their bulk purchases.
72  Community / Products and Services / Re: Introducing Q-kits and more from Aztec MCU Prototyping on: February 20, 2013, 02:41:05 am
This is meant as constructive criticism, not bashing. I am all for more companies carrying electronics components, but some of  your component prices and shipping charges seem a bit high.  $2.50 for an LM35 PLUS $5 to ship it for a total of $7.50? I can buy an LM35 from Mouser WITH shipping for $6.20 total.  Once your shipping charges are factored in, your prices are not competitive at all.  I think if you get your shipping charges in line you would be much more successful.
73  Using Arduino / Programming Questions / Re: I2C instead of serial on: February 19, 2013, 12:47:47 pm
That worked perfectly, thank you!  Always a good day when I get help making something work and learn why in the process.
74  Using Arduino / Programming Questions / Re: I2C instead of serial on: February 19, 2013, 10:15:00 am
Yes, lcd.print("Hello, world!"); works just fine.  I will make the changes that you recommend and let you know how it goes.  Thank you.
75  Using Arduino / Programming Questions / RESOLVED I2C instead of serial on: February 18, 2013, 11:56:13 pm
Hello,

I am trying to port print commands for a serial LCD to an I2C LCD.  Here is the code I am using that has the serial LCD print commands.  I need to know how to print the results using an I2C LCD using the LiquidCrystal_I2C library.  I know how to #include the libraries for the I2C, I just do not know how to convert the LCD printing related commands such as "sprintf(databuff,"CV:%3d Cnm:%3d",sensorValueTest,i);" to print to my I2C LCD.  Replacing the sprintf with lcd.print obviously does not work.

Code:
#include <EEPROM.h>
#include <SoftwareSerial.h>

//Set up the Liquid Crystal Display  
#define LCDIn 3
#define LCDOut 2
SoftwareSerial mySerialPort(LCDIn, LCDOut);

//LCD Display buffers
char databuff[16];
char dispbuff[16];

// Variables needed for RGB calculations
float Gamma = 1.00;
int MaxIntensity = 255;
float fBlue;
float fGreen;
float fRed;
float Factor;

int iR;
int iG;
int iB;

//Our eyes can generally see light wavelengths between 350 and 700 nanometers.
//Here, we start the RGB Led with 350
int i = 350;

//RGB is plugged into these arduino digital pins
const int redOutPin = 8;
const int greenOutPin = 6;
const int blueOutPin = 4;

// LED to be tested is plugged into A0
int testPin = A0;    

// variables to store the value coming from the sensor
int sensorValueTest =0;  
int oldTest =0;
int peaknm =0;

//EEPROM start data
int addr=0;

//Music
int notelen = 90;
int dlx = 130;

void setup()
{
  pinMode(LCDOut, OUTPUT);
  pinMode(LCDIn, INPUT);

//Set the RGB LED pins to output

  pinMode(redOutPin, OUTPUT);
  pinMode(greenOutPin, OUTPUT);
  pinMode(blueOutPin, OUTPUT);


// Initialize the LCD display
  mySerialPort.begin(9600);
  mySerialPort.write(0xFE);
  mySerialPort.write(0x01);

  // test to see if the RGB LED works
  makeColor(i);
  analogWrite(redOutPin,255-iR);
  analogWrite(greenOutPin, 255-iG);
  analogWrite(blueOutPin, 255-iB);
  delay(5000);
}

void loop()
{

// set the RGB LED to a specific color
  makeColor(i);
  analogWrite(redOutPin, 255-iR);
  analogWrite(greenOutPin, 255-iG);
  analogWrite(blueOutPin, 255-iB);
  delay(500);
  
// read the sensitivity of the Test LED
  sensorValueTest= analogRead(testPin);

  if (sensorValueTest > oldTest)
  {
    oldTest = sensorValueTest;
    peaknm = i;
  }

// Display the values on the LCD
  sprintf(databuff,"CV:%3d Cnm:%3d",sensorValueTest,i);  
  sprintf(dispbuff,"%-16s",databuff);
  mySerialPort.print(dispbuff);

  sprintf(databuff,"XV:%3d Xnm:%3d",oldTest, peaknm);
  sprintf(dispbuff,"%-16s",databuff);
  mySerialPort.print(dispbuff);



  writeData();
  i++;

  // If we've reached the upper limit of 700 nm, play a little melody  
  if (i>700)
  {
    for (int f = 0; f<=100; f++)
    {
      tone(7,196,notelen);
      delay(dlx);

      tone(7,131,notelen);
      delay(dlx);

      tone(7,261,notelen);
      delay(dlx);

      tone(7,330,notelen);
      delay(dlx);

      tone(7,294,notelen);
    }
    delay(10000);
  }
}



void writeData()
{
  int quotient = i/256;
  int mod = i % 256;

  EEPROM.write(addr++,quotient);
  EEPROM.write(addr++,mod);

  quotient = sensorValueTest/256;
  mod = sensorValueTest % 256;
  EEPROM.write(addr++,quotient);
  EEPROM.write(addr++,mod);
}



void makeColor(int lambda)
{
  if (lambda >= 350 && lambda <= 439)
  {
    fRed    = -(lambda - (float)440.0) / ((float)440.0 - (float)350.0);
    fGreen = (float)0.0;
    fBlue = (float)1.0;
  }
  else if (lambda >= (float)440.0 && lambda <= (float)489.0)
  {
    fRed = 0.0;
    fGreen = (lambda - (float)440.0) / ((float)490.0 - (float)440.0);
    fBlue = 1.0;
  }
  else if (lambda >= (float)490.0 && lambda <= (float)509.0)
  {
    fRed = 0.0;
    fGreen = 1.0;
    fBlue = -(lambda - (float)510.0) / ((float)510.0 - (float)490.0);

  }
  else if (lambda >= (float)510.0 && lambda <= (float)579.0)
  {
    fRed = (lambda - (float)510.0) / ((float)580.0 - (float)510.0);
    fGreen = 1.0;
    fBlue = 0.0;
  }
  else if (lambda >= (float)580.0 && lambda <= (float)644.0)
  {
    fRed = 1.0;
    fGreen = -(lambda - (float)645.0) / ((float)645.0 - (float)580.0);
    fBlue = 0.0;
  }
  else if (lambda >= 645.0 && lambda <= 780.0)
  {
    fRed = 1.0;
    fGreen = 0.0;
    fBlue = 0.0;
  }
  else
  {
    fRed = 0.0;
    fGreen = 0.0;
    fBlue = 0.0;
  }

  if (lambda >= 350 && lambda <= 419)
  {
    Factor = 0.3 + 0.7*(lambda - (float)350.0) / ((float)420.0 - (float)350.0);
  }
  else if (lambda >= 420 && lambda <= 700)
  {
    Factor = 1.0;
  }
  else if (lambda >= 701 && lambda <= 780)
  {
    Factor = 0.3 + 0.7*((float)780.0 - lambda) / ((float)780.0 - (float)700.0);
  }
  else
  {
    Factor = 0.0;
  }
  iR = factorAdjust(fRed, Factor, MaxIntensity, Gamma);
  iG = factorAdjust(fGreen, Factor, MaxIntensity, Gamma);
  iB = factorAdjust(fBlue, Factor, MaxIntensity, Gamma);
}

int factorAdjust(float C, float Factor, int MaxIntensity, float Gamma)
{
  if(C == 0.0)
  {
    return 0;
  }
  else
  {
    return (int) round(MaxIntensity * pow(C * Factor, Gamma));
  }
}
Pages: 1 ... 3 4 [5] 6 7 ... 22