Forum Replies Created

Viewing 15 posts - 61 through 75 (of 108 total)
  • Author
    Posts
  • in reply to: Compile error #2159
    Bill
    Member

    You are using a version of Arduino that is still very much a BETA version. Drop down to the stable version 1.0.3 and see if the error persists.

    Seems this is a noted problem with the BETA version already:

    http://arduino.cc/forum/index.php?topic=150212.0

    in reply to: befuddled by EasyTransfer-I2C #2121
    Bill
    Member

    Did you ever get this working? If it’s working with one slave I can’t imagine why it wouldn’t work with the other.

    in reply to: compitibility… #2112
    Bill
    Member

    No idea haven’t tested it on the new platform yet.

    in reply to: Cant put analogue stick values into variable #2111
    Bill
    Member

    lystick = (ps2x.Analog(PSS_LY), DEC);

    should be

    lystick = ps2x.Analog(PSS_LY);

    in reply to: How to control speed of a dc motor #2110
    Bill
    Member

    Cremo,

    I’m recovering from surgery and I’m also getting married in 3 weeks. It may be a while before I can help you in such detail.

    in reply to: Serial Monitor PS2 exemples #2109
    Bill
    Member

    Check your baud rate settings in the serial monitor and make sure it matches the sketch. Also make sure you have the right board type selected.

    in reply to: Controller mode not matched or no controller found #2108
    Bill
    Member

    Make sure you are trying all the steps in the troubleshooting guide. It could be a pull-up problem.

    in reply to: Sending Strings with ET #2107
    Bill
    Member

    I don’t remember what the rules are but the Arduino environment handles strings in a funny way. Can you try using an array of characters instead? If you are still having problems with this I’ll have to sit down one weekend and try replicating your project. I wouldn’t have time for that for a few months though, sorry.

    in reply to: Serial monitor with ET causes problems #2106
    Bill
    Member

    Sorry for the late reply chiliman, I’ve been recovering from surgery for a week and preparing to get married in 3 weeks.

    Did you sort this all out?

    To help you and others that find this, you shouldn’t ever try to use ET over a serial connection you are also using print() statements on. It’s like trying to talk on a phone while a fax is transmitting on the line.

    Instead either use a software serial version of ET on different pins and print() out of the main serial port or vise-versa.

    in reply to: noob help for control stepper motor #2105
    Bill
    Member

    So have you gotten it figured out?

    Sorry for the late reply, I’m recovering from surgery.

    in reply to: Possible Shield Incompatability #1862
    Bill
    Member

    Have you compared the pin out of the two shields? IE is there a pin sharing conflict?

    in reply to: PS2 not working #1854
    Bill
    Member

    Have you tired all the troubleshooting steps?

    in reply to: Library and Ultrasonic Sensors #1853
    Bill
    Member

    Nader,

    Give us more details on the types of sensors you are using and what code runs them. Are you sure they are analog sensors and not PWM output? I can see a problem trying to use PWM input sensors with the MP3 library as there would be simultaneous interrupt conflicts. However pure analog sensors should not interfere with the MP3 functions.

    Try wrapping your sensor code in the MP3 data stream functions, like this:

     

     //disable interrupts to avoid collisions on the SPI bus between this code //and the MP3player library
      MP3player.pauseDataStream();
    
      //Sensor code here, for example if it's a PWM sensor
      digitalWrite(TRIG_PIN, HIGH); // Send a 10uS high to trigger ranging
      delayMicroseconds(10);
      digitalWrite(TRIG_PIN, LOW);
    
      // Now ping for objects
      int distance = pulseIn(ECHO_PIN, HIGH);        // Read in times pulse
    
      //enable interrupts to resume sending data to MP3 shield
      MP3player.resumeDataStream();

    That’s what it would look like if you had a PWM based sensor.

    in reply to: Changing Volume while paused. #1836
    Bill
    Member

    Sorry, the confusion stems from two developers on this library. I wasn’t aware Michael put this in the example. The original intent for the said function is as I said, to avoid data collisions. Using it to pause the music is a side effect (if you stop the data stream long enough eventually the decoder runs out of song to decode).

    I’m going to suggest the library get a additional and discrete “pauseMusic” function instead to clarify the difference between communication collision management and song controls. I’ll work with Michael on that. He should see this message and respond here, or I’ll email him otherwise.

    in reply to: Changing Volume while paused. #1834
    Bill
    Member

    PauseDataStream() should NOT be used to pause music. It is intended to simple free up the SPI bus for other uses with no risk of data collision. Using it to pause music will produce unexpected results.

Viewing 15 posts - 61 through 75 (of 108 total)