Electronic Products
Find us here:
  • Books
    • Embedded C Books >
      • cbookfiles
      • cbook2files
      • cbook3files
    • BASIC Books >
      • Programming PICs in BASIC_vol1
      • PICBasic Book Support
      • Basic Atom Book Support
    • Other Books >
      • Arduino Book
      • chipkitbookfiles
  • Chuck's Blog
    • Blog Posts Archive
    • Disclaimer
  • YouTube Channel
  • About Chuck
    • About Chuck
    • Stock Car Racing
  • 3D Printing
    • Fabrikator Mini
  • Getting Started with PICs
    • BASIC Programming
    • C Programming >
      • C Compilers
  • Build Your Own PICKit 2
    • PICkit 2 Starter Kit
  • CHIPINO
    • Shields
  • CHIPAXE Breadboard Modules
  • Understanding Hex Files
  • chipKIT
  • Newsletter Archive
  • Contact
  • Retired Designs
    • BasicBoard
    • Ultimate OEM
    • Maximite BasicBox
    • Maximino
  • Downloads
  • Kickstarter Projects
    • Demo-Shield
  • Great Cow Basic Site
  • Buy Hardware
  • Links I Recommend

Donated Files to CHIPINO.com

10/19/2014

4 Comments

 
I recently donated some of my shield files to the CHIPINO.com website. They are just files from my kickstarter projects that I was sharing anyway but this way the CHIPINO team or anybody looking for CHIPINO support shields can get them at one location. I helped create the CHIPINO with a group of friends because I wanted to see a Microchip PIC based option to easily use the various Arduino shields. From there CHIPINO has grown on its own.
Picture
The desire to make CHIPINO completely open source and not just the current non-commercial version is still something I'm pushing for. It worked out great for Arduino though maybe not the Arduino creators. The Arduino kind of took on a life of it's own and the originators kind of lost control. That is the scary part for some of the CHIPINO team. 

Because CHIPINO was designed to work with a Programmer, and not a bootloader, it allows CHIPINO to use any 28 pin PIC16F or 18F device that operates at 5v. That offers a lot of options. This also made the CHIPINO automatically grow with all the advancements in the Microchip PIC world. Programming a CHIPINO from a PICkit 2 or PICkit 3 with MPLAB or MPLAB X or any third party IDE and any compiler that produces a .hex file for PICs is possible with the current setup and thus makes it universal for developers of all types. From hobbyist to professional.
It's one of the advantages I see to the CHIPINO has over Arduino which locks you into a crude IDE and only a couple chip options. But its clear that Arduino has taken over the electronics world so I'm clearly in the minority. But that is why I'd like to see the complete open source so others can take CHIPINO further. Time will tell. I'm also looking at changing my shield designs to completely open source as well (remove the non-commercial portion) as soon as the agreement I have with Howtronics.com expires. 


I have other designs to clear out of my lab which I'll be releasing open source over time. Each will probably be a project on my YouTube Channel. I have just so many designs I've worked on over the years and its time I just let them go for others to fully enjoy and possibly take them further than I ever could.
4 Comments

Programming Microchip PICs Made Easy

9/11/2014

5 Comments

 
I've been doing a lot of 3D printing lately but in the background I'm working on new books. One of them is an update to my Beginner's Guide to Embedded C Programming series. In the first series, I used MPLAB, HI-TECH C Compiler, PICkit 2 programmer and a PIC16F690. All those have been replaced. MPLAB X, XC8 Compiler, PICkit 3 programmer and the PIC16F1xxx family of enhanced mid-range devices. Something else changed recently which has me delaying my book, MPLAB Code Configurator (MCC).
Picture
MCC was in beta for a while but is now released and already on version 2.1, and it is awesome. With a few clicks of the mouse you can build a whole project of code (see it in the video below). Each peripheral is reduced to a set of check boxes or drop down menus. I/O can be configured with a GUI version of the chip. Even the main.c file can be generated. And the best part.....
.....all the code generated includes a library of functions for each peripheral written in XC8 code. Even I/O has its own set of functions such as:

RB0_SetHigh() 
RB0_SetLow()   
RB0_Toggle()  
RB0_GetValue()
RB0_SetDigitalInput()  
RB0_SetDigitalOutput()   
RB0_SetPullup()    
RB0_ResetPullup()   
RB0_SetAnalogMode()   
RB0_SetDigitalMode()

And these are just the I/O functions for the RB0 pin. And the function code is open source so you can see how its done. Great for learning.
It does the same for SPI, I2C, Timers, etc. You could take a module like the CHIPINO with fixed pinouts, install a PIC16F1936 (instead of PIC16F886), setup all the peripherals and connections to the I/O and then build the code. You'll have a main.c file with configurations set and ready for your custom code along with a library of functions for all the peripherals in the device. 

You basically just created your own Arduino style module from a CHIPINO. And you have debug capability through the PICkit 3, full access to the configuration to run slower speeds or faster speeds. And when you are done, unplug the PIC16F1936 and do it again for some other blank 28 pin PIC with different features. And because you don't need a custom bootloader device, you can use any PIC supported by MCC. And that list is growing with each release.

So stay tuned for more as I work this into my new series of books. Writing C code for PICs just got so easy. I cannot say that enough.


5 Comments

PIC Programmer History

9/4/2014

0 Comments

 
I released a new video on my YouTube channel for those setting up a home lab and who may want a little help choosing a PIC Programmer. I actually go back to the first hobbyist PIC programmer called the PICSTART 16B1 and then take the viewer through some of the most popular PIC programmers in history to get us to where we are today.
Picture
Picture
Picture
By no means did I cover every design, just the highlights from my years of experience. There are still many designs out there so it can be confusing but in the end I recommend sticking with the official PICkit programmers, though building your own like my PK2 is fun and you can learn a lot.
The video is short but hopefully viewers like it enough to subscribe and let me know they are watching and hoping for more. I plan to release future videos in three categories; 3D print projects, beginner electronic projects and tips for the home lab. Check it out and let me know your ideas for what you'd like to see in a future video.
0 Comments

PICkit 3

12/27/2013

4 Comments

 
I recently helped a reader of my Embedded C Books through the early stages of getting things working properly. Sometimes the little things get in the way such as a compiler that doesn't fully install or a programmer that won't connect up properly with the USB port. These are the issues I can't write a solution for so I offer all my readers email support.

But when they get a faulty tool then that is really frustrating. I recommend the MPLAB 8.30, PICkit 2 and PIC16F690 for my Beginner's Guide to Embedded C books (volume 1 and 2) but sometimes people prefer to use the latest such as MPLABX or PICKit 3. I can't argue against it but until my updated versions are released (hopefully by summer) I still recommend they stick to the tools I use in the books.
Picture
But I've recently had two people with tools issues. One had a faulty PICkit 3 and another had a board with some kind of connection issue. I couldn't fix either one and fortunately they both figured out the problem. I hate to hear of a PICKit 3 issue. 

Read More
4 Comments

    Categories

    All
    3D Printer
    Chipaxe
    Chipino
    Chipkit
    CNC
    Copper Connection
    Dot Matrix
    Elproductsnews
    Expresspcb
    Graphic Lcd
    Great Cow Basic
    Kickstarter
    Lcd Shield
    Makefaire
    Makercase
    Maximite
    Microchip Pic
    Pickit 2
    Pickit 3
    Videos

    Visit previous blog posts in the archives below.

    Archives

    February 2018
    October 2017
    September 2017
    July 2017
    November 2016
    August 2016
    July 2016
    May 2016
    March 2016
    January 2016
    November 2015
    September 2015
    August 2015
    July 2015
    June 2015
    April 2015
    March 2015
    February 2015
    January 2015
    December 2014
    November 2014
    October 2014
    September 2014
    August 2014
    July 2014
    June 2014
    May 2014
    April 2014
    March 2014
    February 2014
    January 2014
    December 2013
    November 2013
    October 2013
    September 2013
    August 2013
    July 2013
    June 2013
    May 2013
    April 2013
    March 2013
    October 2012
    October 2011

    RSS Feed



    About Chuck

    Chuck has been programming with PIC Microcontrollers since there were only five devices. Now there are over 700 and growing. He also has a lot of fun 3D printing designs using his Davinci 3D printer and TinkerCad software. In this series of blog posts and occasional videos on his YouTube Channel he tries to help you get started with electronics and 3D printing.

    Disclaimer

Powered by Create your own unique website with customizable templates.