r/raspberry_pi • • 15h ago Bravo

Show-and-Tell Receipt Recipe Printer w/ Pi 3B

Thumbnail
gallery
216 Upvotes

I thought this sub might find this interesting. First time poster here. I had the idea to create an app that prints recipes on a receipt printer, in a neat and concise manner. I’m often using recipes on my phone. While cooking and prepping, the phone will lock, hands will be messy… etc. The idea was to make an app that can intake any recipe text or a URL and output a clean recipe in a nice layout on receipt printer. Uses the GPT 6 Luna model.

I made using this using Codex, Python, Flask. It’s hosted locally, but it is also set up to be used away from home using Cloudfare Tunnels.

I don’t know how to code at all, but used Codex to help build the app. It works great and prints really fast. Here are photos of the app and the output. Not sure how people feel about vibe coded things here. But this is a project that legitimately solves a problem in the kitchen. I have other neat ideas to use the receipt printer as well. I attached some photos of the output and the app.

Here are the features (AI used to summarize these):

• ⁠Raspberry Pi + Epson thermal printer — I built a primary web app that prints recipes on an Epson TM-T20III receipt printer connected to a Raspberry Pi 3B over USB.

• ⁠Rewrite a recipe — Paste a recipe URL or the recipe text. For links, the Pi pulls out the recipe from the page, then sends the text to OpenAI’s gpt-6-luna . Rewrite system prompt is written to preserve the original quantities, temperatures, times, and servings.

• ⁠Ask AI what to cook — Ask for a recipe you want. It calls OpenAI’s gpt-6-luna with web search to find or adapt a recipe. You can see the source links, and it flags recipes generated without a verified published source.

• ⁠Concise but thorough directions — Both modes use structured output with separate fields for ingredients, quantities, steps, and notes. The prompts ask for compact directions that still include what you need to cook, like oven temperature, cooking time, and how to tell when it’s done.

• ⁠Editable receipt preview — See how the recipe fits on a 48-column receipt before printing. You can edit the text as well.

• ⁠One-tap printing — Tap Print on your phone and the Pi sends the preview directly to the printer, which prints and cuts the slip. Prints very quickly.

• ⁠Saved recipes, favorites, and search — Save a recipe, search your collection, save recipe notes, filter to favorites, and reprint a saved receipt without another AI call.

• ⁠Settings — Toggle light or dark mode, pick a theme color, change the ingredient layout type and printer density, add further AI recipe style instructions, and check estimated OpenAI API spending.

Lemme know what you think, or questions!


r/raspberry_pi • • 22h ago

Community Annual December Pi Purchase Megathread: Buying a Pi for Yourself or as a Gift? Start Here

54 Upvotes

It’s that time of year when we get a flood of “Which Raspberry Pi kit/accessory/model should I buy?” posts. There’s no universal perfect kit or accessory, but most questions have the same answers, so here they are.

Before posting:

  • If you already know what you want to build, pick a project or tutorial — it will list the exact parts needed.
  • If you still want a kit, choose one that includes those parts.
  • If you want to know what a Raspberry Pi is, what it can do, or need project ideas, read the r/raspberry_pi FAQ.

All “what do I buy?” questions belong here. Do not post them anywhere else — they will be redirected here.


Which model should I get, and where’s the cheapest?

  • If you don’t know, get a Pi 5.
  • If you can’t afford it, get a Pi 4.
  • If you need tiny, get a Zero 2W.
  • If you need lowest power, get the original Zero.
  • For RAM, always get the most you can afford; you can’t upgrade it later.

Cheapest: check https://rpilocator.com/ — it tracks official resellers, so whatever it shows in stock is the fair price. Anyone charging more isn’t one of them.

Should you get an x86 PC instead? If you have to ask, get a PC.

I’m a beginner / buying a gift

  • Project in mind? Get the parts its tutorial lists, or a kit that includes them.
  • Learn programming or Linux? A Pi 5 starter kit with the official power supply, an SD card, and a case — everything needed to be up and running on day one.
  • Build gadgets, robots, or blinky lights? A Pico with a breadboard and a sensor kit. Cheaper, simpler, and it uses Arduino tutorials.
  • Not sure what they want? The Pi 5 starter kit, plus a project book or a link to the tutorials and project ideas here.

Displays and touchscreens

  • Desktop, dashboard, media player, or anything big? Any HDMI monitor or TV. No drivers, works with every Pi.
  • Touchscreen built into a project? The official Raspberry Pi touch display. It works out of the box.
  • Tiny status screen? A small OLED, chosen from a tutorial that uses that exact screen.

If a listing doesn’t say which Pi models it supports, skip it.

Cases and cooling

  • Just the Pi? The official case for your model.
  • Pi plus a HAT, screen, or SSD? A case made for that exact combination, so everything fits and air still flows.
  • Running flat out 24/7? A case with a fan, or a solid metal case that acts as a heatsink.
  • Want it silent? A fanless metal case.
  • Outdoors? A weatherproof enclosure with vents, mounted in the shade.

Power

  • Plugged into the wall? The official power supply for your model. Phone chargers often can’t hold a steady 5 V, which causes crashes.
  • Lots of USB devices or drives? A powered USB hub.
  • On a battery? Add up the current of the Pi plus everything attached, and multiply by the hours you want it to run. That’s the mAh you need. Make sure it delivers that current at 5 V; the watt rating doesn’t tell you.
  • Needs to survive a power cut? A UPS HAT made for your model.

Still stuck? Ask below with what you’re building and your budget, not just “which kit is best.” Share your questions, experiences, and guidance without cluttering the rest of the community.


† If any links don't work it's because you're using a broken reddit client. Please contact the developer of your reddit client. You can find the FAQ/Helpdesk at the top of r/raspberry_pi: Desktop view / Phone view


r/raspberry_pi • • 8h ago

Show-and-Tell CM4 mesh radio node: HaLow & push to talk integrated for my off-grid communications program.

Post image
12 Upvotes

Been working on this for a bit and learning a ton along the way. This node pairs with my custom ATAK bridging program you can find on my github: https://github.com/TakMeshTOC/tak-mesh-toc

Hardware:

- CM4 on a waveshare CM4 Nano

- Waveshare UPS 3x 18650s

- Custom sound card PCB for headset audio and push to talk. Keys up voice like a standard radio.

- Halow radio on spi with external antennas.

Part of my larger project that pairs with my PI4 based pelican computer and starlink mini to facilitate communications for my family and friends.


r/raspberry_pi • • 4h ago

Troubleshooting WiFi Woes: Cannot Connect Pi to WiFi

3 Upvotes

*I am still very much a noob, so please ELI5.

I have a Raspberry Pi 3B that was previously working fine, however due to someone unplugging it while running, the OS may have been corrupted. So, I reflashed the OS to the SD card using the Pi imaging tool; I used the most recent version - Trixie. Since I'm going to need to use Pi Connect in the future, I entered all of the WiFi information when the card was being flashed. When I booted the Pi into the freshly flashed SD card, it booted fine, however it stubbornly will not connect to my router. I keep getting the following error:

Authentication required by WiFi network - Passwords or encryption keys are required to access the Wi-Fi network "name of network".

No matter how many times I verify and reenter the password, it fails. I noticed there is an open wifi network in my building, so as a test I tried to connect to that one. That was successful. I am at a loss, and need help. A few more details:

  • The router is a WiFi 6 router
  • WPA-3
  • I cannot access the router settings, due to it being a managed router that was forced on the tenants of the building
  • I have tried removing and re-adding the WiFi network to the Pi
  • I tried removing the network, and then re-adding it via the command line. When I did that, I received the following: "There was an error running option S1 Wireless LAN"
  • I have verified that the country code localization is accurate

Nothing is working - what am I missing? Please help!

Edit: each apartment has their own router.