Jeff Johnson

Member Since: April 17, 2011

Country: United States

  • Product COM-08654 | about 3 years ago

    The laser module requires POWER (RED), GROUND (BLACK), and TTL control (WHITE) wire connections.
    I’m using the Netduino with the red wire connected to the 5V port, black wire connected to a ground port, and the white wire connected to a digital output port (I used 13 for good luck).
    Blink the laser 5 times and then turn off:
    public static void Main()
    {
    OutputPort laser = new OutputPort(Pins.GPIO_PIN_D13, false);
    for (int i = 0; i < 5; ++i)
    {
    laser.Write(false);
    Thread.Sleep(250);
    laser.Write(true);
    Thread.Sleep(250);
    }
    }
    For seasoned users this was probably obvious by looking at the schematic but I’m a newbie and didn’t get it at first. Thanks to this site for helping me figure out how to power it:
    http://www.robotcraft.ca/webshop/p11/Controlling-Sparkfun-Laser-Module-using-Arduino-WIRING-and-AVR-ATMega644/pages.html

No public wish lists :(