Difference between revisions of "DsPic-Raspberry programmer interface"
Jump to navigation
Jump to search
Phyton srcipt
A backup is also founded at elab1/...
| Line 50: | Line 50: | ||
The picpgm software is [http://picpgm.picprojects.net/index.html hosted here] and should be used with the following script: | The picpgm software is [http://picpgm.picprojects.net/index.html hosted here] and should be used with the following script: | ||
| − | + | <li> | |
| + | <br>Phyton srcipt<br/> | ||
| + | <pre>CODE</pre> | ||
| + | </li> | ||
| + | <li> | ||
A backup is also founded at elab1/... | A backup is also founded at elab1/... | ||
Revision as of 10:54, 13 May 2020
dsPic-Raspberry programmer interface
A general purpose interface consisting in two opto-couplers have been developed to program the dsPic micro-controllers directly from the Raspberry, allowing remote maintenance and reprogramming of each de-localized unit.
It as to be powered by 12 V (minimum voltage 10.5V - maximum voltage 13.5V) dsPic node unregulated Vcc and feed by the Raspberry GP_I/O, with a common digital ground.
Pin-out and connections
The following table describes the pin-out assembly of the opt-programmer developed to be used with picpgm software.
| Programmer pin-out | |||||
|---|---|---|---|---|---|
| Rasp I/O | Label | Programmer I/O | Cable | ||
| 39 | GND | GND | Blue/Wh | ||
| 37 | GPIO26 | TBD - Function | Brown | ||
| 35 | GPIO19 | TBD | Blue | ||
| 33 | GPIO13 | TBD | Green | ||
| 29 | GPIO05 | TBD | Brown/Wh | ||
| 03 | GPIO02 | TBD | Orange | ||
Software use
The picpgm software is hosted here and should be used with the following script:
Phyton srcipt
CODE