DIY smart home from scratch - Intelligent ultraviolet sensor module based on ESP32

prefaceAfter making so many sensors, I played by myself. This time, my family couldn't watch it. I had to have an ultraviolet sensor. Before I went out, I looked at the ultraviolet intensity (solemnly declare: I'm not a single dog!!! (, ◡✧) I saw that there were really suitable modules on the Internet, so I finished one. This time we will make ...

Posted by Kryptix on Mon, 01 Nov 2021 09:20:21 -0700

RT thread + esp8266 WiFi module development on hummingbird processor

This paper introduces the RT thread real-time operating system running on hummingbird processor and the development of ESP8266 wifi module. Transplantation of RT thread is provided in the supporting sdk of hummingbird https://github.com/riscv-mcu/hbird-sdk/tree/0.1.2/application/rtthread/msh , we only need to carry out specific application dev ...

Posted by stargate03 on Mon, 01 Nov 2021 07:59:01 -0700

Some understanding of compiled code

Some understanding of compiled code ARM Cortex-M underlying technology -- principle and application of compiling kernel Reference website: https://www.cnblogs.com/39950436-myqq/p/11545140.html 1. Definition of compilation link No matter how simple the code we write, we must go through the process of "compiling -- > linking" to g ...

Posted by Smifffy on Thu, 28 Oct 2021 22:56:19 -0700

How does Python interact with C code in microphoton

1. Python code and C code character association This section describes how Python characters are associated with C characters (such as module name, class name, variable name, function name, etc.) during module expansion? Take the ADC class name symbol as an example to illustrate the following association process: C code character ADC STATI ...

Posted by StormS on Tue, 26 Oct 2021 23:08:14 -0700

Extending 2D canvas graphic interface based on QuickJS

In the field of Web technology, canvas is a widely used function, which can support developers to expand the vector graphics rendering ability in addition to the original HTML ability. It is often used to realize vector animation, particle special effects, charts, games and so on. Canvas is just a canvas in HTML. It doesn't have drawing abili ...

Posted by nephish on Sun, 24 Oct 2021 19:06:38 -0700

[i.MX6ULL] Drive Development 6 - Light up LED with Pinctrl and GPIO subsystems

The previous two articles (Register Configuration Lighting LED and Device Tree Lighting LED) are essentially register configurations to control the lighting of LEDs. The direct operation of registers is to write the register information related to the LED directly into the driver code of the LED, which is also a more general control method. Ho ...

Posted by niekos on Mon, 18 Oct 2021 09:15:20 -0700

System service framework - subsystem samgr\_lite introduction

brief introduction Due to the limited platform resources and various hardware platforms, it is necessary to shield the different hardware architectures, platform resources and operation forms, and provide a unified system service development framework. According to different hardware platforms of RISC-V, Cortex-M and Cortex-A, there are tw ...

Posted by catalinus on Fri, 15 Oct 2021 12:12:33 -0700

Data abstraction instance based on hardware SPI

1. Write in front spi (Serial Peripheral Interface) is the Serial Peripheral Interface. Like i2c, spi also uses the bus for peripheral device communication, which is essential for embedded development. According to my previous experience, I summarize spi (mainly in the field of MCU, and Linux has mature driver equipment). The main purposes an ...

Posted by Shiki on Tue, 12 Oct 2021 13:01:04 -0700

In STM32: CAN bus driver

This article uses Italian Semiconductor (ST): STM32F103C8T6 Core Version: ARM Cortex-M3, if not this chip, please refer to the schematic of the chip you are using. Picture from Walnut Electronics Pin Definition In the pin definition of STM32F103C8T6, PA11 corresponds to CAN_RX PA12 corresponds to CAN_TX STM32 CAN Bus Schematic Di ...

Posted by tronicsmasta on Sun, 10 Oct 2021 10:21:14 -0700

Infrared remote control communication

Infrared remote control protocol Wireless contactless control technology At present, PWM (pulse width modulation) of NEC Protocol and PPM (pulse position modulation) of Philips RC-5 Protocol are widely used in the coding of infrared remote control characteristic Anti interference ability, reliable signal transmission, low power consumpti ...

Posted by centenial on Sun, 10 Oct 2021 01:08:12 -0700