This week's assignment involved
Almost identical to what my final will be: I prototyped two modules, a main controller module of a xiao esp32s3 attached to a joystick to control, and a receiver module being a xiao esp32s3 with a servo that would receive signals and move accordingly.
I began by politely asking chatgpt for a structure of what I was looking for -> code that explains to me about the WIFI connections and sending and receiving data. I had to learn more about IP and finding it through terminal.
It was very successful, the internet connection was established very easily with the xiao esp32s3s obviously with the antenna attached. I was also able to establish the connection with the servo module as well.
Next, I connected the xiao esp32s3 with the joystick module and printed the values in the Serial Monitor. This step was important for me to assess the values sent to the servo and would help debugging if necessary.
Next step was to design and mill the PCB for it to be a self-standing module. I prepared the file on KiCAD and then exported the .gbr files and process it through into a gcode file using FlatCAM.
There were initially some errors such as the end bit breaking or the PCB coming off the bed at times. However, I was able to stabilize it with the power of double sided tape and slowing down the speed for the end mills.
Here were the final results:
For more please take a look at the link below:
link