this post was submitted on 11 Feb 2024
245 points (92.7% liked)
Technology
59424 readers
2928 users here now
This is a most excellent place for technology news and articles.
Our Rules
- Follow the lemmy.world rules.
- Only tech related content.
- Be excellent to each another!
- Mod approved content bots can post up to 10 articles per day.
- Threads asking for personal tech support may be deleted.
- Politics threads may be removed.
- No memes allowed as posts, OK to post as comments.
- Only approved bots from the list below, to ask if your bot can be added please contact us.
- Check for duplicates before posting, duplicates may be removed
Approved Bots
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
The ESP32s are nice chips, but the STM32s are also really nice to work with and will work fine for this task. Changing to an ESP32 wouldn't make any real difference to the user so the choice is moot really.
I've designed products around both CPUs and they're both pretty nice. The STM32 has somewhat better documentation, has cleaner low power modes and is a bit simpler when delving into the nitty gritty details. The ESP is more powerful and has some nice if complex features but I don't like its low power handling as much.
Overall I think I'd choose the STM32 for this task since it's a little easier to make small, battery powered devices with it.
From the limited reading I've done on the subject, it seemed like a lot of power in the Flipper was based around wireless testing (both wifi and bluetooth) although I also saw a number of things based around other bands. I guess I'm just not following why this was considered an add-on when the ESP32 has all that stuff built in already (and you can certainly shut down the radios to save power when you're not using them)? Plus it also includes native support for other popular busses like I2C, I2S, and CAN so it seems like it could be useful for sniffing out what's attached to a lot of different types of connections. Maybe I'm just straying outside the realm of basic pentesting, the idea just caught my attention about how handy it might be to have a small device that could work with a lot of different types of electronics.
The STM32WB55 in the flipper has a versatile wireless peripheral built in which can be used to implement various protocols including Bluetooth, zigbee, etc.. Support for I2C, I2S and CAN is pretty standard stuff - the ESP32 is nothing special in these respects.
Maybe they chose the STM32WB55 because its wireless support is more flexible than the ESP32 and allows them to implement a wider variety of protocols? Or possibly just better documented, giving them the chance to do things they can't on the ESP32? I haven't compared the inner workings of the two chips' wireless support so I can't say for sure.
Hmm interesting. I'll have to dig more into this chip to see what it's about. I know the ESP32 is usually avoided when battery life is a high consideration, I haven't really played around with anything other than a few ardunos and the ESP8266 so I don't have much to compare it with. I guess I've just seen so many projects where someone tagged on an ESP chip to an arduino project just to get wireless capabilities with no understanding that the ESP series is quite a lot more powerful than the arduinos (some people I've talked to literally had no idea the ESP chips were programmable microcontrollers) so it's easy to jump the gun and assume that's what is happening in other projects also.