IOC on the 27k40


Closed Thread
Results 1 to 15 of 15

Hybrid View

  1. #1
    Join Date
    Feb 2012
    Location
    PERTH AUSTRALIA
    Posts
    838


    Did you find this post helpful? Yes | No

    Default Re: IOC on the 27k40

    hi mike ,

    has there any further updates to the int-18-k40 v3.4c


    regards

    Sheldon

  2. #2
    Join Date
    Apr 2014
    Location
    OK
    Posts
    557


    Did you find this post helpful? Yes | No

    Default Re: IOC on the 27k40

    Sheldon, lately I've been using XC8 in MPLABX. I fell madly in love with the PIC16F18426 and have used it for a couple projects. Because it was so new that PBP3 didn't yet cover it, I forced myself to get functional with C & MPLABX. I haven't used PBP in a project in about a year now. In fact, I'm using dsPIC33's in projects now that I have the tools. I personally don't have any updates.

  3. #3
    Join Date
    Nov 2003
    Location
    Greece
    Posts
    4,132


    Did you find this post helpful? Yes | No

    Default Re: IOC on the 27k40

    Well, what is it on that chip that is special?

    You are brave enough to tame that beast called MPLABX!

    Ioannis

  4. #4
    Join Date
    Apr 2014
    Location
    OK
    Posts
    557


    Did you find this post helpful? Yes | No

    Default Re: IOC on the 27k40

    Quote Originally Posted by Ioannis View Post
    Well, what is it on that chip that is special?
    - 12-bit ADC2
    - 4/4 Timers
    - 4 CCP & 2 PWM
    - EEPROM
    - 20-bit NCO
    - PPS
    - 4 CLC

    I've used it in a couple projects. In one, I needed many PWMs but with PPS where I could swap output pins. In another, I needed the 12-bit ADC, EEPROM, and ALL of the Timers. In another I needed the EEPROM, NCO, PPS, and CLC combo.

    In other words, I have found a couple projects where this was the only PIC 8-bit offering to include ALL of the peripherals I needed all in one package.

    Having used MPLABX for over a year now, it's like learning anything; the more you use it, the more it just becomes natural. Microchip offers online tutorials to help us learn a wide range of skills regarding their MCUs and tools at:

    http://microchipdeveloper.com/training-self:start

    I started with PICAXE and believe me, learning the necessary building blocks just to program anything was a long steep hill. After I got proficient with PICAXE I realized I was throttling myself. The PICAXE chips are just PIC chips with a boot loader. However, that limits the capabilities of the chips, and slows them down. With that said...

    I saw an ad for PBP3 Basic in Nuts & Volts Magazine. I checked it out and liked what I saw. This opened the entire line of PIC 8-bit MCUs to me, and I could have full control over their functions. I bit & bought. Though it might not seem like such a leap, it took me several months of playing with PBP to get comfortable enough to start using it in my projects. After awhile, I forgot the idiosynchrocies of PICAXE (would have to relearn again).

    As for MPLABX, I had been using ASM in many PBP3 projects, so I created a simple ASM project in MPLABX. Once I learned the nuts & bolts of the IDE, I bought a couple books and started learning how to get the job done in XC8. I still only know a fraction of the capabilities of the C programming language, but at least I'm functional. I probably do many things the hard way.

    It boiled down to "What is important to me?" "What price am I willing to pay to get what I want (need)?" Then make it happen!

  5. #5
    Join Date
    Nov 2003
    Location
    Greece
    Posts
    4,132


    Did you find this post helpful? Yes | No

    Default Re: IOC on the 27k40

    Very nice!

    Recently I was testing the 16F19176 chip. It has almost all of what you referred except NCO and is also supported by PBP.

    I tried many times to take the leap to C but things stopped me(urgent projects, little time etc).

    Maybe one day...

    Ioannis

  6. #6
    Join Date
    Feb 2012
    Location
    PERTH AUSTRALIA
    Posts
    838


    Did you find this post helpful? Yes | No

    Default Re: IOC on the 27k40

    yes i have also fallen in to the trap of using the pic chip that i know or limiting it selection to what PBP supports and also knowing it faster to do it in PBP than to start it in C where i am not as good at it

    but the limits of PBP are always nagging me to move on to C permanently and the ability to port to large chips is major factor to drop PBP

    8bit chips are so full of features but limited to 128k is major pain at times
    richard reminds me is PBP is not great at many things and asm use is key routines are its major benefit

    congrats on moving forward on c and MPLAP X

  7. #7
    Join Date
    Apr 2014
    Location
    OK
    Posts
    557


    Did you find this post helpful? Yes | No

    Default Re: IOC on the 27k40

    I design controllers for a living. It therefore behoves me to learn whatever is necessary to deliver the best product possible. I never went to school for programming, electronics, or anything else specifically tied to designing controllers. Out of necessity, I bought some books & started to learn basic analog electronics a tad over a decade ago. I designed several controllers using only analog ICs and quickly realized I was limiting my abilities without diving into the microcontroller realm. I then bought more books and learned to work with PICAXE.

    Fast forward a few years, I usually read in the evenings as opposed to watching TV (we don't have cable or a dish). I am always studying something new, usually related to my work. Without formal training, it invariably takes me longer to get across the finish line than it does others with the schooling. Fortunately we live in the age of the internet. There are wiki sites, YouTube, forums, and a plethora of other resources available, in additional to the traditional books. It took me 4 years to finally get a controller talking to a laptop via USB (and then only with the help of HIDmaker), 2 years to be able to talk to a car via OBD II (using ELM327). My meager virtue is that I don't give up. I persist until I conquer, no matter how long or difficult it may be.

    Many on this Forum dabble in electronics as a hobby. During the day they may be working on cars, fixing HVAC, processing data at the local court house, or whatever... in other words, they don't rely on electronics or PIC processors for their daily bread. For them, it's easier to deal with limitations than to conquer new worlds. I chose my career and absolutely love what I do. I have no regrets. But I also don't have the luxurious option of taking time away to attend formal schooling. Therefore the ball is in my court.

    Decades ago a mentor impressed upon me to either give it everything I have, or don't accept the challenge at all. It's better to give it my absolute best than a mediocre attempt. Always strive to be the best in my field. I respect anybody that is willing to tackle a new challenge, especially when they're not forced to do so. Those on this forum that use PBP3 as a part of their hobby do so voluntarily. Any efforts spent on learning new things are for their personal gratification. I respect them way more than the person that just goes to work, comes home, eats dinner, then flops on the couch in front of the TV.

    Having taken the scenic route to express a point, the punch line is: "to each his/her own". As for learning XC8, until you actually make a decision -- I mean commit to yourself that you're going to do it no matter what -- it will always just be that elusive "some day...". Once you make that commitment, you will probably find that it isn't a matter of being hard, just a matter of taking the time to go through the normal process of learning something new. You already did it at least once if you're using PBP3. It wasn't hard, it just took time.

Similar Threads

  1. IOC on a ACD pin ?
    By longpole001 in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 28th August 2013, 01:11
  2. Unorthodox use of IOC Port.B
    By mtripoli in forum mel PIC BASIC Pro
    Replies: 0
    Last Post: - 2nd April 2013, 21:06
  3. A Simple IOC Routine (Interrupt On Change)
    By lugo.p in forum mel PIC BASIC Pro
    Replies: 6
    Last Post: - 8th March 2010, 19:53
  4. IOC question
    By Adrian in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 1st April 2008, 19:21

Members who have read this thread : 2

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts