OFF
MIKROE-3880
20 g
Status:
The M-Bus Master is a Click board™ is complete solution for a master node in M-Bus networks. The M-Bus ("Meter-Bus") is a new European standard for remote reading of heat meters and it is also usable for all other types of consumption meters as well as for various sensors and actuators. Given all the features these elements offer, the M-Bus Master click can be used for low cost applications, and low voltage, MCU based, single supply applications.
The M-Bus Master click is supported by a mikroSDK compliant library, which includes functions that simplify software development. This Click board™ comes as a fully tested product, ready to be used on a system equipped with the mikroBUS™ socket.
This product is no longer in stock
Availability date:
The remote reading of heat meters can take place in different ways. Besides the remote reading, the whole collection of various meters can be remotely controlled over M-Bus, making it a complete housing solution. The latter is a logical continuation/extension of the technical development of consumption meters and is realizable with the help of the M-Bus Click.
In order to realize an extensive bus network with low cost for the transmission medium, a two-wire cable was used together with serial data transfer. In order to allow remote powering of the slaves, the bits on the bus are represented as follows:
As mentioned above, M-Bus standard has predefined voltage levels and principle of work. In order to achieve that, M-Bus Master click has built in complete solution for master node on the network, based on MC33072ADR2G – monolithic, single supply 3 - 44 V operational amplifier from ON Semiconductor. Besides the operational amplifier, this click board has all other needed components needed to achieve a complete analog solution which, on its output, fulfils the M-Bus voltage and current predefined specifications.
This Click board™ also has VOM452 onboard – the analog, high hpeed, high noise immunity, 1 MBd optocoupler, from Vishay Semiconductors. Theese high speed optocouplers, each consists of a GaAlAs infrared emitting diode, optically coupled with an integrated photo detector and a high speed transistor. The photo detector is junction isolated from the transistor to reduce miller capacitance effects. The open collector output function allows circuit designers to adjust the load conditions when interfacing with different logic systems such as TTL, CMOS, etc. All these features improve the reliability of the whole circuit, while enabling the galvanic isolation.
M-Bus Master click offers a selection between 3.3V and 5V operation, with the onboard SMD jumper, labeled as PWR SEL. This allows both 3.3V and 5V MCUs to be interfaced with this Click board™.
Type
RS232
Applications
Remote sensor reading, remote control over M-Bus, smart house
On-board modules
MC33072ADR2G, a monolithic operational amplifier from ON Semiconductor
Key Features
Galvanicaly isolated, Master node
Interface
UART
Feature
No ClickID
Compatibility
mikroBUS™
Click board size
L (57.15 x 25.4 mm)
Input Voltage
3.3V or 5V
This table shows how the pinout on the M-Bus Master click corresponds to the pinout on the mikroBUS™ socket (the latter shown in the two middle columns).
Label | Name | Default | Description |
---|---|---|---|
LD1 | PWR | - | Power LED Indicator |
JP1 | VCC SEL | Left | Power supply voltage selection: left position 3.3V, right position 5V |
We provide a library for the M-Bus Master Click on our LibStock page, as well as a demo application (example), developed using MikroElektronika compilers. The demo can run on all the main MikroElektronika development boards.
Library Description
Initializes and defines UART bus driver, and defines driver's functions for writing data on the M-BUS terminal.
Key functions:
void mbusmaster_write_byte ( uint8_t input )
- Write one byte dataExamples description
The application is composed of three sections :
void application_task ( ) { char tmp; for ( tmp = 0; tmp < 9; tmp++ ) { mbusmaster_write_byte( demo_message_data[ tmp ] ); } mikrobus_logWrite( ">> MESSAGE SENT <<", _LOG_LINE ); Delay_ms(2000); }
Note:
The full application code, and ready to use projects can be found on our LibStock page.
Other mikroE Libraries used in the example:
Additional notes and informations
Depending on the development board you are using, you may need USB UART click, USB UART 2 click or RS232 click to connect to your PC, for development systems with no UART to USB interface available on the board. The terminal available in all MikroElektronika compilers, or any other terminal application of your choice, can be used to read the message.
This Click board™ is supported with mikroSDK - MikroElektronika Software Development Kit. To ensure proper operation of mikroSDK compliant Click board™ demo applications, mikroSDK should be downloaded from the LibStock and installed for the compiler you are using.
For more information about mikroSDK, visit the official page.
NOTE: Please be advised that any peripheral devices or accessories shown connected to the Click board™ are not included in the package. Check their availability in our shop or in the YMAN section below.