Animated Flame with other Controller

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
KaMeCache
 
Posts: 5
Joined: Sun Jan 02, 2022 12:54 pm

Animated Flame with other Controller

Post by KaMeCache »

Hi,
at the Productpage of the Adafruit Pro Trinket - 3V 12MHz is written "The Pro Trinket bit-bang USB technique it uses doesn't work as well as it did in 2014, many modern computers won't work well"

My question is, which one should I use now for the flame project?

Thank you!

User avatar
adafruit_support_bill
 
Posts: 88093
Joined: Sat Feb 07, 2009 10:11 am

Re: Animated Flame with other Controller

Post by adafruit_support_bill »

You could use the ItsyBitsy 32U4: https://www.adafruit.com/product/3675

User avatar
KaMeCache
 
Posts: 5
Joined: Sun Jan 02, 2022 12:54 pm

Re: Animated Flame with other Controller

Post by KaMeCache »

Thank you for the fast reply.

It has only 8 MHz and not 12 like the Trinket, is this enough?

User avatar
adafruit_support_bill
 
Posts: 88093
Joined: Sat Feb 07, 2009 10:11 am

Re: Animated Flame with other Controller

Post by adafruit_support_bill »

Are you doing Phil Burgess's Animated Flame Pendant? https://learn.adafruit.com/animated-flame-pendant

Speed should not be too much of an issue since there is idle time between frames. However looking closer at the code, the processor powers down between frames. And the code to do that is pretty specific to the Atmega328p processor. You could probably hack it to work with the 32U4 which is in the same processor family. But it would be easier to stick with an Atmega328p-based board.

Your best bet is probably the Metro Mini 328 which runs at 16MHz. https://www.adafruit.com/product/2590

User avatar
KaMeCache
 
Posts: 5
Joined: Sun Jan 02, 2022 12:54 pm

Re: Animated Flame with other Controller

Post by KaMeCache »

Yes thats the project.

I did only arduino and esp8266 projects with arduino ide an, till today.

I would like to do this project by only copy the code to the controller.

User avatar
adafruit_support_bill
 
Posts: 88093
Joined: Sat Feb 07, 2009 10:11 am

Re: Animated Flame with other Controller

Post by adafruit_support_bill »

The code should work without changes on the Metro Mini 328.

User avatar
KaMeCache
 
Posts: 5
Joined: Sun Jan 02, 2022 12:54 pm

Re: Animated Flame with other Controller

Post by KaMeCache »

Thank you for ultra fast reply, again.

Is there any possibility to use a 3.3v controller? i would like to use and lipo 3,7V battery and loading controller as well ...

That i just replace the controller from the list of the project.

User avatar
adafruit_support_bill
 
Posts: 88093
Joined: Sat Feb 07, 2009 10:11 am

Re: Animated Flame with other Controller

Post by adafruit_support_bill »

There is the Feather 328P here: https://www.adafruit.com/product/3458
That is an 8 MHz board. You may need to slow down the i2c bus as noted in the guide:
It runs equally well on a 3V or 5V Pro Trinket…if you already have a 5V Pro Trinket around, that’s fine and you can use it…the 3V board is just a tiny bit more power-efficient and the battery will last a little longer. You may need to remove the part where we change I2C speed to 400 KHz but only do that if 400 KHz doesn't work on the Trinket 3.3V!

User avatar
KaMeCache
 
Posts: 5
Joined: Sun Jan 02, 2022 12:54 pm

Re: Animated Flame with other Controller

Post by KaMeCache »

Thank you, i will try.

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

Return to “Trinket ATTiny, Trinket M0”