A companion for Pinot
- Ubuntu 20.04.3 LTS 64-bit Nvidia RTX 3090
- Webcam
- Total Wireless LG K31 Rebel Prepaid Smartphone
- Arduino Nano 33 Iot
- BETU MG996R Servo Motor (11x)
- Bolsen 2 DOF Short Pan and Tilt Servos Bracket Sensor Mount Kit (5x)
- Aideepen ROT3U 6DOF Aluminium Robotic Arm Kit Silver Mechanical Robotic Clamp Claw for Arduino Without Servo
- Professional Metal Robot Arm/Gripper/Mechanical Claw/Clamp/Clip with High Torque Servo, RC Robotic Part Educational DIY for Arduino/Raspberry Pie, Science STEAM Maker Platform (Black)
- Steel brace with M4 screws and bolts
- M2 screws and bolts (about 20x each)
- 22 AWG wire
- Dowell 10-22 AWG Wire Strippers
- Teenitor Solder Sucker
- Kaiweets Digital Multimeter
- Kungber DC Power Supply 30V 10A
- Weller SP80NUS 80-Watts LED Soldering Iron
Note that socket.io versions need to be compatible. Here we use JS Socket.IO 4.x, python-socketio 5.x, and python-engineio 4.x
$ cd server && yarn install
$ cd client && yarn install
$ cd pycli
$ apt-get install python3-pyaudio portaudio19-dev # pyaudio dependencies
$ python -m venv env
$ source ./env/bin/activate
$ pip install -r requirements.txt
- Install the Android 11.0 (R) API 30 SDK from Android Studio, Tools, SDK Manager
- The first time running the app will likely fail. Go into setting on the phone, Apps, Permission manager, Camera, Jade, See all Jade permissions, and grant Camera, Microphone and Storage permissions.
- Text to voice generator - Matthew voice
ffmpeg -i input.mp3 output.wav
and save into the pycli folder
$ sudo apt-get install cmake libjpeg8-dev
$ wget https://github.com/jacksonliam/mjpg-streamer/archive/master.zip
$ unzip master.zip
$ cd mjpeg-streamer-master/mjpg-streamer-experimental
$ make
$ sudo make install
## Run
### server
```bash
$ cd server && yarn build && yarn start
$ cd client && yarn start
$ python3 main.py # python 3.8.10
$ pkill -9 python3 # sometimes needed to fully close and unlock the camera
- Connect the android phone, unlock the phone and trust the computer and select the phone in android studio (LGE LGL355DL) and run
$ /usr/local/bin/mjpg_streamer -i "/usr/local/lib/mjpg-streamer/input_uvc.so -d /dev/video0 -n -f 10 -r 1280x720" -o "/usr/local/lib/mjpg-streamer/output_http.so -p 8085 -w /usr/local/share/mjpg-streamer/www"
$ /usr/local/bin/mjpg_streamer -i "/usr/local/lib/mjpg-streamer/input_uvc.so -d /dev/video2 -n -f 10 -r 1280x720" -o "/usr/local/lib/mjpg-streamer/output_http.so -p 8086 -w /usr/local/share/mjpg-streamer/www"