avatar

Alan412

Member Since: January 29, 2011

Country: United States

  • PulsedLight kindly donated one to my First Lego League team and they made a working prototype using it. It is amazingly easy to use hooked up to an Arduino and it works great!!! I can’t recommend it highly enough! (The team is composed of 9-14 year olds and they blew away the judges with a prototype where they had this hooked to an Arduino micro, an LCD, a push button, all inside of plastics they designed with TinkerCad and had 3D printed.) They won 1st place in Project Innovation in the North Carolina State tournament.

  • ok, so I’ll be the dumb guy to ask the question. Why 2 caps? (I see that the datasheet says to minimize power supply ripples, but I don’t understand why 2 different caps helps more than just a single decoupling cap.)

  • Where would I find the eagle footprint for this?

  • I finally got this to work, but that was after every possible wrong step taken. Examine the directions VERY carefully. In the end, my stubborness won out over my ineptitude. But it was a close battle.

  • Actually, a lot of the components were made out of chocolate candies and marshmallows. My wife found an edible silver spray paint that she used to get marshmallows and other pieces the right color. Everything except the LED legs (toothpicks) was edible.

  • That is correct. (The cake was for my birthday.)

  • (This was for my birthday)
    Actually, I came home as my daughter was trying to stretch the licorice for jumper wires. But the licorice just wasn’t quite long enough.
    I kidded with my wife that without the current limiting resistor she was going to burn up the LED. Then as we were going to bed she was thinking about what kind of candy she could use that would look like a resistor. :-)

  • Here is some simple code for the arduino
    / Released to public domain /
    const int selectPin = 2;
    const int joystick_xPin = A0;
    const int joystick_yPin = A5;
    int oldX = 0;
    int oldY = 0;
    int oldSelect = 0;
    void setup()
    {
    pinMode(selectPin, INPUT);
    digitalWrite(selectPin, HIGH);
    Serial.begin(9600);
    }
    void loop()
    {
    int joystick_x;
    int joystick_y;
    int select;
    joystick_x = map(analogRead(joystick_xPin), 0, 1023, 1, 20);
    joystick_y = map(analogRead(joystick_yPin), 0, 1023, 1, 20);
    select = !digitalRead(selectPin);
    if((oldX != joystick_x) ||
    (oldY != joystick_y) ||
    (oldSelect != select)){
    Serial.print(“joystick X: ”);
    Serial.print(joystick_x);
    Serial.print(“ joystick Y: ”);
    Serial.print(joystick_y);
    if(select){
    Serial.print(“ select”);
    }
    Serial.println(“”);
    oldX = joystick_x;
    oldY = joystick_y;
    oldSelect = select;
    }
    delay(10);
    }

No public wish lists :(