Bläddra i källkod

updates

* shifting buck up to accomodate bracket on left side of housing
* fidding with hinge holes for back housing plate
* cosmetic PIU code cleanup
* revving 'export-all' version
* adding notes about RPi version of PIU
* adding sound plug diagrams in anticipation of DIU assembly documentation
clementinecomputing 6 år sedan
förälder
incheckning
3ba01ee446

Filskillnaden har hållts tillbaka eftersom den är för stor
+ 223 - 0
Documentation/img/Jackplug-4-wiring.svg


Filskillnaden har hållts tillbaka eftersom den är för stor
+ 425 - 0
Documentation/img/Jackplug-wiring.svg


Filskillnaden har hållts tillbaka eftersom den är för stor
+ 512 - 417
busunit/PIU/piu_main.c


+ 13 - 1
experiment/production/PIU-Notes.md

@@ -76,6 +76,18 @@ I would recommend a Pi NoIR that can be hooked into the Pi Zero ([Adafruit](http
 
 I've had success in getting it up and running with a Raspberry Pi Zero before and it might be easy to set up and fast enough to use.
 
+`zbar-tools` (perhaps [mcheheb/zbar](https://github.com/mchehab/zbar)?) looks to be a tool to scan QR codes.
+
+Here's an example:
+
+```
+$ sudo apt-get install zbar python-zbar
+$ git clone https://github.com/mchehab/zbar
+$ cd zbar/python/examples
+$ python ./scan_image.py ../../examples-qr-code.png
+('decoded', 'QRCODE', 'symbol', '"https://github.com/mchehab/zbar"')
+
+```
 
 
 Notes
@@ -139,4 +151,4 @@ References
 * [GitHub: monkeyboard/Wiegand-Protocol-Library-for-Arduino](https://github.com/monkeyboard/Wiegand-Protocol-Library-for-Arduino)).
 * [2.8 inch touch display](http://www.raspberrypiwiki.com/index.php/2.8_inch_Touch_Screen_for_Pi_zero)
 * [GitHub: tianyoujian/MZDPI](https://github.com/tianyoujian/MZDPI)
-
+* [GitHub: mcheheab/zbar](https://github.com/mchehab/zbar)

+ 1 - 1
experiment/production/housing/v2/PopufareHousingBottom.scad

@@ -59,4 +59,4 @@ module PopufareHousingBottomPlate() {
   }
 }
 
-//PopufareHousingBottomPlate();
+//PopufareHousingBottomPlate();

+ 1 - 1
experiment/production/housing/v2/PopufareHousingCommon.scad

@@ -84,7 +84,7 @@ POPUFARE_BUCK_HOLE_R = 3.0/2;
 
 POPUFARE_BUCK_WIDTH = 49.8;
 POPUFARE_BUCK_HEIGHT = 52.9;
-POPUFARE_BUCK_HOLE_DH = 25 + (31.5 - 25)/2;
+POPUFARE_BUCK_HOLE_DH = 25 + (6.25)/2 + 3.0/2;
 
 // 117 - 111 = 6
 // 111 + 3 = 114

+ 2 - 2
experiment/production/housing/v2/PopufareHousingSideLeft.scad

@@ -28,7 +28,7 @@ module PopufareHousingSideLeftPlate() {
   buck_dh = POPUFARE_BUCK_HOLE_DH;
   buck_r = POPUFARE_BUCK_HOLE_R;
   
-  buck_center = [30,-10];
+  buck_center = [35,-3];
 
   difference() {
     union() {
@@ -89,4 +89,4 @@ module PopufareHousingSideLeftPlate() {
   }
 }
 
-//PopufareHousingSideLeftPlate();
+//PopufareHousingSideLeftPlate();

+ 1 - 1
experiment/production/housing/v2/export/export-all

@@ -1,6 +1,6 @@
 #!/bin/bash
 
-VERSION=0.1.6
+VERSION=0.1.7
 
 function ngc_position {
   ifn="$1"