MAARU ReSpeaker · Pi 2B
BuildMerakit

Putting one together

Cara merakitnya

Six steps from bare boards to a closed box, then the software, then the tree. The parts are listed on the components page.

Enam langkah dari papan polos sampai kotak tertutup, lalu software, lalu pemasangan di pohon. Daftar komponennya ada di halaman komponen.

You will need

Yang dibutuhkan

Assembly

Perakitan

  1. Legs on the Pi

    Pasang kaki di Pi

    Screw the four 20 mm brass hex legs into the Raspberry Pi's mounting holes, pointing down. Insert the flashed microSD card now; it is hard to reach later.

    Sekrup empat kaki kuningan 20 mm ke lubang dudukan Raspberry Pi, menghadap ke bawah. Masukkan kartu microSD yang sudah berisi OS sekarang; nanti sulit dijangkau.

    Raspberry Pi 2B with four brass hex legs underneath.
  2. Voice HAT

    Voice HAT

    Fit four nylon standoffs on top of the Pi and press the ReSpeaker voice HAT onto the 40-pin GPIO header.

    Pasang empat standoff nilon di atas Pi, lalu tekan voice HAT ReSpeaker ke header GPIO 40 pin.

    Voice HAT mounted on the Raspberry Pi with nylon standoffs.
  3. Mic array and cover

    Mic array dan cover

    Fit four more standoffs on the HAT. Plug the flat flex cable into the HAT, pass it up through the slot in the array board and into the array's connector. Screw the array on, then lay the printed mic cover ring on top.

    Pasang empat standoff lagi di HAT. Colokkan kabel pipih (FFC) ke HAT, lewatkan ke atas melalui slot di papan mic, lalu ke konektor papan mic. Sekrup papan mic, kemudian letakkan cincin mic cover hasil cetak di atasnya.

    • Check the FFC contacts face the right way at both ends.
    • Pastikan kontak FFC menghadap ke arah yang benar di kedua ujung.
    Complete electronics stack: Pi, voice HAT, mic array and mic cover ring.
  4. Prepare the box

    Siapkan kotak

    Drill a hole in the side wall and fit the cable gland. Place the printed main frame on the floor of the box and drop a 20 mm spring into each of its four sockets.

    Bor lubang di dinding samping kotak dan pasang cable gland. Taruh main frame hasil cetak di dasar kotak, lalu masukkan pegas 20 mm ke setiap soketnya.

    Food box with the main frame inside and the cable gland in the side wall.
  5. Drop in the stack

    Masukkan tumpukan

    Lower the stack so each brass leg slides into a socket and rests on its spring. Feed the USB power cable through the gland, plug it into the Pi and tighten the gland. Add the silica gel sachets.

    Turunkan tumpukan sehingga tiap kaki kuningan masuk ke soket dan bertumpu di atas pegas. Masukkan kabel daya USB lewat cable gland, colokkan ke Pi, lalu kencangkan gland. Tambahkan sachet silica gel.

    Electronics stack standing on the springs inside the open food box.
  6. Close the lid

    Tutup kotak

    Drill six small holes in the lid, one above each microphone, and stick an adhesive vent over each from the inside. Clip the lid shut: it pushes the stack down onto the springs, so the mic cover presses against the lid and the holes stay lined up with the microphones.

    Bor enam lubang kecil di tutup, satu di atas setiap mikrofon, lalu tempel membran vent perekat di tiap lubang dari sisi dalam. Kunci tutupnya: tutup menekan tumpukan ke bawah di atas pegas, sehingga mic cover menempel ke tutup dan lubang tetap sejajar dengan mikrofon.

    • Mark the hole positions with the mic cover in place before drilling.
    • Tandai posisi lubang dengan mic cover terpasang sebelum mengebor.
    Closed MAARU unit with the six vents visible in the lid above the mic array.

Software

Software

The ReSpeaker needs the Seeed voicecard driver, which in practice means an older Raspbian Buster image with the kernel held back. Set that up as described in Becky Heath's original repository, with the user pi. Then install the recorder from the fork used for this build:

ReSpeaker butuh driver Seeed voicecard, yang praktisnya berarti image Raspbian Buster lama dengan kernel yang dibekukan. Siapkan seperti di repositori asli Becky Heath, dengan user pi. Lalu pasang perekam dari fork yang dipakai di versi ini:

cd ~
git clone https://github.com/ikhwanuddin/multi-channel-rpi-eco-monitoring.git
cd multi-channel-rpi-eco-monitoring
sudo python3 installer.py   # choose 5) Full setup

Full setup writes config.json, installs the eco-monitor service and turns on the field WiFi timer, which puts WiFi to sleep 20 minutes after the network is lost. Each recording cycle is set by record_length and capture_delay; the Way Canguk units used 240 s and 60 s. Set the time zone, since file names use local time.

Full setup membuat config.json, memasang service eco-monitor, dan menyalakan field WiFi timer, yang mematikan WiFi 20 menit setelah jaringan hilang. Siklus rekaman diatur oleh record_length dan capture_delay; unit di Way Canguk memakai 240 s dan 60 s. Atur zona waktu, karena nama file memakai waktu lokal.

Full quick start guidePanduan quick start lengkap →

In the field

Di lapangan

Strap the box to a tree 6–8 m up with rope and rubber, lid facing up, under a small plastic roof. The powerbank hangs beside it in a dry bag and lasts about two days.

Ikat kotak ke pohon setinggi 6–8 m dengan tali dan karet, tutup menghadap ke atas, di bawah atap plastik kecil. Powerbank digantung di sebelahnya dalam dry bag dan bertahan sekitar dua hari.

Uploading from the village

Unggah data dari desa

  1. Carry the unit to the village and connect it to a network with internet.
  2. Bawa unit ke desa dan sambungkan ke jaringan yang ada internetnya.
  3. Set "upload_enabled": true in config.json and restart the service. Recording pauses while rclone uploads.
  4. Ubah "upload_enabled": true di config.json lalu restart service. Perekaman berhenti selama rclone mengunggah.
  5. When the upload has finished, set it back to false. The next boot in the forest only records.
  6. Setelah unggahan selesai, kembalikan ke false. Saat dinyalakan lagi di hutan, unit hanya merekam.

Physical setup notesCatatan setup fisik →

Files

File

Printable parts were designed in SolidWorks, starting from Neel Le Penru's MAARU case. GitHub previews STL files in 3D.

Bagian cetak didesain di SolidWorks, berangkat dari casing MAARU buatan Neel Le Penru. GitHub bisa menampilkan file STL dalam 3D.