PIC microcontroller is a very useful and powerful tool; it’s also simple to set up.

Step 1: An IDE to develop in (PIKlab)

We need to install Qt and KDE libraries in the base Ubuntu install by using:

Sudo apt-get install libqt3-mt, and

Sudo apt-get install kdelibs.

Next, make sure you install the command “alien <insert RPM filename here>“, the alien will generate the .deb file automatically. After it, don’t forget to execute the command “sudo dpkg -i <new .deb filename>“. Just open the CLI and enter “piklab”

to launch the “piklab”.

Step 2: A C compiler to develop with (Hi-Tech C Lite)

Register and download the file, then navigate to the destination and execute “chmod +x <the file>“, file will be executed and command will start the installation: “./<the file>“.

After it, the compiler is set up.

Step 3: A PIC simulator and some utilities to help debugging (GPsim and GPutils)

Install the GPsim (GNU PIC Simulator) and GPutils (GNU PIC utilities) with “adp-get”.

Congratulation, you’ve done the set up! [source]

Related Posts