Month: February 2020

02/28

02/28

Checked with the receiving desk to see if our parts had arrived.  They have not yet been approved and will probably arrive sometime next week hopefully! Until then, we wanted to get our Pi-Pi communication established and process keystrokes using pygame. Set up a client 

Neeti’s Status Report for 02/22

Neeti’s Status Report for 02/22

This week I worked on doing research for the design review while Gauri and Shrutika figured out how to ssh into the Pis. This was due to the fact that there are only two Pis and I did not have a USB to USB-c cable 

Gauri’s Status Report for 02/22

Gauri’s Status Report for 02/22

This week I mainly worked with Shrutika to try to figure out how to ssh into the Pi’s.  Initially, our plan had been to use the RPi GUI by connecting it through an HDMI cable to our laptops and then easily setup everything (in the way that the official RPi tutorials explained).  However, we weren’t able to find the right adapter/cable since the RPi 4 needs a micro-HDMI.  We didn’t want to waste any more time ordering parts and so I started researching how we could begin using the Pi without this cable.  I remembered that we’d ssh’ed directly into the Pi in embedded and began researching how to do that for our new Pis.

This turned out to be way more complicated than any of us expected.  The process differed from embedded because in that, we had already setup and tested UART before trying to setup wifi in the last lab and here we didn’t have that.  It was pretty easy to connect to raspberrypi.local with the Pi connected to my laptop through an ethernet cable, but then when we wanted to connect it to a wifi network the steps differed.  Once Shrutika figured out that it was possible to connect to her home wifi network, we assumed it would be easy to repeat the process on CMU networks.  That didn’t work.  I found out that there is apparently a small difference between the ethernet MAC address and the wifi MAC address on every device (and we’d been registering with the ethernet MAC addr instead of the wifi one).  Once we changed this, it took a day to register and then worked.

Apart from this, I spent some time researching the way we’d use the camera and OpenCV to do gesture detection (building an ML model, etc) and also briefly looked into the available GPIO libraries.  Since we took basically an entire week to get the Pis setup, we definitely underestimated the effort some things might take.  We are still not really behind since our main goal is to get manual mode working by spring break and I think we can still accomplish at least most of that.

Over the next week I hope to get our motor control working with Neeti while Shrutika simultaneously works on Pi-Pi communication.  We will also be spending some time on the design review report and presentation prep.

Shrutika’s Status Report for 02/22

Shrutika’s Status Report for 02/22

This week I spent a lot of time being able to ssh onto the Raspberry Pis. There’s a lot of guidance online but it differs by network, especially since we wanted to use the school network, and a lot of them assume you have all 

Team Status Update for 02/22

Team Status Update for 02/22

This week we actually got started on setting up and working with the raspberry pis. A major issue we realized this week was again … lack of time. We didn’t realize how long it would take to do some of the tasks we assumed would 

02/21

02/21

  • We checked that we are now able to ssh into Sandy as well.  So now it is possible to do:
    • ssh pi@comovosam.wifi.local.cmu.edu
    • ssh pi@comovosandy.wifi.local.cmu.edu
  • We began discussing and researching to find answers to the design questions that we came up with and noted down earlier this week.
  • We looked into PyAudio for real-time microphone signal processing and OpenCV for gesture detection (for manual mode) from a camera video feed.  Any microphone (connected via USB) should work and any camera (connected to the camera jack) should work.
  • We are going to do sound triangulation (most likely without an open-source library) using 3 microphones and also use the OpenCV video feed method to detect faces/heads and aid us in this process.  Microphones probably shouldn’t rotate with device, but camera should.
  • Need to build ML models to classify “hand/not hand” for gesture detection and “face/not face” for use in sound localization part.
  • We explored using a motor HAT to make interfacing with the motor easier.  Stepper motor seems to be a good motor choice.  Looking into adafruit_motorHAT library (very user friendly functions and no need to directly communicate with GPIO pins).
  • Need to finalize exactly which models of motor, motor HAT (?), camera and microphone we want to use.
  • Started drawing block diagram and making slides for design review presentation next week.
02/19

02/19

Figured out that the ethernet MAC address is different from the WiFi MAC address :O Re-registered both comovos (Sam and Sandy) with their WiFi MAC addresses on the CMU-DEVICE network Now both comovos have private IP addresses on the CMU network and while laptop is 

02/17

02/17

We got our RPi 4s! Returned the mini HDMI cables because the HDMI ports on the RPi 4 are actually micro HDMI Since we don’t have micro HDMI cables to display the RPi’s desktop, we are working on trying to ssh into the Pis.  For 

Gauri’s Status Report for 02/15

Gauri’s Status Report for 02/15

First status report!  We had multiple meetings this week to discuss which parts to order, collect and evaluate whether the RPi ZW would work for our project, read and figure out how to set up the SD cards to boot Raspbian OS onto the RPi 4.  We also met with a mechanical engineer friend today to get some guidance on how to design our rotating platform and how it would connect to the motor and how the wiring between the Pi, motor and sensors would fit in.  We spent some time setting up our blog as well. 🙂

In addition, this week I read chapters 1-3 of the textbook and did the reading assignment.  I also spent some time going over the methods Neeti and I learned in our Embedded projects (2 and 4) where we implemented servo motor control using PWM to control the angle of the motor and Pi-Pi networked PID communication between two DC motors on different Pis.  I figured that for this project our requirements are slightly different but similar ideas could apply.  We essentially want to control the motor using either “left” or “right” instructions and rotate the motor by some fixed angle at some fixed speed in whichever direction the signal specifies.

We are not really behind on our original schedule but we have not started some things we hoped to start this week because we do not have all the parts we need yet.  We hope that we will be able to catch up by next week once the RPis arrive and we can officially start working with the hardware.

By next week, I think Neeti and I should have figured out how to control a motor with an RPi 4 (hopefully both speed and angle).  Since this is similar to our Embedded projects, we think it should be doable in a few days once we have the Pis.

 

Shrutika’s Status Report for 02/15

Shrutika’s Status Report for 02/15

Weekly post #1! This week was a lot of working together as a team to make major decisions – we had several meetings including outside of class time to choose and order parts, and begin to work with what we have. We aren’t really behind