AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |
Back to Blog
Ttl opto isolator9/17/2023 i don't know got it recommended from the suppler, i don't have i high knowledge of electronic. Why are you bringing RX low when the other side brings that pin high? The Jack-Side in the picture above "Fig1"is the connection for the interface card i posted bellow.įig 1 terminal K1 go to Fig 2 Arduino side terminal J1=6įig 1 terminal K2 go to Fig 2 Arduino side terminal J1=7įig 1 terminal K3 go to Fig 2 Arduino side terminal J1=5 GND The converter connect also to the same interface with the opto-islolator as the arduino with only TX RX and GND, but off curse if i try with the arduino i remove the connection for the PC.īut for the question about inverted TTL i think maybe a schematic from this converter can help to get the answer about the inverted TTL.įig1 The schematic of the converter but this is only used if i use the computer to communicate with the meter.įig2 Interface card with the opto-islolator. Inside the DB9 connector for the pc there is a small PCB for level converting. If i use my computer to test the request to the meter i have to use a special cable. I will do some testing as you recommended. So im sure this is not the problem, and also sure my request code from the arduino to the meter is right. The opto-isolator is working just fine, i can use my computer with a special cable from the supplier to check the communication. I don't know if it's the output or indput since i can't get any answer from the device. So i hope someone have a idea or another way to get i working. I got the schematic over the heat meter where i do the interfacing, but they told me with a TTL i have to put in a 1 k Ohm resistor and a 4,7 k Ohm pull up resistor.īut this did not work, i talk again with the company and they think that a pull op resistor on the TX from the arduino will help, but i don't not know what size and how to connect it. Pin0 10kOhm resistor => Data Req "J1=6" to the interface. So now i tried to connect my arduino to the Heat meter with a resistor but no result. The problem is that i have to interface my Arduino UNO with a Heat energy meter, the meter has a interface where i won't to connect my arduino to,īut i can not get any response from the meter, so i think the problem is to "drive" the OPTO isolator. For opto-isolated lines, set(false) enables the current-flowing state (the LED inside the opto-isolator is ON, thus the circuit is closed and is transmitting a signal through the opto-isolator)Ĭopyright © 2019 | Cognex Corporation | All Rights Reserved.ĬVL User's Guide | 2019 October 02 | Revision: 9.0.0.I hope someone can help me, this is a part from a post from the old forum, but i still need to get it working.For TTL output and bidirectional lines, set(false) sets the TTL low state (0 V).The meanings of set(false) are as follows: For opto-isolated lines, set(true) enables the no-current-flowing state (the LED inside the opto-isolator is OFF, and thus the circuit is open and not transmitting a signal through the opto-isolator).For TTL output and bidirectional lines, set(true) sets the TTL high state (+5 V).Invoking set(true) has different effects on TTL and opto-isolated lines:.To set the output line high, use the set() function: You must enable your output line before using any other function on it:
0 Comments
Read More
Leave a Reply. |