I found a USB↔Serial converter in my stuff, but it wasn't one I used before, and it was an eBay cheapy, so it was a gamble that paid off when it worked. I got lucky. The pinout on the converter was not the typical arrangement, so I had to map which wires were coming off the Arduino and their order. Even after that, I got them backward. As a test, I downloaded the BLINK program and renumbered it to activate the motor instead. After a moment, the movement vibrated a wire off, and I had to solder it back.
I saved a new copy of the code and commented out all the Bluetooth code and did my best to send that information to the serial port instead. It may not be useful, but it shouldn't hurt at this stage. When I uploaded the code, the only reading that came through was -000.006 degrees. Then I tried the example code, and it reported that it couldn't find the sensor board. I looked online and found David Pilling, who advised shorting the data type pins and grounding the "I2C" via. This time I got a reading!
The rest of the posts for this project have been arranged by date.
Completed projects from year 1
Completed projects from year 2
Completed projects from year 3
Completed projects from year 4
Completed projects from year 5
Completed projects from year 6
Completed projects from year 7
Disclaimer for http://24hourengineer.blogspot.com and 24HourEngineer.com
This disclaimer must be intact and whole. This disclaimer must be included if a project is distributed.
All information on this blog, or linked by this blog, is not to be taken as advice or solicitation. Anyone attempting to replicate, in whole or in part, is responsible for the outcome and procedure. Any loss of functionality, money, property, or similar, is the responsibility of those involved in the replication.
All digital communication regarding the email address 24hourengineer@gmail.com becomes the intellectual property of Brian McEvoy. Any information contained within these messages may be distributed or retained at the discretion of Brian McEvoy. Any email sent to this address, or any email account owned by Brian McEvoy, cannot be used to claim property or assets.
Comments to the blog may be utilized or erased at the discretion of the owner. No one posting may claim property or assets based on their post.
This blog, including pictures and text, is copyright to Brian McEvoy.
2020-08-03
I saved a new copy of the code and commented out all the Bluetooth code and did my best to send that information to the serial port instead. It may not be useful, but it shouldn't hurt at this stage. When I uploaded the code, the only reading that came through was -000.006 degrees. Then I tried the example code, and it reported that it couldn't find the sensor board. I looked online and found David Pilling, who advised shorting the data type pins and grounding the "I2C" via. This time I got a reading!
USB↔Serial adapter, crossover cable and minimal Cardinal
GitHub repo for Cardinal, aka InCompass
Completed projects from year 1
Completed projects from year 2
Completed projects from year 3
Completed projects from year 4
Completed projects from year 5
Completed projects from year 6
Completed projects from year 7
Disclaimer for http://24hourengineer.blogspot.com and 24HourEngineer.com
This disclaimer must be intact and whole. This disclaimer must be included if a project is distributed.
All information on this blog, or linked by this blog, is not to be taken as advice or solicitation. Anyone attempting to replicate, in whole or in part, is responsible for the outcome and procedure. Any loss of functionality, money, property, or similar, is the responsibility of those involved in the replication.
All digital communication regarding the email address 24hourengineer@gmail.com becomes the intellectual property of Brian McEvoy. Any information contained within these messages may be distributed or retained at the discretion of Brian McEvoy. Any email sent to this address, or any email account owned by Brian McEvoy, cannot be used to claim property or assets.
Comments to the blog may be utilized or erased at the discretion of the owner. No one posting may claim property or assets based on their post.
This blog, including pictures and text, is copyright to Brian McEvoy.
2020-08-03
Comments
Post a Comment