Hi,
Total newbie, here. I'm a S.T.E.M. student working on a project using a Trinket-8MHz and MCP9808 on a breadboard. My team and I want to create a sensor that will trigger a fan at certain temp thresholds.
Question:
Using Ubuntu 16.04, I can successfully program the 'Blink' sketch on the Trinket. However, I can't figure out how to adjust the 'mcp9808test' sketch to communicate through the Trinket over USB, instead of 'Serial' ports. Does anyone know what I need to change in the mcp9808test sketch to overcome this aspect of the Trinket?
Thank you!
Trinket-8MHz with MCP9808 thermal sensor -- communicate over
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- PegCarter
- Posts: 2
- Joined: Thu Mar 23, 2017 8:23 am
- adafruit_support_mike
- Posts: 67454
- Joined: Thu Feb 11, 2010 2:51 pm
Re: Trinket-8MHz with MCP9808 thermal sensor -- communicate
The Trinket doesn't have a real USB-to-Serial converter, so there's really no way to get a Serial connection through the USB port.
- PegCarter
- Posts: 2
- Joined: Thu Mar 23, 2017 8:23 am
Re: Trinket-8MHz with MCP9808 thermal sensor -- communicate
Thank you for your input! Is there a small microcontroller that would work with the mcp9808?adafruit_support_mike wrote:The Trinket doesn't have a real USB-to-Serial converter, so there's really no way to get a Serial connection through the USB port.
- adafruit_support_mike
- Posts: 67454
- Joined: Thu Feb 11, 2010 2:51 pm
Re: Trinket-8MHz with MCP9808 thermal sensor -- communicate
The Arduino Uno would be the traditional choice: https://www.adafruit.com/products/50
Our Metro and Metro Mini are based on the same reference circuit:
https://www.adafruit.com/products/2488
https://www.adafruit.com/products/2590
and should be 100% compatible with the Uno. Those would be the easiest for beginners to pick up.
Our Metro and Metro Mini are based on the same reference circuit:
https://www.adafruit.com/products/2488
https://www.adafruit.com/products/2590
and should be 100% compatible with the Uno. Those would be the easiest for beginners to pick up.
Please be positive and constructive with your questions and comments.