I dont know about chinese clones, but I dont see why clones wouldnt work.I have fiddled with AVRs and the Arduino ecosystem a bit but I want to start actual embedded design without any layers of abstraction.
The PIC seems a nice cheap starting point, and after a bit of googling I believe the PIC16f1829 is a great starter chip. However, I have a few specific questions. I buy the PICKIT 4 or 3 or MPLab Snap They all seem like solid choices and I believe the 4 is still in a developmental stage. I dont think it fully supports the 16F1829. Is the 16F1829 a good starting point Everyone else seems to be recommending the 16F877a but I dont like the giant DIL-40 package and the 16F1829 has slightly better specs. They say PICkit 4 is much faster, but I havent tried it yet For start you can buy a PICkit 3 clone form aliexpress if you like - it will perform as the original Im uploading a book for beginers Its used something called CCS compiler. It is fine for begginers because most of the functions are ready and you just have to use them - it is no neccessary to know exactly which bit of which register you have to set or how exactly to do it. The compiler will do it for you You should know this compiler has a lot of bugs. Pickit 3 Vs Pickit 4 Series PIC32MM SoAnd there are quite cheeper - for example there is one series PIC32MM So take a look at the book, try to install multiple compilers - CCS and XC with MPlab. If you decide to go straight to XC i can assist with the first steps. These tools and library are used by the infrastructure and kept out of the way of the Arduino programmer. Pickit 3 Vs Pickit 4 Code Over TheThen there is a layer of Arduino code over the top which does the actual abstraction. Nobody paws through the Arduino installation directory but everything you need for bare metal programming is hidden in there somewhere. Or, you can look at the Teensy 4.0 which is a blistering fast (600 MHz) ARM processor that uses the Arduino IDE and a different toolchain. Again, you dont have to use the Arduino-like libraries, you can write code targeting the chip using just the arm-gcc compiler and associated libraries. And discover how it works Start simple: Write a program that sets up a periodic timer with an interrupt handler. Keep the setup() and loop() functions until you are certain you can break the umbilical cord. OTOH, they are useful for volume production or they would have been obsoleted years ago. Or, you could pick any of the ARM MBED enabled boards and use the online toolchain for programming. This is pretty slick because all you need is a PC, a browser and an Internet connection. It cant program the controllers that require high voltage programming, if I remember correctly. Majority of chips if not all made in the last 5 years or so should support low voltage programming. If you have the money, Pickit 3 is a good product - i have one.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |