SINGLE MASTER – MULTIPLE SLAVES MICROCONTROLLER IMPLEMENTATION FOR SENDING AND RECEIVING DATA ON WEATHER STATION PROTOTYPE

Dikdik Krisnandi, Purnomo Husnul Khotimah

Abstract


We have carried out the microcontroller research implementation as a Master to control multiple Slaves microcontroller on weather station prototype. Master Microcontroller could be interconnected with four Slaves microcontrollers Slaves, in which each has a different type of input. In this research, we used an ATmega8535 microcontroller. To distinguish between a Slave microcontroller and another Slave microcontroller, an addressing system (ID) is used. Data communication used a standard serial port RS-232 and RS-485 ports, the connector is used to connect the two ports. The Single Board Controller (SBC)
Master serves user commands from users, sending the commands and processing Slaves. User commands are given via the keypad and then transmitted using a Universal Asynchronous Receiver-Transmitter (USART) to SBC Slaves. The process on the SBC Slaves is waiting for orders from the Master. The order is detected using an interrupt. After that, the commands are processed and the respond is sent to the SBC Master via USART. When there is no command, Slaves do the idle process. The result shows that the microcontroller application single Master - multiple Slaves has functioned for sending and receiving data in accordance with the specified command. This is shown by the output on a display that has shown the result as expected. The power consumption of each SBC is relatively small which is 0,745 Watt. Thus, it makes the system more economically profitable.


Keywords


Microcontroller; ATmega8535; Master; Slave; Single board controller

Full Text:

References


Altaf, Kashif, and Iqbal, Javaid. 2010. “Multiprocessor Communication Using 8051.”

Atmel. 2013. “8-Bit AVR with 8K Bytes In-System Programmable Flash ATmega8 ATmega8L.” http://www.atmel.com/images/atmel-2486-8-bit-avr-microcontroller-atmega8_l_datasheet.pdf.

Barrett, Steven F. 2010. Embedded Systems Design with the Atmel AVR Microcontroller – Part I. Edited by Mitchell A. Thornton. Morgan & Claypool.

Boylested, Robert L, and Louis Nashelsky. 2009. Electronic Devices and Circuit Theory. 10th ed. New Jersey: Pearson/Prentice Hall.

Gadre, D.V. 2000. Programming and Customizing the AVR Microcontroller. 1st ed. New York: McGraw-Hill Education TAB.

Goldie, John. 1998. “Summary of Well Known Interface Standard.” http://ecee.colorado.edu/~mcclurel/nan216.pdf.

Hsiung, S C. 2007. “The Use of PIC Microcontrollers in Multiple DC Motors Control Applications.” Journal of Industrial Technology 23 (3): 1–9.

Khotimah, P H, and D Krisnandi. 2010. “Komunikasi Antar Mikrokontroler : Master-Slave Menggunakan ATMega 8535 Pada Pengembangan Sistem Stasiun Cuaca.” Prosiding Seminar Nasional Teknoin 2010: Pengembangan Teknologi Industri Berbasis “Green Technology,” C81–86.

Krisnandi, Dikdik. 2011. “Perancangan Dan Analisa Output Rangkaian Signal Conditioning Analog Melalui Mikrokontroler ATMega8535 Untuk Stasiun Cuaca.” Inkom: Jurnal Informatika, Sistem Kendali Dan Komputer V.

Sankar, K Prajindra, S K Tiong, and S P Johnny Koh. 2009. “Microcontroller System for Adaptive Antenna Downlink Transmitter Power Optimization.” International Journal of Electrical and Computer Engineering 3 (2): 604–8.




DOI: http://dx.doi.org/10.14203/widyariset.3.1.2017.19-34

Refbacks

  • There are currently no refbacks.




Copyright (c) 2017 Widyariset

Creative Commons License
This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.

Indexed by :