Waxaan samaynaa looxyo badan oo fiilooyin lagu rakibay, badiyaa macaamiisha waxay u baahan yihiin oo kaliya inay ku rakibaan kombuyuutarkeena PCBA fiilooyin sanduuqyadooda, ka dibna wax soo saar la dhameystiray

Kiis barasho:

Macaamiil: Brail

Guddi: PWREII

Shaqada guddiga: looxyada isgaarsiinta.

Macaamiilku wuxuu adeegsadaa looxyadeenna si loogu rakibo mashiin weyn. Waxaan sameynay looxyo leh dhamaan fiilooyin la rakibay. 14 fiilooyin sabuurad kasta. macmiilku wuxuu si fudud ugu rakibi karaa mashiinka, isagoo badbaadinaya dadaal badan oo dhanka macaamiisha ah.

Fiilooyinka PCBA-yada, oo leh laydhadh.

14 fiilooyin ayaa lagu iibiyaa PCBA kasta.

Marka, sida loo wada iibiyo dhammaan 14 fiilooyin si hufan oo wax ku ool ah. Markii hore fiilooyinka gacanta ayaa lagu iibin jiray laakiin way gaabis ahayd. Injineerada Fumax waxay qaabeeyeen qalab gaar ah kaas oo u oggolaan doona fiilooyinka in lagu iibiyo mashiinada wax lagu dhejiyo ee ruxruxa. macmiilku aad ayuu ugu faraxsan yahay natiijooyinka.

PIN

MIDAB

TIXRAAC

DQAADASHO

1

Guduud

TX + 485

Isgaarsiinta RS485

2

Jaale

TX 232

Isgaarsiinta RS232

3

Buluug

UART RX

Isgaarsiinta RX TTL

4

Cagaar

UART TX

TX TTL Isgaarsiinta

5

Liin dhanaan (gaaban)

S2

HALKA S2

6

Jaale (gaaban)

S1

HALKA S1

7

Madow

GND

Source pin taban

8

Casaan

24v

Isha pin togan

9

Madow (gaagaaban)

Dareemayaasha GND

HALL -

10

Casaan (gaaban)

5v   

HALKA +

11

NC

NC

NC

12

Madow

Taxanaha GND

42 UU -

13

Liin dhanaan

RX 232

Isgaarsiinta RS232

14

Cawl

TX- 485

Isgaarsiinta RS485

 

Wire Harness10
Wire Harness1
Wire Harness2
Wire Harness11

Nidaamka baaritaanka looxyada:

1. Soobixid

Dukumiintigaan ayaa looga dan leeyahay in lagu jaangooyo imtixaanada soosaarka PWREII.

Fiiro gaar ah: Fiilooyinka aan lahayn iskuxirayaasha waa in lagu xiijiyaa 1cm si baaritaanka loo sameeyo iyo baaritaanka ka dib, waa in la jaro si fiiladu u go'dooto.

2. Boodboodayaal Qaabeynta

JP1 (1 iyo 2) wuxuu awood u siinayaa muujinta 1

JP3 (1 iyo 2) waxaa lagu tiriyaa labada siyoodba.

JP2 (1 iyo 2) dib udajinta tirinta.

3. Nalalka qalabka sheyga

3.1. Ku rakib feylka "sttoolset_pack39.exe", oo laga heli karo https://drive.google.com/open?id=0B9h988nhTd8oYUFib05ZbVBVWHc.

3.1. Ku xir barnaamijka ST-Link / v2 kombuyuutarka kombiyuutarka.

3.2. Awoodda korontada ayaa ku xirma dekedda barnaamijka 'STM8' ee ku yaal dekedda PWREII's ICP1.

Wire Harness3
Wire Harness4

Fiiro gaar ah u yeelo biinka 1 ee barnaamijka iyo biinka guddiga 1.

Wire Harness5

Gadaal ka fiirinaya (halka fiilooyinku ku yimaadaan isku xiraha).

3.3. Aaladda ku daar

3.4. Orod barnaamijka 'Vis Visual Programmer'.

Wire Harness6

3.5. U qaabee sida sawirka soo socda:

Wire Harness7

3.6. Guji Faylka, Furan

3.7. Xulo arjiga "PWREII_V104.s19"

Wire Harness8

3.8. Guji Barnaamijka, Dhammaan tabs

Wire Harness9

3.9. Hubi in Firmware-ka si sax ah loo qorsheeyay:

3.10. Awood PWRE II ka hor inta aanad furin barnaamijka.

4.     Tirinta iyadoo la adeegsanayo guddiga PWSH (HALL Saamaynta saamaynta)

4.1. Passando-se o imã da direita para a esquerda verifique que o display incrementa a contagem na direção saída.

4.2. Passando-se o imã da esquerda para a direita verifique que o display incrementa a contagem na direção de entrada.

5.     RS485 Tijaabada Wadahadalka

FIIRO GAAR AH: Waxaad u baahan doontaa RS485 oo aad ku beddeleyso USB-ga

5.1. Soo dejiso oo rakib darawalka beddelaha.

5.2. In Start menu -> Qalabka iyo madbacadaha

5.3. Hubi qalabka aaladda lambarka dekeddiisa COM

5.4. Arrinteenna COM4.

5.5. Fur barnaamijka tijaabada PWRE II ee laga heli karo "https://drive.google.com/open?id=0B9h988nhTd8oS1FhSnFrUUN6bW8"

5.6. Gali nambarka Serial dekedda oo guji “abrir porta”.

5.7. Gali xog tirooyin ah (6 lambar sanduuqkiiba) sanduuqa qoraalka ku ag yaal badhanka “escreve contadores”. Dhagsii badhankan oo arag in lambarradan loo diray miiska.

5.8. Guji "Le Contadores", xaqiiji in nambarada ku jira alaabada miiska loo gudbiyo sanduuqa qoraalka ee ku xiga badhankan.

Wire Harness12

FIIRO GAAR AH: Haddii tijaabooyinkani guuleysteen waxay ka dhigan tahay in isgaarsiinta RS485 iyo TTL ay shaqeynayaan.

6.     RS232 Imtixaanka wada xiriirka

6.1. Qalabka loo baahan yahay:

6.1.1. 1 isku xira DB9 dheddig

6.1.2. 1 fiilada AWG 22 oo leh 4 fiilooyin

6.1.3. 1 PC leh dekedda taxanaha ah

6.2. Isku xira isku xiraha sida sawirka soo socda:

Wire Harness13

6.3. Ku xir dhinaca kale ee fiilooyinka fiilooyinka PWREII's RS232.

Wire Harness14

FIIRO GAAR AH: Haddii aad leedahay RS232 adabtarada USB uma baahnid inaad isku xirto fiiladan.

6.4. Raac tilmaamaha laga bilaabo 5.1 iyo wixii ka dambeeya.

7.     Imtixaanka nidaamka xeedho batteriga

7.1. Si loo sameeyo baaritaankaan, waa inaad furtaa siligga cas ee batteriga.

7.2. Ku dheji multimeter taxane ah siligga cas oo xulo miisaanka 'MA'

7.3. Ku xir baaritaanka wanaagsan ee siligga ka imanaya PWREII iyo baaritaanka negaive ee siligga taga batteriga.

7.4. Ka eeg qiimaha shaashadda multimeter-ka:

Wire Harness15

Qiimaynta togan waxay muujineysaa in baytarigu uu buuxinayo.

FIIRO GAAR AH: Marka batteriga uu yahay mid guud ahaan faaruq ah hadda kor u kaca ilaa 150mA.

7.5. Xir xiriiradaan oo dami korontada.

Wire Harness16

Hubi calaamadda diidmada ah ee tilmaamaysa in batterigu sii deynayo.