

I’m on Lemmy.zip and someone said that I would fit into that community. Would I recommend it? Yes.


I’m on Lemmy.zip and someone said that I would fit into that community. Would I recommend it? Yes.
The connection is bi-directional with different states.
EDIT: I fixed the issue I had with dynamic buffer allocation (I’m dynamically calculating the buffer length based on stream metrics). But will order the P4 anyway, because I want to get my hands on it.
At max I just need a few MB for reading a websocket response into internal RAM and to feed the audio loop that is running on Core 1. The issue is that the Network delivers at around 25 KB/s but the audio playback consumes 48 KB/s (buffer underrun). I can’t lower the sample rate (I tried). I’d change to another codec like Opus but Deepgram API does only support PCM (linear) at 24 KHz. I tried setting other output formats but it’s not working. Technically I could decode Opus.
The flow is this: TTS -> Websocket -> PSRAM (slow) -> I2S (DMA 8x1024) -> DAC -> Speaker
DRAM free about 50 kb, PSRAM plenty (6-7 MB)


I was just brain storming. But makes sense. ++


What if there was platform that collects money (in a subscription model) and shares equally with all open source contributers? Or: The more you bring to the table, the more you get + other metrics. Like a Netflix for code basically. If you make enough money by your contributions, you get free acccess to code. The price could be so low that everyone would be able to afford it. Or if you upload one open source repo of your own, you get free access.


Impressive knowledge. It would be cool to experiment with it but when I do microcontroller projects I usually wire the MCU board right next to the module I’m controlling. I can imagine though that it’s easier to put the microcontroller right next to a reliable power source and then use CAN to control/read/write the device/module from a further distance. But wait, why wouldn’t I use a wireless protocol instead?
For my ATTtiny 85 chips I have a Arduino shield that I wired up. For ATTiny 84 and ATMega 328p I have USB driven boards with ZIF sockets to make inserting/removing the microcontroller chips easier. Basically really cheap ones I found on Aliexpress years ago and they keep working just fine.
I was actually just reading about the different protocols that can be used to flash an unsoldered microprocessor and I came to the conclusion that I can flash most of the MCUs with hardware I already have. I can flash the ATtiny MCUs and ATmega MCUs with the Arduino Uno as an ISP using jumper wires. I can also flash one ESP32 with another ESP32 by, for example, loading an esp-usb-bridge or serial flasher firmware onto an ESP dev board and using it as a programmer. I can flash an MSP430 via JTAG or Spy-Bi-Wire using my Raspberry Pi Pico debug probe. My hardware covers almost all cases, the only thing I’m really missing is a programmer that supports PIC ICSP :/
I use a combination of the ArduinoIDE and the ArduinoCLI to program the chips, depending upon the project and how much effort I want in my build toolchain.
Usually, I use vscode + platformio and I can really recommend it.
the ATTiny 84/85 needs the least analog wiring support
My purchase list is this:


I was looking for something around 10$. I saved it to my bookmarks if I ever need something larger. I also noticed that (ready-to-sell) 24 channel logic analyzer are extremely expensive, pheeew. This could be a business idea! :)


Do you have any specific recommendation?
I was looking into:
https://www.az-delivery.de/products/hw-598-usb-auf-seriell-adapter-mit-cp2102-chip-und-kabel


I haven’t tried yet with CAN busses but I’m interested. Is there anything super cool I could do with CAN that I can’t do with SPI or I2C?
While I haven’t worked with raw microcontrollers (no-module mc) yet, once I worked with a microchip and wrote a library from ground up to get the chip running. That was amazing :)
Which programmer can you recommend? (I’m on macOS btw) I think I will buy the ATTiny 10 tiny buddy.


That’s really neat. I’m currently thinking about it.


😂 I like it!


That’s an amazing idea! You know why? I don’t snore :D
I could monitor audio and when a treshold is reached, turn on the lamp with a grace period.


I installed it and will test it with your settings.


I’ve implemented an ad blocking feature and a search engine result blocker by list or by domain :)


Wow! Thank you, I didn’t know this project existed. Amazing ❤️


I’ll consider this in the next few test builds. Thank you! :)


I’m currently working on the Android version.


I might have a surprise for you in version 1.0.3 (upcoming) :)
https://setiathome.berkeley.edu/ or https://boinc.berkeley.edu/
seti@home:
You basically donate computing power to a project looking for extra-terrestrial intelligence.
I had a spare Raspberry Pi Zero 2W and I made mine a watch showing time, weather and it shows me the latest Hackernews headlines on a 320x480 touch screen. :)