Serve and Sensor Issues

For other supported Arduino products from Adafruit: Shields, accessories, etc.

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
ristola
 
Posts: 4
Joined: Tue Oct 29, 2013 5:37 pm

Serve and Sensor Issues

Post by ristola »

Order 813809-8862280928

My order included:
AM2315 - Encased I2C Temperature/Humidity Sensor[ID:1293]
Continuous Rotation Servo (FeeTech FS5103R) [ID:154]
Continuous Rotation Micro Servo (FS90R) [ID:2442]

I am having issues with (2 of 3) items on my order.
Issue 1: The Micro Servo (FS90R) will not turn, only hums.
Tried adjusting the zero pot but doesn't help.

Using the same code, changing to the FS5103R stepper, this stepper works fine.
I see no reason the same wiring and code would not work for either stepper.
The FS90R appears to be defective.

Code: Select all

#include <Servo.h> 
 
Servo myservo;  // create servo object to control a servo 
                // a maximum of eight servo objects can be created 
 
int pos = 0;    // variable to store the servo position 
 
void setup() 
{ 
  myservo.attach(9);  // attaches the servo on pin 9 to the servo object 
} 
 
 
void loop() 
{ 
  for(pos = 0; pos < 180; pos += 1)  // goes from 0 degrees to 180 degrees 
  {                                  // in steps of 1 degree 
    myservo.write(pos);              // tell servo to go to position in variable 'pos' 
    delay(15);                       // waits 15ms for the servo to reach the position 
  } 
  for(pos = 180; pos>=1; pos-=1)     // goes from 180 degrees to 0 degrees 
  {                                
    myservo.write(pos);              // tell servo to go to position in variable 'pos' 
    delay(15);                       // waits 15ms for the servo to reach the position 
  } 
}
Issue #2:
The AM2315 does not appear to work.
Installed the AM2315 library and example from the Adafruit_AM2315/ repository.
When running the code on a arduino duemilanove all that I see on the Serial monitor is "AM2315 Test!"
I do NOT get the "Sensor not found, check wiring & pullups!" message unless I unplug one of the I2C leads, however I do not get any data from the sensor.

Code: Select all

#include <Wire.h>
#include <Adafruit_AM2315.h>

/*************************************************** 
  This is an example for the AM2315 Humidity + Temp sensor
  Designed specifically to work with the Adafruit BMP085 Breakout 
  ----> https://www.adafruit.com/products/1293
  These displays use I2C to communicate, 2 pins are required to  
  interface
  Adafruit invests time and resources providing this open source code, 
  please support Adafruit and open-source hardware by purchasing 
  products from Adafruit!
  Written by Limor Fried/Ladyada for Adafruit Industries.  
  BSD license, all text above must be included in any redistribution
 ****************************************************/

// Connect RED of the AM2315 sensor to 5.0V
// Connect BLACK to Ground
// Connect WHITE to i2c clock - on '168/'328 Arduino Uno/Duemilanove/etc thats Analog 5
// Connect YELLOW to i2c data - on '168/'328 Arduino Uno/Duemilanove/etc thats Analog 4

Adafruit_AM2315 am2315;

void setup() {
  Serial.begin(9600);
  Serial.println("AM2315 Test!");

  if (! am2315.begin()) {
     Serial.println("Sensor not found, check wiring & pullups!");
     while (1);
  }
}

void loop() {
  Serial.print("Hum: "); Serial.println(am2315.readHumidity());
  Serial.print("Temp: "); Serial.println(am2315.readTemperature());

  delay(1000);
}
This is the first time I have ever received defective products from Adafruit.
I am not new to Arduino, or Electronics... however I would be happy to perform any test suggested.

How can I get my (2) items replaced and preferably tested prior to shipping.

User avatar
forrest_m
 
Posts: 25
Joined: Thu Jul 02, 2015 7:35 pm

Re: Serve and Sensor Issues

Post by forrest_m »

I am having more a similar problem with the TSL2591 sensors I ordered.

User avatar
Franklin97355
 
Posts: 23910
Joined: Mon Apr 21, 2008 2:33 pm

Re: Serve and Sensor Issues

Post by Franklin97355 »

I am having more a similar problem with the TSL2591 sensors I ordered.
Please start your own thread to avoid confusion.

User avatar
adafruit_support_bill
 
Posts: 88088
Joined: Sat Feb 07, 2009 10:11 am

Re: Serve and Sensor Issues

Post by adafruit_support_bill »

The Micro Servo (FS90R) will not turn, only hums.
Tried adjusting the zero pot but doesn't help.

Using the same code, changing to the FS5103R stepper, this stepper works fine.
We can replace the FS90R..
When running the code on a arduino duemilanove all that I see on the Serial monitor is "AM2315 Test!"
I do NOT get the "Sensor not found, check wiring & pullups!"
Please post photos showing your connections between the device and the processor.

User avatar
ristola
 
Posts: 4
Joined: Tue Oct 29, 2013 5:37 pm

Re: Serve and Sensor Issues

Post by ristola »

Sorry for belated reply.
I had already packaged everything back up.

Here is the setup I had testing the sensor.
I have tried pull up resistors of 4.7k to 10k.
Also attached is the screen capture of the serial terminal.
Serial Terminal
Serial Terminal
thumb_IMG_0760_1024.jpg (294.92 KiB) Viewed 313 times
I would like to use this sensor, however I would like a replacement tested / proven before shipping.

Loren

User avatar
ristola
 
Posts: 4
Joined: Tue Oct 29, 2013 5:37 pm

Re: Serve and Sensor Issues

Post by ristola »

Sorry for belated reply.
I had already packaged everything back up.

Here is the setup I had testing the sensor.
I have tried pull up resistors of 4.7k to 10k.
Also attached is the screen capture of the serial terminal.
thumb_IMG_0760_1024.jpg
I would like to use this sensor, however I would like a replacement tested / proven before shipping.

Loren

User avatar
ristola
 
Posts: 4
Joined: Tue Oct 29, 2013 5:37 pm

Re: Serve and Sensor Issues

Post by ristola »

Posting Serial terminal picture as it didn't appear to make the post.
Serial Terminal
Serial Terminal
IMG_0761.jpg (971.63 KiB) Viewed 312 times

User avatar
adafruit_support_bill
 
Posts: 88088
Joined: Sat Feb 07, 2009 10:11 am

Re: Serve and Sensor Issues

Post by adafruit_support_bill »

The wiring does look correct. Please contact [email protected] with a link to this thread for a replacement sensor and servo.

Locked
Please be positive and constructive with your questions and comments.

Return to “Other Arduino products from Adafruit”