MPM3610 and Trinket M0

Adafruit's tiny microcontroller platform. Please tell us which board you are using.
For CircuitPython issues, ask in the Adafruit CircuitPython forum.

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
Priam
 
Posts: 15
Joined: Sun Nov 12, 2017 12:44 am

MPM3610 and Trinket M0

Post by Priam »

Hi folks.

I have a Trinket M0 with some NeoPixels rings connected, using CircuitPython to control them. I have an MPM3610 board and I was thinking, can I connect this to an existing 12v LED to read when the LED receives voltage, and also connect it to the Trinket so when the LED turns on I can have the Trinket change the pattern and color of the NeoPixels?

Essentially, connecting the Vin pin on the MPM3610 to read the LED when it receives power, then connect the MPM3610's 3.3V pin to one of the input pins on the Trinket? And when that pin on the Trinket receives power then my CircuitPython code will execute a separate loop.

I'm pretty sure I can figure out the code, just not sure if I can connect up an MPM3610 to a Trinket M0 like this.

Thanks!

User avatar
adafruit_support_carter
 
Posts: 29150
Joined: Tue Nov 29, 2016 2:45 pm

Re: MPM3610 and Trinket M0

Post by adafruit_support_carter »

A voltage divider might be a better option. Just divide the 12V down to 3V.

User avatar
Priam
 
Posts: 15
Joined: Sun Nov 12, 2017 12:44 am

Re: MPM3610 and Trinket M0

Post by Priam »

Ah, yes, that sounds much less complex, thanks. With a R1 value of 10k, and an R2 value of 3300 that'll get me 3V. The Trinket says 3.3V volts. Will the 3V be sufficient for logic?

User avatar
adafruit_support_carter
 
Posts: 29150
Joined: Tue Nov 29, 2016 2:45 pm

Re: MPM3610 and Trinket M0

Post by adafruit_support_carter »

Should be fine. There's a fuzz band around the high / low logic levels. "high" doesn't need to be 3.300000000000V, just greater than some threshold, which is typically around 2.4V for 3V logic.

User avatar
Priam
 
Posts: 15
Joined: Sun Nov 12, 2017 12:44 am

Re: MPM3610 and Trinket M0

Post by Priam »

Thank you!

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

Return to “Trinket ATTiny, Trinket M0”