Here you can find microcontroller Projects and Tutorials designed by me...a Professional Electronics Design engineer ; Here you can learn all about microcontrollers and what you can do with them.
You can find typical applications on the navigation links on each page.
These days you don't even have to use an external crystal for the clock as
you can turn on the internal oscillator!
There are tons of FREE
projects on this site (with source code in C) that you can use to learn
about microcontrollers including an ultrasonic distance meter, an led matrix
driver, and many more.
Each Project includes source code, description and schematics which you can use as a basis for starting your own projects or just use them stand-alone - to obtain the source code - just sign up for the free newsletter in the forms on any page..
Check out the tutorial section where you'll find tutorials on building the circuits, device programming, prototyping and using high level languages.
The tips and techniques section gives information on designing specific circuits that either are difficult or that save you time and effort.
...98% of the processors used today are microcontollers - that means for every 2 desktop computers you can see in an office there are 98 others that you don't see!. They are in everything toasters, microwave ovens, security alarms, mobile phones, petrol pumps, jogging machines, key fobs... the list is endless.
The reason is simple - reprogrammability - they are effectively reconfigurable hardware blocks. This is important as you don't have to re-wire the circuit when you want a different operation from an existing circuit. You can change their operation very quickly - even in circuit!
All of them have at least one built in timer, often several, as well as
other goodies such as comparators, PWM modules and ADCs and more. These are
all internal hardware units making it simple to create almost any project you
can think of. All you need to do is decide what to use, and then activate the
On this site you can learn how to use these compact devices to create any type of project you can dream up, and you don't have to work in low level assembler - all the projects use high level C Programming which makes it easier to update and understand what is going on.
The left navigation bar shows you some of the projects, all of which include free C code and description.
There are many different types of microcontroller from many different manufacturers and two popular types are from MicrochipTM and AtmelTM: In fact Microchip has bough Atmel (2016) to broaden their product range - but you won't see any difference yet they still look like separate companies.
MicrochipTM (Industry popular PIC range)
MicrochipTM specialises in supplying almost bespoke solutions (microcontrollers) for a problem and creates hundreds of different variants. The idea is that you create a solution to a problem and you want to cost reduce it so what you really want to do is chop out all the hardware that you do not need.
There are many variants with added built-in modules such as a GLCD lcd driver, a motor controller, a capacitive touch sensor etc. So you choose a device based on what hardware you want to control. You can even get 6 pin SMD (SOT-23) microcontrollers!
On this site only a few devices are used 12F675, 16F88, 16F877A, 18F2550 because these devices offer a broad range of internal peripherals found in almost all in the devices in the same family (12F,16F 18F). You can learn here about these devices and be able to move easily to another, since the internal hardware is controlled in the same way.
There are also examples of using Arduino for building projects wit the main device in these being the AtMega328p which is broadly similar to the 18F2550.
AtmelTM : Made extremely popular by the Open source ArduinoTM group.
You have probably heard of the ArduinoTM which is not a microcontroller but rather an open source movement that uses Atmel (and other) microcontrollers to offer a simplified way of connecting hardware (shields) and control devices (software). Because the hardware and software is open source many people have contributed free software so it makes it easy to quickly setup and create something.
Be warned though that just because you can use other software and connect it quickly may not mean that you understand it - and that means that any bugs in the software are up to you to find and correct.
Claim Your: Useful
"Arduino Software Guide"
74HC595 : How to add nearly unlimited outputs to any microcontoller.
How to use the MAX6675 and an Arduino to measure temperatures from 0°C to 1024°C with two components: A chip - the MAX6675, and a Sensor: - a type-K thermocouple.
The Essential Guide to the DHT22/11 humidity sensor including a library code guide for the Arduino. Learn how to determine Humidity, Dew point and Heat Index.