Author: johan

  • Convert video to mobile devices

    ffmpeg -i input.mov \ -c:v libx264 -crf 23 -profile:v baseline -level 3.0 -pix_fmt yuv420p \ -c:a aac -ac 2 -b:a 128k \ -movflags faststart \ output.mp4 Link: What ffmpeg command line produces video more compatible across all devices?

  • Davinci resolve script for generating videos that can be imported

    #!/bin/bash DIRPATH=$1 OLDIFS=$IFS IFS=$’\n’ if [ -z “$DIRPATH” ] then exit 1 fi mkdir -p processed FILES=$(ls $DIRPATH) for i in $FILES do if [ -d “$FILES” ] then continue fi NEW_NAME=$(echo $i | sed ‘s/\.[^.]*$/.mov/’) #NEW ffmpeg -i “$i” -vcodec dnxhd -profile:v dnxhr_hq -r 25 -pix_fmt yuv422p -s 3840×2160 -c:a pcm_s16le “processed/$NEW_NAME” #OLD #ffmpeg…

  • Stm32f103 course

    Hello! Update, the course is completed and can be found on udemy, link is here: STM32 Beginner Course I’ve seen some interest in my stm32 blinky example tutorial and want to give you guys more content in the fun embedded world, especially for the stm32 microcontroller. I’ve put up a table of contents down below,…

  • STLink server on a Linux server

    I’m currently doing a project with STM32 and radios. I want to have a server with all the stm32’s connected, with UART, USB and ST-Link v2. I’m using a laptop as my development computer and don’t want to plug the connections in and out all the time. Therefor I installed a Linux server which will…

  • mMESH – Technical deep dive

    Folder structure for mMesh[1]: src/spi # Serial Peripheral Interface (SPI) src/test # GTest src/test/mesh # GTest src/syscalls # Wrapper for calls like sleep and timers, differs between different platforms. src/netAlgorithm # Implementation for network algorithms for choosing parent, neighbour and routing for packets. src/mesh # Mesh implementation src/network # Network adapter and network drivers src/network/RF24…

  • mMesh – Mesh Network

    I have created a mesh network algorithm for embedded systems. This implementation is released be released under MIT License. Me and a friend have started an Internet Of Things project and we wanted to have a radio module to our microcontroller for communication. The radio module we choose was the NRF24L01+. One question might arise:…

  • Updating Espressobin U-boot via tftp.

    To update u-boot via tftp, install a tftp software and copy its binaries to the directory where tftp has its data. The text in bold is the text you type in. This is intended for armbian use. They require the latest u-boot version.

  • Espressobin – install nginx and php

    Espressobin is my new toy which eventually be my new bridge to the internet while it hosts my connected home. Eventually it will be hosting Home Assistant, OpenVPN and be the WLAN Access Point. The Espressobin has all the “horse power” i need, it is equipped with 1 gigabyte of ram and a dual core ARM Cortex…

  • Raspberry pi and stm32 communication with mrf24j40 over 802.15.4.

    I am currently working with a project regarding my LED-lightening in the kitchen. The system will be based on a STM32-circuit and the communication device is a mrf24j40 which supports the 802.15.4 protocol.

  • STM32F103C8T6 – ST-Link v2 – Blinky example

    This is my first encounter with the new microcontroller and programmer I ordered from aliexpress. The microcontroller is an STM32F103C8T6 and the programmer is a ST-Link v2 clone.