Flashing a device by using Phidgets

Supporting 2.6 and up
Fresh meat
Posts: 3
Joined: Fri Feb 21, 2020 7:16 am

Flashing a device by using Phidgets

Postby akwa » Fri Feb 21, 2020 7:19 am

Is it possible to flash a device by using Phidgets? I think I should use a 4x Relay Phidget to do this. But I don't know how to start.. I'm kinda bad at programming. I was planning to use Python for this.

User avatar
Site Admin
Posts: 690
Joined: Fri Oct 28, 2011 12:17 pm

Re: Flashing a device by using Phidgets

Postby mparadis » Fri Feb 21, 2020 8:29 am

I doubt a Phidget digital output would be fast enough to simulate the kind of signal needed to flash a device. You'd also have to custom program all of the logic behind creating the signal, which would be a lot of work. In most cases, any device that can be flashed typically has a specialized utility available that makes flashing easy.

Labview Developer
Posts: 100
Joined: Mon Nov 13, 2017 10:20 am

Re: Flashing a device by using Phidgets

Postby jdecoux » Mon Feb 24, 2020 10:40 am

Unless you mean flashing a light? That would be quite easy.

Fresh meat
Posts: 1
Joined: Tue Sep 10, 2019 11:32 am

Re: Flashing a device by using Phidgets

Postby sumware » Fri Feb 28, 2020 10:31 pm

# purchase a VINT HUB from
# https://www.phidgets.com/?tier=3&catid= ... prodid=643
# and
# purchase a Signal Relay Phidget from
# https://www.phidgets.com/?tier=3&catid= ... prodid=723

# plug the VINT HUB into your computer's USB port
# and the Signal Relay Phidget into the VINT HUB

# paste the code below into Python and run it.
# BAM! Flashing device! (light, strobe, horn, etc.)

from Phidget22.Phidget import *
from Phidget22.Devices.DigitalOutput import *
import time

digitalOutput0 = DigitalOutput()

while (1):
time.sleep(.15) # .15 seconds ON
time.sleep(1) # 1.0 seconds OFF


# press CTRL+C to end program

# This code was mostly generated by
# Phidgets online Code Samples Generator - TOO EASY!
# https://www.phidgets.com/?tier=3&catid= ... prodid=723

Return to “Linux”

Who is online

Users browsing this forum: No registered users and 2 guests