mikroBasic PRO for 8051 is a full-featured BASIC compiler for 8051 microcontrollers from Atmel and Silicon Labs. It is designed for developing, building and debugging 8051-based embedded applications. This development environment has a wide range of features such as easy-to-learn BASIC syntax, easy-to-use IDE, very compact and efficient code, many hardware and software libraries, comprehensive documentation, software simulator and many more. Numerous ready-to-use examples will give you a good start for your embedded projects.
Download mikroBasic PRO for 8051 [11.72MB]
See the complete version history of mikroBasic PRO for 8051
mikroBasic PRO for 8051 offers a user-friendly interface designed to get you going fast with your 8051 microcontrollers. Modern and user-oriented compiler's IDE will show you that microcontroller projects can be developed in an easy and fast way. The compiler comes with numerous libraries that are completely documented and supplied with practical examples. There is also a set of tools used for collecting project information such as statistics as well as various tools for application testing.
mikroBasic PRO for 8051 2009 includes a set of libraries and examples intended to facilitate application development. All that allows a quick start in programming microcontrollers. Browse through the supplied examples and learn how to utilize 8051 MCUs with minimum code and effort.
The following code sample includes a simple introductory project. It turns on/off diodes connected to PORT0, PORT1, PORT2 and PORT3. The compiler spares you from consulting the manual for specific MCU, code adjustments for different 8051 models, and address arithmetic.
program LED_Blinking
main:
while TRUE
P0 = 0x00 ' Turn ON diodes on PORT0
P1 = 0x00 ' Turn ON diodes on PORT1
P2 = 0x00 ' Turn ON diodes on PORT2
P3 = 0x00 ' Turn ON diodes on PORT3
Delay_ms(1000) ' 1 second delay
P0 = 0xFF ' Turn OFF diodes on PORT0
P1 = 0xFF ' Turn OFF diodes on PORT1
P2 = 0xFF ' Turn OFF diodes on PORT2
P3 = 0xFF ' Turn OFF diodes on PORT3
Delay_ms(1000) ' 1 second delay
wend ' Endless loop
end.
The compiler supports a wide range of microcontrollers including over 180 8051 microcontrollers. Newly released 8051 microcontrollers will be supported by a new version of compiler software that is updated regularly. Here is a list of microcontrollers supported by the mikroBasic PRO for 8051 compiler:
| Atmel 8051 Microcontroller Family | ||||||||
|---|---|---|---|---|---|---|---|---|
| AT80C5112 | AT80C51SND1C | AT83C5111 | AT83C5112 | AT83SND1C | AT87C5111 | AT87C5112 | AT89C2051 | |
| AT89C4051 | AT89C51 | AT89C5131 | AT89C5132 | AT89C51CC03 | AT89C51ED2 | AT89C51IC2 | AT89C51ID2 | |
| AT89C51RB2 | AT89C51RC | AT89C51RC2 | AT89C51RD2 | AT89C51SND1C | AT89C52 | AT89C55WD | AT89LP2052 | |
| AT89LP213 | AT89LP214 | AT89LP216 | AT89LP4052 | AT89LP428 | AT89LP828 | AT89LS51 | AT89LS52 | |
| AT89LS53 | AT89LS8252 | AT89LV51 | AT89LV52 | AT89LV55 | AT89S2051 | AT89S4051 | AT89S51 | |
| AT89S52 | AT89S52E | AT89S53 | AT89S8252 | AT89S8253 | ||||
| Silicon Labs 8051 Microcontroller Family | ||||||||
| C8051F000 | C8051F001 | C8051F002 | C8051F005 | C8051F006 | C8051F007 | C8051F010 | C8051F011 | |
| C8051F012 | C8051F015 | C8051F016 | C8051F017 | C8051F018 | C8051F019 | C8051F020 | C8051F021 | |
| C8051F022 | C8051F023 | C8051F040 | C8051F041 | C8051F042 | C8051F043 | C8051F044 | C8051F045 | |
| C8051F046 | C8051F047 | C8051F060 | C8051F061 | C8051F062 | C8051F063 | C8051F064 | C8051F065 | |
| C8051F066 | C8051F067 | C8051F120 | C8051F121 | C8051F122 | C8051F123 | C8051F124 | C8051F125 | |
| C8051F126 | C8051F127 | C8051F130 | C8051F131 | C8051F132 | C8051F133 | C8051F206 | C8051F220 | |
| C8051F221 | C8051F226 | C8051F230 | C8051F231 | C8051F236 | C8051F300 | C8051F301 | C8051F302 | |
| C8051F303 | C8051F304 | C8051F305 | C8051F310 | C8051F311 | C8051F312 | C8051F313 | C8051F314 | |
| C8051F315 | C8051F316 | C8051F317 | C8051F320 | C8051F321 | C8051F326 | C8051F327 | C8051F330 | |
| C8051F331 | C8051F332 | C8051F333 | C8051F334 | C8051F335 | C8051F340 | C8051F341 | C8051F342 | |
| C8051F343 | C8051F344 | C8051F345 | C8051F346 | C8051F347 | C8051F350 | C8051F351 | C8051F352 | |
| C8051F353 | C8051F360 | C8051F361 | C8051F362 | C8051F363 | C8051F364 | C8051F365 | C8051F366 | |
| C8051F367 | C8051F368 | C8051F369 | C8051F410 | C8051F411 | C8051F412 | C8051F413 | C8051F520A | |
| C8051F521A | C8051F523A | C8051F524A | C8051F526A | C8051F527A | C8051F530A | C8051F531A | C8051F533A | |
| C8051F534A | C8051F536A | C8051F537A | C8051F920 | C8051F921 | C8051F930 | C8051F931 | C8051T600 | |
| C8051T601 | C8051T602 | C8051T603 | C8051T604 | C8051T605 | C8051T610 | C8051T611 | C8051T612 | |
| C8051T613 | C8051T614 | C8051T615 | C8051T616 | C8051T617 | T83C5101 | T83C5102 | T87C5101 | |
| T89C5115 | T89C51AC2 | T89C51CC01 | T89C51CC02 | |||||
The compiler's IDE is designed to maximize programmers' productivity by providing a set of software components in the form of a single program in which all development can be done. These software components eliminate the need for installation of additional software.
Code Editor is a text editor used for editing source code. It features Code Assistant, Parameter Assistant, Auto Correct, Code Templates, Syntax Highlighting, etc. It is designed to satisfy the needs of both novices and experienced programmers. Due to this editor, you can easily develop your applications.
The compiler's IDE consists of an intuitive Project Manager which aims to provide a simple, but very usable development environment for all programmers' needs. The Project Manager enables you to manage multiple projects and organize your source codes easily.
Code Explorer enables you to list variables, functions and other program items for any file of your project. You just need to click on an element and the main window will be positioned to its definition line. This feature is very useful for finding elements in long files as it lists all project elements in one place.
Library Manager helps you manage different types of libraries being used in the project. You can add a desired library to the project by checking the box next to the library name.
Routine List displays a list of routines and enables them to be filtered by name. This feature allows you to search and find routines easily by double clicking desired routine. This tool also saves your time by simplifying routine search especially in long source codes.
Project Settings allows you to set up your project quickly. You just have to enter data that is relevant to your project such as 8051 microcontroller selection, MCU Clock frequency and Memory Model Selection.
Bookmarks is a feature that allows you to add a bookmark to a code line in the project. Instead of navigating manually between files and through the code, you can use this feature to jump directly to the desired location. You can create as many bookmarks as you want throughout your projects and quickly navigate between them.
Macros allow you to save your actions and reuse them later in your projects. This option enables you to create very complex macros which can save hours and hours of your work. Macros allow you to record the sequence of keystrokes and locators used to perform a task and reuse them later when and if required.
Messages window displays status messages for various features in the integrated development environment (IDE). It shows how the program compilation is performed as well as various responses to the project compilation and linking. It allows you to easily track down compilation errors in your project source code.
The compiler includes an excellent source-level debugger that helps you troubleshoot and repair your application faster. You can debug your project with a software simulator that simulates microcontroller's operation in the compiler's IDE.
Watch Values window may be used to inspect and edit any expression, including global variables, static variables, local variables, function arguments and registers. It allows you to inspect the program and discover bugs immediately while the program is running, thus saving a lot of development time.
It is also possible to modify program items in order to test various Run-Time situations.
Breakpoints are temporary markers you can place in your program code to instruct the debugger where to stop the program. With breakpoints you can easily reach the part of code that is critical for debugging and testing. You just need to set a breakpoint and your project is ready for debugging.
Stopwatch is a debugger feature used to display a current count of cycles/time since the last debugger action occurred. Stopwatch measures the execution time (number of cycles) from the moment debugger has started and can be reset at any time.
This tool is ideal for calculating the time required for executing any part of the code. In other words, you can easily track how long it takes for each part of the code to be executed, which helps you perform the rest of application efficiently.
The compiler's IDE features Statistics window which shows a complete statistics for your project such as RAM Memory Usage, Used RAM Locations, SFR Locations, ROM Memory Usage, ROM Memory Constants, Functions Sorted By Name, Functions Sorted By Name Chart, Functions Sorted By Size Chart, Functions Sorted By Name, Functions Tree and Memory Summary.
mikroBasic for PRO for 8051 includes a lot of useful implemented tools that help you develop your applications more quickly and comfortably. These tools are designed on the basis of users' needs and practical experience in developing embedded applications.
USART Terminal is a tool for RS232 communication - baud rate control, RTS and DTR commands.
UDP Communication Terminal is a tool for Ethernet UDP communication used to send UDP packets to a specified IP address, specified port, etc.
Graphic LCD Bitmap Generator Tool is used for converting bitmap to mikroBasic compatible code.
7 Segment Display Decoder is a convenient visual panel which returns decimal/hex value for 7seg Display.
mikroBasic PRO for 8051 2009 includes LCD Custom Character. Output is mikroBasic PRO for 8051 2009 compatible code.
Ordering of our products is done via 2Checkout payment gateway. If you have any problems with CC processing or you want to pay directly to our bank account please inform us:
All credit card and personal details are kept secure, and our customer list is not disclosed to any third party, so you never have to worry about your credit card safety. Most shipments are sent within 48 hours of your order. Online purchasing experience of mikroElektronika products is fast, simple and secure. 2Checkout.com is an authorized reseller of goods and services provided by mikroElektronika.