My scientific journey started in the year 2012. I started assisting my professor at college and took up a few trivial jobs in his research. Over the years, I have mastered a few subjects and I am moving ahead to learn new things. I am also interested in doing things differently and get new results. […]Read More A boffin life.
Mosquitto is an mqtt broker which is widely used by beginners. It can not scale on large volumes. Due to this, it can not be used in production grade environment. If you need your broker to scale with your application, you will have to choose a better MQ broker. One such production grade MQ broker […]Read More Industrial grade (4.0) IoT (IIoT) with inductiveautomation (ignition) and emqx (erlang mqtt)
RTOS is Real Time Operating System. It differs starkly from a regular OS as its intention is totally different. FreeRTOS is solely owned, developed and maintained by Real Time Engineers Ltd. FreeRTOS is ideally suited to deeply embedded real-time applications that use microcontrollers or small microprocessors. This type of application normally includes a mix of […]Read More FreeRTOS on micro controllers – stm32. How does it work to save power and its scaling issues.
A research team from Google shows that replacing transformers’ self-attention sublayers with Fourier Transform achieves 92 percent of BERT accuracy on the GLUE benchmark with training times seven times faster on GPUs and twice as fast on TPUs. Google Replaces BERT Self-Attention with Fourier Transform: 92% Accuracy, 7 Times Faster on GPUsRead More Google Replaces BERT Self-Attention with Fourier Transform: 92% Accuracy, 7 Times Faster on GPUs
LIS3DH is a MEMS triple axis accelerometer of ST micro electronics. It has I2C and SPI interface. The address of I2C is 0x19. It can be used to read x,y and z positional coordinates along with features such as Interrupt generation, tilt/motion detection, tap detection, fall detection etc The pseudo code provided below gives a […]Read More The Interrupt generating sequence on LIS3DH! With example of nrf52832
Originally posted on //elektronotes// my notes on electronics:
[part 1 part 2] In this post I will describe a simple project. The idea is to use a bunch of daisy-chained serial-in/parallel-out shift registers (namely the 74HC595) to expand my STM32F4Discovery board. First questions: the discovery board has a plenty of GPIOs, so why not using…
Non linear data is a tricky situation to be in when you want to implement interpolation of sensors in embedded systems. I wanted to automate this process and generate a formula which we can simply substitute in our embedded code. Here is how I did it using pythonRead More Cubic Spline Interpolation or RBF interpolation- Perfect for non linear data?
LoRa is a low-power wide-area network protocol developed by Semtech. It is the physical layer of LoRaWAN. It is based on spread spectrum modulation techniques derived from chirp spread spectrum technology. It was developed by Cycleo of Grenoble, France and acquired by Semtech, the founding member of the LoRa Alliance. The main advantage that LoRa […]Read More Holy moly: FOTA using LoRa. STM32WL
Modern microcontrollers like stm32 offer us a great feature DMA – Direct Memory Access which was earlier offered by some DSP’s like the Texas Instruments TMS, etc. What is DMA?Not all data needs to be handled by the CPU. Some of the load can be taken out of it if we can have a dedicated […]Read More stm32 DMA – Direct Memory Access to save power
Do you want to generate a PWM signal on stm32 ? Basically you have to satisfy the equation: Prescaler * Overflow = Period-in-Cycles = Clock-cycles-per-Second / Frequency A good way to calculate the prescaler and overflow values for PWM is to chose the smallest possible prescaler, then trim down the overflow to the desired total […]Read More Formula for PWM on stm32