Best Microcontroller Projects


XML RSS
What is this?
Add to My Yahoo!
Add to My MSN
Add to Google

Home
LCD-KEYS OnePort
Digital Downloads
C Course
State Machines
Interrupt Secrets
Schematic Tool
PIC Introduction
PIC Programming
PIC Programmers
PIC Compilers
PIC Projects
Tips & Techniques
Store
My SECRET
Oscilloscopes
Contact Me
About Me
Terms of Use
Search This Site
Freebies
Articles
Problem?-Solution
MicroBlog
Books
Resource Links
Site Map
Your Projects
Video du Jour
Rant/Rave
Privacy Policy

I use and
recommend Firefox
for the best internet
browsing experience. Click below for your
free copy today:

CLICK THE IMAGE:


Note: I find it faster
and easier to use and
it has great plugins.  

It even imports all your current
browser settings!

There's no risk as your existing browser is not affected in any way - you can just choose which one to use.


Course Testimonials

"
Wow! i'm now really
 into C
for PIC micro's!

Very easy and clear set of tutorials.

I'm greatly impressed.
"

Samuel

osafehinti5 <at> yahoo.com


"Actually writting a working program in the first lesson is more than most courses I've seen."


- Jon
jswinehart <at> powermate.com


"I learned a lot of
new things
from your course"

- Pravin
44.pravin <at> gmail.com


"Informative, comprehensive, well presented."

- Thomas

cymilthomas <at> gmail.com



"A really

comprehensive
course for begginners"

- Sheraz
sheraz43 <at> gmail.com


"Very good tutorial for

starting in
MicroC and PIC
microcontrollers !"
- Maksim
msurguy <at> gmail.com

"I searched for this
type of tutorial in so many sites.

Now I have Found it and it is  very easy thanks very much"
- Paramod
pramodg.menon <at> yahoo.co.in

"I have read the
entire
C Course

and I love it
."
- Justin
cooljustinr<at>yahoo.com

"Your teaching approach for C for PIC is remarkable, apt, clear and straight forward.

I recommend it to everyone intending to work with PIC for a stressfree adventure. Thanks for the effort.
"
- Thompson
realwealth_electrics
<at>yahoo.co.uk

"No word to say for the excellence
of this module.

It is really a
 fantastic course for the beginner
."
- Vikas Tomar
 tomar_rkgit
<at>indiatimes.com





"Free Registration 
For Module 1 Of The 
C programming Course"

"This unique C Programming Course
gives you the knowledge
to create
fully working projects truly easily"

Learn how using this hands-on 
PIC Microcontroller C programming
course designed by a professional engineer
.

Hi, I'm John Main,


If you need a great start in microcontroller C programming or are frustrated trying to code your microcontroller project in C then this is the ideal course for you.  

PIC C Microcontroller C programming Course

It teaches you how to program in C by executing fully debugged code on 'real hardware'.

Course features:

This course:
  • Teaches fundamentals of *practical* C programming.
  • Starts from the very beginning - no coding experience needed.
  • Starts you using hardware in the very first course module.

You will learn the theory and then *see* the code in action on your hardware so you will understand how and why the C code works.

Learn C in easy stages


One module a day.

You won't have to learn too much at once as passwords to the course pages are sent once per day so you will learn C in easy stages

Each module has been tested on hardware so it's guaranteed to work.



Testimonial

It gives deep yet simple [to understand]
knowledge about c and microcontrollers
for beginners.

Rating: 1 Excellent

Ahmad   ammarei <at> hotmail.com

How can you quickly learn to use 
the compiler 
and programming software?

You can learn using the Two Free bonus Videos that show you the exactly how to use the MikroC compiler and the ICPROG programming software.  These each show example setup followed by the compiler  / programer operation.

This means you will be familiar with the applications before you use them so you will quickly learn how to use the software.

Create a full project

The final project you make is also a useful tool – a curve tracer that you can use to examine component characteristics. Not only that but you will have created (and understand how to create) a full C project including:

  • Digital I/O.

  • RS232 input and output.

  • Digital to Analogue conversion (DAC) using PWM technique.

  • Analogue to Digital conversion (ADC) using internal 10bit ADC.


Testimonial

I really like the tutorial
good for a beginner.

Rating 2 Very Good

Sudam

sudamkakre <at> rediffmain.com



Why use C in your projects?

Once you have learned C you can use it in all your projects and you will find it's much easier than assembler since it uses recognizable words.  

Would you rather read this? Open assembler code [opens new window] Assembler code example
Or this ?

   i = 10;
   while(i<10) {
      PORTB = i;
      i = i +1;
   }

C source code example

Note: The above C source code generated the assembler output shown - they are exactly equivalent!

I know which I prefer - they both do the same job but you can see that the second C source code is easy to read whereas for the first you'll probably have to look at a manual.

In fact one person who emailed me asked for help on a C project but wanted to use assembler instead; the assembler output of the compiler was 20 pages long while the C source code was only about 3 pages!

When you use C it:

  • Is easier to read than assembler.
  • Lets you use less coding (less coding than assembler).
  • Lets you create projects more quickly (less coding).
  • Is structured (using indents and spaces to see code operation).

In fact you will be able to re-use code from your other projects, so you can start new projects quickly, and since it's already tested you don't start from scratch each time.

You can also save time in creating your projects by using code from other sources (not just related to the PIC - there's an example of this where I used a better random number generator off the web in the RGB project).

This works because C follows the ANSI C standard and means you either save time or use a better solution.



Testimonial

Thank you for the clear and concise
writing style. It is very easy to
follow and a good place to start.

Rating: 2 Very Good

Tim

timandjan <at> rogers.com

-------------

Click here for Frequently Asked Questions (FAQ).
Click here for Course Summary.
Click here for Course Details.

-------------

What you'll learn in the course:


Module 1: C Structure.

  • Structure of a C program.
  • Understanding peripheral registers.
  • Using I/O ports.

Module 2: Operators and expressions.

  • Arithmetic and logical operators.
  • Bitwise (or logical operators).
  • Controlling individual port bits.

Module 3: Variables and conditionals.

  • Variables.
  • Variable types.
  • Variable declaration.
  • Decision making constructs - making a microcontroller think.
  • Using conditional statements.

Module 4: Arrays and 'while' loops.

  • Repeating actions using while.
  • Using arrays to hold data.
  • Key debounce.
  • Creating the dice display.

Module 5: Using functions.

  • Adding and using functions in a project.
  • Increment and decrement.
  • Using static variables (outside functions).
  • Using a 'for' loop.

Module 6: Using an RS232 port.

  • About strings (arrays of characters).
  • Number formatting (to send numbers to RS232 port).
  • Using a serial RS232 interface (MAX232 chip).
  • Changing the dice project to send data to the PC.
  • looping back data from PC to PIC to PC.

Module 7: local static variables and scope.

  • Using local static variables
  • About variable and function scope.
  • Using compact operators.
  • Showing the use of local statics (data to RS232 port).

Module 8: State machines.

  • Enumerated types (or making your own variables).
  • State machines (how to define and control complex behavior).
  • The pre-processor.
  • Conditional compilation.
  • Changing the dice project to use a state machine.

Module 9: Multiple arguments.

  • Pointers and pass by reference
  • Passing more than one argument into and out of a function.
  • Using hyperterminal VT100 commands to position text.
  • Reading analogue ports.

Module 10: Structures, casting & PWM.

  • Using a 'struct' to save memory.
  • Translating variables to different types (casting).
  • Using the hardware PWM module to generate analogue signals.

Module 11: Multiple file structure

  • Using headers and multiple source files.
  • Simple example using multiple files.
  • Using multiple files to partition a project.



Testimonial

A very good tutorial for starting in
MicroC and PIC microcontrollers !

Rating: 1 Excellent

Maksim

msurguy <at> gmail.com



Testimonial

Thank you for a very well written C course. I have read the course material and a lot of what I have been trying to learn is making sense after seeing the way it is used in real life.

Rating: 1 Excellent
William Thorsen
billthorsen <at> sbcglobal.net


Testimonial

Awesome tutorial! Thanks Mr.John!!!

It's really very easily understandable!

"Any one with a Zero
Knowledge of C
Can Learn the Modules from this Site!"

Rating: 1 Excellent
R.Prem Sunder
prem.eie <at> gmail.com

Programming PIC Microcontrollers in C

To get the First Module  of the course FREE and complete the following form and click the confirmation link in the email.

The whole course is of the same high quality all the way through.

PIC Microcontroller C Programming Course

MODULE 1

Registration Form:
:
:
You will also get information about other course modules and information from this site.

Note: Your email is safe - it will not be rented or sold (I hate spam as much as you do).


 
  Best Microcontroller projects.