Category: Microcontrollers

Novation Bass Station Sequencer Part6 - Bringing it all together

Previous Post Block diagram - System Overview The step sequencer will be interface with the Novation BassStation via the ribbon cable on the left, with optional support for 3rd devices via a MIDI interface on the right. This will allow the sequencer to be reused for other MIDI-supported devices. Microcontroller pinout The microcontroller pinout specifics…

Read the full article

SMBUS Touchscreen controller for 600W HP Server PSU with FreeRTOS

Designing the hardware This project repurposes the power supply units (PSU) found in datacentre servers. The PSU are very powerful (12V @ 600W), efficient and compact. They are useful for charging LIPO batteries (with some modification) and running brushless motors or any circuit that draws large amounts of current. These PSU are replaced in industry…

Read the full article

DSP Guitar Pedal with Cortex-M4F and C++

Hardware Design Brief The purpose of this project is to design, build a programmable guitar FX pedal using a Cortex-M4F micro and I2S. This will provide a platform for development and experimentation of DSP algorithms and techniques. This is also an experiment to use C++ in embedded development. Evaluating the 24bit ADC and DAC Digilent…

Read the full article

DSP Function Generator with Cortex-M4F and C

System Overview Project details for the hardware can be found here Required Kicad Hardware library: https://github.com/cracked-machine/KicadLibrary For details of the MCU configuration and firmware refer to FunctionGeneratorCortexM4_SW Note, RevB was the final design. RevC was not built and is an untested future proposal. Features This STM32-based instrument has the following features: Output signal with synchronized…

Read the full article

Serial output with JLinkRTTClient on the nRF52-DK with Zephyr

Prerequisites Zephyr RTOS https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/gs_assistant.html Zephyr SDK https://docs.zephyrproject.org/1.11.0/getting_started/getting_started.html Nordic CLI Tools (includes JLink Tools) https://www.nordicsemi.com/Software-and-Tools/Development-Tools/nRF-Command-Line-Tools VSCode SEGGER JLINK -NORDIC nRF52-DK Building and uploading the hello-world program change directory to the nRF_Connect_SDK/ncs/zephyr/samples/hello_world directory Add -DNRF_LOG_USES_RTT=1 to makefile. e.g. CMakeLists.txt…

Read the full article

DSP Peak Detector algorithm in practice

DSP Peak Detector Algorithm Note, X is the channel number. MIXER_PEAK_MAPPING and SPLITTER_PEAK_MAPPING are used to support GPIO mappings for different PCB layouts. ADC input demux The data from multiple ADC channels is interlaced into a single array: [0]=CH1, [1]=CH2, [2]=CH3, [3]=CH4, [5]=CH1... This must be demuxed or binned according to ADC_NUMBER_OF_CHANS Average sampled voltage…

Read the full article