12-08-2017 04:17 AM
Hello everyone, I am Trying to Control a LED Using 6008 DAQ.
I tried that simple problem using I/O Digital Pin and it isn't working .. I have tried output analog pin, gave it 5 Volts and the led works.
So i am wondering why the digital pins aren't working
12-08-2017 04:22 AM - edited 12-08-2017 04:23 AM
Hi Awny,
did you read the datasheet and specs of the USB6008?
Especially those specs on the DO capabilities of the USB6008 (keywords "open drain", "internal pull-up resistor") might be interesting to you!
12-08-2017 07:24 AM
Hello El-Awny,
The digital outputs on USB-6008 can be configured as open collector or active drive. The selection of configuration depends on how you are going to connect the LED.
If open-collector - you should have external power supply (5V), to drive the LED, while with active drive configuration, it will output 5V to drive the LED. The default configuration is open collector, so if you have connected LED between the digital output and ground, and haven't configured the channel for active drive, it will not work.
Thanks,
Arev
CTO | RAFA Solutions
12-08-2017 07:30 AM - edited 12-08-2017 07:30 AM