123 PICmicro Experiments for the Evil Genius


This Product Has Been Discontinued, This Page Is For Reference Only.

22.95 USD
$22.95 ea.

123 PIC Microcontroller Experiments for the Evil Genius is a excellent starting resource for anyone interested in the PIC Microcontroller.

Description [Hide]

123 Pic Microcontroller Experiments for the Evil Genius offers hours of fun while instilling a solid grounding in PIC microcontrollers and the skills needed to program them. Each experiment builds on those before it, so you develop a hands-on, practical understanding of the microcontroller and its programming. You don't need any knowledge of programming to get started. But by the end, you'll be able to complete your own cool projects!

123 PIC Microcontroller Projects for the Evil Genius:

  • Introduces you to programming and customizing the PIC MCU step-by-step -- you don't need to be a whiz to get started, but you will be when you are finished
  • Shows you how to set up your own PICmicro MCU (microcontroller) and development lab based on one inexpensive Microchip PICkit 1(R) starter kit
  • Vividly explains the science and electronics underlying microcontrollers
  • Gives you enjoyable step-by-step experiments that build your skills, one small increment at a time
  • Teaches you to program PICmicros in both C and assembly language
  • Shows you how to interface sensors, switches, LEDs, LCDs, and other commonly used electronic interfaces
  • Offers step-by-step experiments that develop handy resource routines in assembly language
  • Challenges you to stretch the limits of PIC MCU applications
  • Suggests exciting directions you can take your new programming skills

Table of Contents

Section One

Under the covers of the PIC16F684

Experiment 1. I/O pins
Experiment 2. Configuration word
Experiment 3. PIC MCU variable memory registers, and program memory
Experiment 4. Simulating cFlash.c in MPLAB IDE

Section Two

Introductory C Programming

Experiment 5. Variable declaration statements
Experiment 6. C data types
Experiment 7. Constant formatting
Experiment 8. Assignment statements
Experiment 9. Expressions
Experiment 10. Bitwise operators
Experiment 11. Logical expressions
Experiment 12. Conditional execution using the if statement
Experiment 13. Nested conditional statements
Experiment 14. The switch decisions statement
Experiment 15. Conditional looping
Experiment 16. The for statement

Section Three

Simple PIC® MCU Applications

Experiment 17. Basic delays
Experiment 18. Sequencing PICkit 1 start kit LEDs
Experiment 19. Binary number output using PICkit 1 starter kit LEDs
Experiment 20. Basic button inputs
Experiment 21. Debouncing button inputs
Experiment 22. MCLR operations
Experiment 23. Ending applications

Section Four

C language features

Experiment 24. Functions and subroutines
Experiment 25. Global and local variables
Experiment 26. Defines and macros
Experiment 27. Variable arrays
Experiment 28. Structures and unions
Experiment 29. Pointers and lists
Experiment 30. Character strings
Experiment 31. Library functions

Section Five

PIC16F684 microcontroller built-in functions

Experiment 32. Brownout reset
Experiment 33. ADC operations
Experiment 34. Comparator operation
Experiment 35. Watchdog timer
Experiment 36. Short timer delays using TMR0
Experiment 37. Using the TMR0 prescaler
Experiment 38. Long timer delays using TMR1
Experiment 39. Comparing clock oscillators
Experiment 40. Pin resistance measurements
Experiment 41. Generating PWM signals
Experiment 42. Storing and retrieving data

Section Six

Interfacing projects for the PIC® microcontroller

Experiment 43. Driving a seven-segment LED display directly from the PIC16F684
Experiment 44. Multiple seven-segment LED displays
Experiment 45. LED matrix display
Experiment 46. LCD display
Experiment 47. Producing random numbers
Experiment 48. Two-bit LCD display
Experiment 49. Switch matrix keypad mapping

Section Seven

Sample C microcontroller applications

Experiment 50. Pumpkin LED display
Experiment 51. Reaction-timer tester
Experiment 52. Rokenbok monorail/traffic lights
Experiment 53. Seven-segment LED thermometer
Experiment 54. PIC MCU "piano"
Experiment 55. Model railway switch control
Experiment 56. PC operating status display

Section Eight

Interfacing PIC® MCU assembly language programming

Experiment 57. The asmTemplate.asm file and basic directives
Experiment 58. Specifying program memory addresses
Experiment 59. Loading the WREG and saving its contents
Experiment 60. Defining variables
Experiment 61. Bitwise instructions
Experiment 62. Addition instructions
Experiment 63. AddLibs: strange simulator results
Experiment 64. Subtraction instructions
Experiment 65. Bank addressing
Experiment 66. Bit instructions
Experiment 67. Bit skip instructions
Experiment 68. Conditional execution
Experiment 69. Decfsz looping
Experiment 70. Subroutines
Experiment 71. Defining and implementing arrays

Section Nine

PIC® microcontroller assembly language resource routines

Experiment 72. Logic simulation using the PIC16F684
Experiment 73. The C "switch" statement
Experiment 74. Defines
Experiment 75. Conditional assembly
Experiment 76. Macros
Experiment 77. 16-bit values/variables
Experiment 78. Universal delay macro
Experiment 79. High-level programming
Experiment 80. Implementing read-only arrays
Experiment 81. Data stacks
Experiment 82. Circular buffers
Experiment 83. Reading and writing the EEPROM data memory

Section Ten


Experiment 84. PIC MCU BS2 user interface
Experiment 85. PIC MCU BS2 keypad interface
Experiment 86. PIC MCU instrument interface
Experiment 87. Sound detection
Experiment 88. Multiple microswitch debouncing
Experiment 89. Light sensors
Experiment 90. Infrared (IR) surface sensor
Experiment 91. Interfacing to Sharp GP2D120 ranging object sensors
Experiment 92. Do-it-yourself IR object sensor
Experiment 93. IR object-ranging sensor
Experiment 94. Ultrasonic distance-range sensor
Experiment 95. Robot IR tag

Section Eleven

Motor control

Experiment 96. DC motor driven using the CCP PWM and using a potentiometer control
Experiment 97. DC motor control with simple TMR0 PWM
Experiment 98. Controlling multiple motors with PWM and BS2 interface
Experiment 99. Bipolar stepper motor control
Experiment 100. Unipolar stepper motor control
Experiment 101. Radio-control model servo control
Experiment 102. Multiple servo control software structure
Experiment 103. Two-servo robot base with BS2 interface

Section Twelve

Solving programming problems in PIC® microcontroller assembly language

Experiment 104. Eight-bit multiplication with a 16-bit product
Experiment 105. Division of a 16-bit value by an eight-bit value
Experiment 106. Squaring a number using finite difference theory
Experiment 107. Find the square root of a 16-bit number
Experiment 108. Converting a byte into three decimal, two hex, or eight binary ASCII bytes
Experiment 109. Produce the even parity value for a byte
Experiment 110. Sort a list of 10 eight-bit values using the bubble-sort algorithm
Experiment 111. Encrypt and decrypt an ASCIIZ string using a simple substitution algorithm
Experiment 112. Generate a fibonacci
Experiment 113. Find the largest common factor of two eight-bit numbers

Section Thirteen

ZipZaps® robot

Experiment 114. Characterizing the ZipZaps
Experiment 115. PIC MCU power supply
Experiment 116. PIC MCU electronics PCB
Experiment 117. IR TV remote control
Experiment 118. Motor and steering control
Experiment 119. Basic task-control software
Experiment 120. IR remote control
Experiment 121. Light sensors and following
Experiment 122. IR object-detection sensors
Experiment 123. IR line-following senso

You Might Also Like [Hide]



Enhanced 20 pin microcontroller with individual pin control, 64MHz option and additional features including i2c/spi bus support.

$4.50 USD


Engineer's Mini Notebook Compendium

Get this complete four book set and save!

$45.95 USD


Getting Started with Processing

A quick, hands-on introduction to the popular open-source language.

$19.99 USD


Practical Arduino Book

Create your own Arduino-based designs, gain in-depth knowledge of the architecture of Arduino, and learn the user-friendly Arduino language all in the context of practical projects that you can build yourself at home.

$39.99 USD


Getting Started in Electronics

Simply, the best introductory book into electronics you can buy. Inexpensive, detailed, and easy-to read. Get it! Get it now, now, now!

$19.95 USD


RF Link Receiver - 4800bps (315MHz)

These wireless receivers work with 315MHz transmitters. They can easily fit into a breadboard and work well with microcontrollers to create a very simple wireless data link.

$4.95 USD


Electret Microphone

Small electret microphone. Useful in acoustic and audio applications, voice recordings.

$1.25 USD


RF Link Transmitter - 315MHz

These wireless transmitters work with 315MHz receivers. They can easily fit into a breadboard and work well with microcontrollers to create a very simple wireless data link.

$3.95 USD


RJ22 4-pin Male Connector + Wire

This RJ22 4-pin Male Connector is usually the standard plug for telephone headsets and handsets but can easily be repurposed for all kinds of 4 conductor applications.

$0.85 USD


ESP01 programmer

The ESP-01 is a great wifi / IoT / Arduino "chewing gum" piece of technology, but programming it is a bit of a technical issue. Fix that with this inexpensive programmer module.

$5.95 USD





Remember Me

Forgot Your Password?

Don't Have an Account?
Sign Up!