this post was submitted on 08 Dec 2025
41 points (95.6% liked)

Ask Lemmy

36005 readers
891 users here now

A Fediverse community for open-ended, thought provoking questions


Rules: (interactive)


1) Be nice and; have funDoxxing, trolling, sealioning, racism, and toxicity are not welcomed in AskLemmy. Remember what your mother said: if you can't say something nice, don't say anything at all. In addition, the site-wide Lemmy.world terms of service also apply here. Please familiarize yourself with them


2) All posts must end with a '?'This is sort of like Jeopardy. Please phrase all post titles in the form of a proper question ending with ?


3) No spamPlease do not flood the community with nonsense. Actual suspected spammers will be banned on site. No astroturfing.


4) NSFW is okay, within reasonJust remember to tag posts with either a content warning or a [NSFW] tag. Overtly sexual posts are not allowed, please direct them to either !asklemmyafterdark@lemmy.world or !asklemmynsfw@lemmynsfw.com. NSFW comments should be restricted to posts tagged [NSFW].


5) This is not a support community.
It is not a place for 'how do I?', type questions. If you have any questions regarding the site itself or would like to report a community, please direct them to Lemmy.world Support or email info@lemmy.world. For other questions check our partnered communities list, or use the search function.


6) No US Politics.
Please don't post about current US Politics. If you need to do this, try !politicaldiscussion@lemmy.world or !askusa@discuss.online


Reminder: The terms of service apply here too.

Partnered Communities:

Tech Support

No Stupid Questions

You Should Know

Reddit

Jokes

Ask Ouija


Logo design credit goes to: tubbadu


founded 2 years ago
MODERATORS
 

I've been wanting to make a 1:220 scale megacity diorama and don't know what options I have. I'm projecting I'll need to control the speed of two motors, some LEDs, and maybe a dozen or so tiny screens as digital billboards. It's the screens I'm worried most about.

I'd like to scavenge digital displays from e-waste, group them by type/resolution, and have a slideshow for each group that rotates throughout the city.

My initial idea was to use digital photo frames, but they're too big, and used ones are still too expensive for the quantity I need.

I'm assuming I will need multiple controllers(/processors?), but I don't know enough terminology to find what I need. I'm still thinking out the diorama, so if it's too hard/expensive I can just do backlit decals, but that's boring.

top 24 comments
sorted by: hot top controversial new old
[–] wildbus8979@sh.itjust.works 16 points 4 days ago* (last edited 4 days ago) (2 children)

ESP32-S3 will do everything you want and then some. And you can do it all without any programming by using ESPHome. And they are incredibly cheap (starting around $3 a board and up depending on options).

There are more suited, fancier, better options, like using STM32FX microcontrollers, but that will require more knowledge, programming skills, and you'll find it harder to get help.

[–] Steve@startrek.website 3 points 4 days ago (2 children)

Esphome is not going to run random displays

[–] YiddishMcSquidish@lemmy.today 5 points 4 days ago (2 children)

Wonder what's running this display then

Considering there's not much else on this board

[–] clay_pidgin@sh.itjust.works 3 points 3 days ago (1 children)

TBF, nothing was running the display when you took the pictures!

[–] YiddishMcSquidish@lemmy.today 3 points 3 days ago* (last edited 3 days ago) (1 children)

That's fair. It was a $10 Bitcoin lottery miner and it auto boots to the mining software and I didn't want to give them free advertisement.

But trust the display works.

[–] clay_pidgin@sh.itjust.works 2 points 3 days ago

I've no doubt; I'm just teasing!

[–] Steve@startrek.website 1 points 3 days ago (1 children)

I cant see the code in this picture…

[–] YiddishMcSquidish@lemmy.today 2 points 3 days ago (1 children)

? That's like the one thing that's super visible. It starts with "ESP32".

[–] Steve@startrek.website 2 points 3 days ago (1 children)

ESPhome is software that generates code, ESP32 is hardware.

I know the hardware is capable.

[–] YiddishMcSquidish@lemmy.today 1 points 3 days ago

Oh, my bad. I thought you were talking about the silicone. I don't really consider myself a bright person. Again super sorry if I sounded rude.

[–] wildbus8979@sh.itjust.works 4 points 4 days ago

It sure does, with its in-house display library, nexion displays, or LVGL.

[–] faythofdragons@slrpnk.net 2 points 4 days ago

Thanks, I'll look into that!

[–] Limonene@lemmy.world 4 points 3 days ago (1 children)

The atmega328 and stm32f411 are good. Both are well documented, have boards available with good peripherals, and plenty of other hobbyist projects on them.

The atmega328 is 8-bit. It was made by Atmel, which was a great company until they got bought by Microchip a decade ago. Their IDE sucks now, but you can still program them with other tools and IDEs.

The stm32f411 is 32-bit, a bit more recent, and a bit more expensive. ST microelectronics has great documentation and hobbyist support.

These are microcontrollers, so you'll be running without an operating system. If you want embedded Linux, you'll need something with an MMU and more power than a microcontroller.

The atmega328 was a fine option a decade ago, and I still love them, but they aren't what I'd recommend to someone new. The Pi Pico or an ESP32 make more sense in the current day.

This seems like a project that doesn't need super high performance nor tight timing requirements (for anything other than driving displays), so I'd recommend considering Circuitpython or Micropython instead of C++.

[–] Treczoks@lemmy.world 3 points 3 days ago

I do model building with LEGO, and I use the Raspberry Pi Pico (which is different from a Raspberry Pi). For programming, I use the Arduino environment.

The controller has two cores, and, in the version I use it, has a wifi interface.

My models are modular and have a 12V power bus, and I use DC/DC adapters to generate the 5V or 3.3V needed for some applications. I use 12V because some lights and many motors needs them.

The controller has over 20 IO pins, lots of options for i2c and SPI busses, and the PIO system allows for easily driving NeoPixel displays.

The wifi is used to connect the processors to a central Mosquitto broker, so they can communicate, e.g. coordinating light effects or reacting to a button press somewhere.

[–] clay_pidgin@sh.itjust.works 3 points 3 days ago

I don't know shit about shit, but I really want to see your WIP and finished pics! This sounds like an awesome project.

[–] tyrant@lemmy.world 5 points 4 days ago

I don't have the answer to your question but I applaud your ambition and willingness to reach out to the community before hand for help.

[–] grue@lemmy.world 5 points 4 days ago

The main thing is that (as a relative novice) you're going to want something with a good community around it. Therefore, you want either Arduino, ESP32, or Raspberry Pi Pico.

There's a bunch of different ones with different features that may have varying usefulness for your particular situation, so nobody can tell you exactly which ones to get down to the model number. You're just going to have to read the data sheets to figure out which to buy.

Regardless, any reasonable choice ought to be obtainable as off-brand clones in a multi-pack from Aliexpress for single-digit dollars per unit.

[–] neidu3@sh.itjust.works 4 points 4 days ago* (last edited 4 days ago)

Personally I'm a big fan of Adafruits ItsyBitsy 32u4. Loads of potential in a small and cheap backage. Enumerates as an arduino via the USB port, so no special hardware is requires to program it. I use one to read a PWM signal and measure the pulse width on a few channel, so I would think it's capable of outputting similar signals, which comes in handy for contrilling LEDs and small steppers.

If you want to control something a bit more power hungry via PWM you might want to look into PCA9685 which works really well with, for example, a raspberry pi zero.

[–] Blue_Morpho@lemmy.world 3 points 4 days ago (1 children)

What kind of scavenged screen? Laptops? Because non-laptop small lcds are an undocumented mess. You'd do better to buy screens that work with esp32s.

[–] faythofdragons@slrpnk.net 3 points 4 days ago* (last edited 4 days ago)

Undocumented mess, here I come

Edit: Some of these are actually pretty affordable. Hmmm

[–] solrize@lemmy.ml 2 points 4 days ago* (last edited 4 days ago) (1 children)

I think if you don't already have a more solid plan than that, then this project is probably too complicated for now, and you might start with a single display. If the origina megacity is 22 miles across (fairly small for a megacity) then 1/220th of that is 1/10th of a mile which is pretty huge. A standard 48 foot billboard would scale to 2.6 inches wide.

[–] faythofdragons@slrpnk.net 3 points 4 days ago (1 children)

It's a quasi-solid plan, lol. Most of the planning I've done has nothing to do with the question, so I left it out.

The diorama is only depicting a section of a larger, cyberpunk flavor city, and it's going to sit on a 3ft^2^ card table. One of the motors is gonna drive an elevated rail with reed switches so it pauses at the stops, and the other motor is gonna drive continuous traffic from hell on the surface level. All that is already something I know how to do with older tech. It's a homebrew variation on the Magnorail system, if you want to know more.

I'm aiming for the itty bitty displays, like you see in vapes and toys and shit. I might be able to fit a couple big ones on buildings like Times Square vibes, but generally not more than 3".

I might be insane, tbd.

[–] solrize@lemmy.ml 4 points 4 days ago

Well, MCU programming and hardware is another thing to know about ahead of time, but ok. There are tons of displays of all sizes on waveshare.com if you want. Tons more on aliexpress. A standard large billboard is apparently 48 ft wide (per web search) so you'd want to scale accordingly. Maybe with e-ink to simulate a reflective billboard. OLED's would be for neon signs and stuff.

I like the Raspberry Pi Pico because it's very well documented, but yeah, ESP32 stuff might be cheaper.

Post some pics when it's working!