<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://altpwr.net/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Pstch</id>
	<title>The Alternative Power Network - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="http://altpwr.net/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Pstch"/>
	<link rel="alternate" type="text/html" href="http://altpwr.net/index.php?title=Special:Contributions/Pstch"/>
	<updated>2026-07-15T09:56:48Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.32.2</generator>
	<entry>
		<id>http://altpwr.net/index.php?title=Safety&amp;diff=76</id>
		<title>Safety</title>
		<link rel="alternate" type="text/html" href="http://altpwr.net/index.php?title=Safety&amp;diff=76"/>
		<updated>2019-08-22T12:05:51Z</updated>

		<summary type="html">&lt;p&gt;Pstch: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;* '''NOTE:''' This document was not written by an electrical engineer, its author doesn't have enough knowledge and experience to be confident enough in its content.  ''' ANYTHING DESIGNED USING THIS CONTENT SHOULD BE REVIEWED BEFORE ACTUAL USAGE'''. Please don't shock yourself.&lt;br /&gt;
* '''TODO: Find someone to review and validate this content.'''&lt;br /&gt;
&lt;br /&gt;
As with all electrical systems, great care must be taken to keep the system safe and avoid injuries and equipment damage. Different systems are used for different hazards, and the characteristics of the electrical system (voltage, max current, user exposition) determines the required protections.&lt;br /&gt;
&lt;br /&gt;
== Isolation, earthing and residual currents ==&lt;br /&gt;
&lt;br /&gt;
Electrical circuits must be isolated from their environment, and conductors must be isolated from other conductors. Earthing (grounding) is used to keep the exposed condutive parts close to earth potential, so that we can avoid electrical shock and electrocutions. Earthing is also useful to protect against lightning strikes, and it can improve the behaviour of residual current detectors.&lt;br /&gt;
&lt;br /&gt;
Even in the case of very low-voltage circuits, there are multiple reasons why proper earthing can be required :&lt;br /&gt;
* Voltage doesn't kill, but current does. In some conditions, even 12V will be able to pass through a body and stop a heart or even fry everything. &lt;br /&gt;
* Voltage is not always guaranteed : over-voltage systems have their limits, and you may be on the wrong side of this system, in which case the over-voltage situations can get even worse as the circuit is opened.&lt;br /&gt;
* It can help for the operation of some over-voltage protections (surge suppressors)&lt;br /&gt;
&lt;br /&gt;
There are multiple earthing schemes that can be used for DC circuits.&lt;br /&gt;
&lt;br /&gt;
* '''TODO: Describe earthing schemes and their relation to micro-grids and their structure'''&lt;br /&gt;
* '''TODO: Describe RCDs, their relation to the earthing scheme and implications of their use (problems with &amp;quot;normal&amp;quot; residual current leaks, for example with cheap power supplies).'''&lt;br /&gt;
&lt;br /&gt;
== Over-current protection ==&lt;br /&gt;
&lt;br /&gt;
An over-current condition is defined as a conductor/equipment carrying more current than it has been designed for. This situation is handled by opening the circuit, usually after a delay (to allow start-up peaks), using a thermal breaker (that opens the circuit after it has heated up to a certain level).&lt;br /&gt;
&lt;br /&gt;
The thermal breakers should always be sized so that they trip before the conductors overheat.&lt;br /&gt;
&lt;br /&gt;
== Fault/short-circuit protection ==&lt;br /&gt;
&lt;br /&gt;
A current fault condition is defined as a conductor/equipment carrying &amp;quot;abnormal&amp;quot; current, where the current is &amp;quot;abnormal&amp;quot; in either/both its value or its rate of change. This situation can occur in the case of a &amp;quot;short-circuit&amp;quot;, but also when the circuit is accidentally connected to a different circuit (for example, accidentally connecting a DC grid to the mains). This situation is handled by opening the circuit very quickly  (because the fault current can be very high), using a magnetic breaker (that opens the circuit based on the rate of change of the current).&lt;br /&gt;
&lt;br /&gt;
The magnetic breakers should aways be sized so that they can properly break the maximum fault current. For this, the different fault currents must be calculated (fault current for accidental mains connection, fault current for short-circuit anywhere in the circuit, etc).&lt;br /&gt;
&lt;br /&gt;
== Over/under-voltage protection ==&lt;br /&gt;
&lt;br /&gt;
An over-voltage condition is defined as two conductors having a difference in potential that is out of the specified range. This situation can occur in the case of non-managed excess supply, or rapid unloading. It must be avoided because it can damage equipments, changes the operational characteristics of other safety devices, and decreases the resistance required to avoid carrying a current (increases the risk of an electrical shock). &lt;br /&gt;
&lt;br /&gt;
Under-voltage should ideally also be handled, as it can damage equipments and confuse an user/operator into thinking that a circuit is not connected to power. Under-voltage can occur in the case of lack of supply, or rapid loading.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''TODO: Describe how to handle these situations, add links to the existing circuit designs&lt;br /&gt;
'''&lt;/div&gt;</summary>
		<author><name>Pstch</name></author>
		
	</entry>
	<entry>
		<id>http://altpwr.net/index.php?title=Safety&amp;diff=75</id>
		<title>Safety</title>
		<link rel="alternate" type="text/html" href="http://altpwr.net/index.php?title=Safety&amp;diff=75"/>
		<updated>2019-08-22T12:00:38Z</updated>

		<summary type="html">&lt;p&gt;Pstch: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''NOTE:''' This document was not written by an electrical engineer, its author doesn't have enough knowledge and experience to be confident enough in its content. &lt;br /&gt;
''' ANYTHING DESIGNED USING THIS CONTENT SHOULD BE REVIEWED BEFORE ACTUAL USAGE'''. &lt;br /&gt;
Please don't shock yourself.&lt;br /&gt;
&lt;br /&gt;
'''TODO: Find someone to review and validate this content.'''&lt;br /&gt;
&lt;br /&gt;
As with all electrical systems, great care must be taken to keep the system safe and avoid injuries and equipment damage. Different systems are used for different hazards, and the characteristics of the electrical system (voltage, max current, user exposition) determines the required protections.&lt;br /&gt;
&lt;br /&gt;
== Isolation, earthing and residual currents ==&lt;br /&gt;
&lt;br /&gt;
Electrical circuits must be isolated from their environment, and conductors must be isolated from other conductors. Earthing (grounding) is used to keep the exposed condutive parts close to earth potential, so that we can avoid electrical shock and electrocutions. Earthing is also useful to protect against lightning strikes, and it can improve the behaviour of residual current detectors.&lt;br /&gt;
&lt;br /&gt;
Even in the case of very low-voltage circuits, there are multiple reasons why proper earthing can be required :&lt;br /&gt;
* Voltage doesn't kill, but current does. In some conditions, even 12V will be able to pass through a body and stop a heart or even fry everything. &lt;br /&gt;
* Voltage is not always guaranteed : over-voltage systems have their limits, and you may be on the wrong side of this system, in which case the over-voltage situations can get even worse as the circuit is opened.&lt;br /&gt;
* It can help for the operation of some over-voltage protections (surge suppressors)&lt;br /&gt;
&lt;br /&gt;
There are multiple earthing schemes that can be used for DC circuits.&lt;br /&gt;
&lt;br /&gt;
'''TODO: Describe earthing schemes and their relation to micro-grids and their structure'''&lt;br /&gt;
&lt;br /&gt;
== Over-current protection ==&lt;br /&gt;
&lt;br /&gt;
An over-current condition is defined as a conductor/equipment carrying more current than it has been designed for. This situation is handled by opening the circuit, usually after a delay (to allow start-up peaks), using a thermal breaker (that opens the circuit after it has heated up to a certain level).&lt;br /&gt;
&lt;br /&gt;
== Fault/short-circuit protection ==&lt;br /&gt;
&lt;br /&gt;
A current fault condition is defined as a conductor/equipment carrying &amp;quot;abnormal&amp;quot; current, where the current is &amp;quot;abnormal&amp;quot; in either/both its value or its rate of change. This situation can occur in the case of a &amp;quot;short-circuit&amp;quot;, but also when the circuit is accidentally connected to a different circuit (for example, accidentally connecting a DC grid to the mains). This situation is handled by opening the circuit very quickly  (because the fault current can be very high), using a magnetic breaker (that opens the circuit based on the rate of change of the current).&lt;br /&gt;
&lt;br /&gt;
== Over/under-voltage protection ==&lt;br /&gt;
&lt;br /&gt;
An over-voltage condition is defined as two conductors having a difference in potential that is out of the specified range. This situation can occur in the case of non-managed excess supply, or rapid unloading. It must be avoided because it can damage equipments, changes the operational characteristics of other safety devices, and decreases the resistance required to avoid carrying a current (increases the risk of an electrical shock). &lt;br /&gt;
&lt;br /&gt;
Under-voltage should ideally also be handled, as it can damage equipments and confuse an user/operator into thinking that a circuit is not connected to power. Under-voltage can occur in the case of lack of supply, or rapid loading.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''TODO: Describe how to handle these situations, add links to the existing circuit designs&lt;br /&gt;
'''&lt;/div&gt;</summary>
		<author><name>Pstch</name></author>
		
	</entry>
	<entry>
		<id>http://altpwr.net/index.php?title=User_talk:Pstch&amp;diff=74</id>
		<title>User talk:Pstch</title>
		<link rel="alternate" type="text/html" href="http://altpwr.net/index.php?title=User_talk:Pstch&amp;diff=74"/>
		<updated>2019-08-22T11:58:52Z</updated>

		<summary type="html">&lt;p&gt;Pstch: Created page with &amp;quot;Hi !&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Hi !&lt;/div&gt;</summary>
		<author><name>Pstch</name></author>
		
	</entry>
	<entry>
		<id>http://altpwr.net/index.php?title=User:Pstch&amp;diff=73</id>
		<title>User:Pstch</title>
		<link rel="alternate" type="text/html" href="http://altpwr.net/index.php?title=User:Pstch&amp;diff=73"/>
		<updated>2019-08-22T11:58:40Z</updated>

		<summary type="html">&lt;p&gt;Pstch: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;* '''Name:''' Hugo Geoffroy&lt;br /&gt;
* '''Handle:''' ''pstch'' or ''pistache''&lt;br /&gt;
* '''E-mail:''' pistache@lebib.org&lt;br /&gt;
* '''Languages:''' French/English/Greek&lt;br /&gt;
* '''Experience in electrical engineering:''' Low&lt;br /&gt;
* '''Experience in PV-systems:''' None&lt;br /&gt;
&lt;br /&gt;
Feel free to ask/tell me something in the [[User_talk:Pstch|talk page]].&lt;/div&gt;</summary>
		<author><name>Pstch</name></author>
		
	</entry>
	<entry>
		<id>http://altpwr.net/index.php?title=Safety&amp;diff=72</id>
		<title>Safety</title>
		<link rel="alternate" type="text/html" href="http://altpwr.net/index.php?title=Safety&amp;diff=72"/>
		<updated>2019-08-22T11:57:01Z</updated>

		<summary type="html">&lt;p&gt;Pstch: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''NOTE:''' This document was not written by an electrical engineer, its author doesn't have enough knowledge and experience to be confident enough in its content. &lt;br /&gt;
''' ANYTHING DESIGNED USING THIS CONTENT SHOULD BE REVIEWED BEFORE ACTUAL USAGE'''. &lt;br /&gt;
Please don't shock yourself.&lt;br /&gt;
&lt;br /&gt;
'''TODO: Find someone to review and validate this content.'''&lt;br /&gt;
&lt;br /&gt;
As with all electrical systems, great care must be taken to keep the system safe and avoid injuries and equipment damage. Different systems are used for different hazards, and the characteristics of the electrical system (voltage, max current, user exposition) determines the required protections.&lt;br /&gt;
&lt;br /&gt;
== Isolation, earthing and residual currents ==&lt;br /&gt;
&lt;br /&gt;
Electrical circuits must be isolated from their environment, and conductors must be isolated from other conductors. Earthing (grounding) is used to keep the exposed condutive parts close to earth potential, so that we can avoid electrical shock and electrocutions. Earthing is also useful to protect against lightning strikes, and it can improve the behaviour of residual current detectors.&lt;br /&gt;
&lt;br /&gt;
Even in the case of very low-voltage circuits, there are multiple reasons why proper earthing can be required :&lt;br /&gt;
* Voltage doesn't kill, but current does. In some conditions, even 12V will be able to pass through a body and stop a heart or even fry everything. &lt;br /&gt;
* Voltage is not always guaranteed : over-voltage systems have their limits, and you may be on the wrong side of this system, in which case the over-voltage situations can get even worse as the circuit is opened.&lt;br /&gt;
* It can help for the operation of some over-voltage protections (surge suppressors)&lt;br /&gt;
&lt;br /&gt;
== Over-current protection ==&lt;br /&gt;
&lt;br /&gt;
An over-current condition is defined as a conductor/equipment carrying more current than it has been designed for. This situation is handled by opening the circuit, usually after a delay (to allow start-up peaks), using a thermal breaker (that opens the circuit after it has heated up to a certain level).&lt;br /&gt;
&lt;br /&gt;
== Fault/short-circuit protection ==&lt;br /&gt;
&lt;br /&gt;
A current fault condition is defined as a conductor/equipment carrying &amp;quot;abnormal&amp;quot; current, where the current is &amp;quot;abnormal&amp;quot; in either/both its value or its rate of change. This situation can occur in the case of a &amp;quot;short-circuit&amp;quot;, but also when the circuit is accidentally connected to a different circuit (for example, accidentally connecting a DC grid to the mains). This situation is handled by opening the circuit very quickly  (because the fault current can be very high), using a magnetic breaker (that opens the circuit based on the rate of change of the current).&lt;br /&gt;
&lt;br /&gt;
== Over/under-voltage protection ==&lt;br /&gt;
&lt;br /&gt;
An over-voltage condition is defined as two conductors having a difference in potential that is out of the specified range. This situation can occur in the case of non-managed excess supply, or rapid unloading. It must be avoided because it can damage equipments, changes the operational characteristics of other safety devices, and decreases the resistance required to avoid carrying a current (increases the risk of an electrical shock). &lt;br /&gt;
&lt;br /&gt;
Under-voltage should ideally also be handled, as it can damage equipments and confuse an user/operator into thinking that a circuit is not connected to power. Under-voltage can occur in the case of lack of supply, or rapid loading.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
TODO: Describe how to handle these situations, add links to the existing circuit designs&lt;/div&gt;</summary>
		<author><name>Pstch</name></author>
		
	</entry>
	<entry>
		<id>http://altpwr.net/index.php?title=Safety&amp;diff=71</id>
		<title>Safety</title>
		<link rel="alternate" type="text/html" href="http://altpwr.net/index.php?title=Safety&amp;diff=71"/>
		<updated>2019-08-22T11:56:44Z</updated>

		<summary type="html">&lt;p&gt;Pstch: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''NOTE:''' This document was not written by an electrical engineer, its author doesn't have enough knowledge and experience to be confident enough in its content. ''' &lt;br /&gt;
ANYTHING DESIGNED USING THIS CONTENT SHOULD BE REVIEWED BEFORE ACTUAL USAGE'''. &lt;br /&gt;
Please don't shock yourself.&lt;br /&gt;
&lt;br /&gt;
'''TODO: Find someone to review and validate this content.'''&lt;br /&gt;
&lt;br /&gt;
As with all electrical systems, great care must be taken to keep the system safe and avoid injuries and equipment damage. Different systems are used for different hazards, and the characteristics of the electrical system (voltage, max current, user exposition) determines the required protections.&lt;br /&gt;
&lt;br /&gt;
== Isolation, earthing and residual currents ==&lt;br /&gt;
&lt;br /&gt;
Electrical circuits must be isolated from their environment, and conductors must be isolated from other conductors. Earthing (grounding) is used to keep the exposed condutive parts close to earth potential, so that we can avoid electrical shock and electrocutions. Earthing is also useful to protect against lightning strikes, and it can improve the behaviour of residual current detectors.&lt;br /&gt;
&lt;br /&gt;
Even in the case of very low-voltage circuits, there are multiple reasons why proper earthing can be required :&lt;br /&gt;
* Voltage doesn't kill, but current does. In some conditions, even 12V will be able to pass through a body and stop a heart or even fry everything. &lt;br /&gt;
* Voltage is not always guaranteed : over-voltage systems have their limits, and you may be on the wrong side of this system, in which case the over-voltage situations can get even worse as the circuit is opened.&lt;br /&gt;
* It can help for the operation of some over-voltage protections (surge suppressors)&lt;br /&gt;
&lt;br /&gt;
== Over-current protection ==&lt;br /&gt;
&lt;br /&gt;
An over-current condition is defined as a conductor/equipment carrying more current than it has been designed for. This situation is handled by opening the circuit, usually after a delay (to allow start-up peaks), using a thermal breaker (that opens the circuit after it has heated up to a certain level).&lt;br /&gt;
&lt;br /&gt;
== Fault/short-circuit protection ==&lt;br /&gt;
&lt;br /&gt;
A current fault condition is defined as a conductor/equipment carrying &amp;quot;abnormal&amp;quot; current, where the current is &amp;quot;abnormal&amp;quot; in either/both its value or its rate of change. This situation can occur in the case of a &amp;quot;short-circuit&amp;quot;, but also when the circuit is accidentally connected to a different circuit (for example, accidentally connecting a DC grid to the mains). This situation is handled by opening the circuit very quickly  (because the fault current can be very high), using a magnetic breaker (that opens the circuit based on the rate of change of the current).&lt;br /&gt;
&lt;br /&gt;
== Over/under-voltage protection ==&lt;br /&gt;
&lt;br /&gt;
An over-voltage condition is defined as two conductors having a difference in potential that is out of the specified range. This situation can occur in the case of non-managed excess supply, or rapid unloading. It must be avoided because it can damage equipments, changes the operational characteristics of other safety devices, and decreases the resistance required to avoid carrying a current (increases the risk of an electrical shock). &lt;br /&gt;
&lt;br /&gt;
Under-voltage should ideally also be handled, as it can damage equipments and confuse an user/operator into thinking that a circuit is not connected to power. Under-voltage can occur in the case of lack of supply, or rapid loading.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
TODO: Describe how to handle these situations, add links to the existing circuit designs&lt;/div&gt;</summary>
		<author><name>Pstch</name></author>
		
	</entry>
	<entry>
		<id>http://altpwr.net/index.php?title=Safety&amp;diff=70</id>
		<title>Safety</title>
		<link rel="alternate" type="text/html" href="http://altpwr.net/index.php?title=Safety&amp;diff=70"/>
		<updated>2019-08-22T11:56:31Z</updated>

		<summary type="html">&lt;p&gt;Pstch: Formatting&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''NOTE:''' This document was not written by an electrical engineer, its author doesn't have enough knowledge and experience to be confident enough in its content. ''' ANYTHING DESIGNED USING THIS CONTENT SHOULD BE REVIEWED BEFORE ACTUAL USAGE'''. Please don't shock yourself.&lt;br /&gt;
&lt;br /&gt;
'''TODO: Find someone to review and validate this content.'''&lt;br /&gt;
&lt;br /&gt;
As with all electrical systems, great care must be taken to keep the system safe and avoid injuries and equipment damage. Different systems are used for different hazards, and the characteristics of the electrical system (voltage, max current, user exposition) determines the required protections.&lt;br /&gt;
&lt;br /&gt;
== Isolation, earthing and residual currents ==&lt;br /&gt;
&lt;br /&gt;
Electrical circuits must be isolated from their environment, and conductors must be isolated from other conductors. Earthing (grounding) is used to keep the exposed condutive parts close to earth potential, so that we can avoid electrical shock and electrocutions. Earthing is also useful to protect against lightning strikes, and it can improve the behaviour of residual current detectors.&lt;br /&gt;
&lt;br /&gt;
Even in the case of very low-voltage circuits, there are multiple reasons why proper earthing can be required :&lt;br /&gt;
* Voltage doesn't kill, but current does. In some conditions, even 12V will be able to pass through a body and stop a heart or even fry everything. &lt;br /&gt;
* Voltage is not always guaranteed : over-voltage systems have their limits, and you may be on the wrong side of this system, in which case the over-voltage situations can get even worse as the circuit is opened.&lt;br /&gt;
* It can help for the operation of some over-voltage protections (surge suppressors)&lt;br /&gt;
&lt;br /&gt;
== Over-current protection ==&lt;br /&gt;
&lt;br /&gt;
An over-current condition is defined as a conductor/equipment carrying more current than it has been designed for. This situation is handled by opening the circuit, usually after a delay (to allow start-up peaks), using a thermal breaker (that opens the circuit after it has heated up to a certain level).&lt;br /&gt;
&lt;br /&gt;
== Fault/short-circuit protection ==&lt;br /&gt;
&lt;br /&gt;
A current fault condition is defined as a conductor/equipment carrying &amp;quot;abnormal&amp;quot; current, where the current is &amp;quot;abnormal&amp;quot; in either/both its value or its rate of change. This situation can occur in the case of a &amp;quot;short-circuit&amp;quot;, but also when the circuit is accidentally connected to a different circuit (for example, accidentally connecting a DC grid to the mains). This situation is handled by opening the circuit very quickly  (because the fault current can be very high), using a magnetic breaker (that opens the circuit based on the rate of change of the current).&lt;br /&gt;
&lt;br /&gt;
== Over/under-voltage protection ==&lt;br /&gt;
&lt;br /&gt;
An over-voltage condition is defined as two conductors having a difference in potential that is out of the specified range. This situation can occur in the case of non-managed excess supply, or rapid unloading. It must be avoided because it can damage equipments, changes the operational characteristics of other safety devices, and decreases the resistance required to avoid carrying a current (increases the risk of an electrical shock). &lt;br /&gt;
&lt;br /&gt;
Under-voltage should ideally also be handled, as it can damage equipments and confuse an user/operator into thinking that a circuit is not connected to power. Under-voltage can occur in the case of lack of supply, or rapid loading.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
TODO: Describe how to handle these situations, add links to the existing circuit designs&lt;/div&gt;</summary>
		<author><name>Pstch</name></author>
		
	</entry>
	<entry>
		<id>http://altpwr.net/index.php?title=Safety&amp;diff=69</id>
		<title>Safety</title>
		<link rel="alternate" type="text/html" href="http://altpwr.net/index.php?title=Safety&amp;diff=69"/>
		<updated>2019-08-22T11:56:06Z</updated>

		<summary type="html">&lt;p&gt;Pstch: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;big&amp;gt;'''NOTE:''' This document was not written by an electrical engineer, its author doesn't have enough knowledge and experience to be confident enough in its content. '''&lt;br /&gt;
&lt;br /&gt;
ANYTHING DESIGNED USING THIS CONTENT SHOULD BE REVIEWED BEFORE ACTUAL USAGE'''. Please don't shock yourself.&amp;lt;/big&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''TODO: Find someone to review and validate this content.'''&lt;br /&gt;
&lt;br /&gt;
As with all electrical systems, great care must be taken to keep the system safe and avoid injuries and equipment damage. Different systems are used for different hazards, and the characteristics of the electrical system (voltage, max current, user exposition) determines the required protections.&lt;br /&gt;
&lt;br /&gt;
== Isolation, earthing and residual currents ==&lt;br /&gt;
&lt;br /&gt;
Electrical circuits must be isolated from their environment, and conductors must be isolated from other conductors. Earthing (grounding) is used to keep the exposed condutive parts close to earth potential, so that we can avoid electrical shock and electrocutions. Earthing is also useful to protect against lightning strikes, and it can improve the behaviour of residual current detectors.&lt;br /&gt;
&lt;br /&gt;
Even in the case of very low-voltage circuits, there are multiple reasons why proper earthing can be required :&lt;br /&gt;
* Voltage doesn't kill, but current does. In some conditions, even 12V will be able to pass through a body and stop a heart or even fry everything. &lt;br /&gt;
* Voltage is not always guaranteed : over-voltage systems have their limits, and you may be on the wrong side of this system, in which case the over-voltage situations can get even worse as the circuit is opened.&lt;br /&gt;
* It can help for the operation of some over-voltage protections (surge suppressors)&lt;br /&gt;
&lt;br /&gt;
== Over-current protection ==&lt;br /&gt;
&lt;br /&gt;
An over-current condition is defined as a conductor/equipment carrying more current than it has been designed for. This situation is handled by opening the circuit, usually after a delay (to allow start-up peaks), using a thermal breaker (that opens the circuit after it has heated up to a certain level).&lt;br /&gt;
&lt;br /&gt;
== Fault/short-circuit protection ==&lt;br /&gt;
&lt;br /&gt;
A current fault condition is defined as a conductor/equipment carrying &amp;quot;abnormal&amp;quot; current, where the current is &amp;quot;abnormal&amp;quot; in either/both its value or its rate of change. This situation can occur in the case of a &amp;quot;short-circuit&amp;quot;, but also when the circuit is accidentally connected to a different circuit (for example, accidentally connecting a DC grid to the mains). This situation is handled by opening the circuit very quickly  (because the fault current can be very high), using a magnetic breaker (that opens the circuit based on the rate of change of the current).&lt;br /&gt;
&lt;br /&gt;
== Over/under-voltage protection ==&lt;br /&gt;
&lt;br /&gt;
An over-voltage condition is defined as two conductors having a difference in potential that is out of the specified range. This situation can occur in the case of non-managed excess supply, or rapid unloading. It must be avoided because it can damage equipments, changes the operational characteristics of other safety devices, and decreases the resistance required to avoid carrying a current (increases the risk of an electrical shock). &lt;br /&gt;
&lt;br /&gt;
Under-voltage should ideally also be handled, as it can damage equipments and confuse an user/operator into thinking that a circuit is not connected to power. Under-voltage can occur in the case of lack of supply, or rapid loading.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
TODO: Describe how to handle these situations, add links to the existing circuit designs&lt;/div&gt;</summary>
		<author><name>Pstch</name></author>
		
	</entry>
	<entry>
		<id>http://altpwr.net/index.php?title=Safety&amp;diff=68</id>
		<title>Safety</title>
		<link rel="alternate" type="text/html" href="http://altpwr.net/index.php?title=Safety&amp;diff=68"/>
		<updated>2019-08-22T11:55:15Z</updated>

		<summary type="html">&lt;p&gt;Pstch: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;big&amp;gt;'''NOTE:''' This document was not written by an electrical engineer, its author doesn't have enough knowledge and experience to be confident enough in its content. '''&lt;br /&gt;
&lt;br /&gt;
ANYTHING DESIGNED USING THIS CONTENT SHOULD BE REVIEWED BEFORE ACTUAL USAGE'''. Please don't shock yourself.&amp;lt;/big&amp;gt;&lt;br /&gt;
&lt;br /&gt;
As with all electrical systems, great care must be taken to keep the system safe and avoid injuries and equipment damage. Different systems are used for different hazards, and the characteristics of the electrical system (voltage, max current, user exposition) determines the required protections.&lt;br /&gt;
&lt;br /&gt;
== Isolation, earthing and residual currents ==&lt;br /&gt;
&lt;br /&gt;
Electrical circuits must be isolated from their environment, and conductors must be isolated from other conductors. Earthing (grounding) is used to keep the exposed condutive parts close to earth potential, so that we can avoid electrical shock and electrocutions. Earthing is also useful to protect against lightning strikes, and it can improve the behaviour of residual current detectors.&lt;br /&gt;
&lt;br /&gt;
Even in the case of very low-voltage circuits, there are multiple reasons why proper earthing can be required :&lt;br /&gt;
* Voltage doesn't kill, but current does. In some conditions, even 12V will be able to pass through a body and stop a heart or even fry everything. &lt;br /&gt;
* Voltage is not always guaranteed : over-voltage systems have their limits, and you may be on the wrong side of this system, in which case the over-voltage situations can get even worse as the circuit is opened.&lt;br /&gt;
* It can help for the operation of some over-voltage protections (surge suppressors)&lt;br /&gt;
&lt;br /&gt;
== Over-current protection ==&lt;br /&gt;
&lt;br /&gt;
An over-current condition is defined as a conductor/equipment carrying more current than it has been designed for. This situation is handled by opening the circuit, usually after a delay (to allow start-up peaks), using a thermal breaker (that opens the circuit after it has heated up to a certain level).&lt;br /&gt;
&lt;br /&gt;
== Fault/short-circuit protection ==&lt;br /&gt;
&lt;br /&gt;
A current fault condition is defined as a conductor/equipment carrying &amp;quot;abnormal&amp;quot; current, where the current is &amp;quot;abnormal&amp;quot; in either/both its value or its rate of change. This situation can occur in the case of a &amp;quot;short-circuit&amp;quot;, but also when the circuit is accidentally connected to a different circuit (for example, accidentally connecting a DC grid to the mains). This situation is handled by opening the circuit very quickly  (because the fault current can be very high), using a magnetic breaker (that opens the circuit based on the rate of change of the current).&lt;br /&gt;
&lt;br /&gt;
== Over/under-voltage protection ==&lt;br /&gt;
&lt;br /&gt;
An over-voltage condition is defined as two conductors having a difference in potential that is out of the specified range. This situation can occur in the case of non-managed excess supply, or rapid unloading. It must be avoided because it can damage equipments, changes the operational characteristics of other safety devices, and decreases the resistance required to avoid carrying a current (increases the risk of an electrical shock). &lt;br /&gt;
&lt;br /&gt;
Under-voltage should ideally also be handled, as it can damage equipments and confuse an user/operator into thinking that a circuit is not connected to power. Under-voltage can occur in the case of lack of supply, or rapid loading.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
TODO: Describe how to handle these situations, add links to the existing circuit designs&lt;/div&gt;</summary>
		<author><name>Pstch</name></author>
		
	</entry>
	<entry>
		<id>http://altpwr.net/index.php?title=Safety&amp;diff=67</id>
		<title>Safety</title>
		<link rel="alternate" type="text/html" href="http://altpwr.net/index.php?title=Safety&amp;diff=67"/>
		<updated>2019-08-22T11:55:05Z</updated>

		<summary type="html">&lt;p&gt;Pstch: Add warning&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;big&amp;gt;'''NOTE:''' This document was not written by an electrical engineer, its author doesn't have enough knowledge and experience to be confident enough in its content. '''ANYTHING DESIGNED USING THIS CONTENT SHOULD BE REVIEWED BEFORE ACTUAL USAGE'''. Please don't shock yourself.&amp;lt;/big&amp;gt;&lt;br /&gt;
&lt;br /&gt;
As with all electrical systems, great care must be taken to keep the system safe and avoid injuries and equipment damage. Different systems are used for different hazards, and the characteristics of the electrical system (voltage, max current, user exposition) determines the required protections.&lt;br /&gt;
&lt;br /&gt;
== Isolation, earthing and residual currents ==&lt;br /&gt;
&lt;br /&gt;
Electrical circuits must be isolated from their environment, and conductors must be isolated from other conductors. Earthing (grounding) is used to keep the exposed condutive parts close to earth potential, so that we can avoid electrical shock and electrocutions. Earthing is also useful to protect against lightning strikes, and it can improve the behaviour of residual current detectors.&lt;br /&gt;
&lt;br /&gt;
Even in the case of very low-voltage circuits, there are multiple reasons why proper earthing can be required :&lt;br /&gt;
* Voltage doesn't kill, but current does. In some conditions, even 12V will be able to pass through a body and stop a heart or even fry everything. &lt;br /&gt;
* Voltage is not always guaranteed : over-voltage systems have their limits, and you may be on the wrong side of this system, in which case the over-voltage situations can get even worse as the circuit is opened.&lt;br /&gt;
* It can help for the operation of some over-voltage protections (surge suppressors)&lt;br /&gt;
&lt;br /&gt;
== Over-current protection ==&lt;br /&gt;
&lt;br /&gt;
An over-current condition is defined as a conductor/equipment carrying more current than it has been designed for. This situation is handled by opening the circuit, usually after a delay (to allow start-up peaks), using a thermal breaker (that opens the circuit after it has heated up to a certain level).&lt;br /&gt;
&lt;br /&gt;
== Fault/short-circuit protection ==&lt;br /&gt;
&lt;br /&gt;
A current fault condition is defined as a conductor/equipment carrying &amp;quot;abnormal&amp;quot; current, where the current is &amp;quot;abnormal&amp;quot; in either/both its value or its rate of change. This situation can occur in the case of a &amp;quot;short-circuit&amp;quot;, but also when the circuit is accidentally connected to a different circuit (for example, accidentally connecting a DC grid to the mains). This situation is handled by opening the circuit very quickly  (because the fault current can be very high), using a magnetic breaker (that opens the circuit based on the rate of change of the current).&lt;br /&gt;
&lt;br /&gt;
== Over/under-voltage protection ==&lt;br /&gt;
&lt;br /&gt;
An over-voltage condition is defined as two conductors having a difference in potential that is out of the specified range. This situation can occur in the case of non-managed excess supply, or rapid unloading. It must be avoided because it can damage equipments, changes the operational characteristics of other safety devices, and decreases the resistance required to avoid carrying a current (increases the risk of an electrical shock). &lt;br /&gt;
&lt;br /&gt;
Under-voltage should ideally also be handled, as it can damage equipments and confuse an user/operator into thinking that a circuit is not connected to power. Under-voltage can occur in the case of lack of supply, or rapid loading.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
TODO: Describe how to handle these situations, add links to the existing circuit designs&lt;/div&gt;</summary>
		<author><name>Pstch</name></author>
		
	</entry>
	<entry>
		<id>http://altpwr.net/index.php?title=Safety&amp;diff=66</id>
		<title>Safety</title>
		<link rel="alternate" type="text/html" href="http://altpwr.net/index.php?title=Safety&amp;diff=66"/>
		<updated>2019-08-22T11:51:05Z</updated>

		<summary type="html">&lt;p&gt;Pstch: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;As with all electrical systems, great care must be taken to keep the system safe and avoid injuries and equipment damage. Different systems are used for different hazards, and the characteristics of the electrical system (voltage, max current, user exposition) determines the required protections.&lt;br /&gt;
&lt;br /&gt;
== Isolation, earthing and residual currents ==&lt;br /&gt;
&lt;br /&gt;
Electrical circuits must be isolated from their environment, and conductors must be isolated from other conductors. Earthing (grounding) is used to keep the exposed condutive parts close to earth potential, so that we can avoid electrical shock and electrocutions. Earthing is also useful to protect against lightning strikes, and it can improve the behaviour of residual current detectors.&lt;br /&gt;
&lt;br /&gt;
Even in the case of very low-voltage circuits, there are multiple reasons why proper earthing can be required :&lt;br /&gt;
* Voltage doesn't kill, but current does. In some conditions, even 12V will be able to pass through a body and stop a heart or even fry everything. &lt;br /&gt;
* Voltage is not always guaranteed : over-voltage systems have their limits, and you may be on the wrong side of this system, in which case the over-voltage situations can get even worse as the circuit is opened.&lt;br /&gt;
* It can help for the operation of some over-voltage protections (surge suppressors)&lt;br /&gt;
&lt;br /&gt;
== Over-current protection ==&lt;br /&gt;
&lt;br /&gt;
An over-current condition is defined as a conductor/equipment carrying more current than it has been designed for. This situation is handled by opening the circuit, usually after a delay (to allow start-up peaks), using a thermal breaker (that opens the circuit after it has heated up to a certain level).&lt;br /&gt;
&lt;br /&gt;
== Fault/short-circuit protection ==&lt;br /&gt;
&lt;br /&gt;
A current fault condition is defined as a conductor/equipment carrying &amp;quot;abnormal&amp;quot; current, where the current is &amp;quot;abnormal&amp;quot; in either/both its value or its rate of change. This situation can occur in the case of a &amp;quot;short-circuit&amp;quot;, but also when the circuit is accidentally connected to a different circuit (for example, accidentally connecting a DC grid to the mains). This situation is handled by opening the circuit very quickly  (because the fault current can be very high), using a magnetic breaker (that opens the circuit based on the rate of change of the current).&lt;br /&gt;
&lt;br /&gt;
== Over/under-voltage protection ==&lt;br /&gt;
&lt;br /&gt;
An over-voltage condition is defined as two conductors having a difference in potential that is out of the specified range. This situation can occur in the case of non-managed excess supply, or rapid unloading. It must be avoided because it can damage equipments, changes the operational characteristics of other safety devices, and decreases the resistance required to avoid carrying a current (increases the risk of an electrical shock). &lt;br /&gt;
&lt;br /&gt;
Under-voltage should ideally also be handled, as it can damage equipments and confuse an user/operator into thinking that a circuit is not connected to power. Under-voltage can occur in the case of lack of supply, or rapid loading.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
TODO: Describe how to handle these situations, add links to the existing circuit designs&lt;/div&gt;</summary>
		<author><name>Pstch</name></author>
		
	</entry>
	<entry>
		<id>http://altpwr.net/index.php?title=Safety&amp;diff=65</id>
		<title>Safety</title>
		<link rel="alternate" type="text/html" href="http://altpwr.net/index.php?title=Safety&amp;diff=65"/>
		<updated>2019-08-22T11:50:25Z</updated>

		<summary type="html">&lt;p&gt;Pstch: Create safety page&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;As with all electrical systems, great care must be taken to keep the system safe and avoid injuries and equipment damage. Different systems are used for different hazards, and the characteristics of the electrical system (voltage, max current, user exposition) determines the required protections.&lt;br /&gt;
&lt;br /&gt;
== Isolation, earthing and residual currents ==&lt;br /&gt;
&lt;br /&gt;
Electrical circuits must be isolated from their environment, and conductors must be isolated from other conductors. Earthing (grounding) is used to keep the exposed condutive parts close to earth potential, so that we can avoid electrical shock and electrocutions. Earthing is also useful to protect against lightning strikes, and it can improve the behaviour of residual current detectors.&lt;br /&gt;
&lt;br /&gt;
Even in the case of very low-voltage circuits, there are multiple reasons why proper earthing can be required :&lt;br /&gt;
* Voltage doesn't kill, but current does. In some conditions, even 12V will be able to pass through a body and stop a heart or even fry everything. &lt;br /&gt;
* Voltage is not always guaranteed : over-voltage systems have their limits, and you may be on the wrong side of this system, in which case the over-voltage situations can get even worse as the circuit is opened.&lt;br /&gt;
* It can help for the operation of some over-voltage protections (surge suppressors)&lt;br /&gt;
&lt;br /&gt;
== Over-current protection ==&lt;br /&gt;
&lt;br /&gt;
An over-current condition is defined as a conductor/equipment carrying more current than it has been designed for. This situation is handled by opening the circuit, usually after a delay (to allow start-up peaks), using a thermal breaker (that opens the circuit after it has heated up to a certain level).&lt;br /&gt;
&lt;br /&gt;
== Fault/short-circuit protection ==&lt;br /&gt;
&lt;br /&gt;
A current fault condition is defined as a conductor/equipment carrying &amp;quot;abnormal&amp;quot; current, where the current is &amp;quot;abnormal&amp;quot; in either/both its value or its rate of change. This situation can occur in the case of a &amp;quot;short-circuit&amp;quot;, but also when the circuit is accidentally connected to a different circuit (for example, accidentally connecting a DC grid to the mains). This situation is handled by opening the circuit very quickly  (because the fault current can be very high), using a magnetic breaker (that opens the circuit based on the rate of change of the current).&lt;br /&gt;
&lt;br /&gt;
== Over-voltage protection (also under-voltage) ==&lt;br /&gt;
&lt;br /&gt;
An over-voltage condition is defined as two conductors having a difference in potential that is out of the specified range. This situation can occur in the case of non-managed excess supply, or rapid unloading. It must be avoided because it can damage equipments, changes the operational characteristics of other safety devices, and decreases the resistance required to avoid carrying a current (increases the risk of an electrical shock). &lt;br /&gt;
&lt;br /&gt;
Under-voltage should ideally also be handled, as it can damage equipments and confuse an user/operator into thinking that a circuit is not connected to power. Under-voltage can occur in the case of lack of supply, or rapid loading.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
TODO: Describe how to handle these situations, add links to the existing circuit designs&lt;/div&gt;</summary>
		<author><name>Pstch</name></author>
		
	</entry>
	<entry>
		<id>http://altpwr.net/index.php?title=User:Pstch&amp;diff=64</id>
		<title>User:Pstch</title>
		<link rel="alternate" type="text/html" href="http://altpwr.net/index.php?title=User:Pstch&amp;diff=64"/>
		<updated>2019-08-22T10:42:43Z</updated>

		<summary type="html">&lt;p&gt;Pstch: Add personal info&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;* '''Name:''' Hugo Geoffroy&lt;br /&gt;
* '''Handle:''' ''pstch'' or ''pistache''&lt;br /&gt;
* '''E-mail:''' pistache@lebib.org&lt;br /&gt;
* '''Languages:''' French/English/Greek&lt;br /&gt;
* '''Experience in electrical engineering:''' Low&lt;br /&gt;
* '''Experience in PV-systems:''' None&lt;/div&gt;</summary>
		<author><name>Pstch</name></author>
		
	</entry>
	<entry>
		<id>http://altpwr.net/index.php?title=Grid_structure&amp;diff=63</id>
		<title>Grid structure</title>
		<link rel="alternate" type="text/html" href="http://altpwr.net/index.php?title=Grid_structure&amp;diff=63"/>
		<updated>2019-08-22T10:39:47Z</updated>

		<summary type="html">&lt;p&gt;Pstch: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''NOTE:''' ''This document is a draft, and it has been written by someone who may not have the required knowledge and experience in both PV-systems and electrical engineering. Feel free to correct mistakes, or to delete nonsensical content.''&lt;br /&gt;
&lt;br /&gt;
There are multiple ways to structure the micro-grid, some of which were mentioned in the D1 Micro-grid meet-up at CCCamp2019. These different structures depend on the scale of the grid (in terms of power, distance, and availability), but also on safety requirements and existing regulations, which determine what can be done practically.&lt;br /&gt;
&lt;br /&gt;
== Long-distance interconnections ==&lt;br /&gt;
&lt;br /&gt;
Very low voltage DC can not be carried very far, as the voltage drop implies a huge loss in efficiency. Multiple solutions were mentioned for this problem :&lt;br /&gt;
&lt;br /&gt;
* '''High(er) Voltage DC, around ~300V''' : tricky to work with (expensive equipment required), and not very safe (DC is hard to break, especially at such voltages), and requires a licensed electrician&lt;br /&gt;
* '''Standard 230V AC''' : hard to synchronize properly, but already standardized. Sync problems can be avoided by only using unidirectional point-to-point links. The interconnection would present itself as a DC consumer to one side, and as a DC provider to the other. This way, standard, off-the-shelf equipment can be used.&lt;br /&gt;
* '''&amp;quot;Sneaker-grid&amp;quot;''' : carrying batteries using mechanical/human power&lt;br /&gt;
&lt;br /&gt;
It may be useful to exchange data (supply, load, battery level, etc) between these subgrids. In that case, standard 230V AC would be practical, as it allows PLC using off-the-shelf equipment.&lt;br /&gt;
&lt;br /&gt;
== Short-distance interconnections ==&lt;br /&gt;
&lt;br /&gt;
Short-distance interconnections can be done directly using DC current. Because of this, it may be useful to use a standard voltage. 42V was used at SHA2017, but 48V is a good candidate too (multiple of 12, lower than 60V). Even with DC interconnection there are lots of variations possible :&lt;br /&gt;
&lt;br /&gt;
* The current flow can be bidirectional, or restricted to a single direction using diodes.&lt;br /&gt;
* The connection can be passive, or active (opening the circuit when required, based on loads/supplies on each side of the connection)&lt;br /&gt;
&lt;br /&gt;
As these connections would not necessarily be point-to-point, it may be easier to conceptualize them as point-to-point links to a shared bus, which can be seen as battery. The diodes/switches would then be placed on the links to the shared bus. Designing and sizing this bus can be tricky (but very important) : ideally it needs to be able to carry the totality of the current supply, which could imply a big cable diameter. It may be possible to size the bus to less than the theoretical maximum current supply, but this would require some additional safety systems.&lt;br /&gt;
&lt;br /&gt;
It should also be noted that the fault current calculation is more complex when there are multiple power sources&lt;br /&gt;
&lt;br /&gt;
For active connections, it may be useful to exchange data between subgrids, for which a transmission method has to be determined. During the meeting, it was said that DC PLC is harder to do safely, as one would have to separate the signal from the relatively high DC currents.&lt;br /&gt;
&lt;br /&gt;
A quick look on the internet suggests that DC PLC is also possible. [https://www.tandfonline.com/doi/pdf/10.1080/22348972.2016.1217817 This paper] describes a DC PLC modem for PV cell monitoring.&lt;br /&gt;
&lt;br /&gt;
== PV-system interconnection ==&lt;br /&gt;
&lt;br /&gt;
The previous section covers short-distance subgrid interconnection, where each subgrid can be seen as a battery, but does not provide a solution for inter-grid PV-system interconnection (a concrete problem encountered by many at CCCamp 2019). Solutions to this problem were not discussed.&lt;br /&gt;
&lt;br /&gt;
* A possible solution could be to avoid using batteries for each PV controller, and instead use batteries on the shared bus. This also makes the system &amp;quot;simpler&amp;quot;, as the shared bus is already mentally modeled as a battery. This would require a load/supply management circuit at the batteries. Note that &amp;quot;power availability&amp;quot; cannot be solely determined from the actual load : if some batteries are charging, there is &amp;quot;available power&amp;quot;, but it would not be apparent in the bus voltage. Because of this, this load/supply management circuit would need to communicate an &amp;quot;available power&amp;quot; metric to the possible loads/users. Also, this load/supply management circuit would have to be able to control the generators (PV systems) in order to avoid excess supply when batteries are full, unless this excess supply can always be used by some Power-to-X load. It may be possible to use the bus voltage to communicate this situation to the generators, but the load/supply management circuit may be more efficient if it has a precise idea of the state of all generators (independently from the loads), which cannot be communicated by the shared bus voltage. The disadvantage of this solution is that it requires an additional battery charging circuit (+ the load/supply management system), because the existing PV-systems battery charging circuits can not be made to work with this shared bus.&lt;/div&gt;</summary>
		<author><name>Pstch</name></author>
		
	</entry>
	<entry>
		<id>http://altpwr.net/index.php?title=Grid_structure&amp;diff=62</id>
		<title>Grid structure</title>
		<link rel="alternate" type="text/html" href="http://altpwr.net/index.php?title=Grid_structure&amp;diff=62"/>
		<updated>2019-08-22T10:37:36Z</updated>

		<summary type="html">&lt;p&gt;Pstch: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''NOTE:''' ''This document is a draft, and it has been written by someone who may not have the required knowledge and experience in both PV-systems and electrical engineering. Feel free to correct mistakes, or to delete nonsensical content.''&lt;br /&gt;
&lt;br /&gt;
There are multiple ways to structure the micro-grid, some of which were mentioned in the D1 Micro-grid meet-up at CCCamp2019. These different structures depend on the scale of the grid (in terms of power, distance, and availability), but also on safety requirements and existing regulations, which determine what can be done practically.&lt;br /&gt;
&lt;br /&gt;
== Long-distance interconnections ==&lt;br /&gt;
&lt;br /&gt;
Very low voltage DC can not be carried very far, as the voltage drop implies a huge loss in efficiency. Multiple solutions were mentioned for this problem :&lt;br /&gt;
&lt;br /&gt;
* '''High(er) Voltage DC, around ~300V''' : tricky to work with (expensive equipment required), and not very safe (DC is hard to break, especially at such voltages), and requires a licensed electrician&lt;br /&gt;
* '''Standard 230V AC''' : hard to synchronize properly, but already standardized. Sync problems can be avoided by only using unidirectional point-to-point links. The interconnection would present itself as a DC consumer to one side, and as a DC provider to the other. This way, standard, off-the-shelf equipment can be used.&lt;br /&gt;
* '''&amp;quot;Sneaker-grid&amp;quot;''' : carrying batteries using mechanical/human power&lt;br /&gt;
&lt;br /&gt;
It may be useful to exchange data (supply, load, battery level, etc) between these subgrids. In that case, standard 230V AC would be practical, as it allows PLC using off-the-shelf equipment.&lt;br /&gt;
&lt;br /&gt;
== Short-distance interconnections ==&lt;br /&gt;
&lt;br /&gt;
Short-distance interconnections can be done directly using DC current. Because of this, it may be useful to use a standard voltage. 42V was used at SHA2017, but 48V is a good candidate too (multiple of 12, lower than 60V). Even with DC interconnection there are lots of variations possible :&lt;br /&gt;
&lt;br /&gt;
* The current flow can be bidirectional, or restricted to a single direction using diodes.&lt;br /&gt;
* The connection can be passive, or active (opening the circuit when required, based on loads/supplies on each side of the connection)&lt;br /&gt;
&lt;br /&gt;
Then, there are two ways to interconnect the sub-grids :&lt;br /&gt;
&lt;br /&gt;
* Mesh-like structure : point-to-(multi)point links between the sub-grids&lt;br /&gt;
* Shared bus structure : point-to-point links between each sub-grid and a shared bus&lt;br /&gt;
&lt;br /&gt;
Using this shared bus could help simplify the mental model and safety systems :&lt;br /&gt;
&lt;br /&gt;
* Fault current calculation in a mesh-like structure can be tricky, and so designing the safety systems could be much harder (and more expensive).&lt;br /&gt;
* The shared bus can be viewed as battery (it can act as a load, or as a supply)&lt;br /&gt;
* Breaker/fuses can be placed on the interconnection between the sub-grid and the bus&lt;br /&gt;
* The bus would have to be sized to the maximum possible current flow between sub-grids (tricky to calculate), or have its own over-current protections.&lt;br /&gt;
* It should be possible to bypass this shared bus (directly interconnect two sub-grids, if  the proper safeties are set up). However, requiring that connections are made to the bus could help ensure that the system is properly safe, and would probably simplify the fault current calculations.&lt;br /&gt;
* The problem with this approach is that '''the shared bus is a SPOF'''. A mesh-like structure could be much more resilient.&lt;br /&gt;
&lt;br /&gt;
For active connections, it may be useful to exchange data between sub-grids, for which a transmission method has to be determined. During the meeting, it was said that DC Power-Line is harder to do safely, as one would have to separate the signal from the relatively high DC currents.&lt;br /&gt;
&lt;br /&gt;
== PV-system interconnection ==&lt;br /&gt;
&lt;br /&gt;
The previous section covers short-distance subgrid interconnection, where each subgrid can be seen as a battery, but does not provide a solution for inter-grid PV-system interconnection (a concrete problem encountered by many at CCCamp 2019). Solutions to this problem were not discussed.&lt;br /&gt;
&lt;br /&gt;
* A possible solution could be to avoid using batteries for each PV controller, and instead use a battery bank on the shared bus. Again, this creates a SPOF. This also makes the system &amp;quot;simpler&amp;quot;, as the shared bus is already mentally modeled as a battery. This would require a load/supply controller  at the batteries. Note that &amp;quot;power availability&amp;quot; cannot be solely determined from the actual load : if some batteries are charging, there is &amp;quot;available power&amp;quot;, but it would not be apparent in the bus voltage. Because of this, this load/supply management circuit would need to communicate an &amp;quot;available power&amp;quot; metric to the possible loads/users. Also, this load/supply controllers would have to be able to control the generators (PV systems) in order to avoid excess supply when batteries are full, unless this excess supply can always be used by some Power-to-X load. It may be possible to use the bus voltage to communicate this situation to the generators, but the load/supply controller may be more efficient if it has a precise idea of the state of all generators (independently from the loads), which cannot be communicated by the shared bus voltage. The disadvantage of this solution is that it requires an additional battery charging circuit (+ the load/supply management system), because the existing PV-systems battery charging circuits can probably not be made to work with this shared bus.&lt;br /&gt;
&lt;br /&gt;
* It should be possible to have multiple battery banks on the shared bus (eliminating the battery-bank-SPOF, but not the shared-bus-SPOF) if the load/supply circuits for each bank can properly cooperate. In that case, and if the load/supply controller communicates the excess supply situation to the PV-systems using the bus voltage, the voltage drop will have to be taken in account, and could even make this approach infeasible, requiring OOB communication between PV-systems and load/supply controllers.&lt;br /&gt;
&lt;br /&gt;
* It should also be possible to have multiple battery banks in a mesh-like structure (eliminating both SPOFs), but the load/supply controllers would have to be aware of the mesh structure and of its capacity (the definition of &amp;quot;available power&amp;quot; becomes much more complex, because it has to take in account the limitations of the path. in a shared bus structure, the &amp;quot;available power&amp;quot; is a byzantine problem (everyone has the same view of it), while in a mesh-like structure, &amp;quot;available power&amp;quot; has a different definition for each node of the mesh).&lt;/div&gt;</summary>
		<author><name>Pstch</name></author>
		
	</entry>
	<entry>
		<id>http://altpwr.net/index.php?title=Grid_structure&amp;diff=61</id>
		<title>Grid structure</title>
		<link rel="alternate" type="text/html" href="http://altpwr.net/index.php?title=Grid_structure&amp;diff=61"/>
		<updated>2019-08-22T10:36:37Z</updated>

		<summary type="html">&lt;p&gt;Pstch: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''NOTE:''' ''This document is a draft, and it has been written by someone who may not have the required knowledge and experience in both PV-systems and electrical engineering. Feel free to correct mistakes, or to delete nonsensical content.''&lt;br /&gt;
&lt;br /&gt;
There are multiple ways to structure the micro-grid, some of which were mentioned in the D1 Micro-grid meet-up at CCCamp2019. These different structures depend on the scale of the grid (in terms of power, distance, and availability), but also on safety requirements and existing regulations, which determine what can be done practically.&lt;br /&gt;
&lt;br /&gt;
== Long-distance interconnections ==&lt;br /&gt;
&lt;br /&gt;
Very low voltage DC can not be carried very far, as the voltage drop implies a huge loss in efficiency. Multiple solutions were mentioned for this problem :&lt;br /&gt;
&lt;br /&gt;
* '''High(er) Voltage DC, around ~300V''' : tricky to work with (expensive equipment required), and not very safe (DC is hard to break, especially at such voltages), and requires a licensed electrician&lt;br /&gt;
* '''Standard 230V AC''' : hard to synchronize properly, but already standardized. Sync problems can be avoided by only using unidirectional point-to-point links. The interconnection would present itself as a DC consumer to one side, and as a DC provider to the other. This way, standard, off-the-shelf equipment can be used.&lt;br /&gt;
* '''&amp;quot;Sneaker-grid&amp;quot;''' : carrying batteries using mechanical/human power&lt;br /&gt;
&lt;br /&gt;
It may be useful to exchange data (supply, load, battery level, etc) between these subgrids. In that case, standard 230V AC would be practical, as it allows PLC using off-the-shelf equipment.&lt;br /&gt;
&lt;br /&gt;
== Short-distance interconnections ==&lt;br /&gt;
&lt;br /&gt;
Short-distance interconnections can be done directly using DC current. Because of this, it may be useful to use a standard voltage. 42V was used at SHA2017, but 48V is a good candidate too (multiple of 12, lower than 60V). Even with DC interconnection there are lots of variations possible :&lt;br /&gt;
&lt;br /&gt;
* The current flow can be bidirectional, or restricted to a single direction using diodes.&lt;br /&gt;
* The connection can be passive, or active (opening the circuit when required, based on loads/supplies on each side of the connection)&lt;br /&gt;
&lt;br /&gt;
Then, there are two ways to interconnect the sub-grids :&lt;br /&gt;
&lt;br /&gt;
* Mesh-like structure : point-to-(multi)point links between the sub-grids&lt;br /&gt;
* Shared bus structure : point-to-point links between each sub-grid and a shared bus&lt;br /&gt;
&lt;br /&gt;
Using this shared bus could help simplify the mental model and safety systems :&lt;br /&gt;
&lt;br /&gt;
* Fault current calculation in a mesh-like structure can be tricky, and so designing the safety systems could be much harder (and more expensive).&lt;br /&gt;
* The shared bus can be viewed as battery (it can act as a load, or as a supply)&lt;br /&gt;
* Breaker/fuses can be placed on the interconnection between the sub-grid and the bus&lt;br /&gt;
* The bus would have to be sized to the maximum possible current flow between sub-grids (tricky to calculate), or have its own over-current protections.&lt;br /&gt;
* It should be possible to bypass this shared bus (directly interconnect two sub-grids, if  the proper safeties are set up). However, requiring that connections are made to the bus could help ensure that the system is properly safe, and would probably simplify the fault current calculations.&lt;br /&gt;
* The problem with this approach is that '''the shared bus is a SPOF'''. A mesh-like structure could be much more resilient.&lt;br /&gt;
&lt;br /&gt;
For active connections, it may be useful to exchange data between sub-grids, for which a transmission method has to be determined. During the meeting, it was said that DC Power-Line is harder to do safely, as one would have to separate the signal from the relatively high DC currents.&lt;br /&gt;
&lt;br /&gt;
== PV-system interconnection ==&lt;br /&gt;
&lt;br /&gt;
The previous section covers short-distance subgrid interconnection, where each subgrid can be seen as a battery, but does not provide a solution for inter-grid PV-system interconnection (a concrete problem encountered by many at CCCamp 2019). Solutions to this problem were not discussed.&lt;br /&gt;
&lt;br /&gt;
* A possible solution could be to avoid using batteries for each PV controller, and instead use a battery bank on the shared bus. Again, this creates a SPOF. This also makes the system &amp;quot;simpler&amp;quot;, as the shared bus is already mentally modeled as a battery. This would require a load/supply controller  at the batteries. Note that &amp;quot;power availability&amp;quot; cannot be solely determined from the actual load : if some batteries are charging, there is &amp;quot;available power&amp;quot;, but it would not be apparent in the bus voltage. Because of this, this load/supply management circuit would need to communicate an &amp;quot;available power&amp;quot; metric to the possible loads/users. Also, this load/supply controllers would have to be able to control the generators (PV systems) in order to avoid excess supply when batteries are full, unless this excess supply can always be used by some Power-to-X load. It may be possible to use the bus voltage to communicate this situation to the generators, but the load/supply controller may be more efficient if it has a precise idea of the state of all generators (independently from the loads), which cannot be communicated by the shared bus voltage. The disadvantage of this solution is that it requires an additional battery charging circuit (+ the load/supply management system), because the existing PV-systems battery charging circuits can not be made to work with this shared bus.&lt;br /&gt;
&lt;br /&gt;
* It should be possible to have multiple battery banks on the shared bus (eliminating the battery-bank-SPOF, but not the shared-bus-SPOF) if the load/supply circuits for each bank can properly cooperate. In that case, and if the load/supply controller communicates the excess supply situation to the PV-systems using the bus voltage, the voltage drop will have to be taken in account, and could even make this approach infeasible, requiring OOB communication between PV-systems and load/supply controllers.&lt;br /&gt;
&lt;br /&gt;
* It should also be possible to have multiple battery banks in a mesh-like structure (eliminating both SPOFs), but the load/supply controllers would have to be aware of the mesh structure and of its capacity (the definition of &amp;quot;available power&amp;quot; becomes much more complex, because it has to take in account the limitations of the path. in a shared bus structure, the &amp;quot;available power&amp;quot; is a byzantine problem (everyone has the same view of it), while in a mesh-like structure, &amp;quot;available power&amp;quot; has a different definition for each node of the mesh).&lt;/div&gt;</summary>
		<author><name>Pstch</name></author>
		
	</entry>
	<entry>
		<id>http://altpwr.net/index.php?title=Camp2019_kits&amp;diff=60</id>
		<title>Camp2019 kits</title>
		<link rel="alternate" type="text/html" href="http://altpwr.net/index.php?title=Camp2019_kits&amp;diff=60"/>
		<updated>2019-08-22T10:18:40Z</updated>

		<summary type="html">&lt;p&gt;Pstch: Improve source code formatting&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''At CCCamp 2019 there are a few electronic kits available for soldering, some related to our goal, some not.'''&lt;br /&gt;
&lt;br /&gt;
But anyway, here is the info you were looking for!&lt;br /&gt;
&lt;br /&gt;
=== Kit A: Solar powered noise maker: ===&lt;br /&gt;
&lt;br /&gt;
This kit is a simple bleeping sound generator, it has all SMD parts except for the headphone connector and the solar panel.&lt;br /&gt;
&lt;br /&gt;
[[File:PCB.png]]&lt;br /&gt;
&lt;br /&gt;
The PCB and components are RoHS compatible, but you could use leaded solder too. The small point on the outline of the LEDs is the anode/positive side of the LED. If you have finished soldering the PCB and there is a bit of light it should make some noise. Place your ear near the piezo or attach stereo headphones. The LEDs only blink in bright lights. The pads on the outside of the PCB can be used as finger contacts or to solder other components to influence the sound. The (-) pad on the top side of the picture is not connected correctly, but the other (-) pad is.&lt;br /&gt;
&lt;br /&gt;
[[File:Schema bliep.png]]&lt;br /&gt;
&lt;br /&gt;
=== Kit B: The EMF detector / RevSniffer: ===&lt;br /&gt;
&lt;br /&gt;
[[File:Revsniffer.png]]&lt;br /&gt;
&lt;br /&gt;
The schematic is pretty simple, but it works in a complex way. Any of the three transistors can work as an amplifier or detector. It all depends on the strength of the signal. &lt;br /&gt;
After assembling, hold the button and point the inductor/antenna to the device you want to listen to. If there is a static or no field, you will hear some hissing noise, that's the noise generated by the electrons dancing inside the transistors. If there is a stable high frequency field, you will hear nothing, if there is some modulation, this will make all kinds of nice noises, from simple clicks to highly complex and beautiful sounds! Have fun! The provided headphones are cheap, so if you don't hear anything, try another set.&lt;br /&gt;
&lt;br /&gt;
=== Kit C: The AD(H)D timer ===&lt;br /&gt;
&lt;br /&gt;
This kit has a microcontroller that needs some programming, ask for benadski at the HSNL tent to get yours programmed after soldering. (Hopefully the toolchain is set up on Thursday evening.) &lt;br /&gt;
&lt;br /&gt;
 ;&lt;br /&gt;
 ; ADDtimer.asm&lt;br /&gt;
 ;&lt;br /&gt;
 ; Created: 11/07/2019 21:43:20&lt;br /&gt;
 ; Author : Wilenzo&lt;br /&gt;
 ;&lt;br /&gt;
 ;                      ___&lt;br /&gt;
 ;                VCC -|*  |- GND&lt;br /&gt;
 ;     SW2 and TPI A0 -|   |- B3 POT wiper&lt;br /&gt;
 ;             TPI A1 -|   |- B2 POT V+ and buzzer&lt;br /&gt;
 ;             TPI /R -|___|- B1 SW1 and LEDs &lt;br /&gt;
 &lt;br /&gt;
 .def    locl  = r16&lt;br /&gt;
 .def    stat  = r17&lt;br /&gt;
 .def    dly1  = r18&lt;br /&gt;
 .def    dly2  = r19&lt;br /&gt;
 .def    dlyi  = r20&lt;br /&gt;
 .def    loci  = r21&lt;br /&gt;
 .def    tmrd  = r22&lt;br /&gt;
 &lt;br /&gt;
 ;.def    &lt;br /&gt;
 &lt;br /&gt;
 ; Status byte &lt;br /&gt;
 .equ    SLP   = 0   ; Set before sleep is executed&lt;br /&gt;
 .equ    ACP   = 1   ; Analog conversion pending&lt;br /&gt;
 .equ    SLR   = 2   ; Sleep request&lt;br /&gt;
 .equ    ALM   = 3   ; Alarm (beeper and LEDs)&lt;br /&gt;
 &lt;br /&gt;
 ; I/O pins or ADC channel&lt;br /&gt;
 .equ    SW2   = 0&lt;br /&gt;
 .equ    BTN   = 1&lt;br /&gt;
 .equ    LED   = 1&lt;br /&gt;
 .equ    BUZ   = 2&lt;br /&gt;
 .equ    POTP  = 2&lt;br /&gt;
 .equ    POTW  = 7&lt;br /&gt;
 &lt;br /&gt;
 ; Helpers&lt;br /&gt;
 .equ    VLMON = (1&amp;lt;&amp;lt;VLM1)|(1&amp;lt;&amp;lt;VLM0)|(1&amp;lt;&amp;lt;VLMIE)&lt;br /&gt;
 &lt;br /&gt;
 ; Init&lt;br /&gt;
 .org    $0000&lt;br /&gt;
 rjmp    RESET_vect&lt;br /&gt;
 &lt;br /&gt;
 .org    $0001&lt;br /&gt;
 rjmp    INT0_vect&lt;br /&gt;
 &lt;br /&gt;
 .org    $0006&lt;br /&gt;
 rjmp    TIM0_CA_vect&lt;br /&gt;
 &lt;br /&gt;
 .org    $000A&lt;br /&gt;
 rjmp    VLM_vect&lt;br /&gt;
 &lt;br /&gt;
 .org    $000B&lt;br /&gt;
 rjmp    ADC_vect&lt;br /&gt;
 &lt;br /&gt;
 ;Handles button and wake function&lt;br /&gt;
 INT0_vect:&lt;br /&gt;
     ; Wait for pin to get high, set pot positive high, wait a few msecs&lt;br /&gt;
     in    loci,     SREG&lt;br /&gt;
     push  loci&lt;br /&gt;
 WAIT_PIN:&lt;br /&gt;
     sbis  PINB,     BTN&lt;br /&gt;
     rjmp  WAIT_PIN&lt;br /&gt;
 &lt;br /&gt;
     sbr   stat,     (1&amp;lt;&amp;lt;ACP)&lt;br /&gt;
     sbi   PORTB,    POTP&lt;br /&gt;
 &lt;br /&gt;
 I0SNOOZE:&lt;br /&gt;
     dec   dlyi&lt;br /&gt;
     brne  I0SNOOZE&lt;br /&gt;
 &lt;br /&gt;
     ; Check if awoken from sleep, if so: reset flag and ...&lt;br /&gt;
     sbrs  stat,     SLP&lt;br /&gt;
     rjmp  NOSLEEP&lt;br /&gt;
     cbr   stat,     (1&amp;lt;&amp;lt;SLP)&lt;br /&gt;
     in    locl,     SMCR&lt;br /&gt;
     andi  locl,     ~(1&amp;lt;&amp;lt;SE)&lt;br /&gt;
     out   SMCR,     locl&lt;br /&gt;
 NOSLEEP:&lt;br /&gt;
     ; Code for button processing, start A/D conversion&lt;br /&gt;
     sbi   ADCSRA,   ADSC&lt;br /&gt;
 &lt;br /&gt;
 INT0_end:&lt;br /&gt;
     pop   loci&lt;br /&gt;
     out   SREG,     loci&lt;br /&gt;
     reti&lt;br /&gt;
 &lt;br /&gt;
 ; Timing, fires every 30 seconds&lt;br /&gt;
 TIM0_CA_vect:&lt;br /&gt;
     in    loci,     SREG&lt;br /&gt;
     push  loci    &lt;br /&gt;
 &lt;br /&gt;
     ;cpi   tmrd,     0&lt;br /&gt;
     ;breq  REPEAT&lt;br /&gt;
 &lt;br /&gt;
     dec   tmrd&lt;br /&gt;
     brne  TIM0_END&lt;br /&gt;
 &lt;br /&gt;
     ldi   tmrd,     255&lt;br /&gt;
     sbr   stat,     (1&amp;lt;&amp;lt;ALM)&lt;br /&gt;
 &lt;br /&gt;
     sbis  PINA,     SW2&lt;br /&gt;
     rjmp  REPEAT&lt;br /&gt;
     rcall LED_OFF&lt;br /&gt;
     sbr   stat,     (1&amp;lt;&amp;lt;SLR)&lt;br /&gt;
     rjmp  TIM0_END&lt;br /&gt;
 REPEAT:&lt;br /&gt;
 &lt;br /&gt;
     sbr   stat,     (1&amp;lt;&amp;lt;ACP)&lt;br /&gt;
     sbi   PORTB,    POTP&lt;br /&gt;
 &lt;br /&gt;
 T0SNOOZE:&lt;br /&gt;
     dec   dlyi&lt;br /&gt;
     brne  T0SNOOZE&lt;br /&gt;
 &lt;br /&gt;
     sbi   ADCSRA,   ADSC&lt;br /&gt;
         &lt;br /&gt;
 TIM0_END:&lt;br /&gt;
     pop   loci&lt;br /&gt;
     out   SREG,     loci&lt;br /&gt;
     reti&lt;br /&gt;
 &lt;br /&gt;
 ; Voltage level too low? Flash LED, do nothing else&lt;br /&gt;
 VLM_vect:&lt;br /&gt;
     in    loci,     SREG&lt;br /&gt;
     push  loci    &lt;br /&gt;
 &lt;br /&gt;
     sbi   DDRB,     LED&lt;br /&gt;
 &lt;br /&gt;
     ENDLESS:&lt;br /&gt;
     dec   dlyi&lt;br /&gt;
     brne  ENDLESS&lt;br /&gt;
     sbrc  loci,     6&lt;br /&gt;
     rcall LED_ON&lt;br /&gt;
     dec   loci&lt;br /&gt;
     brne  ENDLESS&lt;br /&gt;
     ldi   loci,     80&lt;br /&gt;
     rcall LED_OFF&lt;br /&gt;
     rjmp  ENDLESS&lt;br /&gt;
 &lt;br /&gt;
     pop   loci&lt;br /&gt;
     out   SREG,     loci&lt;br /&gt;
     reti&lt;br /&gt;
 &lt;br /&gt;
 ; Conversion complete, set pot positive to 0V, process value&lt;br /&gt;
 ADC_vect:&lt;br /&gt;
     in    loci,     SREG&lt;br /&gt;
     push  loci  &lt;br /&gt;
     &lt;br /&gt;
     cbi   PORTB,    POTP&lt;br /&gt;
     cbr   stat,     (1&amp;lt;&amp;lt;ACP)&lt;br /&gt;
     in    tmrd,     ADCH&lt;br /&gt;
     lsr   tmrd&lt;br /&gt;
     cpi   tmrd,     10&lt;br /&gt;
     brsh  MAX_VAL&lt;br /&gt;
     ldi   tmrd,     10&lt;br /&gt;
 MAX_VAL:&lt;br /&gt;
     cpi   tmrd,     120&lt;br /&gt;
     brlo  VAL_OK&lt;br /&gt;
     ldi   tmrd,     120&lt;br /&gt;
 VAL_OK:&lt;br /&gt;
     pop   loci&lt;br /&gt;
     out   SREG,     loci&lt;br /&gt;
     reti&lt;br /&gt;
 &lt;br /&gt;
 ; LED on (with safe pushbutton thing)&lt;br /&gt;
 LED_ON:&lt;br /&gt;
     ldi   locl,     0&lt;br /&gt;
     out   EIMSK,    locl       ; INT0 off&lt;br /&gt;
     nop&lt;br /&gt;
     nop&lt;br /&gt;
     cbi   PORTB,    LED&lt;br /&gt;
     sbi   DDRB,     LED&lt;br /&gt;
     ret&lt;br /&gt;
 &lt;br /&gt;
 ; LED off (with safe pushbutton thing)&lt;br /&gt;
 LED_OFF:&lt;br /&gt;
     cbi   DDRB,     LED&lt;br /&gt;
     sbi   PORTB,    LED&lt;br /&gt;
     nop&lt;br /&gt;
     nop&lt;br /&gt;
     ldi   locl,     (1&amp;lt;&amp;lt;INT0)&lt;br /&gt;
     out   EIMSK,    locl       ; INT0 (low level for waking from sleep)&lt;br /&gt;
     ret&lt;br /&gt;
 &lt;br /&gt;
 RESET_vect:&lt;br /&gt;
     cli&lt;br /&gt;
 &lt;br /&gt;
     clr   stat&lt;br /&gt;
     ldi   locl,     low(RAMEND)&lt;br /&gt;
     out   SPL,      locl&lt;br /&gt;
     ldi   locl,     high(RAMEND)&lt;br /&gt;
     out   SPH,      locl&lt;br /&gt;
 &lt;br /&gt;
     ; Set clock speed to 128kHz&lt;br /&gt;
     ldi   locl,     0xD8&lt;br /&gt;
     out   CCP,      locl&lt;br /&gt;
     ldi   locl,     (1&amp;lt;&amp;lt;CLKMS0)&lt;br /&gt;
     out   CLKMSR,   locl&lt;br /&gt;
     ldi   locl,     0xD8&lt;br /&gt;
     out   CCP,      locl&lt;br /&gt;
     clr   locl&lt;br /&gt;
     out   CLKPSR,   locl&lt;br /&gt;
 &lt;br /&gt;
     ; I/O init &lt;br /&gt;
     ldi   locl,     (1&amp;lt;&amp;lt;SW2)&lt;br /&gt;
     out   PUEA,     locl  &lt;br /&gt;
     ldi   locl,     (1&amp;lt;&amp;lt;BUZ)&lt;br /&gt;
     out   DDRB,     locl&lt;br /&gt;
     ldi   locl,     (1&amp;lt;&amp;lt;BTN)&lt;br /&gt;
     out   PUEB,     locl&lt;br /&gt;
 &lt;br /&gt;
 FLASH:&lt;br /&gt;
     rcall LED_ON&lt;br /&gt;
     dec   dly1&lt;br /&gt;
     brne  FLASH&lt;br /&gt;
     rcall LED_OFF&lt;br /&gt;
     &lt;br /&gt;
     ; ADC setup, point mux to pot wiper enable with interrupt, left adjust and turn off digital input&lt;br /&gt;
     ldi   locl,     POTW&lt;br /&gt;
     out   ADMUX,    locl&lt;br /&gt;
     ldi   locl,     (1&amp;lt;&amp;lt;ADEN)|(1&amp;lt;&amp;lt;ADIE)&lt;br /&gt;
     out   ADCSRA,   locl&lt;br /&gt;
     ldi   locl,     (1&amp;lt;&amp;lt;ADLAR)&lt;br /&gt;
     out   ADCSRB,   locl&lt;br /&gt;
     ldi   locl,     (1&amp;lt;&amp;lt;POTW)&lt;br /&gt;
     out   DIDR0,    locl&lt;br /&gt;
 &lt;br /&gt;
     ; VLM setup (off for now)&lt;br /&gt;
     ldi   locl,     0&lt;br /&gt;
     out   VLMCSR,   locl&lt;br /&gt;
 &lt;br /&gt;
     ; Interrupts setup&lt;br /&gt;
     ldi   locl,     (1&amp;lt;&amp;lt;INT0)&lt;br /&gt;
     out   EIMSK,    locl       ; INT0 (low level for waking from sleep)&lt;br /&gt;
     ldi   locl,     0x60&lt;br /&gt;
     ldi   loci,     0xEA&lt;br /&gt;
     out   OCR0AH,   loci       ; Set timer compare match at 60000&lt;br /&gt;
     out   OCR0AL,   locl&lt;br /&gt;
     ldi   locl,     (1&amp;lt;&amp;lt;CS00)|(1&amp;lt;&amp;lt;CS01)|(1&amp;lt;&amp;lt;WGM02)&lt;br /&gt;
     out   TCCR0B,   locl       ; CLKtmr = CLKio/64 =&amp;gt; 2000Hz&lt;br /&gt;
     ldi   locl,     (1&amp;lt;&amp;lt;OCIE0A)&lt;br /&gt;
     out   TIMSK0,   locl       ; Interrupt fires every 30 seconds.&lt;br /&gt;
       &lt;br /&gt;
     ; Set sleep mode to power down&lt;br /&gt;
     ldi   locl,     (1&amp;lt;&amp;lt;SM1)&lt;br /&gt;
     out   SMCR,     locl       ; (1&amp;lt;&amp;lt;SE) just before sleep instruction and clear after waking.&lt;br /&gt;
 &lt;br /&gt;
     ; Enable interrupts and go&lt;br /&gt;
     sei&lt;br /&gt;
     rjmp  MAIN&lt;br /&gt;
 &lt;br /&gt;
 ZZZ:&lt;br /&gt;
     cbr   stat,     (1&amp;lt;&amp;lt;SLR)&lt;br /&gt;
     sbr   stat,     (1&amp;lt;&amp;lt;SLP)&lt;br /&gt;
     in    locl,     SMCR&lt;br /&gt;
     ori   locl,     (1&amp;lt;&amp;lt;SE)&lt;br /&gt;
     out   SMCR,     locl&lt;br /&gt;
     sleep&lt;br /&gt;
     rjmp  MAIN&lt;br /&gt;
 &lt;br /&gt;
 ; Check if battery voltage is OK, delay is for settling time.&lt;br /&gt;
 VLM_CHECK:&lt;br /&gt;
     sbrc  stat,     ACP&lt;br /&gt;
     ret&lt;br /&gt;
     sbis  PORTB,    LED&lt;br /&gt;
     ret&lt;br /&gt;
     sbic  PORTB,    BUZ&lt;br /&gt;
     ret&lt;br /&gt;
     ldi   locl,     VLMON&lt;br /&gt;
     out   VLMCSR,   locl&lt;br /&gt;
     ldi   dly1,     4 &lt;br /&gt;
 VLM_DLY:&lt;br /&gt;
     dec   dly1&lt;br /&gt;
     brne  VLM_DLY&lt;br /&gt;
     ldi   locl,     0&lt;br /&gt;
     out   VLMCSR,   locl&lt;br /&gt;
     ret&lt;br /&gt;
 &lt;br /&gt;
 ; LED and buzzer sequence&lt;br /&gt;
 ALARM:&lt;br /&gt;
     ldi   dly2,   5&lt;br /&gt;
 ALARM_LOOP:&lt;br /&gt;
     ;sbi   PORTB,  BUZ  piezo only&lt;br /&gt;
     cbi   PORTB,  BUZ&lt;br /&gt;
     rcall LED_ON&lt;br /&gt;
     ;cbi   PORTB,  BUZ  piezo only&lt;br /&gt;
     dec   dly1&lt;br /&gt;
     brne  ALARM_LOOP&lt;br /&gt;
     rcall LED_OFF&lt;br /&gt;
     sbi   PORTB,  BUZ&lt;br /&gt;
 BLEEP:&lt;br /&gt;
 ;    sbi   PORTB,  BUZ  piezo only&lt;br /&gt;
     nop&lt;br /&gt;
     nop&lt;br /&gt;
     nop&lt;br /&gt;
     nop&lt;br /&gt;
     nop&lt;br /&gt;
     nop&lt;br /&gt;
     nop&lt;br /&gt;
     nop&lt;br /&gt;
     nop&lt;br /&gt;
 ;    cbi   PORTB,  BUZ  piezo only&lt;br /&gt;
     nop&lt;br /&gt;
     nop&lt;br /&gt;
     nop&lt;br /&gt;
     nop&lt;br /&gt;
     nop&lt;br /&gt;
     nop&lt;br /&gt;
     dec   dly1&lt;br /&gt;
     brne  BLEEP&lt;br /&gt;
     dec   dly2&lt;br /&gt;
     brne  ALARM_LOOP&lt;br /&gt;
     cbr   stat,   (1&amp;lt;&amp;lt;ALM)&lt;br /&gt;
     cbi   PORTB,  BUZ&lt;br /&gt;
     ret&lt;br /&gt;
 &lt;br /&gt;
 ; Just wait here and check voltage from time to time&lt;br /&gt;
 MAIN:&lt;br /&gt;
     dec   dly1&lt;br /&gt;
     brne  MAIN&lt;br /&gt;
     sbrc  stat,     ALM&lt;br /&gt;
     rcall ALARM&lt;br /&gt;
     dec   dly2&lt;br /&gt;
     brne  MAIN&lt;br /&gt;
     rcall VLM_CHECK&lt;br /&gt;
     sbrc  stat,     SLR&lt;br /&gt;
     rjmp  ZZZ&lt;br /&gt;
     rjmp  MAIN&lt;br /&gt;
&lt;br /&gt;
[[File:Schema_ADHD.png]]&lt;br /&gt;
&lt;br /&gt;
=== Kit D: The Lithium cell balancer PCB ===&lt;br /&gt;
&lt;br /&gt;
This kit is an intelligent cell balancer prototype, the microcontroller can be programmed to read out the cell voltage, discharge the cell to a certain voltage and to send a undervoltage or overvoltage signal on a bus to another PCB that controls charging and discharging of the whole pack (or single cell).&lt;br /&gt;
&lt;br /&gt;
More info [[Lithium_batteries|here]]!&lt;/div&gt;</summary>
		<author><name>Pstch</name></author>
		
	</entry>
	<entry>
		<id>http://altpwr.net/index.php?title=Camp2019_kits&amp;diff=59</id>
		<title>Camp2019 kits</title>
		<link rel="alternate" type="text/html" href="http://altpwr.net/index.php?title=Camp2019_kits&amp;diff=59"/>
		<updated>2019-08-22T10:17:26Z</updated>

		<summary type="html">&lt;p&gt;Pstch: Improve source code formatting&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''At CCCamp 2019 there are a few electronic kits available for soldering, some related to our goal, some not.'''&lt;br /&gt;
&lt;br /&gt;
But anyway, here is the info you were looking for!&lt;br /&gt;
&lt;br /&gt;
=== Kit A: Solar powered noise maker: ===&lt;br /&gt;
&lt;br /&gt;
This kit is a simple bleeping sound generator, it has all SMD parts except for the headphone connector and the solar panel.&lt;br /&gt;
&lt;br /&gt;
[[File:PCB.png]]&lt;br /&gt;
&lt;br /&gt;
The PCB and components are RoHS compatible, but you could use leaded solder too. The small point on the outline of the LEDs is the anode/positive side of the LED. If you have finished soldering the PCB and there is a bit of light it should make some noise. Place your ear near the piezo or attach stereo headphones. The LEDs only blink in bright lights. The pads on the outside of the PCB can be used as finger contacts or to solder other components to influence the sound. The (-) pad on the top side of the picture is not connected correctly, but the other (-) pad is.&lt;br /&gt;
&lt;br /&gt;
[[File:Schema bliep.png]]&lt;br /&gt;
&lt;br /&gt;
=== Kit B: The EMF detector / RevSniffer: ===&lt;br /&gt;
&lt;br /&gt;
[[File:Revsniffer.png]]&lt;br /&gt;
&lt;br /&gt;
The schematic is pretty simple, but it works in a complex way. Any of the three transistors can work as an amplifier or detector. It all depends on the strength of the signal. &lt;br /&gt;
After assembling, hold the button and point the inductor/antenna to the device you want to listen to. If there is a static or no field, you will hear some hissing noise, that's the noise generated by the electrons dancing inside the transistors. If there is a stable high frequency field, you will hear nothing, if there is some modulation, this will make all kinds of nice noises, from simple clicks to highly complex and beautiful sounds! Have fun! The provided headphones are cheap, so if you don't hear anything, try another set.&lt;br /&gt;
&lt;br /&gt;
=== Kit C: The AD(H)D timer ===&lt;br /&gt;
&lt;br /&gt;
This kit has a microcontroller that needs some programming, ask for benadski at the HSNL tent to get yours programmed after soldering. (Hopefully the toolchain is set up on Thursday evening.) &lt;br /&gt;
&lt;br /&gt;
ExtraCrappyCode(tm); sorry for the mess, check the source of the page for a better view...&lt;br /&gt;
&amp;lt;nowiki&amp;gt;&lt;br /&gt;
 ;&lt;br /&gt;
 ; ADDtimer.asm&lt;br /&gt;
 ;&lt;br /&gt;
 ; Created: 11/07/2019 21:43:20&lt;br /&gt;
 ; Author : Wilenzo&lt;br /&gt;
 ;&lt;br /&gt;
 ;                      ___&lt;br /&gt;
 ;                VCC -|*  |- GND&lt;br /&gt;
 ;     SW2 and TPI A0 -|   |- B3 POT wiper&lt;br /&gt;
 ;             TPI A1 -|   |- B2 POT V+ and buzzer&lt;br /&gt;
 ;             TPI /R -|___|- B1 SW1 and LEDs &lt;br /&gt;
 &lt;br /&gt;
 .def    locl  = r16&lt;br /&gt;
 .def    stat  = r17&lt;br /&gt;
 .def    dly1  = r18&lt;br /&gt;
 .def    dly2  = r19&lt;br /&gt;
 .def    dlyi  = r20&lt;br /&gt;
 .def    loci  = r21&lt;br /&gt;
 .def    tmrd  = r22&lt;br /&gt;
 &lt;br /&gt;
 ;.def    &lt;br /&gt;
 &lt;br /&gt;
 ; Status byte &lt;br /&gt;
 .equ    SLP   = 0   ; Set before sleep is executed&lt;br /&gt;
 .equ    ACP   = 1   ; Analog conversion pending&lt;br /&gt;
 .equ    SLR   = 2   ; Sleep request&lt;br /&gt;
 .equ    ALM   = 3   ; Alarm (beeper and LEDs)&lt;br /&gt;
 &lt;br /&gt;
 ; I/O pins or ADC channel&lt;br /&gt;
 .equ    SW2   = 0&lt;br /&gt;
 .equ    BTN   = 1&lt;br /&gt;
 .equ    LED   = 1&lt;br /&gt;
 .equ    BUZ   = 2&lt;br /&gt;
 .equ    POTP  = 2&lt;br /&gt;
 .equ    POTW  = 7&lt;br /&gt;
 &lt;br /&gt;
 ; Helpers&lt;br /&gt;
 .equ    VLMON = (1&amp;lt;&amp;lt;VLM1)|(1&amp;lt;&amp;lt;VLM0)|(1&amp;lt;&amp;lt;VLMIE)&lt;br /&gt;
 &lt;br /&gt;
 ; Init&lt;br /&gt;
 .org    $0000&lt;br /&gt;
 rjmp    RESET_vect&lt;br /&gt;
 &lt;br /&gt;
 .org    $0001&lt;br /&gt;
 rjmp    INT0_vect&lt;br /&gt;
 &lt;br /&gt;
 .org    $0006&lt;br /&gt;
 rjmp    TIM0_CA_vect&lt;br /&gt;
 &lt;br /&gt;
 .org    $000A&lt;br /&gt;
 rjmp    VLM_vect&lt;br /&gt;
 &lt;br /&gt;
 .org    $000B&lt;br /&gt;
 rjmp    ADC_vect&lt;br /&gt;
 &lt;br /&gt;
 ;Handles button and wake function&lt;br /&gt;
 INT0_vect:&lt;br /&gt;
     ; Wait for pin to get high, set pot positive high, wait a few msecs&lt;br /&gt;
     in    loci,     SREG&lt;br /&gt;
     push  loci&lt;br /&gt;
 WAIT_PIN:&lt;br /&gt;
     sbis  PINB,     BTN&lt;br /&gt;
     rjmp  WAIT_PIN&lt;br /&gt;
 &lt;br /&gt;
     sbr   stat,     (1&amp;lt;&amp;lt;ACP)&lt;br /&gt;
     sbi   PORTB,    POTP&lt;br /&gt;
 &lt;br /&gt;
 I0SNOOZE:&lt;br /&gt;
     dec   dlyi&lt;br /&gt;
     brne  I0SNOOZE&lt;br /&gt;
 &lt;br /&gt;
     ; Check if awoken from sleep, if so: reset flag and ...&lt;br /&gt;
     sbrs  stat,     SLP&lt;br /&gt;
     rjmp  NOSLEEP&lt;br /&gt;
     cbr   stat,     (1&amp;lt;&amp;lt;SLP)&lt;br /&gt;
     in    locl,     SMCR&lt;br /&gt;
     andi  locl,     ~(1&amp;lt;&amp;lt;SE)&lt;br /&gt;
     out   SMCR,     locl&lt;br /&gt;
 NOSLEEP:&lt;br /&gt;
     ; Code for button processing, start A/D conversion&lt;br /&gt;
     sbi   ADCSRA,   ADSC&lt;br /&gt;
 &lt;br /&gt;
 INT0_end:&lt;br /&gt;
     pop   loci&lt;br /&gt;
     out   SREG,     loci&lt;br /&gt;
     reti&lt;br /&gt;
 &lt;br /&gt;
 ; Timing, fires every 30 seconds&lt;br /&gt;
 TIM0_CA_vect:&lt;br /&gt;
     in    loci,     SREG&lt;br /&gt;
     push  loci    &lt;br /&gt;
 &lt;br /&gt;
     ;cpi   tmrd,     0&lt;br /&gt;
     ;breq  REPEAT&lt;br /&gt;
 &lt;br /&gt;
     dec   tmrd&lt;br /&gt;
     brne  TIM0_END&lt;br /&gt;
 &lt;br /&gt;
     ldi   tmrd,     255&lt;br /&gt;
     sbr   stat,     (1&amp;lt;&amp;lt;ALM)&lt;br /&gt;
 &lt;br /&gt;
     sbis  PINA,     SW2&lt;br /&gt;
     rjmp  REPEAT&lt;br /&gt;
     rcall LED_OFF&lt;br /&gt;
     sbr   stat,     (1&amp;lt;&amp;lt;SLR)&lt;br /&gt;
     rjmp  TIM0_END&lt;br /&gt;
 REPEAT:&lt;br /&gt;
 &lt;br /&gt;
     sbr   stat,     (1&amp;lt;&amp;lt;ACP)&lt;br /&gt;
     sbi   PORTB,    POTP&lt;br /&gt;
 &lt;br /&gt;
 T0SNOOZE:&lt;br /&gt;
     dec   dlyi&lt;br /&gt;
     brne  T0SNOOZE&lt;br /&gt;
 &lt;br /&gt;
     sbi   ADCSRA,   ADSC&lt;br /&gt;
         &lt;br /&gt;
 TIM0_END:&lt;br /&gt;
     pop   loci&lt;br /&gt;
     out   SREG,     loci&lt;br /&gt;
     reti&lt;br /&gt;
 &lt;br /&gt;
 ; Voltage level too low? Flash LED, do nothing else&lt;br /&gt;
 VLM_vect:&lt;br /&gt;
     in    loci,     SREG&lt;br /&gt;
     push  loci    &lt;br /&gt;
 &lt;br /&gt;
     sbi   DDRB,     LED&lt;br /&gt;
 &lt;br /&gt;
     ENDLESS:&lt;br /&gt;
     dec   dlyi&lt;br /&gt;
     brne  ENDLESS&lt;br /&gt;
     sbrc  loci,     6&lt;br /&gt;
     rcall LED_ON&lt;br /&gt;
     dec   loci&lt;br /&gt;
     brne  ENDLESS&lt;br /&gt;
     ldi   loci,     80&lt;br /&gt;
     rcall LED_OFF&lt;br /&gt;
     rjmp  ENDLESS&lt;br /&gt;
 &lt;br /&gt;
     pop   loci&lt;br /&gt;
     out   SREG,     loci&lt;br /&gt;
     reti&lt;br /&gt;
 &lt;br /&gt;
 ; Conversion complete, set pot positive to 0V, process value&lt;br /&gt;
 ADC_vect:&lt;br /&gt;
     in    loci,     SREG&lt;br /&gt;
     push  loci  &lt;br /&gt;
     &lt;br /&gt;
     cbi   PORTB,    POTP&lt;br /&gt;
     cbr   stat,     (1&amp;lt;&amp;lt;ACP)&lt;br /&gt;
     in    tmrd,     ADCH&lt;br /&gt;
     lsr   tmrd&lt;br /&gt;
     cpi   tmrd,     10&lt;br /&gt;
     brsh  MAX_VAL&lt;br /&gt;
     ldi   tmrd,     10&lt;br /&gt;
 MAX_VAL:&lt;br /&gt;
     cpi   tmrd,     120&lt;br /&gt;
     brlo  VAL_OK&lt;br /&gt;
     ldi   tmrd,     120&lt;br /&gt;
 VAL_OK:&lt;br /&gt;
     pop   loci&lt;br /&gt;
     out   SREG,     loci&lt;br /&gt;
     reti&lt;br /&gt;
 &lt;br /&gt;
 ; LED on (with safe pushbutton thing)&lt;br /&gt;
 LED_ON:&lt;br /&gt;
     ldi   locl,     0&lt;br /&gt;
     out   EIMSK,    locl       ; INT0 off&lt;br /&gt;
     nop&lt;br /&gt;
     nop&lt;br /&gt;
     cbi   PORTB,    LED&lt;br /&gt;
     sbi   DDRB,     LED&lt;br /&gt;
     ret&lt;br /&gt;
 &lt;br /&gt;
 ; LED off (with safe pushbutton thing)&lt;br /&gt;
 LED_OFF:&lt;br /&gt;
     cbi   DDRB,     LED&lt;br /&gt;
     sbi   PORTB,    LED&lt;br /&gt;
     nop&lt;br /&gt;
     nop&lt;br /&gt;
     ldi   locl,     (1&amp;lt;&amp;lt;INT0)&lt;br /&gt;
     out   EIMSK,    locl       ; INT0 (low level for waking from sleep)&lt;br /&gt;
     ret&lt;br /&gt;
 &lt;br /&gt;
 RESET_vect:&lt;br /&gt;
     cli&lt;br /&gt;
 &lt;br /&gt;
     clr   stat&lt;br /&gt;
     ldi   locl,     low(RAMEND)&lt;br /&gt;
     out   SPL,      locl&lt;br /&gt;
     ldi   locl,     high(RAMEND)&lt;br /&gt;
     out   SPH,      locl&lt;br /&gt;
 &lt;br /&gt;
     ; Set clock speed to 128kHz&lt;br /&gt;
     ldi   locl,     0xD8&lt;br /&gt;
     out   CCP,      locl&lt;br /&gt;
     ldi   locl,     (1&amp;lt;&amp;lt;CLKMS0)&lt;br /&gt;
     out   CLKMSR,   locl&lt;br /&gt;
     ldi   locl,     0xD8&lt;br /&gt;
     out   CCP,      locl&lt;br /&gt;
     clr   locl&lt;br /&gt;
     out   CLKPSR,   locl&lt;br /&gt;
 &lt;br /&gt;
     ; I/O init &lt;br /&gt;
     ldi   locl,     (1&amp;lt;&amp;lt;SW2)&lt;br /&gt;
     out   PUEA,     locl  &lt;br /&gt;
     ldi   locl,     (1&amp;lt;&amp;lt;BUZ)&lt;br /&gt;
     out   DDRB,     locl&lt;br /&gt;
     ldi   locl,     (1&amp;lt;&amp;lt;BTN)&lt;br /&gt;
     out   PUEB,     locl&lt;br /&gt;
 &lt;br /&gt;
 FLASH:&lt;br /&gt;
     rcall LED_ON&lt;br /&gt;
     dec   dly1&lt;br /&gt;
     brne  FLASH&lt;br /&gt;
     rcall LED_OFF&lt;br /&gt;
     &lt;br /&gt;
     ; ADC setup, point mux to pot wiper enable with interrupt, left adjust and turn off digital input&lt;br /&gt;
     ldi   locl,     POTW&lt;br /&gt;
     out   ADMUX,    locl&lt;br /&gt;
     ldi   locl,     (1&amp;lt;&amp;lt;ADEN)|(1&amp;lt;&amp;lt;ADIE)&lt;br /&gt;
     out   ADCSRA,   locl&lt;br /&gt;
     ldi   locl,     (1&amp;lt;&amp;lt;ADLAR)&lt;br /&gt;
     out   ADCSRB,   locl&lt;br /&gt;
     ldi   locl,     (1&amp;lt;&amp;lt;POTW)&lt;br /&gt;
     out   DIDR0,    locl&lt;br /&gt;
 &lt;br /&gt;
     ; VLM setup (off for now)&lt;br /&gt;
     ldi   locl,     0&lt;br /&gt;
     out   VLMCSR,   locl&lt;br /&gt;
 &lt;br /&gt;
     ; Interrupts setup&lt;br /&gt;
     ldi   locl,     (1&amp;lt;&amp;lt;INT0)&lt;br /&gt;
     out   EIMSK,    locl       ; INT0 (low level for waking from sleep)&lt;br /&gt;
     ldi   locl,     0x60&lt;br /&gt;
     ldi   loci,     0xEA&lt;br /&gt;
     out   OCR0AH,   loci       ; Set timer compare match at 60000&lt;br /&gt;
     out   OCR0AL,   locl&lt;br /&gt;
     ldi   locl,     (1&amp;lt;&amp;lt;CS00)|(1&amp;lt;&amp;lt;CS01)|(1&amp;lt;&amp;lt;WGM02)&lt;br /&gt;
     out   TCCR0B,   locl       ; CLKtmr = CLKio/64 =&amp;gt; 2000Hz&lt;br /&gt;
     ldi   locl,     (1&amp;lt;&amp;lt;OCIE0A)&lt;br /&gt;
     out   TIMSK0,   locl       ; Interrupt fires every 30 seconds.&lt;br /&gt;
       &lt;br /&gt;
     ; Set sleep mode to power down&lt;br /&gt;
     ldi   locl,     (1&amp;lt;&amp;lt;SM1)&lt;br /&gt;
     out   SMCR,     locl       ; (1&amp;lt;&amp;lt;SE) just before sleep instruction and clear after waking.&lt;br /&gt;
 &lt;br /&gt;
     ; Enable interrupts and go&lt;br /&gt;
     sei&lt;br /&gt;
     rjmp  MAIN&lt;br /&gt;
 &lt;br /&gt;
 ZZZ:&lt;br /&gt;
     cbr   stat,     (1&amp;lt;&amp;lt;SLR)&lt;br /&gt;
     sbr   stat,     (1&amp;lt;&amp;lt;SLP)&lt;br /&gt;
     in    locl,     SMCR&lt;br /&gt;
     ori   locl,     (1&amp;lt;&amp;lt;SE)&lt;br /&gt;
     out   SMCR,     locl&lt;br /&gt;
     sleep&lt;br /&gt;
     rjmp  MAIN&lt;br /&gt;
 &lt;br /&gt;
 ; Check if battery voltage is OK, delay is for settling time.&lt;br /&gt;
 VLM_CHECK:&lt;br /&gt;
     sbrc  stat,     ACP&lt;br /&gt;
     ret&lt;br /&gt;
     sbis  PORTB,    LED&lt;br /&gt;
     ret&lt;br /&gt;
     sbic  PORTB,    BUZ&lt;br /&gt;
     ret&lt;br /&gt;
     ldi   locl,     VLMON&lt;br /&gt;
     out   VLMCSR,   locl&lt;br /&gt;
     ldi   dly1,     4 &lt;br /&gt;
 VLM_DLY:&lt;br /&gt;
     dec   dly1&lt;br /&gt;
     brne  VLM_DLY&lt;br /&gt;
     ldi   locl,     0&lt;br /&gt;
     out   VLMCSR,   locl&lt;br /&gt;
     ret&lt;br /&gt;
 &lt;br /&gt;
 ; LED and buzzer sequence&lt;br /&gt;
 ALARM:&lt;br /&gt;
     ldi   dly2,   5&lt;br /&gt;
 ALARM_LOOP:&lt;br /&gt;
     ;sbi   PORTB,  BUZ  piezo only&lt;br /&gt;
     cbi   PORTB,  BUZ&lt;br /&gt;
     rcall LED_ON&lt;br /&gt;
     ;cbi   PORTB,  BUZ  piezo only&lt;br /&gt;
     dec   dly1&lt;br /&gt;
     brne  ALARM_LOOP&lt;br /&gt;
     rcall LED_OFF&lt;br /&gt;
     sbi   PORTB,  BUZ&lt;br /&gt;
 BLEEP:&lt;br /&gt;
 ;    sbi   PORTB,  BUZ  piezo only&lt;br /&gt;
     nop&lt;br /&gt;
     nop&lt;br /&gt;
     nop&lt;br /&gt;
     nop&lt;br /&gt;
     nop&lt;br /&gt;
     nop&lt;br /&gt;
     nop&lt;br /&gt;
     nop&lt;br /&gt;
     nop&lt;br /&gt;
 ;    cbi   PORTB,  BUZ  piezo only&lt;br /&gt;
     nop&lt;br /&gt;
     nop&lt;br /&gt;
     nop&lt;br /&gt;
     nop&lt;br /&gt;
     nop&lt;br /&gt;
     nop&lt;br /&gt;
     dec   dly1&lt;br /&gt;
     brne  BLEEP&lt;br /&gt;
     dec   dly2&lt;br /&gt;
     brne  ALARM_LOOP&lt;br /&gt;
     cbr   stat,   (1&amp;lt;&amp;lt;ALM)&lt;br /&gt;
     cbi   PORTB,  BUZ&lt;br /&gt;
     ret&lt;br /&gt;
 &lt;br /&gt;
 ; Just wait here and check voltage from time to time&lt;br /&gt;
 MAIN:&lt;br /&gt;
     dec   dly1&lt;br /&gt;
     brne  MAIN&lt;br /&gt;
     sbrc  stat,     ALM&lt;br /&gt;
     rcall ALARM&lt;br /&gt;
     dec   dly2&lt;br /&gt;
     brne  MAIN&lt;br /&gt;
     rcall VLM_CHECK&lt;br /&gt;
     sbrc  stat,     SLR&lt;br /&gt;
     rjmp  ZZZ&lt;br /&gt;
     rjmp  MAIN&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:Schema_ADHD.png]]&lt;br /&gt;
&lt;br /&gt;
=== Kit D: The Lithium cell balancer PCB ===&lt;br /&gt;
&lt;br /&gt;
This kit is an intelligent cell balancer prototype, the microcontroller can be programmed to read out the cell voltage, discharge the cell to a certain voltage and to send a undervoltage or overvoltage signal on a bus to another PCB that controls charging and discharging of the whole pack (or single cell).&lt;br /&gt;
&lt;br /&gt;
More info [[Lithium_batteries|here]]!&lt;/div&gt;</summary>
		<author><name>Pstch</name></author>
		
	</entry>
	<entry>
		<id>http://altpwr.net/index.php?title=Links&amp;diff=58</id>
		<title>Links</title>
		<link rel="alternate" type="text/html" href="http://altpwr.net/index.php?title=Links&amp;diff=58"/>
		<updated>2019-08-22T10:14:26Z</updated>

		<summary type="html">&lt;p&gt;Pstch: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page contains useful links related to micro-grid design and operation :&lt;br /&gt;
&lt;br /&gt;
== Background info ==&lt;br /&gt;
&lt;br /&gt;
* [https://en.wikipedia.org/wiki/Microgrid#Advantages WP: Microgrid]&lt;br /&gt;
* [https://en.wikipedia.org/wiki/Maximum_power_point_tracker WP: Maximum power-point tracker]&lt;br /&gt;
* [https://en.wikipedia.org/wiki/Distributed_generation WP: Distributed generation]&lt;br /&gt;
&lt;br /&gt;
== Existing projects ==&lt;br /&gt;
&lt;br /&gt;
* [https://www.cet.or.at/pdf_files/Paspberry%20Pi%20Microgrid%20Controller.pdf A flexible low cost PV/EV microgrid controller concept based on a Raspberry Pi]&lt;br /&gt;
* [https://www.tandfonline.com/doi/pdf/10.1080/22348972.2016.1217817 DC PLC modem for PV cell monitoring]&lt;/div&gt;</summary>
		<author><name>Pstch</name></author>
		
	</entry>
	<entry>
		<id>http://altpwr.net/index.php?title=Grid_structure&amp;diff=57</id>
		<title>Grid structure</title>
		<link rel="alternate" type="text/html" href="http://altpwr.net/index.php?title=Grid_structure&amp;diff=57"/>
		<updated>2019-08-22T09:54:11Z</updated>

		<summary type="html">&lt;p&gt;Pstch: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''NOTE:''' ''This document is a draft, and it has been written by someone who may not have the required knowledge and experience in both PV-systems and electrical engineering. Feel free to correct mistakes, or to delete nonsensical content.''&lt;br /&gt;
&lt;br /&gt;
There are multiple ways to structure the micro-grid, some of which were mentioned in the D1 Micro-grid meet-up at CCCamp2019. These different structures depend on the scale of the grid (in terms of power, distance, and availability), but also on safety requirements and existing regulations, which determine what can be done practically.&lt;br /&gt;
&lt;br /&gt;
== Long-distance interconnections ==&lt;br /&gt;
&lt;br /&gt;
Very low voltage DC can not be carried very far, as the voltage drop implies a huge loss in efficiency. Multiple solutions were mentioned for this problem :&lt;br /&gt;
&lt;br /&gt;
* '''High(er) Voltage DC, around ~300V''' : tricky to work with (expensive equipment required), and not very safe (DC is hard to break, especially at such voltages), and requires a licensed electrician&lt;br /&gt;
* '''Standard 230V AC''' : hard to synchronize properly, but already standardized. Sync problems can be avoided by only using unidirectional point-to-point links. The interconnection would present itself as a DC consumer to one side, and as a DC provider to the other. This way, standard, off-the-shelf equipment can be used.&lt;br /&gt;
* '''&amp;quot;Sneaker-grid&amp;quot;''' : carrying batteries using mechanical/human power&lt;br /&gt;
&lt;br /&gt;
It may be useful to exchange data (supply, load, battery level, etc) between these subgrids. In that case, standard 230V AC would be practical, as it allows PLC using off-the-shelf equipment.&lt;br /&gt;
&lt;br /&gt;
== Short-distance interconnections ==&lt;br /&gt;
&lt;br /&gt;
Short-distance interconnections can be done directly using DC current. Because of this, it may be useful to use a standard voltage. 42V was used at SHA2017, but 48V is a good candidate too (multiple of 12, lower than 60V). Even with DC interconnection there are lots of variations possible :&lt;br /&gt;
&lt;br /&gt;
 - The current flow can be bidirectional, or restricted to a single direction using diodes.&lt;br /&gt;
 - The connection can be passive, or active (opening the circuit when required, based on loads/supplies on each side of the connection)&lt;br /&gt;
&lt;br /&gt;
As these connections would not necessarily be point-to-point, it may be easier to conceptualize them as point-to-point links to a shared bus, which can be seen as battery. The diodes/switches would then be placed on the links to the shared bus. Designing and sizing this bus can be tricky (but very important) : ideally it needs to be able to carry the totality of the current supply, which could imply a big cable diameter. It may be possible to size the bus to less than the theoretical maximum current supply, but this would require some additional safety systems.&lt;br /&gt;
&lt;br /&gt;
It should also be noted that the fault current calculation is more complex when there are multiple power sources&lt;br /&gt;
&lt;br /&gt;
For active connections, it may be useful to exchange data between subgrids, for which a transmission method has to be determined. During the meeting, it was said that DC PLC is harder to do safely, as one would have to separate the signal from the relatively high DC currents.&lt;br /&gt;
&lt;br /&gt;
A quick look on the internet suggests that DC PLC is also possible. [https://www.tandfonline.com/doi/pdf/10.1080/22348972.2016.1217817 This paper] describes a DC PLC modem for PV cell monitoring.&lt;br /&gt;
&lt;br /&gt;
== PV-system interconnection ==&lt;br /&gt;
&lt;br /&gt;
The previous section covers short-distance subgrid interconnection, where each subgrid can be seen as a battery, but does not provide a solution for inter-grid PV-system interconnection (a concrete problem encountered by many at CCCamp 2019). Solutions to this problem were not discussed.&lt;br /&gt;
&lt;br /&gt;
* A possible solution could be to avoid using batteries for each PV controller, and instead use batteries on the shared bus. This also makes the system &amp;quot;simpler&amp;quot;, as the shared bus is already mentally modeled as a battery. This would require a load/supply management circuit at the batteries. Note that &amp;quot;power availability&amp;quot; cannot be solely determined from the actual load : if some batteries are charging, there is &amp;quot;available power&amp;quot;, but it would not be apparent in the bus voltage. Because of this, this load/supply management circuit would need to communicate an &amp;quot;available power&amp;quot; metric to the possible loads/users. Also, this load/supply management circuit would have to be able to control the generators (PV systems) in order to avoid excess supply when batteries are full, unless this excess supply can always be used by some Power-to-X load. It may be possible to use the bus voltage to communicate this situation to the generators, but the load/supply management circuit may be more efficient if it has a precise idea of the state of all generators (independently from the loads), which cannot be communicated by the shared bus voltage. The disadvantage of this solution is that it requires an additional battery charging circuit (+ the load/supply management system), because the existing PV-systems battery charging circuits can not be made to work with this shared bus.&lt;/div&gt;</summary>
		<author><name>Pstch</name></author>
		
	</entry>
	<entry>
		<id>http://altpwr.net/index.php?title=Grid_structure&amp;diff=56</id>
		<title>Grid structure</title>
		<link rel="alternate" type="text/html" href="http://altpwr.net/index.php?title=Grid_structure&amp;diff=56"/>
		<updated>2019-08-22T09:53:52Z</updated>

		<summary type="html">&lt;p&gt;Pstch: Add headings&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''NOTE:''' ''This document is a draft, and it has been written by someone who may not have the required knowledge and experience in both PV-systems and electrical engineering. Feel free to correct mistakes, or to delete nonsensical content.''&lt;br /&gt;
&lt;br /&gt;
There are multiple ways to structure the micro-grid, some of which were mentioned in the D1 Micro-grid meet-up at CCCamp2019. These different structures depend on the scale of the grid (in terms of power, distance, and availability), but also on safety requirements and existing regulations, which determine what can be done practically.&lt;br /&gt;
&lt;br /&gt;
== Long-distance interconnections ==&lt;br /&gt;
&lt;br /&gt;
Very low voltage DC can not be carried very far, as the voltage drop implies a huge loss in efficiency. Multiple solutions were mentioned for this problem :&lt;br /&gt;
&lt;br /&gt;
* '''High(er) Voltage DC, around ~300V''' : tricky to work with (expensive equipment required), and not very safe (DC is hard to break, especially at such voltages), and requires a licensed electrician&lt;br /&gt;
* '''Standard 230V AC''' : hard to synchronize properly, but already standardized. Sync problems can be avoided by only using unidirectional point-to-point links. The interconnection would present itself as a DC consumer to one side, and as a DC provider to the other. This way, standard, off-the-shelf equipment can be used.&lt;br /&gt;
* '''&amp;quot;Sneaker-grid&amp;quot;''' : carrying batteries using mechanical/human power&lt;br /&gt;
&lt;br /&gt;
It may be useful to exchange data (supply, load, battery level, etc) between these subgrids. In that case, standard 230V AC would be practical, as it allows PLC using off-the-shelf equipment.&lt;br /&gt;
&lt;br /&gt;
== Short-distance interconnections ==&lt;br /&gt;
&lt;br /&gt;
Short-distance interconnections can be done directly using DC current. Because of this, it may be useful to use a standard voltage. 42V was used at SHA2017, but 48V is a good candidate too (multiple of 12, lower than 60V). Even with DC interconnection there are lots of variations possible :&lt;br /&gt;
&lt;br /&gt;
 - The current flow can be bidirectional, or restricted to a single direction using diodes.&lt;br /&gt;
 - The connection can be passive, or active (opening the circuit when required, based on loads/supplies on each side of the connection)&lt;br /&gt;
&lt;br /&gt;
As these connections would not necessarily be point-to-point, it may be easier to conceptualize them as point-to-point links to a shared bus, which can be seen as battery. The diodes/switches would then be placed on the links to the shared bus. Designing and sizing this bus can be tricky (but very important) : ideally it needs to be able to carry the totality of the current supply, which could imply a big cable diameter. It may be possible to size the bus to less than the theoretical maximum current supply, but this would require some additional safety systems.&lt;br /&gt;
&lt;br /&gt;
It should also be noted that the fault current calculation is more complex when there are multiple power sources&lt;br /&gt;
&lt;br /&gt;
For active connections, it may be useful to exchange data between subgrids, for which a transmission method has to be determined. During the meeting, it was said that DC PLC is harder to do safely, as one would have to separate the signal from the relatively high DC currents.&lt;br /&gt;
&lt;br /&gt;
A quick look on the internet suggests that DC PLC is also possible. [https://www.tandfonline.com/doi/pdf/10.1080/22348972.2016.1217817 This paper] describes a DC PLC modem for PV cell monitoring.&lt;br /&gt;
&lt;br /&gt;
== PV-system interconnection ==&lt;br /&gt;
&lt;br /&gt;
The previous section covers short-distance subgrid interconnection, where each subgrid can be seen as a battery, but does not provide a solution for inter-grid PV-system interconnection (a concrete problem encountered by many at CCCamp 2019). Solutions to this problem were not discussed.&lt;br /&gt;
&lt;br /&gt;
 * A possible solution could be to avoid using batteries for each PV controller, and instead use batteries on the shared bus. This also makes the system &amp;quot;simpler&amp;quot;, as the shared bus is already mentally modeled as a battery. This would require a load/supply management circuit at the batteries. Note that &amp;quot;power availability&amp;quot; cannot be solely determined from the actual load : if some batteries are charging, there is &amp;quot;available power&amp;quot;, but it would not be apparent in the bus voltage. Because of this, this load/supply management circuit would need to communicate an &amp;quot;available power&amp;quot; metric to the possible loads/users. Also, this load/supply management circuit would have to be able to control the generators (PV systems) in order to avoid excess supply when batteries are full, unless this excess supply can always be used by some Power-to-X load. It may be possible to use the bus voltage to communicate this situation to the generators, but the load/supply management circuit may be more efficient if it has a precise idea of the state of all generators (independently from the loads), which cannot be communicated by the shared bus voltage. The disadvantage of this solution is that it requires an additional battery charging circuit (+ the load/supply management system), because the existing PV-systems battery charging circuits can not be made to work with this shared bus.&lt;/div&gt;</summary>
		<author><name>Pstch</name></author>
		
	</entry>
	<entry>
		<id>http://altpwr.net/index.php?title=Grid_structure&amp;diff=55</id>
		<title>Grid structure</title>
		<link rel="alternate" type="text/html" href="http://altpwr.net/index.php?title=Grid_structure&amp;diff=55"/>
		<updated>2019-08-22T09:53:11Z</updated>

		<summary type="html">&lt;p&gt;Pstch: Formatting fixes&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''NOTE:''' ''This document is a draft, and it has been written by someone who may not have the required knowledge and experience in both PV-systems and electrical engineering. Feel free to correct mistakes, or to delete nonsensical content.''&lt;br /&gt;
&lt;br /&gt;
There are multiple ways to structure the micro-grid, some of which were mentioned in the D1 Micro-grid meet-up at CCCamp2019. These different structures depend on the scale of the grid (in terms of power, distance, and availability), but also on safety requirements and existing regulations, which determine what can be done practically.&lt;br /&gt;
&lt;br /&gt;
1. Long-distance interconnections&lt;br /&gt;
&lt;br /&gt;
Very low voltage DC can not be carried very far, as the voltage drop implies a huge loss in efficiency. Multiple solutions were mentioned for this problem :&lt;br /&gt;
&lt;br /&gt;
* '''High(er) Voltage DC, around ~300V''' : tricky to work with (expensive equipment required), and not very safe (DC is hard to break, especially at such voltages), and requires a licensed electrician&lt;br /&gt;
* '''Standard 230V AC''' : hard to synchronize properly, but already standardized. Sync problems can be avoided by only using unidirectional point-to-point links. The interconnection would present itself as a DC consumer to one side, and as a DC provider to the other. This way, standard, off-the-shelf equipment can be used.&lt;br /&gt;
* '''&amp;quot;Sneaker-grid&amp;quot;''' : carrying batteries using mechanical/human power&lt;br /&gt;
&lt;br /&gt;
It may be useful to exchange data (supply, load, battery level, etc) between these subgrids. In that case, standard 230V AC would be practical, as it allows PLC using off-the-shelf equipment.&lt;br /&gt;
&lt;br /&gt;
2. Short-distance interconnections&lt;br /&gt;
&lt;br /&gt;
Short-distance interconnections can be done directly using DC current. Because of this, it may be useful to use a standard voltage. 42V was used at SHA2017, but 48V is a good candidate too (multiple of 12, lower than 60V). Even with DC interconnection there are lots of variations possible :&lt;br /&gt;
&lt;br /&gt;
 - The current flow can be bidirectional, or restricted to a single direction using diodes.&lt;br /&gt;
 - The connection can be passive, or active (opening the circuit when required, based on loads/supplies on each side of the connection)&lt;br /&gt;
&lt;br /&gt;
As these connections would not necessarily be point-to-point, it may be easier to conceptualize them as point-to-point links to a shared bus, which can be seen as battery. The diodes/switches would then be placed on the links to the shared bus. Designing and sizing this bus can be tricky (but very important) : ideally it needs to be able to carry the totality of the current supply, which could imply a big cable diameter. It may be possible to size the bus to less than the theoretical maximum current supply, but this would require some additional safety systems.&lt;br /&gt;
&lt;br /&gt;
It should also be noted that the fault current calculation is more complex when there are multiple power sources&lt;br /&gt;
&lt;br /&gt;
For active connections, it may be useful to exchange data between subgrids, for which a transmission method has to be determined. During the meeting, it was said that DC PLC is harder to do safely, as one would have to separate the signal from the relatively high DC currents.&lt;br /&gt;
&lt;br /&gt;
A quick look on the internet suggests that DC PLC is also possible. [https://www.tandfonline.com/doi/pdf/10.1080/22348972.2016.1217817 This paper] describes a DC PLC modem for PV cell monitoring.&lt;br /&gt;
&lt;br /&gt;
3. PV-system interconnection&lt;br /&gt;
&lt;br /&gt;
The previous section covers short-distance subgrid interconnection, where each subgrid can be seen as a battery, but does not provide a solution for inter-grid PV-system interconnection (a concrete problem encountered by many at CCCamp 2019). Solutions to this problem were not discussed.&lt;br /&gt;
&lt;br /&gt;
 * A possible solution could be to avoid using batteries for each PV controller, and instead use batteries on the shared bus. This also makes the system &amp;quot;simpler&amp;quot;, as the shared bus is already mentally modeled as a battery. This would require a load/supply management circuit at the batteries. Note that &amp;quot;power availability&amp;quot; cannot be solely determined from the actual load : if some batteries are charging, there is &amp;quot;available power&amp;quot;, but it would not be apparent in the bus voltage. Because of this, this load/supply management circuit would need to communicate an &amp;quot;available power&amp;quot; metric to the possible loads/users. Also, this load/supply management circuit would have to be able to control the generators (PV systems) in order to avoid excess supply when batteries are full, unless this excess supply can always be used by some Power-to-X load. It may be possible to use the bus voltage to communicate this situation to the generators, but the load/supply management circuit may be more efficient if it has a precise idea of the state of all generators (independently from the loads), which cannot be communicated by the shared bus voltage. The disadvantage of this solution is that it requires an additional battery charging circuit (+ the load/supply management system), because the existing PV-systems battery charging circuits can not be made to work with this shared bus.&lt;/div&gt;</summary>
		<author><name>Pstch</name></author>
		
	</entry>
	<entry>
		<id>http://altpwr.net/index.php?title=Grid_structure&amp;diff=54</id>
		<title>Grid structure</title>
		<link rel="alternate" type="text/html" href="http://altpwr.net/index.php?title=Grid_structure&amp;diff=54"/>
		<updated>2019-08-22T09:52:24Z</updated>

		<summary type="html">&lt;p&gt;Pstch: Created page with &amp;quot;'''NOTE:''' ''This document is a draft, and it has been written by someone who may not have the required knowledge and experience in both PV-systems and electrical engineering...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''NOTE:''' ''This document is a draft, and it has been written by someone who may not have the required knowledge and experience in both PV-systems and electrical engineering. Feel free to correct mistakes, or to delete nonsensical content.''&lt;br /&gt;
&lt;br /&gt;
There are multiple ways to structure the micro-grid, some of which were mentioned in the D1 Micro-grid meet-up at CCCamp2019. These different structures depend on the scale of the grid (in terms of power, distance, and availability), but also on safety requirements and existing regulations, which determine what can be done practically.&lt;br /&gt;
&lt;br /&gt;
1. Long-distance interconnections&lt;br /&gt;
&lt;br /&gt;
Very low voltage DC can not be carried very far, as the voltage drop implies a huge loss in efficiency. Multiple solutions were mentioned for this problem :&lt;br /&gt;
&lt;br /&gt;
 - High(er) Voltage DC, around ~300V : tricky to work with (expensive equipment required), and not very safe (DC is hard to break, especially at such voltages), and requires a licensed electrician&lt;br /&gt;
 - Standard 230V AC : hard to synchronize properly, but already standardized. Sync problems can be avoided by only using unidirectional point-to-point links. The interconnection would present itself as a DC consumer to one side, and as a DC provider to the other. This way, standard, off-the-shelf equipment can be used.&lt;br /&gt;
 - &amp;quot;Sneaker-grid&amp;quot; : carrying batteries using mechanical/human power&lt;br /&gt;
&lt;br /&gt;
It may be useful to exchange data (supply, load, battery level, etc) between these subgrids. In that case, standard 230V AC would be practical, as it allows PLC using off-the-shelf equipment.&lt;br /&gt;
&lt;br /&gt;
2. Short-distance interconnections&lt;br /&gt;
&lt;br /&gt;
Short-distance interconnections can be done directly using DC current. Because of this, it may be useful to use a standard voltage. 42V was used at SHA2017, but 48V is a good candidate too (multiple of 12, lower than 60V). Even with DC interconnection there are lots of variations possible :&lt;br /&gt;
&lt;br /&gt;
 - The current flow can be bidirectional, or restricted to a single direction using diodes.&lt;br /&gt;
 - The connection can be passive, or active (opening the circuit when required, based on loads/supplies on each side of the connection)&lt;br /&gt;
&lt;br /&gt;
As these connections would not necessarily be point-to-point, it may be easier to conceptualize them as point-to-point links to a shared bus, which can be seen as battery. The diodes/switches would then be placed on the links to the shared bus. Designing and sizing this bus can be tricky (but very important) : ideally it needs to be able to carry the totality of the current supply, which could imply a big cable diameter. It may be possible to size the bus to less than the theoretical maximum current supply, but this would require some additional safety systems.&lt;br /&gt;
&lt;br /&gt;
It should also be noted that the fault current calculation is more complex when there are multiple power sources&lt;br /&gt;
&lt;br /&gt;
For active connections, it may be useful to exchange data between subgrids, for which a transmission method has to be determined. During the meeting, it was said that DC PLC is harder to do safely, as one would have to separate the signal from the relatively high DC currents.&lt;br /&gt;
&lt;br /&gt;
A quick look on the internet suggests that DC PLC is also possible. [This paper](https://www.tandfonline.com/doi/pdf/10.1080/22348972.2016.1217817) describes a DC PLC modem for PV cell monitoring.&lt;br /&gt;
&lt;br /&gt;
3. PV-system interconnection&lt;br /&gt;
&lt;br /&gt;
The previous section covers short-distance subgrid interconnection, where each subgrid can be seen as a battery, but does not provide a solution for inter-grid PV-system interconnection (a concrete problem encountered by many at CCCamp 2019). Solutions to this problem were not discussed.&lt;br /&gt;
&lt;br /&gt;
 * A possible solution could be to avoid using batteries for each PV controller, and instead use batteries on the shared bus. This also makes the system &amp;quot;simpler&amp;quot;, as the shared bus is already mentally modeled as a battery. This would require a load/supply management circuit at the batteries. Note that &amp;quot;power availability&amp;quot; cannot be solely determined from the actual load : if some batteries are charging, there is &amp;quot;available power&amp;quot;, but it would not be apparent in the bus voltage. Because of this, this load/supply management circuit would need to communicate an &amp;quot;available power&amp;quot; metric to the possible loads/users. Also, this load/supply management circuit would have to be able to control the generators (PV systems) in order to avoid excess supply when batteries are full, unless this excess supply can always be used by some Power-to-X load. It may be possible to use the bus voltage to communicate this situation to the generators, but the load/supply management circuit may be more efficient if it has a precise idea of the state of all generators (independently from the loads), which cannot be communicated by the shared bus voltage. The disadvantage of this solution is that it requires an additional battery charging circuit (+ the load/supply management system), because the existing PV-systems battery charging circuits can not be made to work with this shared bus.&lt;/div&gt;</summary>
		<author><name>Pstch</name></author>
		
	</entry>
	<entry>
		<id>http://altpwr.net/index.php?title=Links&amp;diff=53</id>
		<title>Links</title>
		<link rel="alternate" type="text/html" href="http://altpwr.net/index.php?title=Links&amp;diff=53"/>
		<updated>2019-08-22T08:29:05Z</updated>

		<summary type="html">&lt;p&gt;Pstch: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page contains useful links related to micro-grid design and operation :&lt;br /&gt;
&lt;br /&gt;
== Background info ==&lt;br /&gt;
&lt;br /&gt;
* [https://en.wikipedia.org/wiki/Microgrid#Advantages WP: Microgrid]&lt;br /&gt;
* [https://fr.wikipedia.org/wiki/Maximum_power_point_tracker WP: Maximum power-point tracker]&lt;br /&gt;
* [https://en.wikipedia.org/wiki/Distributed_generation WP: Distributed generation]&lt;br /&gt;
&lt;br /&gt;
== Existing projects ==&lt;br /&gt;
&lt;br /&gt;
* [https://www.cet.or.at/pdf_files/Paspberry%20Pi%20Microgrid%20Controller.pdf A flexible low cost PV/EV microgrid controller concept based on a Raspberry Pi]&lt;/div&gt;</summary>
		<author><name>Pstch</name></author>
		
	</entry>
	<entry>
		<id>http://altpwr.net/index.php?title=Links&amp;diff=52</id>
		<title>Links</title>
		<link rel="alternate" type="text/html" href="http://altpwr.net/index.php?title=Links&amp;diff=52"/>
		<updated>2019-08-22T08:28:25Z</updated>

		<summary type="html">&lt;p&gt;Pstch: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page contains useful links related to micro-grid design and operation :&lt;br /&gt;
&lt;br /&gt;
== Background info ==&lt;br /&gt;
&lt;br /&gt;
[http://foo Wikipedia : Microgrid]&lt;br /&gt;
 - [https://en.wikipedia.org/wiki/Microgrid#Advantages WP: Microgrid]&lt;br /&gt;
 - [https://fr.wikipedia.org/wiki/Maximum_power_point_tracker WP: Maximum power-point tracker]&lt;br /&gt;
 - [https://en.wikipedia.org/wiki/Distributed_generation WP: Distributed generation]&lt;br /&gt;
&lt;br /&gt;
== Existing projects ==&lt;br /&gt;
&lt;br /&gt;
 - [https://www.cet.or.at/pdf_files/Paspberry%20Pi%20Microgrid%20Controller.pdf A flexible low cost PV/EV microgrid controller concept based on a Raspberry Pi]&lt;/div&gt;</summary>
		<author><name>Pstch</name></author>
		
	</entry>
	<entry>
		<id>http://altpwr.net/index.php?title=Links&amp;diff=51</id>
		<title>Links</title>
		<link rel="alternate" type="text/html" href="http://altpwr.net/index.php?title=Links&amp;diff=51"/>
		<updated>2019-08-22T08:26:51Z</updated>

		<summary type="html">&lt;p&gt;Pstch: Add some initial links&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page contains useful links related to micro-grid design and operation :&lt;br /&gt;
&lt;br /&gt;
== Background info ==&lt;br /&gt;
&lt;br /&gt;
 - [Wikipedia : Microgrid](https://en.wikipedia.org/wiki/Microgrid#Advantages)&lt;br /&gt;
 - [Wikipedia : Maximum power-point tracker](https://fr.wikipedia.org/wiki/Maximum_power_point_tracker)&lt;br /&gt;
 - [Wikipedia : Distributed Gneration](https://en.wikipedia.org/wiki/Distributed_generation)&lt;br /&gt;
&lt;br /&gt;
== Existing projects ==&lt;br /&gt;
&lt;br /&gt;
 - [A flexible low cost PV/EV microgrid controller concept based on a Raspberry P](https://www.cet.or.at/pdf_files/Paspberry%20Pi%20Microgrid%20Controller.pdf)&lt;/div&gt;</summary>
		<author><name>Pstch</name></author>
		
	</entry>
</feed>