Can't set Digital Output at +5V in HDC2450

8 years 9 months ago - 8 years 9 months ago #29529318 by Beginner
Hi

I active Digital output 6 with this code:
setcommand(_DSET, 6)

But I don't know how to set 5v for this Digital Output

Best regards

Please Log in or Create an account to join the conversation.

8 years 9 months ago #29529319 by Griffin Baker
Replied by Griffin Baker on topic Can't set Digital Output at +5V in HDC2450
The digital outputs are a switching ground.

So if you are driving an led from the 5V rail on the positive side of the led, then the negative side of the led goes to the digital output. When the digital output becomes activated, the ground closes the connection to the digital output.

Refer to page 43 of the user manual.

Please Log in or Create an account to join the conversation.

8 years 9 months ago #29529330 by Beginner
The internal transitor, is it a pnp or npn ?

Please Log in or Create an account to join the conversation.

8 years 9 months ago #29529331 by roboteq
Replied by roboteq on topic Can't set Digital Output at +5V in HDC2450
It is a N mosfet. Just follow the instructions in the manual

Please Log in or Create an account to join the conversation.

Moderators: tonysantoni
Time to create page: 0.071 seconds