I want to transfer data from my pc to my PIC16F767. Can someone point me in the right direction? I was hoping to just rip up a usb cable and wire it to my pic but I know I will need some kind of driver for windows. I found usbio but the demo is only usable for 4 hours at a time. I was hoping to find a better free solution if possible.
I got my max232 circuit and I am still assembling it. I was under the impression that I only need to use TX and RX for transfer to my pic so do I need to do anything with C/DS and R/DT pin. I dont know how to set up jumpers on the 3x2 header for that either. here is the schematic
If it's just from your pc via the usb to serial converter then you don't require the MAX232 chips. I've just used this method and it's fine without the converters.
If it's just from your pc via the usb to serial converter then you don't require the MAX232 chips. I've just used this method and it's fine without the converters.
I just soldered it together and all the connections are made. I tried testing it by putting TX and RX together and sending data using hyperterminal to see if it recieves but it doesnt. I dont know how else to test to see if it works. I hope I didnt ruin the ic when soldering it
yes. ive done this just using a simple db9 connector and it worked before.
I just now realized something. the numbers on outside of the female db9 connector are correct but they are backwards on the pcb and dont match. therefore rx and tx arent even going into the right pin. wow i guess thats what I get for trying to buy a cheap kit. nobody buy this kit.... RS232 TTL Convertor Cable Kit MAX3232 AVR,PIC,GPS,XBOX
oh and the diagram isnt correct either? that means they screwed up twice
I connected to a different db9 connector and fed the tx and rx wires into my kit as they should be and it worked! I may as well just desolder the serial connector on the kit as it is worthless. As for the schematic being wrong...It didnt effect my hyperterminal test but I will just have to remember that tx and rx output are switched when i connect it to my circuit.
I cant believe how awful the kit turned out to be, doesnt even work when assembled correctly. That's pretty bad considering I am a college student just learning about these things. I was expecting it to be something I did wrong but the problem was in the kit itself.
The diagram is only labeled wrong. It is labeled with respect to the PC and so the pin marked RX on J1 has to go to the pics TX pin. Similarly, the pin marked TX has to connect to the RX pin on the pic.
I connected to a different db9 connector and fed the tx and rx wires into my kit as they should be and it worked! I may as well just desolder the serial connector on the kit as it is worthless. As for the schematic being wrong...It didnt effect my hyperterminal test but I will just have to remember that tx and rx output are switched when i connect it to my circuit.
[.....Some USB to RS232 converters use integrated DC/DC converters to create the appropriate voltage levels for the RS232 signals, but in very cheap implementations, the +5 Volt voltage is directly used to drive the output.]
ok maybe i spoke too soon. it does not work. in am very confused by what is happening. When i plug my serial cable into the kit with the new soldered connector it always transmits data back in hyperterminal. even when the max232 is not powered. ive checked pin 2 and 3 numerous times and there is no connection according to my multimeter.
That picture actually doesnt look anything like what I got. I dont even see the max232 chip or 5 capacitors on there. See I ordered this kit off of ebay because it was real cheap and the website I linked is supposed to be what I recieved.