5
submitted 1 week ago* (last edited 1 week ago) by q1p_@lemmy.zip to c/nostupidquestions@lemmy.world

Hi,

I have a working project (well almost) running on an ESP32-S3 with 8MB PSRAM and 320kb internal RAM.

On Core 0 I'm doing WiFi, HTTP client, OTA, LCD Display management, Microphone, Websockets, ESP-SR (wake word detection), basically all management.

On Core 1 I have two tasks, one to fill up a buffer for audio output and one to actually play the audio.

I figured out that in order to be able to play the filled audio without lagging/interruptions I need to process the audio and the received stream buffer in internal RAM (not PSRAM).

My resources on ESP32-S3 are not enough. I can't move most of the stuff to PSRAM because it needs the internal RAM. Not enough Heap.

So everything works, even the audio playback but with lagging. The PSRAM is too slow for such operations.

In this situation, would you upgrade to the ESP32-P4-WIFI by Waveshare or do you see another option?

EDIT: I know that I could write the full stream to PSRAM and then start playing after it finishes but that wouldn't be the real deal. I want responsiveness.

10
submitted 4 weeks ago* (last edited 4 weeks ago) by q1p_@lemmy.zip to c/hardware@lemmy.ml

Hi,

here's an incomplete list of hardware I already own:

  • 3x ESP32-S3-N16R8
  • 1x OV2640 cam
  • 3x ESP32-NodeMCU
  • 4x Raspberry Pico 2W (RP2350)
  • 1x Arduino Uno
  • 2x Raspberry Pi Zero 2W
  • 5x 2-channel optocoupler relay modules
  • 1x 1-channel relay galvanically isolated
  • 5x Logic Level Shifter 3.3V <-> 5V (I2C compatible)
  • 2x LoRa Hats for Raspberry Pico 2W
  • 1x OLED Display Hat for Raspberry Pico 2W
  • 1x eInk Display Hat for Raspberry Pico 2W
  • 1x LCD Display
  • 2x 3,5" Resistive Touch Displays
  • 5x IR-Sensor
  • 5x IR-Transmitter
  • 1x Waveshare Solar Power Manager D
  • 1x Solar Panel 18V10W
  • 3x 3300 mAh batteries
  • 1x RTC-module
  • 2x Temp sensor
  • 1x NFC-Reader + Cards + Tags
  • 1x Dual GPIO extender for the Pico 2W
  • 1x Motor
  • Resistors
  • Capacitors
  • microUSB / USB-C wires
  • Multimeter
  • A solder station
  • Jumper wires
  • Breadboards

Is there anything I'm missing? I usually like to do stuff with encryption, machine learning, transmission of data, controlling devices.

25
submitted 1 month ago* (last edited 1 month ago) by q1p_@lemmy.zip to c/asklemmy@lemmy.ml

Hello,

I hope my question suits this community.

I've been working the past 72 hours reverse engineering an undocumented BLE mesh lamp. The process involved decompiling an apk, capturing bluetooth packets, checking how other people reverse engineered, checking and reading lots of related repositories, but finally (I'm so happy) it's working!

In simple terms: I can now fully control my ceiling lamp (color, brightness, on/off, white color temperature) with a Python script.

I was thinking about wrapping FastAPI around it to expose API endpoints and run it on my Raspberry Pi Zero and then use my laptop to turn on / off or change the color when something happens.

But which event or what should happen to turn the light on/off?

EDIT: If you own this lamp and you're actively searching for code repositories on Github regarding this lamp, you will find it. I just don't want to post a public link here.

23

Hello,

a Lemmy community member told me about uBlacklist.

Personally, I don't want to block any pages from search results because I (think that I) might miss important information from search results. On the other hand, I noticed that my "unfiltered" search results on Google or Bing are really bad. I pay for Kagi.com currently.

So, how is your experience? Which lists can you recommend? How does it affect your search experience with Google, Bing or any other search engine?

[-] q1p_@lemmy.zip 11 points 2 months ago

New build pushed. But it will take 24 hours for Apple review.

[-] q1p_@lemmy.zip 7 points 2 months ago* (last edited 2 months ago)

I'm planning to get a license but I'm not in the US. If I get the license in US, can I use it anywhere or is it only specific to that country? I wish I had my little satellite up in space already, my small space-buddy. :)

EDIT: Unfortunately, I have to do it in Germany. Germany has extra high requirements :/

[-] q1p_@lemmy.zip 18 points 2 months ago

I will push a new build in a few minutes. Thank you for suggesting this.

[-] q1p_@lemmy.zip 7 points 2 months ago

You're right, and it's okay for me.

[-] q1p_@lemmy.zip 14 points 2 months ago

I will change this tonight. Which version do you suggest setting the iOS version requirements to?

82
submitted 2 months ago* (last edited 2 months ago) by q1p_@lemmy.zip to c/nostupidquestions@lemmy.world

Hello,

I'm into microcontrollers and programming and would love to send my own small cube satellite into space (one day).

But there are a few things I have zero experience with, and these are:

  • When the satellite is in space, it needs to correct its position to always point the camera on earth
  • During launch of the rocket my cube sat needs to be as robust as possible
  • I can not manufacture the case myself
  • Power supply + battery
  • Providing in-orbit (OTA) updates - This needs to be bullet-proof working
  • Space RF communication protocols and best-use technologies - I need to read about it more
  • Software security best practices in orbit
  • Suitable ground station hardware
  • Which deployment orbit
  • Deployment mechanism
  • Radiation-hardened MCUs and SBCs - Which models? I just know consumer models like ESP32, STM, Raspberry Pico, Arduino, etc.

Can you recommend a good read on that? A book or pdf? Is there anyone with experience?

(This project is btw on my bucket list before I die, it's not urgent though)

Best,
q1p_

[-] q1p_@lemmy.zip 8 points 2 months ago* (last edited 2 months ago)

The default settings work best but if you want, you can also block web fonts. That could cause some websites to break, so use with caution.

Edit: Oh, I forgot to say, you can always share your experience here. Would love to hear. :)

[-] q1p_@lemmy.zip 9 points 2 months ago

Don't say that, I bet you're doing awesome ! :)

[-] q1p_@lemmy.zip 9 points 2 months ago
[-] q1p_@lemmy.zip 16 points 2 months ago

Yes, I'd love to make an Android version too. But I don't have an Android phone to test on. Technically could use a Android simulator device but my Macbook is probably to slow to handle it. But I will give it a try.

[-] q1p_@lemmy.zip 13 points 2 months ago

I think I will make it open source in a few days :)

17
submitted 2 months ago by q1p_@lemmy.zip to c/mobiledev@programming.dev

Hey,

my phone plan (free plan) allows surfing the web for free but with very slow speeds between 32 kbps and 64 kbps. Safari would not load pages and just display website is not reachable due to a timeout. So, I came up with the idea to build a frugal text browser with some nice features that works with my phone plan.

I can disable loading images, media or web fonts. I can set an ad blocking DNS. I can even use LLMs with my slow connection. In settings you can set your own LLM base url and api key. In an emergency situation this is amazing!

I hope other people enjoy it as much as I do. It's completely free.

The app is called Narrow32, search in App Store :)

Btw: The community guided me to !imadethis@lemmy.zip

188
submitted 2 months ago* (last edited 2 months ago) by q1p_@lemmy.zip to c/imadethis@lemmy.zip

Hey,

my phone plan (free plan) allows surfing the web for free but with very slow speeds between 32 kbps and 64 kbps. Safari would not load pages and just display website is not reachable due to a timeout. So, I came up with the idea to build a frugal text browser with some nice features that works with my phone plan.

I can disable loading images, media or web fonts. I can set an ad blocking DNS. I can even use LLMs with my slow connection. In settings you can set your own LLM base url and api key. In an emergency situation this is amazing!

I hope other people enjoy it as much as I do. It's completely free.

The app is called Narrow32, search in App Store :)

Btw: The community guided me to !imadethis@lemmy.zip

30
submitted 2 months ago* (last edited 2 months ago) by q1p_@lemmy.zip to c/nostupidquestions@lemmy.world

Hello,

I built an iOS app (got approved by Apple today) using Swift. The app uses native iOS Swift libraries. What is the best approach to port my app to Android?

49
submitted 2 months ago by q1p_@lemmy.zip to c/selfhosted@lemmy.world

Hey,

I know it sucks to rely on cloud services but it is what it is. I use Apple iCloud, Bitwarden and GitHub.

Technically, I could self-host all three but I want my backups not at my place or at least have them in both places cloud/at home.

I do have two spare Raspberry Pi Zero 2W and one small computer with an old i5 / 8 GB RAM.

What do you personally self-host?

[-] q1p_@lemmy.zip 9 points 3 months ago
  • P*rn premium subscriptions
  • Tinder premium
  • Paper news subscription or any printed magazine
  • Paid tv channels
36

Hi,

I'm currently working on multiple apps/projects and would like to show them to the world. Which community can I use on lemmy?

Best, q1p_

[-] q1p_@lemmy.zip 6 points 3 months ago

I have a spare Raspberry Pi Zero and I actually want to do exactly this but I have concerns since it shows pictures also. Some people might upload or send pictures against the law. Maybe I can integrate a moderation AI model. But this is a side project, I have to care about my main project.

203
submitted 3 months ago* (last edited 3 months ago) by q1p_@lemmy.zip to c/selfhosted@lemmy.world

Hi,

this is my first post on lemmy and I couldn't find another community that fits better for posting this project.

I saw this idea somewhere else and I wanted to build it for myself because I was fascinated by it. So I did. You can enter your nick name, a message (optional email address and image) and send it to me. It will print immediately and I will see your message. There's also an easter egg that you can discover. :)

I am using a Phomemo M02 Pro thermal printer. Made with Python (printer communication via bleak, phomemo_printer, PIL) and Node/Express.js. With my Python script I poll the data from the backend to print.

https://i.ibb.co/zwzGd4X/img.jpg

https://i.ibb.co/ZpFxbbRT/IMG-1502.jpg

The messages I already got are so funny and positive haha. I think I will cut them all out and scan them.

EDIT: I just woke up and saw all the messages. Thank you so much :)

EDIT2: I got a few messages that made me smile. Very original. Positive messages from all around the world. Since I got almost 200 messages and over 30 images, I think I will pick the most original and funny ones and post here an update

EDIT3: I got a few messages saying that I should hook up a web cam and stream it. I'm thinking about it but since I'm moving to a new place, I think I'm going to do afterwards. Also I'd need something like this: https://www.amazon.de/-/en/Soldering-Accessories-Helping-Jewellery-Workshop/dp/B0BHVJSRRN that I can order when I'm at my new place to place the Raspberry Pi Zero with the camera (OV3660) into the right position for streaming.

view more: next ›

q1p_

0 post score
0 comment score
joined 3 months ago