diff --git a/code/qudio.py b/code/qudio.py index 8ec969f..f7f49bc 100644 --- a/code/qudio.py +++ b/code/qudio.py @@ -26,8 +26,8 @@ PIN_SENSOR = 5 PIN_LED = 22 # Buttons on PINs 9, 10 and 11 -PIN_PREV = 9 -PIN_NEXT = 10 +PIN_PREV = 10 +PIN_NEXT = 9 PIN_PLAY = 11 diff --git a/code/test/buttons.py b/code/test/buttons.py index bdff3b2..b6760a5 100644 --- a/code/test/buttons.py +++ b/code/test/buttons.py @@ -9,17 +9,17 @@ GPIO.setup(10, GPIO.IN, pull_up_down=GPIO.PUD_UP) GPIO.setup(11, GPIO.IN, pull_up_down=GPIO.PUD_UP) try: - print('Start button test') + print('Start button test - End with Ctrl-C') while True: - if (GPIO.input(9) == False): - print('Button 1') - if (GPIO.input(10) == False): - print('Button 2') + print('Button 1 (PREV)') + + if (GPIO.input(9) == False): + print('Button 2 (PLAY/PAUSE)') if (GPIO.input(11) == False): - print('Button 3') + print('Button 3 (NEXT)') time.sleep(0.25) diff --git a/documentation/qudio/index.html b/documentation/qudio/index.html index a95c796..7780ca5 100644 --- a/documentation/qudio/index.html +++ b/documentation/qudio/index.html @@ -211,7 +211,7 @@ h2, h3, h4 {

Installing the Window

- For the window on top of the case, we need to cut a 50 × 28 mm part of acrylic glass. This can be done with a normal cutter knife by (carefully!) repeatedly cutting along your marker line with a ruler until you can break it off. + For the window on top of the case, we need to cut a 50 × 28 mm part of acrylic glass. This can be done with a normal cutter knife by (carefully!) repeatedly cutting along your marker line with a ruler until you can break it off.

@@ -260,7 +260,7 @@ h2, h3, h4 {

  • DIN ↔ pin 40 (GPIO 21)
  • LCK ↔ pin 35 (GPIO 19)
  • FMT ↔ GND
  • -
  • XMT ↔ 10k Resistor <–> 3,3V of the PCM5102A board
  • +
  • XMT ↔ 10k Resistor ↔ 3,3V of the PCM5102A board
  • @@ -305,7 +305,7 @@ h2, h3, h4 {

    Buttons

    - The three buttons go directly in the small pockets on the bottom part of the printed case. While the front pins are put into the small holes in order to fasten them tightly, the pins on the other end should be bent up and soldered to the male end of the jumper wires. Connect the buttons to pins 9 (for PREV), 10 (for PLAY/PAUSE) and 11 (for NEXT). The other sides go to the ground pins 20, 30 and 34. + The three buttons go directly in the small pockets on the bottom part of the printed case. While the front pins are put into the small holes in order to fasten them tightly, the pins on the other end should be bent up and soldered to the male end of the jumper wires. Connect the buttons to pins 10 (for PREV), 9 (for PLAY/PAUSE) and 11 (for NEXT). The other sides go to the ground pins 20, 30 and 34.

    -

    Closing the Case

    +

    Closing the Case

    Now it is time to put the remaining parts in place: Hook up the camera to the Raspberry Pi using the micro USB adapter. Also connect the two ends of the dock adapter cable to the audio module and the Raspberry Pi. Move all the cables in a place where they do not block the camera, bring up your best origami and close the case. You might need two or three attemps until everything is in the right place, but it fits in, believe me. @@ -539,7 +539,8 @@ Intro-Video Live-Bild Kamera-Einstellung LED im Case Test-QR -Link zu OnShape +Link zu OnShape https://cad.onshape.com/documents/2762d09f63c9b517c9286983/w/eb40037adee1466d85023e8d/e/802477ccf62b15a257cef26e + deactivate microphone? deactivate RasPi LED 12 mm caps? diff --git a/documentation/qudio/misc/qudio.fzz b/documentation/qudio/misc/qudio.fzz index dd9f3b9..8a5eae4 100644 Binary files a/documentation/qudio/misc/qudio.fzz and b/documentation/qudio/misc/qudio.fzz differ diff --git a/documentation/qudio/misc/qudio_connections.png b/documentation/qudio/misc/qudio_connections.png index 025bcbc..bf32743 100644 Binary files a/documentation/qudio/misc/qudio_connections.png and b/documentation/qudio/misc/qudio_connections.png differ