Open Kontrol Gateway

The Open Kontrol Gateway (OKG) is a very flexible web-connected base station based on the ATmega328 which is totally Arduino IDE compatible (Arduino UNO bootloader).
ORIGINAL POST
By OpenEnergyMonitor
details

20210705-2.png hrthge45y3g

The Wiznet W5200 is an advanced Ethernet chip which has an integrated TCP/IP stack. It’s almost identical to the Wiznet W5100 which is used in official Arduino Ethernet boards. The Wiznet W5200 works with the standard Arduino Ethernet library with a small change. To use the OKG with the Wiznet W5200 as an emonBase to receive data from an emonTx via RFM12B and post to emoncms follow these steps:

  1. Assemble the OKG base board following the Ciseco instructions on the OpenMicros – assembling the OKG. For emonBase operation the position of the jumpers doesn’t matter. When you’re done, the board should look like this:
  2. Assemble the Wiznet Ethernet board following the Ciseco instructions on the OpenMicro website OpenMicros – assembling the OKG Wiznet board
  3. Implement the Wiznet reset line fix
  4. Replace the Arduino Ethernet library (in Arduino IDE libraries folder) with an updated library that supports the Wiznet W5200 and has modifications to enable RFM12B compatibility download from OpenEnergyMonitor GitHub
  5. Download the JeeLabs JeeLib library and install in your Arduino folder. Make sure you delete or move any other JeeLib / Ethernet library folders currently in your Arduino library folder (renaming is not sufficient).
  6. Download the OKG Wiznet to emoncms examples. Be sure you set the RFM12B network and frequency, emoncms server and emoncms read-only API key. There are currently two examples:
    1. OKG_Wiz5200_RFM12B_emoncms: A fixed data structure example for use with one emonTx and one emonGLCD.
    2. OKG_Wiz5200_RFM12B_emoncms_multinode: flexible example for posting data to emoncms, it relays data to emoncms from as many as 30 nodes. (rfm12 library maximum).

20210705-2.png hrthge45y3g

The Wiznet W5200 is an advanced Ethernet chip which has an integrated TCP/IP stack. It’s almost identical to the Wiznet W5100 which is used in official Arduino Ethernet boards. The Wiznet W5200 works with the standard Arduino Ethernet library with a small change. To use the OKG with the Wiznet W5200 as an emonBase to receive data from an emonTx via RFM12B and post to emoncms follow these steps:

  1. Assemble the OKG base board following the Ciseco instructions on the OpenMicros – assembling the OKG. For emonBase operation the position of the jumpers doesn’t matter. When you’re done, the board should look like this:
  2. Assemble the Wiznet Ethernet board following the Ciseco instructions on the OpenMicro website OpenMicros – assembling the OKG Wiznet board
  3. Implement the Wiznet reset line fix
  4. Replace the Arduino Ethernet library (in Arduino IDE libraries folder) with an updated library that supports the Wiznet W5200 and has modifications to enable RFM12B compatibility download from OpenEnergyMonitor GitHub
  5. Download the JeeLabs JeeLib library and install in your Arduino folder. Make sure you delete or move any other JeeLib / Ethernet library folders currently in your Arduino library folder (renaming is not sufficient).
  6. Download the OKG Wiznet to emoncms examples. Be sure you set the RFM12B network and frequency, emoncms server and emoncms read-only API key. There are currently two examples:
    1. OKG_Wiz5200_RFM12B_emoncms: A fixed data structure example for use with one emonTx and one emonGLCD.
    2. OKG_Wiz5200_RFM12B_emoncms_multinode: flexible example for posting data to emoncms, it relays data to emoncms from as many as 30 nodes. (rfm12 library maximum).

COMMENTS

Please Login to comment
  Subscribe  
Notify of