8051 MUC Lab Tested Codes

White Line Following Robot using 8051 Microcontroller

This a lab tested code of White line following robot using 8051 MUC. When there is black below an IR sensor, its output is binary-1. When there is white below an IR sensor, its output is binary-0. This code is suitable for OVAL SHAPED SIMPLE WHITE TRACKS. For complicated white tracks i.e. having many steep turns, USE POWER TURN INSTEAD OF SOFT TURN.
Read MoreWhite Line Following Robot using 8051 Microcontroller

Edge Avoiding Robot using 8051 Microcontroller

This a lab tested code of Edge Avoiding Robot using 8051 Microcontroller. When there is depth below an IR sensor, its output is binary-1. When there is white surface below an IR sensor, its output is binary-0. This code is suitable only if the speed of the wheel motors is slow enough, otherwise the robot will fall from the table on the edge.
Read MoreEdge Avoiding Robot using 8051 Microcontroller

7-Segment Common Cathode LED Display Counter using 8051 MUC

To use this code of 7-Segment Common Cathode LED Display Counter using 8051 MUC, fix a Common Cathode type 7-segment LED display on a breadboard and connect its pins to PORT2 in following sequence P2^0 - a, P2^1 - b, P2^2 - c, P2^3 - d, P2^4 - e, P2^5 - f, P2^6 - g, and then connect the GROUND terminal of the display to -ve terminal of your dev. board. Remember that P2^7 should be left open.
Read More7-Segment Common Cathode LED Display Counter using 8051 MUC