Trinket-8MHz with MCP9808 thermal sensor -- communicate over

Post here about your Arduino projects, get help - for Adafruit customers!

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
PegCarter
 
Posts: 2
Joined: Thu Mar 23, 2017 8:23 am

Trinket-8MHz with MCP9808 thermal sensor -- communicate over

Post by PegCarter »

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!

User avatar
adafruit_support_mike
 
Posts: 67454
Joined: Thu Feb 11, 2010 2:51 pm

Re: Trinket-8MHz with MCP9808 thermal sensor -- communicate

Post by adafruit_support_mike »

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.

User avatar
PegCarter
 
Posts: 2
Joined: Thu Mar 23, 2017 8:23 am

Re: Trinket-8MHz with MCP9808 thermal sensor -- communicate

Post by PegCarter »

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.
Thank you for your input! Is there a small microcontroller that would work with the mcp9808?

User avatar
adafruit_support_mike
 
Posts: 67454
Joined: Thu Feb 11, 2010 2:51 pm

Re: Trinket-8MHz with MCP9808 thermal sensor -- communicate

Post by adafruit_support_mike »

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.

Locked
Please be positive and constructive with your questions and comments.

Return to “Arduino”