MediaWiki API result

This is the HTML representation of the JSON format. HTML is good for debugging, but is unsuitable for application use.

Specify the format parameter to change the output format. To see the non-HTML representation of the JSON format, set format=json.

See the complete documentation, or the API help for more information.

{
    "warnings": {
        "query": {
            "*": "Formatting of continuation data will be changing soon. To continue using the current formatting, use the 'rawcontinue' parameter. To begin using the new format, pass an empty string for 'continue' in the initial query."
        }
    },
    "query-continue": {
        "allpages": {
            "gapcontinue": "Replace_HDMI_cable_tutorial"
        }
    },
    "query": {
        "pages": {
            "402": {
                "pageid": 402,
                "ns": 0,
                "title": "Relay(HIGH) for Arduino and Raspberry Pi",
                "revisions": [
                    {
                        "contentformat": "text/x-wiki",
                        "contentmodel": "wikitext",
                        "*": "=='''Introduction'''==\n[[File:Relay module.png]]<br>\nThis is a HIGH level trigger relay,apply to Arduino and Raspberry Pi. Relays are suitable for driving high power electronic devices such as lights, electric fans and air condition. A relay can be used to control high voltages with a low voltage by connecting it to an MCU.<br>\nThe schematic of the relay module is shown as following:<br>\n[[File:Relay schematic\uff08HIGH\uff09.png]]<br>\nSending a HIGH level to SIG; the NPN transistor is energized and the coil of the relay is electrified. Thus, the normally open contact of the relay is closed, while the normally closed contact of the relay will be open. Send a LOW level to SIG; the transistor will be de-energized and the relay will restore to the initial state.\n=='''Principle of relay'''==\nSee the picture here :A is an electromagnet, B armature, C spring, D moving contact, and E fixed contacts. There are two fixed contacts, a normally closed and a normally open. When the coil is not energized, the normally open contact is the one that is off, while the normally closed one is the other that is on. <br>\n[[File:Relay3.png]]<br> \nAdd a certain voltage to the coil and some currents will pass through the coil thus generating the electromagnetic effect. So the armature overcomes the tension of the spring and is attracted to the core, thus closing the moving contact of the armature and the normally open contact (or you may say releasing the former and the normally closed contact). After the coil is deenergized, the electromagnetic force disappears and the armature moves back to the original position, releasing the moving contact and normally closed contact. The closing and releasing of the contacts results in power on and off of the circuit. <br>\n=='''Features'''==\n*Support control of DC and AC signals (AC 220V load)<br>\n*Working voltage: 5V; PCB size: 2.0 x 4.3 cm<br>\n*With power light and signal output indicator <br>\n=='''Application'''== \nThe module can be used as a development module on an MCU or for control of household appliances. \n=='''Resource'''==\n[https://www.sunfounder.com/learn/sensor-kit-v2-0-for-raspberry-pi-b-plus/lesson-4-relay-module-sensor-kit-v2-0-for-b-plus.html Test Experiment for Raspberry Pi][[File:LINK.jpg]]<br>\n[http://wiki.sunfounder.cc/images/1/1f/Relay_datasheet.pdf Relay_datasheet][[File:PDF.jpg]]"
                    }
                ]
            },
            "308": {
                "pageid": 308,
                "ns": 0,
                "title": "Relay(LOW) for Arduino",
                "revisions": [
                    {
                        "contentformat": "text/x-wiki",
                        "contentmodel": "wikitext",
                        "*": "=='''Introduction'''==\n[[File:Relay1.jpg]]<br> \nRelays are suitable for driving high power electronic devices such as lights, electric fans and air condition. A relay can be used to control high voltages with a low voltage by connecting it to an MCU.<br>\nThe schematic diagram of the module is as follows:<br>\n[[File:Relay2.png]]<br>\nSending a low level to SIG; the PNP transistor is energized and the coil of the relay is electrified. Thus, the normally open contact of the relay is closed, while the normally closed contact of the relay will be open. Send a high level to SIG; the transistor will be de-energized and the relay will restore to the initial state.<br>\n\n=='''Principle of relay'''==\nSee the picture here :A is an electromagnet, B armature, C spring, D moving contact, and E fixed contacts. There are two fixed contacts, a normally closed and a normally open. When the coil is not energized, the normally open contact is the one that is off, while the normally closed one is the other that is on. <br>\n[[File:Relay3.png]]<br> \nAdd a certain voltage to the coil and some currents will pass through the coil thus generating the electromagnetic effect. So the armature overcomes the tension of the spring and is attracted to the core, thus closing the moving contact of the armature and the normally open contact (or you may say releasing the former and the normally closed contact). After the coil is deenergized, the electromagnetic force disappears and the armature moves back to the original position, releasing the moving contact and normally closed contact. The closing and releasing of the contacts results in power on and off of the circuit.<br>\n\n=='''Features'''==\n1)Support control of DC and AC signals (AC 220V load)<br>\n2)Working voltage: 5V; PCB size: 2.0 x 4.3 cm<br>\n3)With power light and signal output indicator<br>\n=='''Application'''==\nThe module can be used as a development module on an MCU or for control of household appliances.<br>\n=='''Resorce'''==\n[http://wiki.sunfounder.cc/images/1/1f/Relay_datasheet.pdf Relay_datasheet] [[File:PDF.jpg]]<br>\n[https://www.sunfounder.com/learn/Sensor-Kit-v2-0-for-Arduino/lesson-19-relay-sensor-kit-v2-0-for-arduino.html Test Experiment for Arduino][[File:LINK.jpg]]"
                    }
                ]
            }
        }
    }
}