A simple Serial-In-Parallel-Out / Parallel-In-Serial-Out USB to 5V TTL interface for Microchip's PIC16F690 Micro-controller.
You can watch the YouTube video of this project for a full demonstration.
This repository contains the code you'll need to load to your PIC microcontroller in order to send bytes from your POSIX terminal into the outside world as 5V TTL signals.
You can then use these 5V terminals to control real-life devices such as relays or other 5V digital circuitry.
I made this project back in college and my purpose was to replace as much of the closed-source software we used from Microchip as I could with Open Source alternatives.
To work on this project you're going to need to install the following:
apt-get install build-essential gputils gpsim
make
Check out the YouTube video for a full usage example.
Use the following command to run a gpsim simulation:
make sim
You will also need PK2CMD from Microchip. Make sure you follow the installation instructions from their website before you try to use this project!
Use these commands to program, start, stop or erase the PIC16F690 respectively:
make prog
make start
make stop
make erase
NOTE: You will need a PICKIT2 and a PIC16F690 to be able to use these commands.
Oscar Mier
- Github: @voscarmv
- Twitter: @voscarmv
- Linkedin: Oscar Mier
Contributions, issues and feature requests are welcome!
Feel free to check the issues page.
Give a โญ๏ธ if you like this project!