This is not compatible with the use of the analogue input(s) for voltage or current measurements. at least one of the Australian-made Freetronics boards) and some Ethernet Shields appear to use Analog I/O for purposes connected with the Ethernet controller. Arduino CompatibilityĪrduino clones that have on-board Ethernet (e.g. '''Connect the jumper to Digital 2 for Arduino Uno/Duemilanove or Digital 3 for Arduino Leonardo.''' These pins connect to the special hardware interrupt pin INT0.įor more information on RFM12B & RFM69CW connection to Arduino, see. The setting of this jumper depends on which Arduino board the shield is connected to. The right hand solder jumper sets the RFM12B interrupt pin. RFM12B / RFM69CW Interrupt Solder Jumper Setting #if defined(_AVR_ATmega32U4_) //Arduino Leonardo If you're using an Arduino Uno (ATmega328), in the file RF12.cpp, replace the entire function "void rf12_set_cs(uint8_t pin)" with this: The following lines must be added to RF12.cpp in the JeeLib library in the void rf12_set_cs(uint8_t pin)function:.For pin 5 to be used as the CS pin the line rf12_set_cs(5) must be added before rf12 initialise in void setup().Modifying the JeeLib library is required since Digital 5 is on a different port.Digital 5 can be used as the RFM SS pin by connecting the solder jumper the other way.The steps above work for both Arduino Uno (ATmega328) and Lenoardo (ATmega32u4).Add the line rf12_set_cs(8) or rf12_set_cs(9) depending on your chosen pin, before rf12 initialise in the void setup() section of your sketch.There is a hole available for this, see the image above. Solder a wire from the middle pad to either Digital 8 or 9.Ensure the RFM12B SS pin solder jumper is not connected (middle pad not soldered to either left or right pads).The first option requires hardware modification, the second requires software modification. ![]() However if Digital 10 is required by another shield (e.g Arduino Ethernet) another free digital pin can be used as the RFM SS pin. For standard operation, connect the solder jumper to 10 by connecting the middle pad to the left pad shown in EmonTx_Shield_top2D.png. ![]() Digital 10 is the JeeLib library default. The left hand solder jumper determines which Arduino digital I/O is used for the RFM SS pin. RFM12B / RFM69CW Slave Select (SS) Solder Jumper Setting On later boards, these have been replaced by header pins and jumper links. On the top of the board, there are two solder jumpers (older boards only) which need to be connected before the emonTx Shield can operate. If lower, you can add a parallel resistor to bring the combined resistance down to the correct value. If the value of burden that you need is higher than 33 Ω, you will need to remove the fitted 33 Ω resistor. that requires a different value of burden, a wire-ended resistor can be soldered in the holes provided at each end of the fitted 33 Ω resistor. the YHDC SCT-013-030 or another “voltage output” type), you must remove the 33 Ω resistor for that input channel. If you will be using a current transformer with an internal burden resistor (e.g. If you cover over the label “CT1” etc, the socket is on the wrong side. The screw connector block, FTDI and links go on the same side as the radio module and the small components. The RFM69CW can be damaged if it is operated at or near full power without the correct antenna.Ĭaution: The connectors for the Arduino headers, ISP, a.c adapter and c.t’s go on the opposite side to the radio module and the small components. You must solder an antenna into that large hole. If you are in any doubt about the orientation of the radio module, the antenna pin on the radio is at the top left in all the photos here link, and it must line up with the antenna pad, which is next to the large hole by C2. The RFM12B / RFM69CW radio module goes onto the pads marked with its outline, ensuring that it is the correct way round. You will need to add the various connectors to the pre-assembled circuit board: ![]() See Learn: Electricity Monitoring for more information on CTs and AC-AC adapters. See OpenEnergyMonitor Shop for recommended CT and recommended plug-in AC-AC adapter. *with 9V AC adapter Design Files & Part List Compatible with OpenEnergyMonitor modules (emonGLCD, emonBase - NannodeRF etc.).Compatible with Duemilanove, Uno and Leonardo.On-board DS18B20 digital temperature sensor (not included as standard).433/868MHz RFM12B / RFM69CW(HopeRF) wireless transceiver to transmit/receive data to other OpenEnergyMonitor and JeeNode modules.Apparent Power, Real Power*, Power Factor* and AC RMS voltage readings*.An open-hardware wireless energy monitoring Arduino compatible shield.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |