somfy remote receiver for stm32 platform

Related tags

Miscellaneous somfy
Overview

SOMFY library for STM32

Example: in main.c

#include "somfy.h"
somfy_t rf;

uint8_t ctrl = 0;
uint16_t rolling;
uint8_t key;
uint8_t address[3];

void main()
{

  somfy_init(&rf, &htim1, GPIOC, GPIO_PIN_7);
  if (somfy_available(&rf))
  {
    ctrl = somfy_read(&rf, &rolling, address, &key);
    somfy_reset_available(&rf);
  }  
}

in stm32fxxx_it.c

#include "somfy.h"
extern somfy_t rf;

.
.
.

void EXTI9_5_IRQHandler(void)
{
  /* USER CODE BEGIN EXTI9_5_IRQn 0 */

  /* USER CODE END EXTI9_5_IRQn 0 */
  HAL_GPIO_EXTI_IRQHandler(GPIO_PIN_7);
  /* USER CODE BEGIN EXTI9_5_IRQn 1 */
  somfy_pinchange_callback(&rf);
  /* USER CODE END EXTI9_5_IRQn 1 */
}
Owner
Nima Askari ----- نیما عسکری
Design and Repair Electronics boards. Embedded Software/Hardware. I love STM32. <>
Nima Askari ----- نیما عسکری
Si5351 and Arduino based superheterodyne receiver

Arduino Superheterodyne Receiver In this project, we will upgrade a traditional shortwave superheterodyne receiver with an Arduino base tuner. This tu

Dilshan R Jayakody 14 Jul 21, 2022
An open source GNSS receiver

greta-oto An open source GNSS receiver This project is an open source project of a consumer level GNSS receiver. It has the capability to receive L1 b

null 23 Jun 24, 2022
A driver for u-blox receiver (ZED-F9P) with ros support

ublox_driver Authors/Maintainers: CAO Shaozu (shaozu.cao AT gmail.com) The ublox_driver provides essential functionalities for u-blox GNSS receivers.

HKUST Aerial Robotics Group 33 Aug 2, 2022
A set of tutorial projects for creating a simple digital radio receiver based on the STM32G431KB microcontroller

simple-radio Обучающие проекты по созданию простого цифрового радиоприемника на базе микроконтроллера STM32G431KB. Разработка программ выполнялась в W

null 8 Jul 7, 2022
ESP32-Skid-Steer - Bruder Catepillar Skid Steer model converted to RC, controlled by an ESP32 with 2 analog joysticks and a receiver that is an ESP32 on the model.

ESP32-Skid-Steer Bruder Catepillar Skid Steer model converted to RC, controlled by an ESP32 with 2 analog joysticks and a receiver that is an ESP32 on

null 5 Feb 4, 2022
STM32 firmware for a physical switch to set the GRUB boot selection

STM32 firmware for a physical switch to set the GRUB boot selection

Stephen Holdaway 310 Aug 1, 2022
A place to collaborate on code for the Embedded.fm book club. Currently reading "STM32 ARM Programming for Embedded Systems".

Welcome to the Book Club Code site! This is a place for the Embedded.fm book club to collaborate and learn together. Repo Structure Guide Top-level fo

Peter Griffin 11 Jul 21, 2022
A tiny external monitor for PC using STM32 and ST7789. Connects to PC over USB and displays the captured screen on ST7789 (240x240) display.

STM32 Tiny Monitor A super tiny monitor for your PC, suitable for your pet ant. A python script sends the captured screen over USB to the STM32 microc

Avra Mitra 65 Aug 1, 2022
HD44780 peripheral library for stm32 microcontrollers.

stm32-HD44780 This is a peripheral driver library for interfacing stm32 microcontrollers with the HD44780 display driver. The implementation uses the

Lorenzo Murarotto 17 Jan 20, 2022
Brain-Computer Interface, ADS1299 and STM32

Brain-Computer Interface, ADS1299 and STM32

Ildaron 386 Aug 4, 2022
Use cmake with your stm32 project.

cmake bare metal (cbm) Overview This Repo is project using cmake to develop stm32fxx projects under the same repo. And thereby sharing commmon functio

null 6 Jun 16, 2022
ADXL345 Library for STM32-HAL

ADXL345-STM32 ADXL345 Library for STM32-HAL This library is not complete so this library may run unstable. How to use this library Change the header f

Can Guveren 2 May 26, 2022
Kalman Filter Implementation for MPU6050 with STM32-Nucleo. Via CubeIDE

Kalman Filter Implementation for MPU6050 on STM32 Nucleo Board Kalman Filter Implementation for MPU6050 with STM32-Nucleo I implemented a Kalman Filte

Ibrahim Ozdemir 18 Jul 8, 2022
Minimal setup required to develop firmware for STM32 using ceedling

STM32 & Ceedling Base Project I created this project as a starting point for anyone looking to create production quality firmware for an embedded syst

null 7 Jul 22, 2022
Library for STM32 microcontrollers with HAL to communicate with absolute orientation sensor Bosh BNO055.

Bosh BNO055 sensor library fro STM32 with HAL Library for STM32 microcontrollers with HAL to communicate with absolute orientation sensor Bosh BNO055.

Eryk Możdżeń 1 Nov 20, 2021
Boilerplate to create a project with: STM32 + Ethernet + micro-ROS + FreeRTOS + Arduino + PlatformIO

micro_ros_stm32_template Boilerplate to create a project with: STM32 + Ethernet + micro-ROS + FreeRTOS + Arduino + PlatformIO Default config STM32F407

Husarion 13 Aug 6, 2022
STM32+LVGL ==> WATCH

HWatch STM32+LVGL ==> WATCH 网盘链接: 源码: 链接:https://pan.baidu.com/s/1h0YSe5Ja6y8xVL-h4-vCUg 提取码:8pxz 参考资料: 链接:https://pan.baidu.com/s/13PEog4OyJ0LQ3oz

null 63 Aug 8, 2022
STM32 OOP library

STM32 OOP Library The basic OOP library of STM32. Published on PlatformIO (stm32_oop_lib). Features / 功能 GPIO Only tested on STM32F103RB (NUCLEO-F103R

ZiTe 3 Nov 13, 2021
easy-driver for STM32

easy-driver for STM32 About the Project Project Status Getting Started About the Project The idea of this driver is to provide a more intuitive driver

Breno Gomes 2 Dec 14, 2021