Emon base With Arduino Diecimila

 Hello Wise ones.

Im attempting to build a emon base using a arduino diecimila, a wizenet ethernet shield and a RF_12B raido. Can someone point me to the resorces I might need to find the correct pins to connect the RF-12b to this bord. Also, would the mods shown here http://wiki.london.hackspace.org.uk/view/Project:Nanode/Applications#RFM12_Wireless_Module be required due to the ethernet shield and raido module conflict?


Im also having issues with the code "ethershield_simple_client_emoncms_RF12" the error is in the function "ethernet_send_url" on the line as follows. Ive tryed my best to follow the code however im very much a beginner with arduino.



Thank you very much for your time, Brilliant project here!



Mike Christiansen

glyn.hudson's picture

Re: Emon base With Arduino Diecimila

Hi Mike,

As you know the official Arduino Ethernet shield uses the wiznet Ethernet chip, this is different to the ENC28J60 chip used on the Nanode. The two chips works in very different ways and require different libraries. The code which you have mentioned above will not work with wiznet. We have got an example for using wiznet to post to emoncms but this example does not include wireless, nontheless its a good start for you: https://github.com/openenergymonitor/WIZnet-Ethernet-Shield-emoncms-example

No, the modifications the you mention above are Nanode specific, they are not required when connecting the RFM12 to an Arduino. The RFM12 will not plug directly into the Arduino like to does on the Nanode, some extra wiring is required. See here for a photo: http://jeelabs.com/products/rfm12b-board.

Good luck! 

All the best, Glyn. 


Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.