zookzook / tv-b-gone-smd

The TV B Gone circuit as smd version and using the Arduino IDE for compiling
5 stars 1 forks source link

Porting to ESP32-S2? #1

Open glowingkitty opened 2 years ago

glowingkitty commented 2 years ago

Hey there. Thanks for the work with this SMD version of TV-B gone ^.^ Since I find the ESP32-S2 easier to buy then the Attiny85, I was thinking about building an SMD version of TV-B gone with the ESP32-S2. Are you aware of any possible reasons why this shouldn't work or should be tricky? Anything I should consider changing in the code?

zookzook commented 2 years ago

Hey,

mmmm....good question. The only thing (that I can remember) is about the signal timing of the LEDs. The ESP32-S2 has more timers so you need to find and configure the right time for sending the signal.

glowingkitty commented 2 years ago

so you defined the correct timing for the Attiny85 in the code? In what part of the code would I need to look for that? Also, since I don't have a TV at home or at the local Hackspace where I mostly work on electronics - any recommendations how else one can test the tv b gone?:D With an oscilloscope?

glowingkitty commented 2 years ago

oh and what about porting to an rp2040 instead? Same story?

zookzook commented 2 years ago

Check this function: https://github.com/zookzook/tv-b-gone-smd/blob/e84a07bffbf0dc2af1246818fa87e6c1f06e40c9/Arduino-TV-B-Gone/Arduino-TV-B-Gone.ino#L94-L126

zookzook commented 2 years ago

Maybe you just buy an Attiny85 :-)

glowingkitty commented 2 years ago

Maybe you just buy an Attiny85 :-)

If I would find a place where they are in stock… sure ;)