Phil Schatzmann

  • Blogs
    • Arduino
    • Machine Sound
    • Text To Speech
    • Data Science
    • Machine Learning
    • Quantitative Trading
    • EDGAR
    • 3D Printing
    • Infrastructure
    • Other Topics
  • Projects
    • Arduino Audio Tools
    • Investor
    • Smart EDGAR
    • OpenSCAD Kernel
    • News Digest
  • Subscribe

Arduino

Arduino

Under the Hood: Arduino UNO R4 – PWM

In Arduino we can use the analogWrite(pin, value) method to create a PWM signal on the digital pins. The value parameter is used to change the duty cycle but the PWM frequency which is fixed at usually 490 Hz and can not be changed. Here is a simple example sketch Read more

By pschatzmann, 2 years1. July 2023 ago
Arduino

Arduino UNO R4 with an Analog Microphone

The easiest way to “record” audio with an Arduino UNO R4 is by using an analog microphone which can be connected to any analog pin. For my test I was using a MCP6022 Microphone Sensor. Arduino Sketch There are no surprises here because we can use the AnalogAudioStream as audio Read more

By pschatzmann, 2 years30. June 2023 ago
Arduino

Audio with the new Arduino UNO R4

This week I received a brand new Arduino UNO R4 in my mail.It uses a Renesas 32 bit microprocessor and has 256 kB Flash and 32 kB RAM. It provides 1 DAC and 6 PWM pins. I got the version which also provides WIFI and a LED matrix. Unfortunately there Read more

By pschatzmann, 2 years29. June 2023 ago
Arduino

Arduino 2.0: RP2040 Debugging with Linux

I thought it should be quite easy to use the new debugging functionality of Arduino 2.0 with the RP2040 using the official RP2040 debug probe in Earle Phil Hower’s core. I am using Arduino on my old Macbook running Linux: And Boy was I wrong! The first challenge was to Read more

By pschatzmann, 3 years1. June 2023 ago
Arduino

ADPCM and WAV Files

At the very beginning of my Arduino AudioTools project, I was providing a codec for WAV files. It was just handling PCM audio, so it just needed to read or write the header and then could just copy the audio data. In my last blog, I was writing that the Read more

By pschatzmann, 3 years21. May 2023 ago
Arduino

Fast Audio Codecs for Microcontrollers

My AudioTools project is supporting quite a few audio encoders and decoders. They are critical to reduce the storage or transmission volume of audio. Though I support the encoding of AAC and MP3, I can’t really recommend this: it requires a lot of memory and processing time. For an introduction Read more

By pschatzmann, 3 years10. May 2023 ago
Arduino

ArduinoAudioTools: Playing Movies ?

In my last post I was writing about audio containers. But containers are usually also used to mux audio and video together in one file. This made me think, if we could play movies on an ESP32? In fact there are some projects out there that exactly do this: They Read more

By pschatzmann, 3 years6. May 2023 ago
Arduino

Arduino Audio Tools: Codecs and Containers

So far I have created quite a few posts about the supported codecs, but I never provided any detailed information how things work behind the scene. Audio codecs are used to compress and decompress PCM audio data. I tried to eliminate all the complexity but sometimes it helps to know Read more

By pschatzmann, 3 years28. April 2023 ago
Arduino

ESP32 Memory Management: floats and MALLOC_CAP_32BIT

We can dynamically allocate memory with malloc() or use the dedicated ESP32 specific functions. In general we need to use byte aligned allocations (MALLOC_CAP_8BIT). When we have used up all available memory space, we still have 4 byte aligned memory available that we can use to store arrays of int32_t Read more

By pschatzmann, 3 years11. April 2023 ago
Arduino

Arduino Audio Tools – RTSP Revisited

Quite some time ago, I was describing how we can stream audio with the help of RTSP. In that example we needed to provide a data stream from which we can read the audio! This is not very flexible and often we want to specify RTSP as output: e.g. in Read more

By pschatzmann, 3 years2. April 2023 ago

Posts pagination

Previous 1 … 7 8 9 … 24 Next
Phil Schatzmann
Rue du Biais 24 B
1957 Ardon
Switzerland

phil.schatzmann@gmail.com

Categories
3D 3D Printed Planes 3D Printing Arduino Data Science EDGAR Infrastructure LogicAnalyzer Machine Learning Machine Sound News Digest OpenSCAD Kernel Other Topics Pico Projects Quantitative Trading RC Text To Speech
RSS RSS
  • AudioTools: Adding Support for the ESP32‐S3 AI Smart Speaker Development Board
  • Implementing a DLNA Control Point in Arduino

Hestia | Developed by ThemeIsle