Difference between revisions of "Paleo Solar Charger"

From Fixme.ch
Jump to: navigation, search
(I/O Usage)
(I/O Usage)
Line 52: Line 52:
 
Outputs:
 
Outputs:
  
* D0: Relais 1
+
* D0: Relais 1 (Serial RX)
* D1: Relais 2
+
* D1: Relais 2 (Serial TX)
 
* D2: LCD
 
* D2: LCD
 
* D3: LCD
 
* D3: LCD
Line 65: Line 65:
 
* D11: SD_IN
 
* D11: SD_IN
 
* D12: SD_OUT
 
* D12: SD_OUT
* D13: SD_CLK
+
* D13: SD_CLK (Built-in LED)
  
 
== Components ==
 
== Components ==
  
 
* ULN2803A [http://www.ti.com/lit/ds/symlink/uln2803a.pdf Datasheet]
 
* ULN2803A [http://www.ti.com/lit/ds/symlink/uln2803a.pdf Datasheet]

Revision as of 23:58, 6 August 2012


Code

Le code Arduino a été publié sur github:

https://github.com/ctrlaltdel/PaleoSolarCharger

Objectif

Développer un dispositif de gestion de charge de batteries. Ce système devra gérer plusieurs producteurs (panneaux solaires, éolienne, génératrice, etc.) ainsi que plusieurs consommateurs (éclairage, pompes de circulation, convertisseur 12V/220V, etc.).

Projets existants

Interesting building blocks

Notes

Diviseur de tension.

R1=98.4 kohm
R2=46.2 kohm
H = R2/(R1+R2) = 0.320
Vinmax = 5 / H = 15.6

Ecran

Relais

I/O Usage

14 digital I/O pins (6 PWM) and 6 analog

Inputs:

  • A0:
  • A1:
  • A2: BAT3 voltage
  • A3: BAT2 voltage
  • A4: BAT1 voltage
  • A5:

Outputs:

  • D0: Relais 1 (Serial RX)
  • D1: Relais 2 (Serial TX)
  • D2: LCD
  • D3: LCD
  • D4: LCD
  • D5: LCD
  • D6: LCD
  • D7: LCD
  • D8: Relais 3
  • D9: LED
  • D10: SD_CS
  • D11: SD_IN
  • D12: SD_OUT
  • D13: SD_CLK (Built-in LED)

Components