Best Tool for Basic PIC Programming

Click For Summary

Discussion Overview

The discussion centers around selecting the best tool for basic PIC programming, particularly for beginners interested in projects like blinking LEDs and synchronizing lights with music. Participants explore various programming tools and platforms, including PIC-specific options and alternatives like Arduino and Raspberry Pi.

Discussion Character

  • Exploratory
  • Technical explanation
  • Debate/contested
  • Homework-related

Main Points Raised

  • One participant expresses interest in using PIC microcontrollers for a project involving blinking LEDs and music synchronization, seeking the easiest and cheapest programming tool.
  • Another participant recommends purchasing a PICkit 3 kit and learning to program in C or assembly language, suggesting the use of MPLAB for a better understanding of the environment.
  • A third participant shares links to various microcontroller development boards, noting that some come with necessary components and compiler software, while others may require additional purchases like USB cables.
  • There is a clarification that Arduino is based on ATmega microcontrollers, which are not compatible with PIC microcontrollers, leading to a discussion about the focus on learning either PIC specifically or microcontrollers in general.
  • One participant mentions that Arduino is beginner-friendly and has extensive community support, although it may not provide the desired learning experience for PIC programming.
  • Another participant shares their experience with Arduino, noting that while the language is not intuitive, they were able to achieve basic tasks quickly, expressing a preference for Basic language over C.
  • There is a suggestion that learning programming should be approached separately from learning about microcontrollers to ease the learning process.

Areas of Agreement / Disagreement

Participants express differing opinions on whether to focus on PIC microcontrollers or explore other microcontroller platforms like Arduino. There is no consensus on the best tool for beginners, as various perspectives on ease of use, compatibility, and learning outcomes are presented.

Contextual Notes

Some participants highlight the importance of understanding the differences between microcontroller families, particularly the compatibility issues between PIC and Atmel products. The discussion also reflects varying levels of programming experience and preferences for programming languages.

Who May Find This Useful

Beginners interested in microcontroller programming, particularly those considering projects involving PIC microcontrollers or exploring alternatives like Arduino.

Draff
Messages
3
Reaction score
0
Good day to you all,

I'm starting to get interested in making a project which involves using PICs but since I am a newbie at this I want to start by making a PIC blink LEDs like in christmas lights. But upon looking it up on the net I was bombarded with multiple options for "basic PIC programming tools" like arduino, raspberi pi, pickit3, etc. Now since I am just starting and I don't have the luxury of buying multiple tools, I need to know which is easiest, cheapest, and best suited for someone like me. Because as I read about raspberi pi it was, in itself, a built in computer which might be hella pricey for just a microcontroller for sparkly lights. And for the arduino, a comment mentioned that it works only for atmel(i think) PICs, does that mean it doesn't work for regular PICs?

To simplify my current project in mind, I would like to try creating a circuit that plays music and the LEDs would light up in sync with it. I kinda want to try mixing it up a little once I learn PIC programming.
 
Engineering news on Phys.org
If you truly want to learn about PIC microcontrollers and not a bunch of other 'can be loosely associated with a PIC' stuff then buy a pickit 3 kit and learn to program it in C or assembly language. You can get a head start by downloading MPLAB and getting used to that environment. A search on this forum will also turn up some useful results.
 
Not necessarily PIC but a variety of micro-controllers:
https://www.digikey.com/products/en/development-boards-kits-programmers/evaluation-boards-embedded-mcu-dsp/786?k=&pkeyword=&FV=ffe00312&mnonly=0&ColumnSort=1000011&page=1&stock=1&quantity=0&ptm=0&fid=0&pageSize=25
https://www.digikey.com/products/en/development-boards-kits-programmers/evaluation-boards-embedded-mcu-dsp/786?k=&pkeyword=&FV=ffe00312&mnonly=0&ColumnSort=1000011&page=1&stock=1&quantity=0&ptm=0&fid=0&pageSize=25

Many of these come complete with everything you need (USB cables may need to be sourced separately for some of them) to get started with development including the compiler software. You need to supply your own LED's and such. The Cypress PSOC parts have most of the bring up and peripheral configuration code produced through a graphical environment.

This one is a bit pricey but includes parts and a breadboard for prototyping as well:

https://www.sparkfun.com/products/14265

It is an Arduino board so may be easier to start due to massive community support.

BoB
 
Question is: do you want to learn particularly about PIC micro-controller, or about micro-controllers in general? PIC is one family, Atmel makes another family (ATmega, ATtiny and so on) - they aren't compatible, but in most applications quite equivalent.

Arduino is based on ATmega, so it won't let you learn about PIC, but as rbelli1 wrote it has a massive support so can be easier to start with.
 
Arduino is an easy one to start with because it's aimed at beginners. I bought their "Esplora" on sale for $13 .
It plugs into a PC's USB port. You download the development software from their site .

At my age the Arduino language, similar to C I'm told, is far from intuitive but i was able to flash the lights and count in Roman Numerals after two or three evenings.
I much prefer Basic language.

Learning your first one will shape your thinking process to accept the 'rules' of programming. Computers are terribly nit-picky.
 
  • Like
Likes   Reactions: Averagesupernova
jim hardy said:
At my age the Arduino language, similar to C I'm told, is far from intuitive but i was able to flash the lights and count in Roman Numerals after two or three evenings.
I much prefer Basic language.

Learning to program is IMHO better done not as a part of learning how to use micro-controllers. I mean - once you know enough about programming learning how the micro-controller works is a breeze.
 

Similar threads

  • · Replies 4 ·
Replies
4
Views
6K
  • · Replies 14 ·
Replies
14
Views
2K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 1 ·
Replies
1
Views
4K
  • · Replies 8 ·
Replies
8
Views
4K
Replies
8
Views
4K
Replies
3
Views
2K
  • · Replies 17 ·
Replies
17
Views
25K
  • · Replies 6 ·
Replies
6
Views
7K