Bill of materials for prepaid electric meters

Display: 2 x 16 because industry standard and easy control/driver


sources:
http://www.ebay.de/itm/1602-Character-HD44780-LCD-Display-Module-Anzeigen-2X16-Zeichen-blau-Rucklicht-/281078642090?pt=Bauteile&hash=item417197b5aa

http://www.pollin.de/shop/dt/ODAyOTc4OTk-/Bauelemente_Bauteile/Aktive_Bauelemente/Displays/LCD_Modul_EDT_EW10187YR.html

http://de.eachbuyer.com/64-5mmx16mm-hd44780-1602-lcd-modul-2x16-zeichen-7001.html?curency=EUR

http://www.horter.de/shop/index.html?http://www.horter.de/shop/i2c_komponenten_lcd_anzeige/lcd_2x16_zeichen_rot4652.html

http://www.plaza7.com/de-eur/character-lcd-module-display-lcm-1602-16x2-162-blue-new-p14327.html

graphical displays (driver in flowcode needs to be researched)

http://www.pollin.de/shop/dt/NTAzOTc4OTk-/Bauelemente_Bauteile/Aktive_Bauelemente/Displays/LCD_DataVision_DG_14032.html

http://www.pollin.de/shop/dt/NTE0OTc4OTk-/Bauelemente_Bauteile/Aktive_Bauelemente/Displays/LCD_Datavision_DG_12232.html

http://www.pollin.de/shop/dt/NzczOTc4OTk-/Bauelemente_Bauteile/Aktive_Bauelemente/Displays/LCD_Modul_C0802_04.html

http://www.pollin.de/shop/dt/MzE2OTc4OTk-/Bauelemente_Bauteile/Aktive_Bauelemente/Displays/LCD_Modul_POWERTIP_PC1602_E.html
------------------------------

keypad

http://www.komputer.de/zen/index.php?main_page=product_info&cPath=25&products_id=118

http://www.exp-tech.de/Zubehoer/Taste-Schalter/Sealed-Membrane-4x4-Button-Pad-with-Sticker.html

http://www.elektor.de/products/e-blocks/modules/eb014-keypad.11513.lynkx

eeprom
http://www.reichelt.de/?ARTICLE=40077&PROVID=2257&wt_mc=amc136152448016369&ref=adwords_pla&&gclid=CJXZhNjJ_rYCFYdZ3godCDsAxQ

messwiderstand

2W
https://www.distrelec.de/messwiderstand-0-01-%CF%89-5-2-w/vitrohm/lps-356-0-5b-0r01/723536

http://www.mercateo.com/p/115-723536/LPS_356_0_5B_0R01_Messwiderstand_0_01Ohm_5_2_W.html?showSimplePage=NO&ViewName=live~showGrossColumn&pk_campaign=SEA_PLA&pk_kwd=Pr(e4)zisionswiderstand#vitrohm-lps-356-0-5b-0r01-messwiderstand-0-01ohm-5-2-w-vitrohm

12bit adc
http://www.microchip.com/wwwproducts/Devices.aspx?dDocName=en559990

12bit adc supported by flowcode
http://www.microchip.com/wwwproducts/Devices.aspx?dDocName=en552775

12bit supported by flowcode 4.5
http://www.microchip.com/wwwproducts/Devices.aspx?dDocName=en550200

12bit not needed, because analog devices ate 7755 is used
  • 18 pin I/O 
  • 3k Words 
  • internal osc 
  • supported by Flowcode 4.5
-> PIC 16F723a (16f723 is out of date)

4,5W
https://www.distrelec.de/messwiderstand-0-01-%CF%89-5-4-5-w/vitrohm/lps-357-1-5b-0r01/723543


to do:
auf 16f723a portieren


bauteile bestellen

Pollin:
(display) not needed for prototyping
(power supply) not needed for prototyping
(relais) not needed for prototyping

pollin oder reichelt:
!pic
!eeprom
!widerstands-sortiment 

distrelec:
messwiderstand 4,5 W (not immediately needed for prototyping)

komputer oder exp-tech:
!tastatur

negative half-waves can't be left away for the measurement, because the the negative power always occurs while the voltage wave has opposite polarity to the current wave. So with only positive half-waves, only the positive parts of the current power can be measured.

Except if you put these positive parts in relation to the total current and so mathematically reconstruct the missing wave parts.
In other words: measure the phase shift.
zero positive parts means 180 deg phase shift
50% positive parts means 0 deg phase shift
probably a sine function -> figure out if calculating is easier or moving up the null point with a voltage divider and a decoupling capacitor
one could also measure the phase shift with zero crossing detection.

Programmelemente
2 x ADC für Spannung und Strom, evtl. automatischer Bereichsumschalter für Strom
Berechnung des Verbrauchs
Menüsystem für Code-Eingabe
Speicherung von verbrauchten Gutschein-Nummern
regelmäßige Speicherung des aktuellen kWh-Guthabens
Relais aus wenn Guthaben == 0

Code enthält folgende Infos:
Nummer des Geräts
Nummer des Gutscheins
Anzahl kWh
Schlüssel

Menüsystem:
Firmware
electric Meter ID
Credit (remaining kWh)
enter credit voucher code
current load
total power consumption

pin usage
display: port c, 6 pins
keypad: port b, 7 pins
Eeprom: port C3, C4
s0 power meter in
Relay out
------------------------
17 I/O

2 x ADC: 2 - 3 pins

mess-systeme testen auf steckplatine
eeprom erweiterung testen: I2C, wenn fertig, dann mit selbem Port wie display

Platine bauen: http://www.matrixmultimedia.com/mmforums/viewtopic.php?f=22&t=7691



prototyp bauen
bauteile x 100 bestellen
Gehäuseform
100 platinen ätzen

https://docs.google.com/spreadsheet/ccc?key=0Ai1uihpWXGkadFJxbXZ6VW8zMG9mTldFcU1qem9OcFE&usp=sharing

to do:

platine:
  • LCD versetzen (weg vom Schraubenloch)
  • Pad-Größen
  • schräge Leiterbahn für pimpulsmessung weiter weg von dem pad
  • pads für displaystecker größer

hardware:
  •  Typenschild
  • Abstandhalter, Schrauben

software:
    Restart after relay swith off
    Random swith on time
    Credit Add nachkommastellen
    Restart with fixed key combinaytion

    parts
    • supplier for pic: pollin, hbe, microchipdirect, reichelt
    • IC sockets
    • Lüsterklemmen

    Documentation:
    • website
    • bestückungsdruck
    • Verdrahtung
    • Aufkleber

    buy housing at pollin http://www.pollin.de/shop/dt/Mzk5OTM1OTk-/Bauelemente_Bauteile/Gehaeuse/Kunststoffgehaeuse_021_002_173.html
    and
    http://www.pollin.de/shop/dt/Njk5OTM1OTk-/Bauelemente_Bauteile/Gehaeuse/Kunststoffgehaeuse_021_002_113.html


    http://www.ebay.de/itm/Kunststoff-Gehause-3Stuck-hellbraun-dunkelbraun-190x138x45mm-/390655487609?pt=Geh%C3%A4use_L%C3%BCfter&hash=item5af4e1ae79
    doumentation

    No comments:

    Post a Comment