I'm very new to the electronics stuff. I've spent most of my discovering things so far, however there is something that I'm stuck on.
I want to get a PIC18F4550 to begin with, and I'm wondering if I can use a PL2303HX USB to TTL UART module to connect the chip to the programmer (image here).
If yes, would I need to connect RXD to RX/DT and TXD to TX/CK pins?
Yes, I know PICKit exists. I'm trying to find a way around that.
-
\$\begingroup\$ Why do you want a way around using a programmer? \$\endgroup\$Trygve Laugstøl– Trygve Laugstøl2012年12月05日 10:00:51 +00:00Commented Dec 5, 2012 at 10:00
1 Answer 1
I just took a look at the datasheet for the PIC18F4550 (link). It does support EUSART (Enhanced Universal Sync/Async Receiver Transmitter), thats what they call it I guess. You would simply have to setup transmit and receive (pg 244, 245) properly. Setup your baud, enable transmit/receive, etc. Then hookup your PL2303HX and you should be set. Specifically pin-26 and pin-25 for the 40-pin pdip diagram.
Some advice seeing that you are new to this stuff. Get a microcontroller with as much timers as you can afford (higher bit timers i.e. 16-bits are ideal). Also be careful of the suppliers you buy from, some of them sell after market parts that may have different vendor/device IDs that will render them useless unless you use their programming software. Also buy 2 of those TTL receivers, you will need it when the other burns out.
Hope this answers your question.
-
\$\begingroup\$ Well, the reason I asked was to avoid importing a PICKit from the US, however it took shorter than the answer I could get here. I have several PICs by now (PIC18s, dsPIC24s and PIC32s) and am working on my quadcopter project. \$\endgroup\$Ozbekov– Ozbekov2013年03月02日 03:36:21 +00:00Commented Mar 2, 2013 at 3:36
-
\$\begingroup\$ Wow, when I first started with microcontrollers I actually started building a quadcopter myself. I use mainly AVRs so I really cant say much about PICs however from what I have seen, they are all very similar. \$\endgroup\$1337holiday– 1337holiday2013年03月03日 19:51:54 +00:00Commented Mar 3, 2013 at 19:51
-
\$\begingroup\$ To be honest -- I don't really care about the hardware part of it, I just want to write an autopilot for it! \$\endgroup\$Ozbekov– Ozbekov2013年03月04日 03:40:12 +00:00Commented Mar 4, 2013 at 3:40