Vicky’s Status Report for March 22

This week:

  1. Gameplay: I fixed the local npm run issue on my end by modifying the vite.config file and my local npm vite setting. I continued working together with Min Ji on the standard mode testing on touch screen. I also updated the code base on rpi, and tested the challenged mode gameplay together with Fei.
  2. Web page: I updated the homescreen of the question custimization website, modified the input question and answer format, make sure it can be real-time transformed into a csv file ready for cloud upload / local download. I created a supabase project and linked the url and passkey it to the webpage react code. There is an row-level security issue that is blocking the page from writing to the database. I plan to resolve this by making an .env file with passkey authentication, connect the react app to a google sheet for read, and make authenticated user writes to it.
      
  3. Kiosk display: I set up the rpi system kiosk mode for general chromium websites view by making a runkiosk.sh script that makes rpi open chromium and go to a specific website, and editing rpi’s Wayfire initialisation file to make sure the script is opened once the rpi boots up. However this is not ideal to our current project position due to the website not deployed yet. I will swtich to single command-line browser kiosk mode for future gameplay views till we have a deployed site.
  4. Servo control: I finished writing the arduino program for the control of 4 motors and a test program where the motor to be turned (1-4) is entered in command line and the motor turns 360 degrees for a single dispense cycle. The servo motors’ setting was 0-180 degrees on both sides so making a 360-degree turn need to be done sequentially twice. Video
  5. Mechanical box design: I have discussed with Min Ji on the CAD design of the physical machine body. We have decided to not use screws but to use box joints to interlock the MDF boards since we now are using a thicker wood. We also clarified the inside compartment arrangement and how they will be connected to the outer panels.

Our progress is still behind in terms of integration. We plan to work on assembling the machine next week along with software further cleanup and debugging. For next week I am going to:

  1. Make the laser cut CAD files for the six outside panels and two compartment panels inside.
  2. Make the arduino work together with the rpi item selection signal and dispense.
  3. Glue the servo motors to wire spirals, make secure wire connection long enought to allow item refills.
  4. Work together with team on machine assembly.

Leave a Reply

Your email address will not be published. Required fields are marked *