
details
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:
- 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:
- Assemble the Wiznet Ethernet board following the Ciseco instructions on the OpenMicro website OpenMicros – assembling the OKG Wiznet board
- Implement the Wiznet reset line fix
- 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
- 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).
- 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:
- OKG_Wiz5200_RFM12B_emoncms: A fixed data structure example for use with one emonTx and one emonGLCD.
- 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