excellent solution for developing projects based on ATmega2560.The board is compatible with Mega 2560.RoboticsBD RoboticsBD RoboticsBD RoboticsBD RoboticsBD RoboticsBD RoboticsBD RoboticsBD RoboticsBD RoboticsBD Features: Product Images are shown for illustrative purposes only and may differ from the actual product. The voltage regulator (LDO) can handle input voltages from 6V to 9V (peak 18V) DC. The voltage regulator allows to use up to 18V as an input value, however, we do not recommend exceeding the recommended values aforementioned, since this can lead to excessive heat and damage the device. You can power the board or power the pins through the MicroUSB connector. It provides a stable data exchange result when you work at a frequency of 12Mhz (requires the driver to be installed on the computer). The board uses the chip CH340G as the converter UART-USB. It uses the original chip, and 16 MHz high-quality quartz resonators are present on the board. Even though it is an Embed board, it is solid as stable as the Mega Board. The Mega Pro Embed functionalities are identical to the Mega 2560. This is a great solution to get your final project on the welding prototype board. Built on the Atmel ATmega2560 microcontroller and USB-UART interface chip CH340G. Serial.readString() works perfectively in Rs232 communication.The Mega Pro Embed CH340G / ATmega2560 board is based on the ATmega2560 microcontroller. In the while fuction i am reading data one by one character from buffer. Which means if data is available in buffer and its not equal to ‘d’ then read the data. That’s why i have used the statemnet while(Serial1.available() & getdata!=’d’). Its because the biasing and terminating resistors they are not calibrated to the impedence of the wire. Note the function Serial.readString() didn’t worked in Rs485 Communication because the Serial buffer didn’t receive the terminating character. This led is toggling after ever 2 seconds. Pro Mini comes with a pre mounted led connected to pin no 13. Mega now in receive mode receives the string and displays it on serial monitor. If ‘9’ than in turn it sends a string “AcruxTekIsld” back on the Serial line. Mega transmits character ‘9’ on Serial Channel and then goes in receive Mode, Pro Mini Receives the character from serial line, check’s it if it is ‘9’. Initially Mega is in Transmit mode and Pro Mini is in Receive Mode. Then max485 sends the data out on rs485 lines. Max485 is popular rs485 transceiver which can be interfaced with any microcontroller for rs485 communication. Rather an external device/module is required to be interfaced with microcontroller for achieving rs485 communication. Microcontrollers them self can not output rs485 signal caring data. Transmitted signals are opposite in polarity and any external induced signal during travel can easily be filtered at the output. Since signals are opposite in polarity(90 Degree out of Phase) they can travel to pretty far distance. Rs485 transmits two differential signals on two different wires, named A and B lines. External EMF(Electro Motive Force) also effects the lines carrying the data. To achieve 4 km successful data transmission the carrying medium should be smooth and the length of A and B lines should be equi-distance in length. But normally after 1200 m the signal starts drooping off and transmitted signal starts losing its strength due to which their is slight chance of data loss. Rs485 serial communication protocol is capable of transmitting digital serial data up to maximum distance of 4000 m or 4 km.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |