the Prolific USB to Serial drivers and the Microbrn software on Windows 7. You will also get plenty of help from other users on the Microchip support forums, and you can use it with Microchip's low-cost development boards. K150 USB PIC ProgrammerThe PIC programmer drivers and software are available. They work "out of the box" with the MPLAB IDE, and you get in-circuit debugging as well as programming (you need a special header if you want to debug the 12F675 as it doesn't have on-chip debug hardware). Get a better programmer, such as the Microchip PICkit 2 or PICkit 3. PIC K150 board developed by DIY electronics team is an amazing piece hardware, it supports number of PIC microcontrollers of different series, eg. The data sheet is essential for this - read it thoroughly. Getting the right baud rate setting on the PIC can be a little tricky, depending on which specific language you are programming in - some calculations are often required to get the divisor from the system clock speed. Note that the PIC doesn't have any hardware handshaking as standard, and a very tiny (2 character) receive buffer, so I tend to write my own send/receive routines which implement hardware handshaking using a couple of other I/O lines which also go through the MAX232 chip (CTS/RTS). As far as I know there is no Linux software for that programmer, however you might be able to get the Windows version working through Wine. The PIC doesn't have this, but adding something like a MAX232 chip will convert the output to standard RS-232 levels.Īll you need to know is the correct protocols to use to talk to the remote device, and to implement them in the PIC's firmware. The only difference between the two is the PC will most likely have an RS-232 line driver in the circuit to provide the proper +/-12V or so. The PIC has an industry standard UART, and anything the PC can do the PIC can do as regards communicating.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |