Halbautomatischer Bohrkomplex für Leiterplatten auf Arduino und Python

KDPV


Vorwort


, «» , , . . , , . .



, , . , , - . , .


, ( ), Y . , Arduino. Arduino , .



. . , , , .



Y – . 1 , 1 . , 48 , Z 0,02 . , - . , , , .. , ( ; , ). Y, , DIN-. .


Bild


Z . – . .. , , , . , , , , . , , . .


Bild


, . .. , () () . .



1

schema_2


2

schema_2


Arduino USB . 5 Arduino .
75 (19 ; 3,9 ).


(D2, D3) . D1 Arduino . . R9 … R11. 3 , D3, .


Bild


1 6 24 . VT1 , .


SB2 … SB7 , / 32 . Y . , SB1 5, .



Arduino, Python GNU/Linux.



. : <method>: [arg1 [arg2 [...]]]\n. . 0 1 (False True).


:


connect:2 . res: 1. , COM . , ready: 1. |res: 1 + ready: 1 ;res: 1 + error: 1
touch:.res: 1 ; res: 0
move: x yres: 1 ; res: 0 ( ; )
drill: x yres: 1 ; res: 0 ( move; )
coords:res: x y

:


error: 0
error: 1


, , . :


  • connect , ( )
  • X Y
  • error: 1, , ,
  • , , 0 (False)


, OpenCV, , . , , , , . :


  • ( )
  • 2
  • . , . , .

pyserial. (/dev/ttyACM*). connect. res: 1, .


GUI PyQt5.


Bild




Es ist geplant, ein automatisches Punkterkennungsmodul zum Bohren in der Clientanwendung hinzuzufügen. In diesem Fall findet die Anwendung nach dem Vergleich der Koordinaten automatisch Punkte in der Zeichnung. Der Benutzer muss nur die fehlerhaften löschen und die nicht erkannten hinzufügen.


Repository-Link

Source: https://habr.com/ru/post/de395297/


All Articles