Please see open the tabs to see the specific actions that each section demands and the percentage of the action achieved.
In this week we did some general sketches.
Relevant Questions:
For this week I designed a fusion model for smart trap that I am building. Some of the questions. I have are:
This week I looked for potential rolls of sticky tape. Some of the characteristics that we were looking for were:
Luckily, I discovered a roll of sticky tape from a crop protection equipment supplier based in Spain. The roll is very small and contains up-to 6 meters of sticky tape, and has a length of 10.5 cm and a width of 4.81 cm. The price was about 5.86 euros per roll. It was the only roll that had a waxy layer on one side of the tape. The color is not yellow is blue which is supposed to attract thrips.
A point to make is that the tape is semi translucent and you can see patches of glue which might not be ideal for object detection it might be necessary to place it against a white background.
During this week of embedded electronics, I tested the microntroller XIAO ESP32 S3 sense. This microcontroller has a camera and wifi capabilities which is perfect for my device. I tried to make it work both in C++ and micro python. Thereafter, I tried to send pictures through WiFi to my computer but this is still a work in progress.
Relevant Questions: Processing of the pictures for
object detection (applying weights) and image processing should be done
on the micro-controller or in the computer. That’s is the difference
between sending a picture or a vector with counts.
This week I printed some holders for holing the bearings that will help facilitate the rotation of the sticky trap roll. I printed the piece in white PLA filament.
The peripherals I will be using for my project are:
with following electrical specifications:
and
a DC motor,with following electrical specifications:
12VDC
Current@ Max Efficiency (RPM): 120
Current @ Max. Efficiency (mA) 74
Price: 10.95 US$
In order to work with the motor we need to have a larger power source that the XIAO ESP32S3 can handle. At least a 9V battery or higher. Ideally, we can utilize this battery to power also the ESP32 therefore, we will need also a module to reduce the power from 9 or 12V to 5 volts. In addition we will need to get a half h bridge driver to operate the motors
I watched a video on how to use motor drivers
https://www.youtube.com/watch?v=NIx_KycgOJM
I looked at different videos and found this particularly useful. From the table in this video we can see that the TB6612FNG is in the range of voltage that we need is not expensive and has very low current standby mode.
https://www.youtube.com/watch?v=PVyAcgYkzDs
We can find the pin out for this half bridge below from electropeak:
I found that the following site has a robot car project where the electronic requirements are quite similar to mine, I think I could apply their circuit schematics.
Here I have tried to replicated using Kicad.
For this I week I tested the temperature and relative humidity sensor I outlined in week 6.
I as well built a mdf case for mounting the camera for testing
Testing of the camera indicated that the light is very low, and the angle view (66 deg) was not sufficient to cover a good portion of the sticky tape.
I ordered a new camera that has a larger field view (120 deg.)
I also cut a acrylic roof to allow more light in which I still need to test.
For this week I fabricated a PCB board for my bridge.
and I also tested the bridge and the motor using a 9V battery that feeds the motor and the Xiao controller using a voltage reductor.
I also designed and 3D printed an axis to mount the Sticky Tape roll.
Finally, I tested the system to assess if the DC motor was strong enough to roll the tape.
The motor and the motor-tape axis works well.
For this week I wrote some scripts to transfer images and files between a server and two clients.
I also milled a board that will be used for the Xiao Server. This board is also connected to SD card reader that will be useful in storing the data from camera traps.
I was able to send images and text files between two Xiaos.
There were some problems in sending pictures between the Xiao server and my computer specifically I could transfer an entire picture.