If you want to dive in to real pic land then you can get hold of a dev board from http://www.mikroe.com/eng/home/index/ or something similar from elsewhere.
As for documentation and tutorials then google is your friend.
Oh, in case you get tempted, it seems the cool kids are using the Arduino (not pic) from http://www.arduino.cc/
If you're new to PIC programming you have a few choices:
PIC16 vs PIC18
PIC18 devices are more advanced and you can often program in PIC Assembly without having to worry about BANK calls so much. If you're programming simple things, PIC18 will have less housekeeping.
Assembly vs C
I prefer PIC ASM, but Microchip provides a free C compiler with MPLAB. The C you use to program PICs in is somewhat simpler than the C you use to compile the Linux kernel... it's basically a wrapper around ASM and lets you do nice loops and "if" statements that assembly lacks.
MPLAB vs MPLABX
MPLAB is the original IDE for developing PIC code. Installs on Windows only and is relatively easy to use, but shows its age a little.
MPLABX will run on more OS's. I have not used it much, but it feels a little more complex. Its very different to MPLAB.
Digikey and Microchip Direct are great sources for PIC stuff. The PIC ICD3 is a good device programmer. See if your school has a discount with Microchip Direct, any certified Microchip developer gets around 50% off on dev tools.
As separate advice, figure out how I2C, USARTs, PWM work... these are all core modules in PICs that let you do all the fun stuff with the outside world. Once you've flashed a few LEDs you'll want to start to interface with other chips etc.
A PIC is not an Arduino, don't expect it to upload to Twitter in 5 minutes of coding, The smaller PICs are better at low level low power type applications.
正如其他人所说,还有其他嵌入式设备可以使用,即 AVR、Arduino、ARM。 AVR 是非常好的套件。查看 NGW100 入门套件。它拥有强大的处理器,带有大量 I/O,甚至还有用于 LCD、麦克风和摄像头的端口。其开发是用 C 语言进行的,AVR 提供了多平台开发工具。它甚至还有以太网端口 LAN 和 LAN 端口。 WAN 相当容易使用。该套件配有自己的 IP 堆栈,因此无需复杂的编程即可使用网络功能。
祝你好运!
Microchip provide several starter kits. So look at that and I suggest maybe start with a 8pin PIC or like your senior stated 16 or 18 pin. The difference isn't huge and its fairly easy to move between different PICs. Some will have ADCs, larger memory or even dual memory for programs so you can program it with two different programs and choose at runtime which program to run.
Microchip is the manufacturer for all PICs. PICs purchsed from Microchip need to be programmed in C. However, If you decide to go for PICAXE PICs, they need to be programmed in BASIC. PICAXE which is a product by Revolution Education adds a bootstrap program to Microchip PICs to make it easier to program and are aimed at hobbyists who don't really need any low level control (although possible).
Like others have said, there are other embedded devices you can play with, namely AVR, Arduino, ARM. AVR is very nice piece of kit. Look at the NGW100 starter kit. It has a powerful processor with lots of I/Os and even ports for LCDs, microphones, and cameras. The development for this is in C and AVR provides multiplatform dev tools. It even has Ethernet ports LAN & WAN which are fairly easy to use. The kit comes with its own IP stack so no complex programming needed to use network features.
我不同意与 AVR 相关的评论。 Microchip 在工业界更成功,并且拥有比 AVR 更好的工具。就“简单”而言,它们在难度上是相当的,都提供汇编语言和 C 语言,只是 AVR 的 GNU 工具链比 Microchip 更复杂(因为它需要使用 Unix、命令行等;而 Microchip使用非常可靠和基本的集成开发 GUI,还提供完整的离线模拟)。通常,初学者很快就会了解到 Arduino 开发板更多的是一种障碍,而不是开发低成本微控制器产品的一种方法。
Try UBW which is a PIC board developed at a university for development on Microchip PIC18 without need for a programmer. It plugs into USB. http://www.schmalzhaus.com/UBW/
I disagree with the comment related to AVR. Microchip is more successful in industry and has better tools than AVR. As far as "easy" goes, they are both equivalent in terms of difficulty, both provide Assembly and C, except that the GNU toolchain for AVR is more complex than Microchip (because it requires use of Unix, command line, etc; whereas Microchip uses a very solid and basic integrated development GUI which also provides full offline simulation). Typically beginners quickly learn that the Arduino dev boards are more of a handicap than a way to develop low cost microcontroller products.
发布评论
评论(5)
PICkit 3 是一款相对便宜的编程器/在线调试器,通过 USB 连接到您的计算机:
http://www.microchip.com/stellent/idcplg?IdcService=SS_GET_PAGE&nodeId=1406&dDocName=en538340
The PICkit 3 is a relatively inexpensive programmer/in-circuit debugger that connects to your computer via USB:
http://www.microchip.com/stellent/idcplg?IdcService=SS_GET_PAGE&nodeId=1406&dDocName=en538340
要获得真正温和的介绍,您可以尝试 http://en.wikipedia.org/wiki/PICAXE 中的 PICAXE 所有组件均可从 http://www.rev-ed.co 获取.uk/picaxe/
如果您想深入了解真实的图片世界,那么您可以从 http://www.mikroe.com/eng/home/index/ 或其他地方的类似内容。
至于文档和教程,那么谷歌是你的朋友。
哦,如果你受到诱惑,看来很酷的孩子正在使用 http://www 的 Arduino(不是图片) .arduino.cc/
For a real gentle introduction you can try the PICAXE from http://en.wikipedia.org/wiki/PICAXE all the components are available from http://www.rev-ed.co.uk/picaxe/
If you want to dive in to real pic land then you can get hold of a dev board from http://www.mikroe.com/eng/home/index/ or something similar from elsewhere.
As for documentation and tutorials then google is your friend.
Oh, in case you get tempted, it seems the cool kids are using the Arduino (not pic) from http://www.arduino.cc/
如果您是 PIC 编程新手,您有几种选择:
PIC16 与 PIC18
PIC18 器件更先进,您通常可以在 PIC 汇编中进行编程,而不必太担心 BANK 调用。如果您正在编程简单的东西,PIC18 将需要更少的内务处理。
汇编与 C
我更喜欢 PIC ASM,但 Microchip 提供了带有 MPLAB 的免费 C 编译器。用于对 PIC 进行编程的 C 语言比用于编译 Linux 内核的 C 语言简单一些……它基本上是 ASM 的包装器,可让您执行汇编所缺少的良好循环和“if”语句。
MPLAB 与 MPLABX
MPLAB 是用于开发 PIC 代码的原始 IDE。仅在 Windows 上安装并且相对易于使用,但显示出它的年代有点久远。
MPLABX 将在更多操作系统上运行。我用的不多,但感觉有点复杂。它与 MPLAB 有很大不同。
Digikey 和 Microchip Direct 是 PIC 资料的重要来源。 PIC ICD3 是一款优秀的器件编程器。查看您的学校是否有 Microchip Direct 折扣,任何经过认证的 Microchip 开发人员均可享受开发工具约 50% 的折扣。
作为单独的建议,弄清楚 I2C、USART、PWM 是如何工作的……这些都是 PIC 中的核心模块,可让您与外界进行所有有趣的事情。一旦你闪烁了几个 LED,你就会想要开始与其他芯片等接口。PIC
不是 Arduino,不要指望它会在 5 分钟的编码内上传到 Twitter,越小的 PIC 越低越好级低功耗类型应用。
If you're new to PIC programming you have a few choices:
PIC16 vs PIC18
PIC18 devices are more advanced and you can often program in PIC Assembly without having to worry about BANK calls so much. If you're programming simple things, PIC18 will have less housekeeping.
Assembly vs C
I prefer PIC ASM, but Microchip provides a free C compiler with MPLAB. The C you use to program PICs in is somewhat simpler than the C you use to compile the Linux kernel... it's basically a wrapper around ASM and lets you do nice loops and "if" statements that assembly lacks.
MPLAB vs MPLABX
MPLAB is the original IDE for developing PIC code. Installs on Windows only and is relatively easy to use, but shows its age a little.
MPLABX will run on more OS's. I have not used it much, but it feels a little more complex. Its very different to MPLAB.
Digikey and Microchip Direct are great sources for PIC stuff. The PIC ICD3 is a good device programmer. See if your school has a discount with Microchip Direct, any certified Microchip developer gets around 50% off on dev tools.
As separate advice, figure out how I2C, USARTs, PWM work... these are all core modules in PICs that let you do all the fun stuff with the outside world. Once you've flashed a few LEDs you'll want to start to interface with other chips etc.
A PIC is not an Arduino, don't expect it to upload to Twitter in 5 minutes of coding, The smaller PICs are better at low level low power type applications.
Microchip 提供了多种入门套件。所以看看这个,我建议也许从 8 针 PIC 开始,或者像你的前辈所说的 16 或 18 针一样。差异并不大,而且在不同 PIC 之间移动相当容易。有些将具有 ADC、更大的内存甚至用于程序的双内存,因此您可以使用两个不同的程序对其进行编程,并在运行时选择要运行的程序。
Microchip 是所有 PIC 的制造商。从 Microchip 购买的 PIC 需要使用 C 语言进行编程。但是,如果您决定购买 PICAXE PIC,则需要使用 BASIC 进行编程。 PICAXE 是 Revolution Education 的产品,在 Microchip PIC 中添加了引导程序,使其更易于编程,并且针对那些实际上不需要任何低级控制(尽管可能)的爱好者。
正如其他人所说,还有其他嵌入式设备可以使用,即 AVR、Arduino、ARM。 AVR 是非常好的套件。查看 NGW100 入门套件。它拥有强大的处理器,带有大量 I/O,甚至还有用于 LCD、麦克风和摄像头的端口。其开发是用 C 语言进行的,AVR 提供了多平台开发工具。它甚至还有以太网端口 LAN 和 LAN 端口。 WAN 相当容易使用。该套件配有自己的 IP 堆栈,因此无需复杂的编程即可使用网络功能。
祝你好运!
Microchip provide several starter kits. So look at that and I suggest maybe start with a 8pin PIC or like your senior stated 16 or 18 pin. The difference isn't huge and its fairly easy to move between different PICs. Some will have ADCs, larger memory or even dual memory for programs so you can program it with two different programs and choose at runtime which program to run.
Microchip is the manufacturer for all PICs. PICs purchsed from Microchip need to be programmed in C. However, If you decide to go for PICAXE PICs, they need to be programmed in BASIC. PICAXE which is a product by Revolution Education adds a bootstrap program to Microchip PICs to make it easier to program and are aimed at hobbyists who don't really need any low level control (although possible).
Like others have said, there are other embedded devices you can play with, namely AVR, Arduino, ARM. AVR is very nice piece of kit. Look at the NGW100 starter kit. It has a powerful processor with lots of I/Os and even ports for LCDs, microphones, and cameras. The development for this is in C and AVR provides multiplatform dev tools. It even has Ethernet ports LAN & WAN which are fairly easy to use. The kit comes with its own IP stack so no complex programming needed to use network features.
Good luck!
尝试一下 UBW,它是大学开发的 PIC 板,用于在 Microchip PIC18 上进行开发,无需编程器。它插入 USB。 http://www.schmalzhaus.com/UBW/
我不同意与 AVR 相关的评论。 Microchip 在工业界更成功,并且拥有比 AVR 更好的工具。就“简单”而言,它们在难度上是相当的,都提供汇编语言和 C 语言,只是 AVR 的 GNU 工具链比 Microchip 更复杂(因为它需要使用 Unix、命令行等;而 Microchip使用非常可靠和基本的集成开发 GUI,还提供完整的离线模拟)。通常,初学者很快就会了解到 Arduino 开发板更多的是一种障碍,而不是开发低成本微控制器产品的一种方法。
Try UBW which is a PIC board developed at a university for development on Microchip PIC18 without need for a programmer. It plugs into USB. http://www.schmalzhaus.com/UBW/
I disagree with the comment related to AVR. Microchip is more successful in industry and has better tools than AVR. As far as "easy" goes, they are both equivalent in terms of difficulty, both provide Assembly and C, except that the GNU toolchain for AVR is more complex than Microchip (because it requires use of Unix, command line, etc; whereas Microchip uses a very solid and basic integrated development GUI which also provides full offline simulation). Typically beginners quickly learn that the Arduino dev boards are more of a handicap than a way to develop low cost microcontroller products.