Wednesday, June 28, 2017

Day 13: Quick addition!

Regarding the coding problems, I wanted to give some details.

After working with Dr. Forrest Stonedahl today, a solution for getting other machines to work with the Arduino we're using (which is a BottleLogger v2.0.0) was found. We took copies of the Arduino installation in Program Files(x86)\Arduino, and everything in appdata\local\Arduino15 from Dr. Susa Stonedahl's computer, and placed them on the machines we want to use with the Arduino. Previously, we hadn't copied the appdata folders, but this seems to have cracked the problem.

There was an additional complication, where the first laptop we tested this solution on continued having problems getting the Arduino to do what it was programmed to do. It's been determined that the laptop has an issue powering the Arduino, however, it compiled and uploaded the program to the Arduino without any major issues. A possible solution to this problem is to use a powered USB hub while using that laptop. Then the hub provides the power, and not the laptop.

Another issue we came across, although it may be related to that laptop's electrical problem, is that when things power on on the same circuit as the Arduino, an error occurs when communicating over the serial port. It is believed that using a strong surge protector (which is a good idea to use in any case) might be a sufficient solution for this problem.

The great news is that I am now able to use my own machine for compiling code and uploading to the Arduino, and (hopefully) all future deals with this particular Arduino can be managed with whatever (Windows 7+) machine is needed.

One last technical issue before we closed out the day: One of the pressure transducers came loose from the Arduino. I'll need to bring my small electronics toolkit with me tomorrow to reattach it.

No comments:

Post a Comment