Angel’s Status Report for 4/23

This I worked with Vivian to finalize the controller. We went to techspark and drilled in another hole for the breath control sensor, and I also helped to wire the buttons into the PVC pipe. We were able to fit all of the components into the pipe as well. Unfortunately, the new arduino nano ble that we got was faulty, so we were unable to use that board in our device. For now, we taped the other board (with breadboard attached) to the end of controller. It is not that heavy so it should not affect the experience in the meantime. I also worked with Judenique to integrate her and my parts more by testing out the learn mode.

I also tried to devise a scheme of testing bluetooth latency. I thought about sending a time to the pi and recording the difference of the time sent vs. received, but the arduino does not have access to the time. I could send messages at a set interval, but that would only get me the difference between latencies of changes, not the actual latency itself. The only thing I can think of is to write data to the arduino, from the pi, send data back when it is received, and record the latency of that (recording that halved). We are not behind schedule as we have been integrating this whole week, and will start testing next week.

Next week, I plan to work on testing, and look into other ways to reduce latency. The Pi chugs a little bit when running the web app server, sonic pi, and the ble program at once, so I’m looking into possibly connecting the arduino to a pc instead. However, after some initial research this does not seem plausible as there don’t seem to be any open source ble programs for windows like there is for the raspberry pi os.



Leave a Reply

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