1) Installing the Arduino IDE – Windows Vista, 7, 8.1 & 10
Follow Arduino windows install guide: https://www.arduino.cc/en/Guide/Windows
This will download a file with a name like “Arduino-1.0.5-r2-windows.exe” (the name will change depending on the version) to your usual location. Double-click on that file and allow it to install in the normal way. Part way through the installation, it will ask for the components to install. It does not appear to make any difference whether you select Install USB driver or not, you still need later to install the SILabs drivers.
When the installation finishes, the screen will show “Arduino Setup:Completed”.
2) Download and install the FTDI Drivers
If you are using USB to UART programming cable sold through the OpenEnergyMonitor shop, do not follow the instructions for installing the drivers on the Arduino website, instead download the drivers from http://www.silabs.com/products/mcu/Pages/USBtoUARTBridgeVCPDrivers.aspx
Click on “Download VCP…”
This will download a zip file “CP210x_VCP_Windows” to your usual location. Extract the contents to a convenient place and you will find two installers, one for 32-bit computers (CP210xVCPInstaller_x86.exe) and one for 64-bit (CP210xVCPInstaller_x64.exe). Double-click on the correct one for your machine and allow it to install the drivers in the normal way.
Make sure you restart the Arduino IDE after installing the drivers. Before you connect the programmer, check Tools > Serial Port. If Serial Port is greyed out, that’s OK, if not and any serial ports are listed, make a note of which they are. Now connect the programmer and your module (emonTx, NanodeRF or emonGLCD). Go back to the main menu and select Tools again. Serial Port should be available and showing a new port. Select that port. Under Tools > Board ensure “Arduino Uno” is selected.
If you have a favorite text editor, you can use it instead of the built-in editor. Select File > Preferences and tick the box “Use external editor”. When you use an external editor, your workflow is slightly different. You must still open the sketch in the IDE, but the IDE does not open your editor - you must yourself open the sketch file in your external editor, and save the file when editing is done. Then you switch to the IDE, where you can click “Verify” or “Upload”. The IDE will read the file again and then proceed to compile it (“Verify”) or compile and upload it (“Upload”).
Read the section on Installing the Libraries under Windows and install the libraries before you set your Sketchbook location (under Preferences).