Hi, I'm building a pcb with a microcontroller on it that is programmable via RS232.
I'm trying to construct a circuit to put on the pcb which will allow me to plug in a standard micro USB cable from the computer to a connector on my pcb, and then be able to program the microcontroller.
I want to avoid a need for any special USB-to-TTL or USB-to-DB9 cables and external breakout boards, and get it working with a standard micro USB cable.
Currently my idea is to put on a micro USB connector, and connect that to a FT232RL chip. Then, from that chip I'm thinking of connecting to a logic level inverter, like a SN74LVC2G04DBVRhttp://no.farnell.com/texas-instruments/sn74lvc2g04dbvr/ic-inverter-dual-smd-sot-23-6/dp/1287594. And hopefully that will give me RS232 RX/TX.
For now this is all just theory, so I'm not convinced this will work. What do you guys think?
I'm trying to construct a circuit to put on the pcb which will allow me to plug in a standard micro USB cable from the computer to a connector on my pcb, and then be able to program the microcontroller.
I want to avoid a need for any special USB-to-TTL or USB-to-DB9 cables and external breakout boards, and get it working with a standard micro USB cable.
Currently my idea is to put on a micro USB connector, and connect that to a FT232RL chip. Then, from that chip I'm thinking of connecting to a logic level inverter, like a SN74LVC2G04DBVRhttp://no.farnell.com/texas-instruments/sn74lvc2g04dbvr/ic-inverter-dual-smd-sot-23-6/dp/1287594. And hopefully that will give me RS232 RX/TX.
For now this is all just theory, so I'm not convinced this will work. What do you guys think?