Generally, the positive terminal of all the
renewable energy devices are connected to the
positive input terminal of the charge controller. The
negative input terminal of the charge controller are
connected to IP+ (current in) terminal of all the
current sensors. The IP- (current out) terminal of all
the current sensors are connected back to the negative
terminal of all renewable energy devices. Two
batteries are connected in serial. The positive and
negative terminal of the battery are connected to the
positive and negative charge terminal of the charge
controller respectively. The battery capacity indicator
is connected to the batteries in parallel.
A servo motor and two light sensors are used.
Together with the current sensors, all the sensors and
the servo motor are powered by the 5V output pin of
the Arduino UNO. All the above DC devices are
connected in parallel. The negative terminal of these
DC devices is connected to the ground provided by
Arduino UNO.
For the arrangement of I/O pins, 5 analog pins and
1 digital pin are used. Top and bottom light sensors
are connected to analog pin A1 and A2 respectively.
Current sensors for adjustable solar panel, fixed solar
panel and wind turbine are connected to analog pin
A3, A4 and A5 respectively. Servo motor is
connected to digital pin D9. The system is powered
by the DC power supply, in order to mimic the stable
power supply in residential house. However, if the
system is directly connected to DC power supply, the
current would be large enough to damage the
development boards. Therefore, a resistor is
connected to the development boards in parallel, in
order to prevent large current flowing to the
development boards. By using the Digital Multimeter
(DMM), the resistance of the whole system is
measured to be 11.4286Ω. After calculation, the
suitable range of resistance of the selected resistor is
between 10 and 12Ω. After some experiments, the
suitable power rating of the resistor is 20W.
Therefore, a resistor with 12Ω and 20W is connected
to the system in parallel.
By using parallel resistance formula, the
resistance of the system is reduced from 11.4286Ω to
5.8537Ω. The current flow of the system is increased
from 0.7A to 1.3667A. However, the current flow to
the development boards will be changed to 0.4481A,
which is calculated by using the formula 1.3667A ×
[5.8537Ω / (5.8537Ω + 12Ω)]. The resistor used
shares the rest of the current flow (1.3667A –
0.4481A = 0.9186A). The use of resistor is to reduce
the current flow to the development boards, in order
to protect it from damage.
By using the DC power supply, the optimum
voltage and current for powering up the system is
obtained to be 5V and 0.7A. The exact voltage of the
5V output pin from Arduino UNO is measured to be
4.1V, which is large enough to power up the servo
motor and all the sensors.
3.2 Firmware Design
In the system, the software support takes an important
part. For example, through the design of Arduino
sketch, different hardware devices, such as solar
panels and sensors, are optimum to monitor and
enhance renewable energy FiT. By the use of WiFi
technology, the system can be connected to the
Internet. Data, such as renewable energy generated
and the money earned by the users, will be uploaded
to the Google Cloud automatically. The uploaded
data will be further proceeded for analysis, and finally
the results will be displayed in EcoSite and EcoView.
When particularly focusing to the software
development of the system, it does not only required
to design the sketch for the operation of the hardware
devices such as motor and sensors, but also required
to design the sketch for the connection between
Arduino boards to the Internet. Before connecting to
the Internet, it is critical to get the Google
Authorization, which allows the Temboo application
getting access to a designated Google Spreadsheets.
After the operating sketch of the system has been
designed and accomplished, it will be complied and
uploaded to the Arduino boards. The uploading
method is through WiFi. Therefore, no wired
connection between the system and the personal
computer is required.
For the use of comparing energy efficiency, both
adjustable solar panel and fixed solar panel are
connected to the system during simulation. One of the
solar panels is installed to a fixed solar panel
positioner. Another solar panel is installed to another
solar panel positioner and controlled by a servo motor
and two light sensors.
In the sketch used to control the solar panel by
servo motor and light sensors, the light values are
compared. If the light value from the top sensor is
larger than that from the bottom sensor, the top sensor
will take control of the servo motor. If the light value
from the top sensor is less than or equal to that from
the bottom sensor, the bottom sensor will take
control. By executing the map() function, the servo
motor, jointed with the solar panel, will rotate to the
position that can obtain the highest light level.
For the simulation of generating renewable
energy, the measurement of energy generated by the