Here is the list for our demo devices. Different devices might have different default settings. Please adjust the procedures based on your corresponding devices.
cd /usr/src/Neon/Sample/Neon_Setting
to adjust Neon setting.sudo ./NeonSet DO 1 1
to turn on the LED, use sudo ./NeonSet DO 1 0
to turn off the LED conversely.Due to dual function of DO0 and DI0, the default function of DO0 is strobe out and DI0 is trigger in. If you want to set them as general DO and DI. Please configure it as following:
sudo /usr/src/Neon/Sample/Neon_Setting/NeonSet DIO0Config 1
Check the information of DIO.
sudo /usr/src/Neon/Sample/Neon_Information/NeonInformation
Connect the light with the light controller at channel 1.
Connect the light controller with din board at strobe channel 1. Plug the positive wire in pin 3 for device output, and plug the negative wire in the pin 10 for grounding.
Connect the Neon with the din board through a connector.
Connect a trigger device on the din board. Insert the positive wire at pin 11 for trigger in, insert the negative wire at pin 10 for grounding. Here we used a 5V power supply for demonstration, you could connect your own device for your own purposes.
Adjust the default settings from Neon. Please enter the specific file path to adjust the settings. We modified the strobe-out polarity to set turning off the light as default, this step might be different due to your controller devices. Once the Neon reboots, the setting would be restored.
sudo -i
to get in root mode.cd /sys/class/neon_camctrl
to change directory.cat
command to check current status. To change the default setting of strobe-out polarity, use the command echo 1 >StrobeOutPolarity
.To extend or narrow the device strobe out time, please follow the steps
cd /usr/src/Neon/Sample/Neon_Setting
to change the current working directory.sudo ./NeonSet StrobeOutPulseWidth N
. The parameter N is the time of the width, the unit is us(10^-6 second).cd /usr/src/Neon/Sample/Neon_Information
. Use sudo ./NeonInformation
to get current status.