Want to Self-Publish a Super Successful Ebook?

“I worked really, really long hours. Think 12-hour workdays, with around 8 hours of working on the book and around 4 hours of consulting work to keep the money coming in,” says Samuel. It took him around three months to finish The Elements of User Onboarding.

This is a great review on Nathan Barry’s blog about how Samuel Hulick wrote and shipped his ebook to huge success! http://nathanbarry.com/samuel-hulick-37000-self-published-book

Windows 8.1 Install Fails on VMware Fusion 6.0.2

If you are trying to install Windows 8.1 into a virtual machine using VMware Fusion v6.0.2 and you get the following error, it might be that your CD/DVD ROM settings are incorrect.

Missing Driver File

Missing Driver File

Some websites will tell you that you have a corrupted .iso file. This might well be the case, but if you have checked the checksum of the downloaded file, that’s obviously not your problem. What the message is telling you is that it needs a driver to be able to control the CD/DVD drive correctly. This could simply be a config error in your VM.

Instead, check to see what your CD/DVD ROM settings are for your virtual machine. Cancel out of the Windows Setup screens and shutdown your VM. You can still keep the Windows install image connected to your CD/DVD drive.

Click the “Edit Hardware Settings” button for the VM:

Edit VM Settings

Edit VM Settings Button

This will open a new Settings dialog window. next click on the “CD/DVD” icon under the “Removable Devices” section:

VM Settings

VM Settings

Notice how mine says (SCSI)? This is a hint that your settings might be wrong. Expand the “Advanced Options” on the next screen to see what Bus Type your VM is set to use:

SCSI Bus Type

SCSI Bus Type

If it’s SCSI change it to SATA:

SATA Bus Type

SATA Bus Type

Next click the “Show All” button – this will take you back to the main Settings window. Click on the “Startup Disk” item:

Settings - Startup Disk

Settings – Startup Disk

Select the CD/DVD icon and then click the “Restart” button:

Startup Disk - Restart

Startup Disk – Restart

This will reboot your VM and your Windows 8.1 installation should continue successfully.

 

Record Solar Output

Today I hit 39.0kWh of power generation. I’m really looking forward to seeing what the long days of summer will bring!! Here in Perth, Western Australia, we get so many gorgeous sunny days without a cloud in the sky. Perfect for solar generation.

Last 2.5 months of daily output:

pvoutput.org_20131202

Todays generation graph:

pvoutput.org_output_20131202

 

Raspberry Pi Setup to monitor Aurora PVI-5000 Solar Inverter – Part 3

Click here to read Part 1 of this setup guide.

Click here to read Part 2 of this setup guide.

This post is meant to provide additional information to the excellent work done by Whirlpool Forums user ‘goldiexxxx’ and the guides he has published. For full info and details see http://forums.whirlpool.net.au/forum-replies.cfm?t=1965598 and http://forums.whirlpool.net.au/forum-replies.cfm?t=2116394

NB: these instructions might be helpful to anyone else who is running on Mac OS X

Visit the main Raspberry Pi website for additional information: http://www.raspberrypi.org/

If you have followed the steps in Part 2 of this guide, you should be ready to install the Aurora Monitoring software on your configured Raspberry Pi. You will have remote access setup and configured via SSH (command line) and VNC (graphical). Lets dive straight in.

Install Aurora Monitor Software

Connect to your Raspberry Pi using VNC Viewer and open the web browser (Midori), then type in the following URL:

http://auroramonitor.sourceforge.net/

Download Aurora Monitor

Across the top of the screen you will see the download link for the latest version (v1.07 at the time of writing).

Download Aurora Monitor Software

Download Aurora Monitor Software

Click the download link. You will be taken to the Sourceforge project page:

Aurora Monitor Zip File Download

Aurora Monitor Zip File Download

Click on the auroramon-1.07.zip to start the download process. You will then be presented with a Save As… dialog box. Click the “Save As” button. This will allow you to choose where to save the file.

Save As Dialog

Save As Dialog

Next you will see the following File Manager style window. Make sure that the ‘pi’ username is selected in the left hand panel. This is whats called the Home directory of the current user – you should be logged in as the username ‘pi’ (this is the default). Click the “Save” button to save the zip file to this folder.

Save Folder

Save Folder

Unzip Aurora Monitor .Zip File

Next, open an LXTerminal window… we’re going back to the command line for a while. Type the command (note: it’s a lower case ‘L’ character followed by an ‘s’):

ls

This will list all the files in the current folder – which should be your home folder, for the user ‘pi’:

ls command output

ls command output

You should see the downloaded zip file in the list:  auroramon-1.07.zip.

Install Zip Tools

If there isn’t a compatible zip/unzip tool installed on the Raspberry Pi, we can install one first. Skip ahead to the next paragraph below to try the unzip step and if it says “Zip: command not found“, come back here and type the following command to download and install the zip and unzip tools. Then repeat the unzip step again. Note: running this command if you already have the zip tools installed will not damage anything. It will check the version installed and upgrade it if necessary.

sudo apt-get install zip unzip

Already Have Zip Tools

If you have the unzip tool installed, or you want to test it out first, type the following command to unzip the downloaded file:

unzip ./auroramon-1.07.zip

You should see some text scroll by as the tool runs. If there are now errors, run the ‘ls’ command again, this time with these extra arguments (lower case ‘L’ again):

ls -al

You should see more detailed file listing:

Detailed File Listing

Detailed File Listing

At the top of the listing you will see the existing zip file, but there will also be a new directory with the same name, minus the .zip extension: auroramon-1.07. This directory is where the Aurora Monitoring software has been extracted to. Our next task will be to download a package that is required for Aurora Monitor to run, and then we will finish the installation of the Aurora software.

Download WX Widgets Packages

Type the following commands in the open LXTerminal window:

sudo apt-get install libwxgtk2.8-0

Check to see if any of the files in the WX package require updating or missing. This will actually check for any missing packages on the whole system, so might take a little while:

sudo apt-get update --fix-missing

Get the next required package:

sudo apt-get install libwxgtk2.8-dev

You should be able to continue straight to the next section but if you encounter any issues, try doing a reboot make sure all the changes are applied correctly and then try to continue again.

sudo reboot

Compile Aurora Monitor Software

Open LXTerminal once again. We are going to change directory to the /src folder in the auroramon-1.07 directory. Type the following command:

cd ./auroramon-1.07/src

Now we compile the source code ready for running. This can take a while so be patient for it to finish:

sudo make

You should see something like this:

Compile Aurora Monitor Source Code

Compile Aurora Monitor Source Code

Start Aurora Monitor

Now you are ready to run Aurora Monitor for the first time. If this fails, try rebooting again (sudo reboot). Make sure you are in the auroramon/src directory again if you reboot the system.

./auroramon

If all goes well you should see something this:

Aurora Monitor - 1st Run

Aurora Monitor – 1st Run

Close Aurora Monitor by clicking on the ‘File | Quit’ menu option.

Configure Aurora Monitor to Start at System Bootup

You should still be in the auroramon-1.07/src directory. Copy the “auroramon” executable file (this is what was created by the compile step above) to system programs directory:

sudo cp auroramon /usr/local/bin

Change directory to the ‘autostart’ directory under the ‘pi’ home directory:

cd ~/.config/autostart

Create a new file called ‘auroramon.desktop’:

sudo nano ./auroramon.desktop

and add the following contents:

[Desktop Entry]
Encoding=UTF-8
Type=Application
Name=Auroramon
Comment=
Exec=auroramon
StartupNotify=false
Terminal=false
Hidden=false

Save the file by pressing Ctrl+X, and then ‘Y’ to confirm the save, and finally press ‘enter’ to confirm the filename ‘auroramon.desktop’.

Lastly reboot the system so make sure that Aurora Monitor starts up automatically upon reboot. Give it a minute or two for the system to startup and then reconnect with VNC Viewer.

sudo reboot

 

Configure Aurora Monitor Settings

If Aurora Monitor is not running when you reconnect with VNC Viewer, you will need to go back and review the previous steps and try to find out where the error is.

Serial Port Setup

The first thing you will want to do is determine the Serial Port that the RS-485 to USB Converter is registered under. This is required when configuring the Aurora Monitor. Type the following command in an LXTerminal window:

dmesg | grep tty

Note that the character between the dmesg and grep is the pipe symbol. It is often found on the same key as the backslash (\) character, but requires the Shift to be pressed as well. You should see something like the following output:

List Serial Ports

List Serial Ports

You want to take note of the port name for the USB connected FTDI Converter. On my computer the port is:

ttyUSB0  (Note: the last character is a zero)

In Aurora Monitor click on the “Settings | Setup” menu item.

Aurora Monitor Setup Menu

Aurora Monitor Setup Menu

This will open the Setup dialog box:

Aurora Monitor Setup Dialog

Aurora Monitor Setup Dialog

Change the Serial Port to the correct one that was displayed in the ‘dmesg’ output. eg: /dev/ttyUSB0. The Inverter address is 2 by default on Aurora Solar inverters. Click OK to save the settings.

Location Setup

Click the “Settings | Location” menu item. The Location dialog will open.

Location Config Dialog

Location Config Dialog

You need to enter the Latitude and Longitude for your current location to allow for correct plotting of the solar insolation graph.

How do you find out your latitude and longitude? That’s a good question! I used this blog post as a guide.

  • Go to Google Maps (http://maps.google.com.au)
  • Type in your address and then zoom in to a decent level so you can see your house or building nice and easily in the centre of the screen.
  • Right click on your house and choose the option “What’s Here?”
  • A green arrow should appear where you right clicked. Click it!!
  • The latitude and longitude will be displayed above the arrow
Latitude & Longitude

Latitude & Longitude

Note: Aurora Monitor lists the longitude first and then the latitude, but in Google Maps they are listed with latitude first, then longitude.

You want to use the values in the red square. These are measurements in Degrees, Minutes and Seconds. So using the values above, I would set my location as follows:

  • Latitude:  -31:57:28
  • Longitude:  115:51:49

Enter your values and click OK to save them.

Latitude & Longitude Values

Latitude & Longitude Values

Inverter Setup

Click the “Settings | Inverter” menu item. The Inverter dialog will open.

Inverter Settings

Inverter Settings

Clicking the checkbox will auto retrieve energy data from the inverter in 5 minute intervals.

PVOutput.org Setup

Click the “Settings | PVOutput.org” menu item. The PVOutput dialog will open.

PVOutput.org Configuration

PVOutput.org Configuration

Once you have configured your own PVOutput account from the website, then you can enter your account ID and API key. Aurora Monitor will automatically upload your data to your website account every 5 mins while the inverter is working during daylight hours. Please donate to PVOutput.org to show your support for this [currently] free service.

As for the remaining settings – Charts, Historgrams & Extra Readings – feel free to investigate them and play around with these settings.

Final Configuration Setting

In the original setup guide by ‘goldiexxxx’ he makes mention about a USB/Comms lockup issue with conflicting ports. This was in part to the session that the VNC viewer was connecting to the Raspberry Pi with. The following fix resolves this issue.

Open a new LXTerminal window and enter the following command:

sudo nano /boot/cmdline.txt

Add this text:

dwc_otg.speed=1

immediately after the opening config setting:

dwc_otg.lpm_enable=0

Here is my edited file contents:

Edit /boot/cmdline.txt

Edit /boot/cmdline.txt

Now lets reboot the system and you should be ready to start monitoring!!

sudo reboot

Final Steps

All that’s left to do now is hook up your Raspberry Pi to your inverter via the Serial to USB Converter so that it can start monitoring your power output.

The images and notes that ‘goldiexxxx’ has in his setup guide covers this brilliantly, so I won’t duplicate his work here. Whether you are on a Mac, Windows or other system, the physical hardware setup is essentially the same. You can connect with a modified RJ-45 cable or directly into the RS-485 terminal block. This really is just personal preference.

Good luck with your setup and Happy Generation!!

 

Photos of Final Setup

My inverter is mounted in the carport on the wall. There is a power point on the wall just nearby so I was keen to make use of this in the most efficient way. When you have the Raspberry Pi setup with a keyboard, mouse and screen, you need to have a powered USB hub connected to be able to utilise all these different peripherals. Not to mention that you also have the Wireless Adapter to plug in and the RS-485 to USB adapter.

Once you have remote access to the Pi setup (via the wireless adapter), the only other cables or connections you need are:

  • Power Cable (from a USB enabled power source)
  • RS-485 to USB Adapter

With the wireless adapter already taking up 1 USB port, your RS-485 to USB will fill the remaining one. If we set things up this way though, we somehow need to power the device from another USB based power source. I could have used the powered USB hub that was provided with the kit, but that means that there is a large power brick to be plugged into the power point on the carport wall, plus there is extra cabling to connect the hub to the Pi and then the hub itself.

So I thought I would try something different… what about my spare iPhone 5 charger brick? This is a very small USB charger but it works perfectly well.

iPhone 5 Power Brick

iPhone 5 Power Brick

 

You could also use an iPhone 4 charger brick too.

iPhone 4 Charger

iPhone 4 Charger

I could plug it straight into the wall, run the cable directly to the inverter and plug it into the Raspberry Pi inside. This would remove the need for the hub to be included in the deployment. It would save on space too. So here is what the final setup looks like:

Final Setup

Final Setup

NOTE: In this photo, you can see that the Inverter is powered on. This was only during final testing and at no time was I reaching inside or touching anything with it turned on and the cover off. This is definitely dangerous and you are risking electric shock if you do so. At all times make sure the AC Isolator switch is turned off, as well as the DC Isolator switch before opening the front panel and reaching inside the Inverter!!

With the front panel closed on the inverter, there is no wireless signal, so I positioned the wireless antenna to poke down through the cable gland. This works fine and I can connect from anywhere in the house to check on its health.

Wireless Antenna exposed through cable gland

Wireless Antenna exposed through cable gland

This is what it looks like inside the inverter. There isn’t a whole lot of room to move, but it fits nicely:

Raspberry Pi inside Inverter

Raspberry Pi inside Inverter

RS-485 Cable Setup

This is often a source of frustration and confusion. For connecting from the Inverter motherboard to the RS-485 to USB converter I used a generic computer network cable (CAT 5). This has by default the RJ-45 connectors on each end. This is the correct size to fit in the two adapter ports on the motherboard, however if you do this, some network cables don’t have the correct pins wired up that are needed for data communication from the inverter.

So instead I snipped off each plug at the end of the cable and used 3 of the 4 available wires:

Cable Connection Options

Cable Connection Options

NOTE: Don’t forget to push the termination switch on the left of the RJ-45 sockets into the DOWN position, as shown in the image above. 

  • Terminal Block Position 3 – RTN – White and Blue Striped Wire
  • Terminal Block Position 4 – +T/R – Solid Orange Wire
  • Terminal Block Position 5 – -T/R – Solid Blue Wire
  • The Orange and White Striped Wire is unused and I actually ended up clipping it off from each end so it wasn’t in the way.
Wiring Hookup RS-485 Adapter Plug

Wiring Hookup RS-485 Adapter Plug

RS-485 to USB Wiring Orientation

RS-485 to USB Wiring Orientation

Once I figured out which wire was meant to go into which plug on the RS-485 to USB adapter everything worked perfectly. Data will start flowing immediately to your Raspberry Pi and Aurora Monitor will start graphing it, and if configured, start sending it up to the pvoutput.org website too.

Aurora Monitor Live Data

Aurora Monitor Live Data

Hopefully if you’re bothered reading this far, you also have a screen in Aurora Monitor something similar the one above. Thanks for reading and if you have any questions, please don’t hesitate to leave a comment, drop me a line on twitter or via email (jenart at gmail dot com).

Raspberry Pi Setup to monitor Aurora PVI-5000 Solar Inverter – Part 2

Click here to read Part 1 of this setup guide.

Click here to read Part 3 of this setup guide.

This post is meant to provide additional information to the excellent work done by Whirlpool Forums user ‘goldiexxxx’ and the guides he has published. For full info and details see http://forums.whirlpool.net.au/forum-replies.cfm?t=1965598 and http://forums.whirlpool.net.au/forum-replies.cfm?t=2116394

NB: these instructions might be helpful to anyone else who is running on Mac OS X

Visit the main Raspberry Pi website for additional information: http://www.raspberrypi.org/

If you have followed the steps in Part 1 of this guide, you should have your Raspberry Pi up and running now and ready to start configuring the various software apps so that you can monitor the output from your Aurora Inverter.

Configure Wireless Network Adapter

If you’ve bought your Raspberry Pi from AusPi Technologies Australia, you don’t need to worry about drivers for the wireless network adapter that comes in your kit. I’m sure many other vendors supply adapters that work out of the box as well. The drivers are included in Raspbian OS by default.

But you do need to configure your wireless adapter to connect to your wireless network. After we’ve gotten connected to the outside world, we also want to set a static IP address. This will make it easier to connect to your Raspberry Pi from another computer and monitor it remotely.

Run WiFi Config

You can find the WiFi Config tool on the desktop. Double click it to start. By default it will come up displaying the default Adapter ID: wlan0.

WiFi Config

WiFi Config

Click the “Scan” button. This will open the scan window – click the Scan button in this new window. You should see the list of wireless networks in your area appear in the list.

WiFi Scan Results

WiFi Scan Results

Double click the SSID of your wireless network. A new window will open where you can enter the network password so you can join the network. Type your password in the “PSK” text field then click the “Add” button.

Enter your wireless network password.

Enter your wireless network password.

Close the next window and should be back at the WiFi Config tool default window again. Click the “Connect” button to connect to the network.

After a short delay you should see the properties of your wireless network display in the window and then last of all an IP Address will display.

WiFi Connected - with IP Address

WiFi Connected – with IP Address

Lets test the connection now by opening the web browser – Midori. There is an icon on the desktop. Type in “www.google.com” into the address bar and press enter. You should see the Google homepage if everything is working correctly.

If you get an error message in the browser, try clicking the “Connect” button again in the WiFi Config window. This will rescan the network and attempt to connect. Note that the IP Address can sometimes take a while to display. You must wait until you see the IP Address before attempting to connect to a website in the browser.

Last of all, in the WiFi Config click the “File –> Save Configuration” menu item. Then exit the config tool.

Set a Static IP Address

How do we do this? Open a new LXTerminal window and type the following to start editing the config file:

sudo nano /etc/network/interfaces

We will need to configure both the wired network adapter as well as the wireless network adapter. Most home networks are configured to have IP Addresses in either of the following ranges:

  • 192.168.0.1 – 192.168.0.254
  • 192.168.1.1 – 192.168.1.254
  • 10.1.1.1 – 10.1.1.254

You should be safe in choosing an address between x.x.x.10 and x.x.x.50 in most cases. This way it is less likely to clash with other devices that might also be on your network.

If your network is in the range of 192.1.68.1.x then you will need to make the following change in place of each of the adapter definitions in the file.

Wired Network Adapter

Find the line “iface eth0 inet dhcp” and comment it out by adding a hash/pound symbol ‘#’ at the start of the line.

#iface eth0 inet dhcp
iface eth0 inet static
address 192.168.1.20
netmask 255.255.255.0
broadcast 192.168.1.255
gateway 192.168.1.1
network 192.168.1.0

Note: the gateway IP Address is often set to x.x.x.1 but is also sometimes set to x.x.x.254. So if you have issues after rebooting and cannot access the internet, try editing the the interfaces file again and change the .1 to a .254.

Wireless Network Adapter

If you’re not sure what IP Address your wireless adapter is using, run the WiFi Config tool again and it will be displayed on the first window that opens.

Continue editing the file and update the wireless adapter settings. The next block in the file should be for the wireless adapter. It has a slightly different format because it’s reading the configuration settings from another config file (this is what WiFi Config writes when you save your config).

Choose a different IP Address than for your wired network adapter above and make the following changes. Note that there are 2 lines referencing “iface wlan0″ – we are working with the 2nd one:

allow-hotplug wlan0
iface wlan0 inet manual
wpa-roam /etc/wpa_supplicant/wpa_supplicant.conf
#iface deafult inet dhcp
iface default inet static
address 192.168.1.25
netmask 255.255.255.0
broadcast 192.168.1.255
gateway 192.168.1.1
network 192.168.1.0

Save the changes by pressing “Ctrl+O” and then enter to accept the same file name. Now you can exit the Nano editor by pressing “Ctrl+X”.

Now we need to reboot the Raspberry Pi to apply the settings:

sudo reboot

After the system boots to the desktop again, open the Midori web browser and enter google.com into the address bar and see if it works. To test each configuration, unplug the wired network cable and try it with just the wireless. And then disconnect the wireless adapter from the network using the WiFi Config GUI tool, plug in the network cable and try the web browser.

You can also check that the configuration settings have been applied correctly by opening LXTerminal and typing:

sudo ifconfig

Configure Remote Access

There are two (2) ways you can access your Raspberry Pi from another computer:

  • Via SSH (Secure Shell) – this is a command line/text driven method.
  • Via X11 (X Window System) – graphical user interface.

We will need to be able to connect using both methods.

SSH

If you followed the initial setup steps in Part 1 of this guide, we enabled SSH access. On a Mac you can connect to the Raspberry Pi using SSH with the Terminal application. 

You can find the Terminal application in the Finder app, under Applications –> Utilities –> Terminal.

Terminal App in Finder

Terminal App in Finder

 You will see a new window open:

Terminal Window

Terminal Window

To connect to your Raspberry Pi you will need the IP Address you configured above for your wireless (or wired) network adapter. In my case it was 192.168.0.25. You also need to specify the username to connect with. By default the username on your Pi will be “pi“. Type the following command to SSH into your Pi:

 

ssh pi@192.168.0.25

 

You will be prompted for your password that you chose when you first configured the device. Type that in and press enter. If everything is correct, you will see the command prompt just as you would expect to see if you were physically on the Raspberry Pi in an LXTerminal window.

SSH Login from Terminal App

SSH Login from Terminal App

Any command you execute from now on, will be applied to the Raspberry Pi, not your Mac computer.

Install and configure X11vnc

In the open SSH window type the following to install X11vnc:

sudo apt-get install x11vnc

Press enter to execute it. You will be prompted to continue [Y/n]: Press Y. This may take a little while as it will download the program first before installing it.

Set X11vnc to Auto-start at Boot

Create a directory called “autostart” in the .config directory under the pi users home directory. By default you should already be in this folder when you first login via SSH. Type the following command and press enter:

mkdir ./.config/autostart

Note the leading dot and forward slash (./) before the .config. This helps ensure the autostart directory is created in the correct location.

Now we create a new file in the autostart directory and set it’s contents:

sudo nano ./.config/autostart/x11vnc.desktop

The nano editor should open with a blank new file. Type the following:

[Desktop Entry]
Encoding=UTF-8
Type=Application
Name=X11VNC
Comment=
Exec=x11vnc -forever  -display :0 -ultrafilexfer
StartupNotify=false
Terminal=false
Hidden=false

Press Ctrl+X to exit and save the file. Press Y to confirm and then Enter to finish saving and return to the command line.

Lastly reboot the system to apply the changes:

sudo reboot

When you execute this command, your SSH session will terminate. You can reconnect once the system has started up again. Simply give it a minute or two and try to SSH in again.

Download and Install RealVNC Viewer

Now that we have X11vnc installed and setup, we need to install a ‘viewer’ client tool so that we can connect graphically to the Raspberry Pi. This allows us to connect to the Desktop of the system without the need to have a mouse, keyboard or screen connected.

Download the Viewer software from the following URL. You are going to install it on your Mac, NOT your Raspberry Pi:

https://www.realvnc.com/download/viewer/

Click the Download button for “VNC Viewer for Mac OS X” and enter your details. The download will then start. By default the .dmg file will be saved to your downloads folder. When the download completes open the Finder App and navigate to the Downloads folder. Locate the RealVNC image file (it should be named similar to VNC-Viewer-5.0.6-MacOSX.dmg) and double click it.

A new window will open and you should see the RealVNC application icon.

RealVNC Application Icon

RealVNC Application Icon

At this point, Finder is showing you the contents of the .dmg file that you downloaded. While technically you can double click and run the VNC Viewer at this point, were you to do so, you would always have to double click the .dmg file first before being able to do so in future.

To make it easier to run, we need to copy it to the Applications folder in the Finder. To do this you can open another Finder window, open the Applications folder and then drag the VNC Viewer icon from the first window into the Applications folder. This will copy it from the .dmg file ready for use. Alternatively you can right click on the VNC Viewer icon and choose “Copy VNC Viewer” and then right click in the Applications folder and choose “Paste Item”.

You should see the VNC Viewer icon now displayed in the Applications folder.

VNC Viewer in Applications Folder

VNC Viewer in Applications Folder

To run it, simply double click it.

VNC Viewer Login

VNC Viewer Login

Enter the IP Address of your Raspberry Pi – most probably the Wireless Interface Address, as this is what we’re trying to setup for the main remote access. Click Connect…. (you might see a warning message, just click OK to continue)

VNC Viewer - Raspberry Pi Desktop

VNC Viewer – Raspberry Pi Desktop

If all has gone to plan you should be greeted by the Raspberry Pi Desktop. If the screen is black or blank, just click the mouse once to wake it up. If you still have your HDMI cable connected, the VNC Viewer will display the same screen resolution as the monitor it is connected to. However if you reboot the Raspberry Pi and disconnect the HDMI cable, the screen resolution you see when you reconnect via VNC Viewer will be very small and difficult to use. Lets configure this to be a decent resolution.

Set Screen Resolution

Using your Terminal App and the SSH command (see above) connect to your Raspberry Pi. Edit the /boot/config.txt file:

sudo nano /boot/config.txt

Uncomment the following line by removing the # symbol. This should be line 21 (Press Ctrl+C to see what line the cursor is currently on):

#hdmi_force_hotplug=1

Next, select which resolution you require by uncommenting and changing the group and mode lines. There are two groups and about a hundred different modes to choose from. For example to set a screen resolution of 1024 x 768 @ 60Hz set the following values:

hdmi_group=2
hdmi_mode=16

See http://www.raspberrypi.org/phpBB3/viewtopic.php?t=5851 for a full list of configurable settings.

To apply these settings, reboot the Pi and then attempt to connect again via VNC Viewer.

sudo reboot

You should see a change in the size of the VNC Viewer window when you next connect.

Well, we’re nearly done. We now just need to download the Aurora Monitoring software and connect everything up to our Aurora Inverter.

Click here to continue to Part 3.