#stm32f103

2025-07-05

VL53L0 и STM32F103C8T6

Подключение датчика VL53L0X к микроконтроллеру STM32F103 и вывод расстояния в реальном времени. Рассмотрены особенности инициализации датчика, настройка I²C-интерфейса и обработка данных. Приведен пример кода на языке C для работы с периферией STM32.

habr.com/ru/articles/925242/

#stm32f103 #vl53l0 #микроконтроллеры #cubeide #uart

2025-06-13

Реализация ModBus RTU Slave на stm32

В статье приводиться пример реализации протокола ModBud RTU Slave используя инструментарий STM32Cube IDE (version 1.12.0). В последнее время часто приходиться реализовывать устройства для промышленности с применением протокола обмена данных ModBus RTU, используя младшие контроллеры stm32 без использования систем реального времени. Предлагаю один из вариантов реализации, который может пригодиться начинающим разработчикам. Итак.

habr.com/ru/articles/918168/

#stm32f103 #modbus

2025-06-03

Как мы доигрались с ws2812 и сделали Modbus-LED конвертор

Добрый день друзья, речь пойдет о серийном контроллере для управления адресными диодами. Мы разрабатываем всякие железки и вот случайно практически для себя решили сделать устройство вывода "Логичной" информации на светодиодную ленту. Конечно не обошлось без Ваших любимых адресных диодиков. . Чиать далее

habr.com/ru/articles/915018/

#stm32f103 #modbus #modbus_rtu #arduino #esp #esp32 #ws2812b #ws2811 #MB2WS #antexgate

2024-11-13

[Перевод] Датчик линейного положения, работающий по принципу электронного штангенциркуля

Вы когда-нибудь мечтали о 500-герцовой системе датчиков линейного положения? Тогда вам повезло — для этого достаточно печатной платы, простого микроконтроллера и немного математики! См. также полный исходный код и журнал моих исследований по этому проекту.

habr.com/ru/companies/ruvds/ar

#штангенциркуль #датчики #электроника #stm32f103 #stm32 #позиционирование #ruvds_перевод

2024-10-05

Новые технологии и древние звуки

Привет всем, это статья про DIY разработку и изготовление оригинального музыкального инструмента. Когда-то я увидел электронный конструктор «арфа» где на рамке стояло 7 лазерных диодов и простой генератор тона. И вот захотел сделать лучше и больше – начался проект Оптоарфа . Как и всегда, мне неважно, есть ли такое изделие в мире, важно желание творить и привнести свои идеи =). Какие были выбраны решения, как воплощались через тернии, случилась ли труба или арфа – читайте ниже

habr.com/ru/articles/848460/

#diyпроекты #фанера #оптоэлектроника #оптопара #музыкальные_инструменты #арфа #stm32f103 #гармоника #струны

2024-08-25

Does anyone know why the STM32F103 datasheets claim that it only supports up to 18MHz for SPI? Is this a documentation bug or are there issues with operating SPI1 at 36MHz?

(SPI2 is limited to 18MHz due to APB1=36Mhz max but SPI1 hangs off APB2=72MHz max)

A quick test I threw together works fine (tx-only at close to line speed, loopback with unoptimised verification at roughly half).
#electronics #STM32F103 #STM32

i4cy 📌i4cy
2024-04-24

Ways to program the STM32F103 Blue Pill Module.
http://www.i4cy.com/article/blue_pill/default.aspx

[12/12/2019]

2023-09-06

Getting some use out of my old blue pills. I'm quite a fan of , and they fight the for my affection.

2023-08-16

#PikaPython der 'ultra-lightweight Python interpreter that runs with only 4KB of RAM, zero dependencies' ist schon ein interessantes Projekt, wenn man auf dem #STM32F103 etwas skriptfähiges benötigt

2023-06-23

#Evalboard Sammlung vervollständigt
#STM32F103 #bluepill #stm32

...ja, ich weiß, ich bin sehr spät dran

2023-02-17

Played around with #ChatGPT, asking it to write #Forth code to implement a hardware delay on a #STM32F103 microcontroller. I wanted to see how it would do with suggesting code in an obscure language I use for teaching so students don't copy and paste existing solutions from the web without engaging with the device manual. ChatGPT produced syntactically correct code that was incomplete but had the 'vibe' of working code and suggested using interrupts. Unfortunately the code called a version of the delay word that I was asking it to write to produce the code, so would never work. But it did describe some of the things you need to do to set registers etc. It wrote the code in a very procedural way. Interestingly, when I asked it to tell me where it got the implementation information from, it provided me with a nonexistent web page, and when I told it the web page didn't exist it apologised and gave me another nonexistent web page, telling me that if I couldn't find it, I could download eforth from a variety of sources. It seems that ChatGPT is coded to try to answer questions, but if it can't, to provide a plausible fabrication. Just like a person, but dangerous in terms of trusting answers. If this technology is generally adopted, which seems likely, it needs to have some means of providing sources for its answers, otherwise it becomes a powerful tool for providing plausible misinformation.

lopeztel :nixos: :arch:lopeztel@fosstodon.org
2021-06-03

#splitkeyboard update: Turns out that the bootloader on the #stm32f103 #bluepill was busted and that's the reason I can't flash the #blackmagicprobe firmware on it through UART... Or at least that's what we think...

2021-04-26

Small Open Source Vehicle Hacking Platform

[Florian] and his engineering team at Munich-based bmc::labs has developed a clever set of prototyping boards for vehicle hacking and rapid product development, collectively called the bmc::board or bmc::mini. These stackable development boards were initially designed for in-house use. The team took a general purpose approach to the design so the boards could be used across a wide range of projects, and they should be useful to anyone in the field. [Florian] decided to release the boards to the community as open-source and certified by OSHWA (Open Source Hardware Association).

There are four boards currently defined, with several more in the works:

  • mini::base -- Main microcontroller board, STM32F103-based
  • mini::out -- I/O board with CAN bus, JTAG, etc.
  • mini:: grid -- RF board providing GPS and GSM capability
  • mini::pit -- local wireless connectivity, WiFi and Bluetooth, and 2nd CAN bus

At 54 x 42.5 mm, these boards are pretty small; a form-factor they describe as "exactly half a credit card". We like the Wurth WR-MM family of stacking connectors they are using, and the symmetrical pinout means you can rotate the cards as needed. But at first glance, these thru-hole connectors seem to limit the stack to just two boards, although maybe they plan move to an SMT flavor of the connector in future designs permitting taller stacks.

If you're into vehicle electronics and/or vehicle hacking, definitely take a look at these. You can check out [Florian]'s bmc::board Hackaday.io project page and the team's GitHub repository for more details. Here's another project by team member [Sebastian] using one of the future bmc::bike modules to eavesdrop on ECU communications, where he sensibly advises the reader "First, pull over and get off the bike. Never hack a two-wheeled vehicle while riding it!".

No discussion of vehicle CAN bus tools should omit the work of Craig Smith, who literally wrote the book on hacking your car, and whose talk along with Hackaday's own Eric Evenchick of CANtact fame we covered back in 2016. [Florian] has started a CrowdSupply campaign where you can see some more details of this project and a short promotional video.

#carhacks #canbus #carhacking #developmentboards #stm32f103

image

Client Info

Server: https://mastodon.social
Version: 2025.04
Repository: https://github.com/cyevgeniy/lmst