One-wire Demo on the STM32F4 Discovery Board Some of the devs at work were struggling to get their software talking to a Dallas 1-wire device.  I remember doing 1-wire comms back in the 1990s, but I hadn't done any 1-wire lately and all of my old cod…
VGA Output from STM32F4 Discovery board I love the web! There are so many cool projects out there, and some, with a tweak or two, get me where I want to go quickly, saving a ton of time and effort. Case in point: The Artektit page on VGA output using…
Sometimes you have a CAN equipped processor on a low cost board but it has no CAN transceiver chips. Here is a method that can be used to create a small experimental network with such a board. There will be no noise immunity and you might have to low…
https://developer.mbed.org/platforms/ST-Discovery-F746NG/ Microcontroller features STM32F46NGH6 in TFBGA216 package ARM®32-bit Cortex®-M7 + FPU + Chrom-ART Accelerator 216 MHz max CPU frequency VDD from 1.7 V to 3.6 V 1024 KB Flash 320 KB SRAM GPIOs…
STM32F4 USB Composite CDC + MSC I'm in the process of building a USB composite CDC + MSC device on the STM32F4 Discovery board but am having trouble getting windows to recognise it. Using USBlyzer all the descriptor info seems ok but windows will onl…
前言 板子申请了也有一段时间了,也快到评测截止时间了,想着做点有意思的东西,正好前一段时间看到过可以在MCU上移植MicroPython的示例,就自己尝试一下,记录移植过程. MicroPython是什么 程序猿中有句俗语:人生苦短,我用Python.Python的强大和易用性让它不仅可以写网站,编程序,在嵌入式领域也有一席之地. MicroPython,是Python3编程语言的一个完整软件实现,包括Python标准库的一小部分,用C语言编写,经过优化可在微控制器和受限环境中运行.MicroP…
Serial Wire Debugging the STM32 via the Bus Pirate 2 October 2010 Step 1 - The Bus Pirate Step 2 - Debug Port Communications Step 3 - Access Port Communications Step 4 - Processor State Step 5 - Programming the Flash Step 6 - Optimizing Conclusion So…
我的STM32F4 Discovery上边有一个加速度传感器LIS302DL.在演示工程中,ST的工程师使用这个传感器做了个很令人羡慕的东西:解算开发板的姿态.当开发板倾斜时候,处于最上边的LED点亮,其他LED不亮.同时,用MicroUSB数据线将开发板连接电脑时,开发板就会虚拟成一个鼠标.倾斜开发板时,鼠标指针会向倾斜的方向移动.归根结底,就是牛B的ST工程师用加速度传感器完成了姿态解算. 在开发板上,加速度传感器使用了SPI方式用STM32F4芯片进行通信.STM32F4的SPI1 作为主…
在这篇文章中,我们将快速了解一下服务发现是什么,使用Consul在ASP.NET Core MVC框架中,并结合DnsClient.NET实现基于Dns的客户端服务发现 这篇文章的所有源代码都可以在GitHub上Demo项目获得. Service Discovery 在现代微服务架构中,服务可以在容器中运行,并且可以动态启动,停止和扩展. 这导致了一个非常动态的托管环境,可能有数百个实际端点,无法手动配置或找到正确的端点. 话虽这么说,我相信服务发现不仅适用于生活在容器中的粒状微服务.它可以被任…
目录 go微服务框架kratos学习笔记六(kratos 服务发现 discovery) http api register 服务注册 fetch 获取实例 fetchs 批量获取实例 polls 批量获取实例 nodes 批量获取节点 renew 心跳 cancel 下线 应用发现逻辑 服务注册 服务注册demo 服务注册逻辑 服务发现 测试调用 简单看看官方grpc服务发现逻辑 context deadline exceeded 简单看看官方grpc服务发现逻辑 go微服务框架kratos学…