Quintrix
Published

Laser automatic target

How to make a simple laser beam tracking system

IntermediateFull instructions provided2 hours964
Laser automatic target

Things used in this project

Hardware components

Arduino Nano R3
Arduino Nano R3
×1
stepper motor
×2
0.96" OLED 64x128 Display Module
ElectroPeak 0.96" OLED 64x128 Display Module
×1
push button
×5
Stepper Motor
Digilent Stepper Motor
×2
Resistor 1k ohm
Resistor 1k ohm
×5
laser diode module
×1

Software apps and online services

Visuino - Graphical Development Environment for Arduino
Visuino - Graphical Development Environment for Arduino

Story

Read more

Schematics

SCHEMATIC DIAGRAM

Code

targrt ok new.visuino

C/C++
Code is compiled with Visuino software
{
  "Config": {
    "Build": {
      "Board": "arduino:avr:nano:cpu=atmega328old"
    }
  },
  "Version": "2",
  "Product": "Visuino - Visual Arduino Programming",
  "Content": "OpenWire Diagram",
  "Units": [
    {
      "Type": "Diagram",
      "Name": "__OpenWireRootUnit__",
      "*": [
        {
          "X": 1280,
          "Name": "Arduino",
          "Instance": {
            "AnalogInput": {
              "*": [
                {
                  "+": "TArduinoAnalogOptionalAsDigitalInputChannel"
                },
                {
                  "+": "TArduinoAnalogOptionalAsDigitalInputChannel"
                }
              ]
            },
            "Serial": {
              "*": [
                {
                  "+": "TArduinoHardwareSerial"
                }
              ]
            },
            "+": "TArduinoBoard",
            "Modules": {
              "*": [
                {
                  "+": "TArduinoEEPROMModule"
                },
                {
                  "+": "TArduinoWatchdogTimerModule"
                },
                {
                  "+": "TArduinoProcessor328Module"
                }
              ]
            },
            "I2CChannels": {
              "*": [
                {
                  "InputPin": {
                    "SourcePins": [
                      {
                        "ID": "__OpenWireRootUnit__.DisplayOLED1.OutputPin"
                      }
                    ]
                  },
                  "+": "TArduinoI2C"
                }
              ]
            },
            "Digital": {
              "*": [
                {
                  "+": "TArduinoAdditionalDigitalSerial0Channel"
                },
                {
                  "+": "TArduinoAdditionalDigitalSerial0Channel"
                },
                {
                  "DigitalInputPin": {
                    "SourcePin": {
                      "Name": "__OpenWireRootUnit__.Stepper1.OutputPins.Pin [0]",
                      "ID": "__OpenWireRootUnit__.Stepper1.OutputPins._Pin0"
                    }
                  },
                  "+": "TArduinoAdditionalDigitalInterruptChannel"
                },
                {
                  "DigitalInputPin": {
                    "SourcePin": {
                      "Name": "__OpenWireRootUnit__.Stepper1.OutputPins.Pin [1]",
                      "ID": "__OpenWireRootUnit__.Stepper1.OutputPins._Pin1"
                    }
                  },
                  "+": "TArduinoBasicDigitalPWMInterruptChannel"
                },
                {
                  "DigitalInputPin": {
                    "SourcePin": {
                      "Name": "__OpenWireRootUnit__.Stepper1.OutputPins.Pin [2]",
                      "ID": "__OpenWireRootUnit__.Stepper1.OutputPins._Pin2"
                    }
                  },
                  "+": "TArduinoAdditionalDigitalChannel"
                },
                {
                  "DigitalInputPin": {
                    "SourcePin": {
                      "Name": "__OpenWireRootUnit__.Stepper1.OutputPins.Pin [3]",
                      "ID": "__OpenWireRootUnit__.Stepper1.OutputPins._Pin3"
                    }
                  },
                  "+": "TArduinoBasicDigitalPWMChannel"
                },
                {
                  "DigitalInputPin": {
                    "SourcePin": {
                      "Name": "__OpenWireRootUnit__.Stepper2.OutputPins.Pin [0]",
                      "ID": "__OpenWireRootUnit__.Stepper2.OutputPins._Pin0"
                    }
                  },
                  "+": "TArduinoBasicDigitalPWMChannel"
                },
                {
                  "DigitalInputPin": {
                    "SourcePin": {
                      "Name": "__OpenWireRootUnit__.Stepper2.OutputPins.Pin [1]",
                      "ID": "__OpenWireRootUnit__.Stepper2.OutputPins._Pin1"
                    }
                  },
                  "+": "TArduinoAdditionalDigitalChannel"
                },
                {
                  "DigitalInputPin": {
                    "SourcePin": {
                      "Name": "__OpenWireRootUnit__.Stepper2.OutputPins.Pin [2]",
                      "ID": "__OpenWireRootUnit__.Stepper2.OutputPins._Pin2"
                    }
                  },
                  "+": "TArduinoAdditionalDigitalChannel"
                },
                {
                  "DigitalInputPin": {
                    "SourcePin": {
                      "Name": "__OpenWireRootUnit__.Stepper2.OutputPins.Pin [3]",
                      "ID": "__OpenWireRootUnit__.Stepper2.OutputPins._Pin3"
                    }
                  },
                  "+": "TArduinoBasicDigitalPWMChannel"
                },
                {
                  "OutputPin": {
                    "SinkPins": [
                      {
                        "ID": "__OpenWireRootUnit__.Sequence1.StartInputPin"
                      },
                      {
                        "Name": "__OpenWireRootUnit__.DisplayOLED1.Elements.Fill Screen.ClockInputPin",
                        "ID": "__OpenWireRootUnit__.DisplayOLED1.Elements._Item0.ClockInputPin"
                      }
                    ]
                  },
                  "+": "TArduinoBasicDigitalPWMChannel"
                },
                {
                  "OutputPin": {
                    "SinkPins": [
                      {
                        "ID": "__OpenWireRootUnit__.Button1.InputPin"
                      }
                    ]
                  },
                  "+": "TArduinoBasicDigitalPWMSPI0Channel"
                },
                {
                  "OutputPin": {
                    "SinkPins": [
                      {
                        "ID": "__OpenWireRootUnit__.Button2.InputPin"
                      }
                    ]
                  },
                  "+": "TArduinoAdditionalDigitalSPI0Channel"
                },
                {
                  "OutputPin": {
                    "SinkPins": [
                      {
                        "ID": "__OpenWireRootUnit__.Button3.InputPin"
                      }
                    ]
                  },
                  "+": "TArduinoAdditionalDigitalSPI0Channel"
                },
                {
                  "OutputPin": {
                    "SinkPins": [
                      {
                        "ID": "__OpenWireRootUnit__.Button4.InputPin"
                      }
                    ]
                  },
                  "+": "TArduinoCombinedAnalogDigitalChannel"
                },
                {
                  "+": "TArduinoCombinedAnalogDigitalChannel"
                },
                {
                  "+": "TArduinoCombinedAnalogDigitalChannel"
                },
                {
                  "+": "TArduinoCombinedAnalogDigitalChannel"
                },
                {
                  "+": "TArduinoCombinedAnalogDigitalI2C0Channel"
                },
                {
                  "+": "TArduinoCombinedAnalogDigitalI2C0Channel"
                }
              ]
            },
            "SPIChannels": {
              "*": [
                {
                  "+": "TArduinoSPI"
                }
              ]
            },
            "BoardType": "Arduino Nano"
          },
          "Type": "Component",
          "Y": 256
        },
        {
          "X": 288,
          "Name": "Sequence1",
          "Instance": {
            "Elements": {
              "*": [
                {
                  "Delay": 3000,
                  "Name": "Digital Period1",
                  "+": "TArduinoSequenceDigitalElement"
                },
                {
                  "Name": "Digital Period1",
                  "OutputPin": {
                    "SinkPins": [
                      {
                        "ID": "__OpenWireRootUnit__.Timer1.StartInputPin"
                      },
                      {
                        "ID": "__OpenWireRootUnit__.Timer6.StartInputPin"
                      },
                      {
                        "Name": "__OpenWireRootUnit__.DisplayOLED1.Elements.Draw Text.ClockInputPin",
                        "ID": "__OpenWireRootUnit__.DisplayOLED1.Elements._Item1.ClockInputPin"
                      }
                    ]
                  },
                  "+": "TArduinoSequenceDigitalElement",
                  "Delay": 10000
                },
                {
                  "Name": "Digital Period1",
                  "OutputPin": {
                    "SinkPins": [
                      {
                        "ID": "__OpenWireRootUnit__.Timer2.StartInputPin"
                      },
                      {
                        "ID": "__OpenWireRootUnit__.Timer7.StartInputPin"
                      },
                      {
                        "Name": "__OpenWireRootUnit__.DisplayOLED1.Elements.Draw Text.ClockInputPin",
                        "ID": "__OpenWireRootUnit__.DisplayOLED1.Elements._Item2.ClockInputPin"
                      }
                    ]
                  },
                  "+": "TArduinoSequenceDigitalElement",
                  "Delay": 10000
                },
                {
                  "Name": "Digital Period1",
                  "OutputPin": {
                    "SinkPins": [
                      {
                        "ID": "__OpenWireRootUnit__.Timer3.StartInputPin"
                      },
                      {
                        "ID": "__OpenWireRootUnit__.Timer8.StartInputPin"
                      },
                      {
                        "Name": "__OpenWireRootUnit__.DisplayOLED1.Elements.Draw Text.ClockInputPin",
                        "ID": "__OpenWireRootUnit__.DisplayOLED1.Elements._Item3.ClockInputPin"
                      }
                    ]
                  },
                  "+": "TArduinoSequenceDigitalElement",
                  "Delay": 10000
                },
                {
                  "Name": "Digital Period1",
                  "OutputPin": {
                    "SinkPins": [
                      {
                        "ID": "__OpenWireRootUnit__.Timer4.StartInputPin"
                      },
                      {
                        "ID": "__OpenWireRootUnit__.Timer9.StartInputPin"
                      },
                      {
                        "Name": "__OpenWireRootUnit__.DisplayOLED1.Elements.Draw Text.ClockInputPin",
                        "ID": "__OpenWireRootUnit__.DisplayOLED1.Elements._Item4.ClockInputPin"
                      }
                    ]
                  },
                  "+": "TArduinoSequenceDigitalElement",
                  "Delay": 10000
                },
                {
                  "Name": "Digital Period1",
                  "OutputPin": {
                    "SinkPins": [
                      {
                        "ID": "__OpenWireRootUnit__.Timer5.StartInputPin"
                      },
                      {
                        "ID": "__OpenWireRootUnit__.Timer10.StartInputPin"
                      },
                      {
                        "Name": "__OpenWireRootUnit__.DisplayOLED1.Elements.Draw Text.ClockInputPin",
                        "ID": "__OpenWireRootUnit__.DisplayOLED1.Elements._Item5.ClockInputPin"
                      }
                    ]
                  },
                  "+": "TArduinoSequenceDigitalElement",
                  "Delay": 15000
                }
              ]
            },
            "StartInputPin": {
              "SourcePins": [
                {
                  "Name": "__OpenWireRootUnit__.Arduino.Digital[10].OutputPin",
                  "ID": "__OpenWireRootUnit__.Arduino.Digital._Item10.OutputPin"
                }
              ]
            },
            "+": "TArduinoSequence"
          },
          "Type": "Component",
          "Y": 592
        },
        {
          "X": 528,
          "Name": "Timer1",
          "Instance": {
            "OutputPin": {
              "SinkPins": [
                {
                  "Name": "__OpenWireRootUnit__.DigitalMultiMerger1.InputPins.Pin [0]",
                  "ID": "__OpenWireRootUnit__.DigitalMultiMerger1.InputPins._Pin0"
                }
              ]
            },
            "StartInputPin": {
              "SourcePins": [
                {
                  "Name": "__OpenWireRootUnit__.Sequence1.Elements.Digital Period.OutputPin",
                  "ID": "__OpenWireRootUnit__.Sequence1.Elements._Item1.OutputPin"
                }
              ]
            },
            "+": "TArduinoTimer",
            "Interval": 3367904
          },
          "Type": "Component",
          "Y": 432
        },
        {
          "X": 528,
          "Name": "Timer2",
          "Instance": {
            "OutputPin": {
              "SinkPins": [
                {
                  "Name": "__OpenWireRootUnit__.DigitalMultiMerger1.InputPins.Pin [1]",
                  "ID": "__OpenWireRootUnit__.DigitalMultiMerger1.InputPins._Pin1"
                },
                {
                  "Name": "__OpenWireRootUnit__.DigitalMultiMerger2.InputPins.Pin [0]",
                  "ID": "__OpenWireRootUnit__.DigitalMultiMerger2.InputPins._Pin0"
                }
              ]
            },
            "StartInputPin": {
              "SourcePins": [
                {
                  "Name": "__OpenWireRootUnit__.Sequence1.Elements.Digital Period.OutputPin",
                  "ID": "__OpenWireRootUnit__.Sequence1.Elements._Item2.OutputPin"
                }
              ]
            },
            "+": "TArduinoTimer",
            "Interval": 5858304
          },
          "Type": "Component",
          "Y": 528
        },
        {
          "X": 528,
          "Name": "Timer3",
          "Instance": {
            "OutputPin": {
              "SinkPins": [
                {
                  "Name": "__OpenWireRootUnit__.DigitalMultiMerger1.InputPins.Pin [2]",
                  "ID": "__OpenWireRootUnit__.DigitalMultiMerger1.InputPins._Pin2"
                }
              ]
            },
            "StartInputPin": {
              "SourcePins": [
                {
                  "Name": "__OpenWireRootUnit__.Sequence1.Elements.Digital Period.OutputPin",
                  "ID": "__OpenWireRootUnit__.Sequence1.Elements._Item3.OutputPin"
                }
              ]
            },
            "+": "TArduinoTimer",
            "Interval": 476732
          },
          "Type": "Component",
          "Y": 640
        },
        {
          "X": 528,
          "Name": "Timer4",
          "Instance": {
            "OutputPin": {
              "SinkPins": [
                {
                  "Name": "__OpenWireRootUnit__.DigitalMultiMerger2.InputPins.Pin [1]",
                  "ID": "__OpenWireRootUnit__.DigitalMultiMerger2.InputPins._Pin1"
                },
                {
                  "Name": "__OpenWireRootUnit__.DigitalMultiMerger1.InputPins.Pin [3]",
                  "ID": "__OpenWireRootUnit__.DigitalMultiMerger1.InputPins._Pin3"
                }
              ]
            },
            "StartInputPin": {
              "SourcePins": [
                {
                  "Name": "__OpenWireRootUnit__.Sequence1.Elements.Digital Period.OutputPin",
                  "ID": "__OpenWireRootUnit__.Sequence1.Elements._Item4.OutputPin"
                }
              ]
            },
            "+": "TArduinoTimer",
            "Interval": 3970000
          },
          "Type": "Component",
          "Y": 768
        },
        {
          "X": 704,
          "Name": "DigitalMultiMerger1",
          "Instance": {
            "InputPins": {
              "Pins": [
                {
                  "Type": "ptSink",
                  "SourcePin": {
                    "ID": "__OpenWireRootUnit__.Timer1.OutputPin"
                  }
                },
                {
                  "Type": "ptSink",
                  "SourcePin": {
                    "ID": "__OpenWireRootUnit__.Timer2.OutputPin"
                  }
                },
                {
                  "Type": "ptSink",
                  "SourcePin": {
                    "ID": "__OpenWireRootUnit__.Timer3.OutputPin"
                  }
                },
                {
                  "Type": "ptSink",
                  "SourcePin": {
                    "ID": "__OpenWireRootUnit__.Timer4.OutputPin"
                  }
                },
                {
                  "Type": "ptSink",
                  "SourcePin": {
                    "ID": "__OpenWireRootUnit__.Timer5.OutputPin"
                  }
                },
                {
                  "Type": "ptSink",
                  "SourcePin": {
                    "ID": "__OpenWireRootUnit__.Button1.OutputPin"
                  }
                },
                {
                  "Type": "ptSink",
                  "SourcePin": {
                    "ID": "__OpenWireRootUnit__.Button2.OutputPin"
                  }
                }
              ],
              "Count": 7,
              "Form": "__OpenWireRootUnit__"
            },
            "OutputPin": {
              "SinkPins": [
                {
                  "ID": "__OpenWireRootUnit__.PulseMeter1.InputPin"
                },
                {
                  "Name": "__OpenWireRootUnit__.Stepper1.Enabled",
                  "ID": "__OpenWireRootUnit__.Stepper1.EnabledInputPin"
                }
              ]
            },
            "+": "TArduinoDigitalMultiMerger"
          },
          "Type": "Component",
          "Y": 448
        },
        {
          "X": 736,
          "Name": "DigitalMultiMerger2",
          "Instance": {
            "InputPins": {
              "Pins": [
                {
                  "Type": "ptSink",
                  "SourcePin": {
                    "ID": "__OpenWireRootUnit__.Timer2.OutputPin"
                  }
                },
                {
                  "Type": "ptSink",
                  "SourcePin": {
                    "ID": "__OpenWireRootUnit__.Timer4.OutputPin"
                  }
                },
                {
                  "Type": "ptSink",
                  "SourcePin": {
                    "ID": "__OpenWireRootUnit__.Button2.OutputPin"
                  }
                }
              ],
              "Count": 3,
              "Form": "__OpenWireRootUnit__"
            },
            "OutputPin": {
              "SinkPins": [
                {
                  "Name": "__OpenWireRootUnit__.Stepper1.Reversed",
                  "ID": "__OpenWireRootUnit__.Stepper1.ReversedInputPin"
                }
              ]
            },
            "+": "TArduinoDigitalMultiMerger"
          },
          "Type": "Component",
          "Y": 688
        },
        {
          "X": 960,
          "Name": "Stepper1",
          "Instance": {
            "OutputPins": {
              "Pins": [
                {
                  "Type": "ptSource",
                  "SinkPins": [
                    {
                      "Name": "__OpenWireRootUnit__.Arduino.Digital[2].DigitalInputPin",
                      "ID": "__OpenWireRootUnit__.Arduino.Digital._Item2.DigitalInputPin"
                    }
                  ]
                },
                {
                  "Type": "ptSource",
                  "SinkPins": [
                    {
                      "Name": "__OpenWireRootUnit__.Arduino.Digital[3].DigitalInputPin",
                      "ID": "__OpenWireRootUnit__.Arduino.Digital._Item3.DigitalInputPin"
                    }
                  ]
                },
                {
                  "Type": "ptSource",
                  "SinkPins": [
                    {
                      "Name": "__OpenWireRootUnit__.Arduino.Digital[4].DigitalInputPin",
                      "ID": "__OpenWireRootUnit__.Arduino.Digital._Item4.DigitalInputPin"
                    }
                  ]
                },
                {
                  "Type": "ptSource",
                  "SinkPins": [
                    {
                      "Name": "__OpenWireRootUnit__.Arduino.Digital[5].DigitalInputPin",
                      "ID": "__OpenWireRootUnit__.Arduino.Digital._Item5.DigitalInputPin"
                    }
                  ]
                }
              ],
              "Count": 4,
              "Form": "__OpenWireRootUnit__"
            },
            "@": [
              {
                "PinName": "Enabled",
                "@": "Enabled",
                "+": "TOWBooleanSinkPinBinding",
                "SourcePin": {
                  "ID": "__OpenWireRootUnit__.DigitalMultiMerger1.OutputPin"
                },
                "Component": "Stepper1"
              },
              {
                "PinName": "Reversed",
                "@": "Reversed",
                "+": "TOWBooleanSinkPinBinding",
                "SourcePin": {
                  "ID": "__OpenWireRootUnit__.DigitalMultiMerger2.OutputPin"
                },
                "Component": "Stepper1"
              }
            ],
            "+": "TArduinoStepperMotor4Wire",
            "StepsPerSecond": 50
          },
          "Type": "Component",
          "Y": 528
        },
        {
          "X": 544,
          "Name": "Timer5",
          "Instance": {
            "OutputPin": {
              "SinkPins": [
                {
                  "Name": "__OpenWireRootUnit__.DigitalMultiMerger1.InputPins.Pin [4]",
                  "ID": "__OpenWireRootUnit__.DigitalMultiMerger1.InputPins._Pin4"
                }
              ]
            },
            "StartInputPin": {
              "SourcePins": [
                {
                  "Name": "__OpenWireRootUnit__.Sequence1.Elements.Digital Period.OutputPin",
                  "ID": "__OpenWireRootUnit__.Sequence1.Elements._Item5.OutputPin"
                }
              ]
            },
            "+": "TArduinoTimer",
            "Interval": 2040860
          },
          "Type": "Component",
          "Y": 864
        },
        {
          "X": 832,
          "Name": "DisplayOLED1",
          "Instance": {
            "Elements": {
              "*": [
                {
                  "ClockInputPin": {
                    "SourcePins": [
                      {
                        "Name": "__OpenWireRootUnit__.Arduino.Digital[10].OutputPin",
                        "ID": "__OpenWireRootUnit__.Arduino.Digital._Item10.OutputPin"
                      }
                    ]
                  },
                  "Name": "Fill Screen1",
                  "+": "TArduinoMonochromeGraphicsElementFillScreen"
                },
                {
                  "ClockInputPin": {
                    "SourcePins": [
                      {
                        "Name": "__OpenWireRootUnit__.Sequence1.Elements.Digital Period.OutputPin",
                        "ID": "__OpenWireRootUnit__.Sequence1.Elements._Item1.OutputPin"
                      }
                    ]
                  },
                  "Name": "Draw Text1",
                  "Text": "TARGET 1",
                  "+": "TArduinoMonochromeGraphicsElementDrawText"
                },
                {
                  "ClockInputPin": {
                    "SourcePins": [
                      {
                        "Name": "__OpenWireRootUnit__.Sequence1.Elements.Digital Period.OutputPin",
                        "ID": "__OpenWireRootUnit__.Sequence1.Elements._Item2.OutputPin"
                      }
                    ]
                  },
                  "Name": "Draw Text2",
                  "Text": "TARGET 2",
                  "+": "TArduinoMonochromeGraphicsElementDrawText",
                  "Y": 12
                },
                {
                  "ClockInputPin": {
                    "SourcePins": [
                      {
                        "Name": "__OpenWireRootUnit__.Sequence1.Elements.Digital Period.OutputPin",
                        "ID": "__OpenWireRootUnit__.Sequence1.Elements._Item3.OutputPin"
                      }
                    ]
                  },
                  "Name": "Draw Text3",
                  "Text": "TARGET 3",
                  "+": "TArduinoMonochromeGraphicsElementDrawText",
                  "Y": 24
                },
                {
                  "ClockInputPin": {
                    "SourcePins": [
                      {
                        "Name": "__OpenWireRootUnit__.Sequence1.Elements.Digital Period.OutputPin",
                        "ID": "__OpenWireRootUnit__.Sequence1.Elements._Item4.OutputPin"
                      }
                    ]
                  },
                  "Name": "Draw Text4",
                  "Text": "TARGET 4",
                  "+": "TArduinoMonochromeGraphicsElementDrawText",
                  "Y": 36
                },
                {
                  "ClockInputPin": {
                    "SourcePins": [
                      {
                        "Name": "__OpenWireRootUnit__.Sequence1.Elements.Digital Period.OutputPin",
                        "ID": "__OpenWireRootUnit__.Sequence1.Elements._Item5.OutputPin"
                      }
                    ]
                  },
                  "Name": "Draw Text5",
                  "Text": "BACK TO 0 POINT",
                  "+": "TArduinoMonochromeGraphicsElementDrawText",
                  "Y": 48
                },
                {
                  "ClockInputPin": {
                    "SourcePins": [
                      {
                        "ID": "__OpenWireRootUnit__.IntegerMultiMerger1.OutputPin"
                      }
                    ]
                  },
                  "InputPin": {
                    "SourcePin": {
                      "ID": "__OpenWireRootUnit__.IntegerToText1.OutputPin"
                    }
                  },
                  "+": "TArduinoMonochromeGraphicsElementTextFeld",
                  "Size": 2,
                  "@": [
                    {
                      "PinName": "Elements.Item [ 6 ].Enabled",
                      "@": "Enabled",
                      "+": "TOWBooleanSinkPinBinding",
                      "SourcePin": {
                        "ID": "__OpenWireRootUnit__.DigitalMultiMerger5.OutputPin"
                      },
                      "Component": "DisplayOLED1"
                    }
                  ],
                  "Name": "Text Field1",
                  "InitialValue": "",
                  "Y": 64
                }
              ]
            },
            "OutputPin": {
              "SinkPins": [
                {
                  "Name": "__OpenWireRootUnit__.Arduino.I2CChannels.I2C.InputPin",
                  "ID": "__OpenWireRootUnit__.Arduino.I2CChannels._Item0.InputPin"
                }
              ]
            },
            "+": "TArduinoDisplaySSD1306I2C"
          },
          "Type": "Component",
          "Y": 832
        },
        {
          "X": 1056,
          "Name": "Stepper2",
          "Instance": {
            "OutputPins": {
              "Pins": [
                {
                  "Type": "ptSource",
                  "SinkPins": [
                    {
                      "Name": "__OpenWireRootUnit__.Arduino.Digital[6].DigitalInputPin",
                      "ID": "__OpenWireRootUnit__.Arduino.Digital._Item6.DigitalInputPin"
                    }
                  ]
                },
                {
                  "Type": "ptSource",
                  "SinkPins": [
                    {
                      "Name": "__OpenWireRootUnit__.Arduino.Digital[7].DigitalInputPin",
                      "ID": "__OpenWireRootUnit__.Arduino.Digital._Item7.DigitalInputPin"
                    }
                  ]
                },
                {
                  "Type": "ptSource",
                  "SinkPins": [
                    {
                      "Name": "__OpenWireRootUnit__.Arduino.Digital[8].DigitalInputPin",
                      "ID": "__OpenWireRootUnit__.Arduino.Digital._Item8.DigitalInputPin"
                    }
                  ]
                },
                {
                  "Type": "ptSource",
                  "SinkPins": [
                    {
                      "Name": "__OpenWireRootUnit__.Arduino.Digital[9].DigitalInputPin",
                      "ID": "__OpenWireRootUnit__.Arduino.Digital._Item9.DigitalInputPin"
                    }
                  ]
                }
              ],
              "Count": 4,
              "Form": "__OpenWireRootUnit__"
            },
            "@": [
              {
                "PinName": "Enabled",
                "@": "Enabled",
                "+": "TOWBooleanSinkPinBinding",
                "SourcePin": {
                  "ID": "__OpenWireRootUnit__.DigitalMultiMerger3.OutputPin"
                },
                "Component": "Stepper2"
              },
              {
                "PinName": "Reversed",
                "@": "Reversed",
                "+": "TOWBooleanSinkPinBinding",
                "SourcePin": {
                  "ID": "__OpenWireRootUnit__.DigitalMultiMerger4.OutputPin"
                },
                "Component": "Stepper2"
              }
            ],
            "+": "TArduinoStepperMotor4Wire",
            "StepsPerSecond": 50
          },
          "Type": "Component",
          "Y": 912
        },
        {
          "X": 544,
          "Name": "Timer6",
          "Instance": {
            "OutputPin": {
              "SinkPins": [
                {
                  "Name": "__OpenWireRootUnit__.DigitalMultiMerger3.InputPins.Pin [0]",
                  "ID": "__OpenWireRootUnit__.DigitalMultiMerger3.InputPins._Pin0"
                }
              ]
            },
            "StartInputPin": {
              "SourcePins": [
                {
                  "Name": "__OpenWireRootUnit__.Sequence1.Elements.Digital Period.OutputPin",
                  "ID": "__OpenWireRootUnit__.Sequence1.Elements._Item1.OutputPin"
                }
              ]
            },
            "+": "TArduinoTimer",
            "Interval": 395292
          },
          "Type": "Component",
          "Y": 1120
        },
        {
          "X": 544,
          "Name": "Timer7",
          "Instance": {
            "OutputPin": {
              "SinkPins": [
                {
                  "Name": "__OpenWireRootUnit__.DigitalMultiMerger3.InputPins.Pin [1]",
                  "ID": "__OpenWireRootUnit__.DigitalMultiMerger3.InputPins._Pin1"
                },
                {
                  "Name": "__OpenWireRootUnit__.DigitalMultiMerger4.InputPins.Pin [0]",
                  "ID": "__OpenWireRootUnit__.DigitalMultiMerger4.InputPins._Pin0"
                }
              ]
            },
            "StartInputPin": {
              "SourcePins": [
                {
                  "Name": "__OpenWireRootUnit__.Sequence1.Elements.Digital Period.OutputPin",
                  "ID": "__OpenWireRootUnit__.Sequence1.Elements._Item2.OutputPin"
                }
              ]
            },
            "+": "TArduinoTimer",
            "Interval": 1564640
          },
          "Type": "Component",
          "Y": 1200
        },
        {
          "X": 544,
          "Name": "Timer8",
          "Instance": {
            "OutputPin": {
              "SinkPins": [
                {
                  "Name": "__OpenWireRootUnit__.DigitalMultiMerger3.InputPins.Pin [2]",
                  "ID": "__OpenWireRootUnit__.DigitalMultiMerger3.InputPins._Pin2"
                }
              ]
            },
            "StartInputPin": {
              "SourcePins": [
                {
                  "Name": "__OpenWireRootUnit__.Sequence1.Elements.Digital Period.OutputPin",
                  "ID": "__OpenWireRootUnit__.Sequence1.Elements._Item3.OutputPin"
                }
              ]
            },
            "+": "TArduinoTimer",
            "Interval": 308260
          },
          "Type": "Component",
          "Y": 1296
        },
        {
          "X": 544,
          "Name": "Timer9",
          "Instance": {
            "OutputPin": {
              "SinkPins": [
                {
                  "Name": "__OpenWireRootUnit__.DigitalMultiMerger3.InputPins.Pin [3]",
                  "ID": "__OpenWireRootUnit__.DigitalMultiMerger3.InputPins._Pin3"
                }
              ]
            },
            "StartInputPin": {
              "SourcePins": [
                {
                  "Name": "__OpenWireRootUnit__.Sequence1.Elements.Digital Period.OutputPin",
                  "ID": "__OpenWireRootUnit__.Sequence1.Elements._Item4.OutputPin"
                }
              ]
            },
            "+": "TArduinoTimer",
            "Interval": 1342468
          },
          "Type": "Component",
          "Y": 1392
        },
        {
          "X": 544,
          "Name": "Timer10",
          "Instance": {
            "OutputPin": {
              "SinkPins": [
                {
                  "Name": "__OpenWireRootUnit__.DigitalMultiMerger4.InputPins.Pin [1]",
                  "ID": "__OpenWireRootUnit__.DigitalMultiMerger4.InputPins._Pin1"
                },
                {
                  "Name": "__OpenWireRootUnit__.DigitalMultiMerger3.InputPins.Pin [4]",
                  "ID": "__OpenWireRootUnit__.DigitalMultiMerger3.InputPins._Pin4"
                }
              ]
            },
            "StartInputPin": {
              "SourcePins": [
                {
                  "Name": "__OpenWireRootUnit__.Sequence1.Elements.Digital Period.OutputPin",
                  "ID": "__OpenWireRootUnit__.Sequence1.Elements._Item5.OutputPin"
                }
...

This file has been truncated, please download it to see its full contents.

Credits

Quintrix

Quintrix

6 projects • 3 followers

Comments