Microcontroller Prototyping Platform with Expanded and Flexible Hardwired I/O Resources
Total Page:16
File Type:pdf, Size:1020Kb
Quest Journals Journal of Electronics and Communication Engineering Research Volume 7 ~ Issue 6 (2021) pp: 01-08 ISSN(Online) : 2321-5941 www.questjournals.org Research Paper Microcontroller Prototyping Platform with expanded and flexible hardwired I/O resources. E.C. Anene1, Abubakar Musa Ibrahim2,Mahmood Abdulhameed1 1Department of Electrical and Electronics Engineering ATBU, Bauchi, Nigeria 2NCPRD/Energy Commision ATBU, Bauchi, Nigeria ABSTRACT Microcontroller Development platforms are indispensible tools for easy prototyping of microcontroller solutions to electronics projects with control applications. It eases design, simulations, testing and prototyping of standalone or embedded circuits in good times. Limitations of most if not all of these platforms include complexity of application, ease of use and cost. In this paper a platform that is intended to cut down the limitations by offering the inclusion of most common I/O devices on a single board is proposed. Costs and ease of use are to be minimized by featuring libraries that address most common requirements of each I/O resource and make it easy for the user to be able to change or adjust through software the flexible part of the application as needed. Simulations so far carried out showed functionality of the I/O resources. The necessary features to make the platform more flexible are to be added in writing the IDE code. Received 10 June, 2021; Revised: 22 June, 2021; Accepted 24 June, 2021 © The author(s) 2021. Published with open access at www.questjournals.org I. INTRODUCTION. A prototype is a first full size functional model of a product to be manufactured. It details the model to be replicated or learned from and serves to provide specifications for a real, working system rather than a theoretical one (Blackwell, 2015).The focus of theresearch into creating a prototyping platform is derived from the need to make a circuit board which is easy to use and extensiblewith little effort, cheap, and quick to realize. Use must certainly to be made of widely available development platforms to achieve more simplified platforms in the sense of ease of use and ease of design applications and alsotomake learning of design and production of wide ranging electronics products easier, friendlier and cheaper than Arduino based platform for Industries, Colleges and Universities. In this proposed platform, it is intended that ease of application be obtained through simplification of the IDE resources to enable simple plugin and deployment. This will be done by specific allocation of ports to specific resources which is implemented by routines specifically adapted to it. For example a temperature sensorwill be at a specific location on the port with a corresponding routine to run its application. Therefore, the new platform mustoffer some balance between cost, expandability, improvement of quality of teaching and ease of use and proffer local solutions in developing economies. This is to lower time implementation needed in application and use in Industries, Colleges and Universities to deploy hardware solutions. To encourage an increase in numbers of developers and thus products, such platforms must meet such basic requirements. Existing platforms like Arduino, Programmer 2003, MicroDig platforms etc do not meet all the requirements. Students and beginners also find it difficult to apply some of their concepts when using those boards because of the specialized nature of implementing the add-on’s and basic peripherals. Such a new Platformshould allow users to create working electronic prototypes, either stand-alone objects or devices tethered to a computer. It should read from a wide range of sensors, control a broad spectrum of output devices, and communicate with software running on a computer over a network etc. The most important features of this proposed Platform are to be: It’s ability to accept program from PC; availability of library for all add ondevices that someone may think of connecting e.g sensors, output devices etc; plug/activate features that permit users to plug any I/O devices and provision of expansion slots for future use is proposed. II. LITERATURE REVIEW. This Literature presents a survey of a few of the more popular microcontrollerboard development tools on the market, followed by an analysis of how their strengths and weaknesses affect design choices. At the highest level of abstraction are microcontroller tools such as Infusion Systems’ MicroDig, Phidgets, and Stanford’s d.tools (Michael, 2013). Modules at this level are generally not programmable by the end user. *Corresponding Author: E.C. Anene 1 | Page Microcontroller Prototyping Platform with expanded and flexible hardwired I/O resources. Instead, they are configured using adesktop tool. These tools are generally not standalone devices, but must be connected to a personal computer in order to be useful. Infusion Systems’ MicroDig(Reas, 2005) is a sensor interface box with a MIDI interface. It’s hardware interface consists of an analog-to-MIDI controller with 8 analog inputs, and various sensor modules that mate with the controller. Users attach pre-packaged sensors to the inputs, and connect the controller to a MIDI output device. The values of the sensors are output as MIDI values. The MicroDig is handy for teaching students with some little familiarity of MIDI and programming or knowledge of electronics and how to design hardware interfaces. Nonetheless, it is an expensive platform, with the basic kit costing $399, and requires that the connecting equipment be MIDI compatible. Phidgets is a modular system of sensor controllers, motor controllers, RFID readers, and other special function devices, all united by a common USB interface and a set of desktop software APIs (Szekely, 1993). Each Phidget device is a self-contained electronic device, whether it’s a sensor, motor or LED controller, or a more complex device like an LCD display. The user needs almost no knowledge of electronics to use Phidgets. Each device is connected to a desktop computer in order to access its sensor data or to control it (Adrian et al 2015). The modules arerelatively inexpensive, ranging from $10 to $100 but the devices cannot be used as standalone units, however and must be interfaced to a personal computer to use. The learning curve for Phidgets is somewhat steeper than for the MicroDig, but it’s useful for those familiar with software development who want to begin making hardware interfaces. d.tools is a high-level hardware and software tool developed at Stanford University’s HCI group that addresses some of the shortcomings of others in this class(Wixom et al 2005). First, d.tools is a more flexible system. The d.tools software can be used with other hardware platforms, as long as that hardware is running a firmware that can communicate in the d.tools protocol. Wiring, Arduino and Phidgets hardware have been used with d.tools. The software is written in Java as a plugin for the Eclipse universal tool platform, and can theoretically run on any Java-capable operating systemtools in an open source platform(Adrian et al 2015).There are many other microcontroller development tools available for use in teaching and prototyping. Those that are popular outside the electrical engineering community offer some balance between cost, expandability, and ease of use like Arduino withhardware made up of a series of plug-and-play USB modules(Adrian et al 2015). Moving down a level of abstraction, there are a number of mid-level microcontrollers featuring basic support electronics (crystal, power regulator, etc.) on a small module. These modules are built with the assumption that users can build inputand output circuits to attach to it. They’re usually programmed in BASIC, or some variation of C, and attached to the programming environment on a personal computer using a serial or USB connection. Parallax’ BASIC stamp is the most well-known of these modules (Michael, 2013). Also in this family are NetMedia’sBasicX , BASIC Micro’s Basic ATOM processors.The main advantage offered by this range of controllers is programmability in a high-level language, with a simple programming interface. The disadvantage is generally that the programming languages are very limited, and the lower levels of the controller itself are not accessible to the user at all. Students taught to use these controllers generally reach a problem beyond the module’s capability within their first semester. The programming environmentsare almost all available for Windows operating systems only, though there are some exceptions.The processors themselves are usually priced around $50, and experimenter’s kits, including a processor, power supply and prototyping board usually cost between $75 and $100. Since they’re aimed at beginners, this price, while less than the high-level controllers, is still high. Users do not often think about using multiple modules in a project because the price of multiples is prohibitive. With mid-level microcontrollers, the mistake of wrong wiring of a circuit and destroying the processor is high. At the lowest level of abstraction are the microcontrollers themselves. Two of the most popular are Microchip’s PIC family of processors, and Atmel’s AVR processors. These are programmed in C or Assembly or BASIC, and much of the programming involves direct access to the processor’s registers. A separate hardware programmer is usually needed tocommunicate between the programming environment and the processor. The developer must build the necessary support circuitry for the processor in addition to any sensor or actuator circuits. The learning curve for this class of controllers is the steepest of any mentioned here. The advantage offered by lower level controllers is cost. At $1 - $15 apiece, they can be used in multiples easily. There is often some initial setup cost for the development environment, however. Programmers range from $30 - $100, and more fully-featured programming environments can be in excess of $300.