How to send 4-20mA (1/3000 resolution)
Bronson
Posts: 44
Hi,
I am doing a project using BS2 that need to send 4-20mA signal (1/3000 resolution).
The workflow is: After BS2 receiving input through RS-232 (ASCII), it will send 4-20mA signal.
I have no problem receiving ASCII data through RS232 and process the ASCII with BS2, but I have zero-knowledge about sending 4-20mA using BS2.
By browsing this forum, I found that I need DAC (16-bit for 1/3000 resolution). Can I use MAX5661? How to do the wiring between MAX5661 (or any 16-bit DAC) and BS2? How to do the BS2 code?
Pls help me.....Thx a lot
Bronson Alex
I am doing a project using BS2 that need to send 4-20mA signal (1/3000 resolution).
The workflow is: After BS2 receiving input through RS-232 (ASCII), it will send 4-20mA signal.
I have no problem receiving ASCII data through RS232 and process the ASCII with BS2, but I have zero-knowledge about sending 4-20mA using BS2.
By browsing this forum, I found that I need DAC (16-bit for 1/3000 resolution). Can I use MAX5661? How to do the wiring between MAX5661 (or any 16-bit DAC) and BS2? How to do the BS2 code?
Pls help me.....Thx a lot
Bronson Alex
Comments
http://forums.parallax.com/showthread.php?t=120302&highlight=20mA
Unfortunately, the ascii-art didn't exactly translate with the Forum's migration to its present format (if you copy and paste it into Notepad, it'll probably come right, with Lucida Console.) When it comes to pics I always post Dwgs, text is for text.
For the DAC'ing, go to the Parallax http://www.parallax.com store site and search for DAC. You'll find links to sample programs, etc., which should provide clues for you if not for your specific device.
It's not ascii-art, but it'll have to do.
-Phil
Thx
-Phil
I will try your suiggestion right away.