Skip to content

Electronic components

Jan Stenkamp edited this page Nov 21, 2022 · 7 revisions

Preparations

Solder microphone

Solder the pin strip (probably enclosed) to the microphone.

Result:

Solder weight sensor

Solder the pin strip to the weight sensor on the side with 4 ports. On the side with 6 ports solder the wires of the straine gauge as follows:

  • White -> A+
  • Green -> A-
  • Black -> E-
  • Red -> E+

Attention: Depending on the actual straine gauge you use, maybe you have to use other connections. Our instructions are for the Adafruit straine gauge (1 kg).

Attach camera to mount

  1. Connect camera to flex cable
  2. Put flex cable through hole in camera mount
  3. Fixate camera with M2 bolts in mount
Before After
Camera_1 Camera_2

Raspberry Pi Wiring

Raspberry Pi pins

Raspberry Pi Pins

Connections

Raspberry Pi Wiring

© Andreas Eilers

Please have a look below for more detailed descriptions of the wiring of the individual components.

Camera

Connect the other side of the camera flex cable to the camera port on the Raspberry Pi.

Scale

1.

Material: M5 bolt

Bolt the strain gauge to the bottom panel.

2.

Material: Spax 3 x 25

Screw the perch to the strain gauge.

Result of steps 1 and 2:

Waage_attached

3.

Material: 4 x 10 cm dupont cable

Connect the weight sensor to the Raspberry Pi as follows:

  • VCC -> Port 2 (5V)
  • SCK -> Port 16 (GPIO 23)
  • DT -> Port 11 (GPIO 17)
  • GND -> Port 20 (GND)

DHT22 (Temperature and Humidity)

Material: 3 x 20 cm dupont cable

Connect the sensor to the Raspberry Pi as follows:

  • "+" -> Port 1 (3.3 V)
  • Out -> Port 36 (GPIO 16)
  • "-" -> Port 9 (GND)

Microphone

Material: 6 x 20 cm dupont cable

Connect the sensor to the Raspberry Pi as follows:

  • SEL -> Port 39 (GND)
  • LRCL -> Port 35 (GPIO 19)
  • OUT -> Port 38 (GPIO 20)
  • CLK -> Port 12 (GPIO 18)
  • GND -> Port 30 (GND)
  • 3V -> Port 17 (3,3 V)