stm32太阳能追光储能系统,_最后章汇总篇_!!!(blog版)
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><img src="https://mmbiz.qpic.cn/sz_mmbiz_jpg/y4y47RhOQZxQ7nCBDpx3JFfVXZyBiaKM3CSIe7ecufSUxCkWmmtGLJI0q40KgniceXicxfhPOrz6xqxgeCH0pYP3g/640?wx_fmt=jpeg&tp=webp&wxfrom=5&wx_lazy=1&wx_co=1" style="width: 50%; margin-bottom: 20px;"><span style="color: black;"> <span style="color: black;">大众</span>好,我是 `杰哥编程`</span></p>
<h1 style="color: black; text-align: left; margin-bottom: 10px;">stm32太阳能追光储能系统,_<span style="color: black;">最后</span>章汇总篇_!!!(blog版)</h1>gitee源码仓库链接<span style="color: black;">转</span><span style="color: black;">https:<span style="color: black;">//gitee.com/wrj12138/embedSummary/tree/master/SolarTrackingSystem</span></span>
<h2 style="color: black; text-align: left; margin-bottom: 10px;">仅<span style="color: black;">保存</span>了有修改的代码文件和CubeMX的ioc工程文件</h2>
<h2 style="color: black; text-align: left; margin-bottom: 10px;">直接用cubeMX打开ioc后生成工程 再把对应代码文件考进去就行</h2>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><strong style="color: blue;"><span style="color: black;">各组件实现原理博客网址</span></strong></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><span style="color: black;">1.</span>光敏adc采集:</span></p>https://mp.weixin.qq.com/s/syFeGHljZ504Fy7h26t6tg<span style="color: black;">杰哥编程,公众号:猿学社<a style="color: black;">光敏电阻ADC采集+STM32CubeMx配置ADC多通</a>道读取</span>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><span style="color: black;">2.</span>舵机pwm<span style="color: black;">掌控</span>:</span></p>https://mp.weixin.qq.com/s/Vc7rXYXAxAND-gfz3fm9fw<span style="color: black;">杰哥编程,公众号:猿学社<a style="color: black;">PWM原理+SG90舵机<span style="color: black;">掌控</span>原理+STM32CubeMx配置输出可调PWM波</a></span>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><span style="color: black;">3.</span>INA226功率监测I2C: </span></p>https://mp.weixin.qq.com/s/4sZpNglBuLmQj1SBb9bh4w<span style="color: black;">杰哥编程,公众号:猿学社<a style="color: black;">I2C原理+INA226功率监测模块原理+STM32CubeMx驱动INA226</a></span>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><span style="color: black;">4.</span>TFT彩屏SPI原理:</span></p>https://mp.weixin.qq.com/s/BjmpsHOUFYxEYPXdkyvsqA<span style="color: black;">杰哥编程,公众号:猿学社<a style="color: black;">一文彻底带你搞懂SPI通信原+TFT彩屏<span style="color: black;">掌控</span>原理</a></span>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><span style="color: black;">5.</span>TFT彩屏驱动库解析:</span></p>https://mp.weixin.qq.com/s/BjmpsHOUFYxEYPXdkyvsqA<span style="color: black;">杰哥编程,公众号:猿学社<a style="color: black;">一文彻底带你搞懂SPI通信原+TFT彩屏<span style="color: black;">掌控</span>原理</a></span>
<h2 style="color: black; text-align: left; margin-bottom: 10px;">所<span style="color: black;">运用</span>的硬件</h2>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><span style="color: black;">•</span>如下图 <img src="https://mmbiz.qpic.cn/sz_mmbiz_png/y4y47RhOQZxQ7nCBDpx3JFfVXZyBiaKM36QVfy7nNNKRJibk73ibmdzkgnUVMWfAb1KicJnumD7AwvZB1Kviap9ibXhg/640?wx_fmt=png&tp=webp&wxfrom=5&wx_lazy=1&wx_co=1" style="width: 50%; margin-bottom: 20px;"></span></p>
<h2 style="color: black; text-align: left; margin-bottom: 10px;">外设初始化</h2>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><span style="color: black;">•</span>cubeMX中所有外设内部参数配置 我都做好了 你们<span style="color: black;">能够</span>有自己的配置<span style="color: black;">办法</span> 取决于你们看到的博客</span></p>
<h2 style="color: black; text-align: left; margin-bottom: 10px;">引脚接线及定义</h2>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><span style="color: black;">•</span>单片机板子的引脚接线 用cubeMX打开文件夹中的IOC<span style="color: black;">就可</span><span style="color: black;">认识</span><span style="color: black;">每一个</span>模块的接口都接到32的哪一个引脚上了(当然你们<span style="color: black;">能够</span>有<span style="color: black;">区别</span>的io口接法) 如下图:</span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><img src="https://mmbiz.qpic.cn/sz_mmbiz_jpg/y4y47RhOQZxQ7nCBDpx3JFfVXZyBiaKM3MkJ4vkuC8JCia1Wg4PianRFktuYPM97LefPdWEHZQp43KekG8FaeS0FQ/640?wx_fmt=jpeg&tp=webp&wxfrom=5&wx_lazy=1&wx_co=1" style="width: 50%; margin-bottom: 20px;"></p>
<h2 style="color: black; text-align: left; margin-bottom: 10px;">系统框图</h2>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><span style="color: black;">•</span><span style="color: black;">全部</span>系统框图如下:</span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><img src="https://mmbiz.qpic.cn/sz_mmbiz_jpg/y4y47RhOQZxQ7nCBDpx3JFfVXZyBiaKM3QvibTmwcIJmMLkEicMI90dRccgaIvKQU0wSh70pkQTXR3otYWcDzukhQ/640?wx_fmt=jpeg&tp=webp&wxfrom=5&wx_lazy=1&wx_co=1" style="width: 50%; margin-bottom: 20px;"></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><strong style="color: blue;">Note</strong></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><strong style="color: blue;"><span style="color: black;"><span style="color: black;">倘若</span>自己搭电路的<span style="color: black;">朋友</span> 需要</span><span style="color: black;">重视</span><span style="color: black;">一下几点:</span></strong></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><span style="color: black;">1.</span><span style="color: black;">这次</span>实验硬件电路 储能设备我用的是一节18650电池</span><span style="color: black;"><span style="color: black;">2.</span>单节锂电池+5V稳压电源模块不足以支撑<span style="color: black;">全部</span>系统的用电</span><span style="color: black;"><span style="color: black;">3.</span>2个舵机在运动的时候功率<span style="color: black;">很强</span> 可能<span style="color: black;">引起</span>其他用电设备掉电</span><span style="color: black;"><span style="color: black;">4.</span>用单片机的usb给<span style="color: black;">全部</span>系统供电可能<span style="color: black;">由于</span>舵机功率<span style="color: black;">引起</span>单片机掉电重启</span><span style="color: black;"><span style="color: black;">5.</span>光伏板数量太少不足以起到充电的<span style="color: black;">功效</span>,没事 实验目的到位就行</span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><strong style="color: blue;"><span style="color: black;">处理</span>办法</strong></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><strong style="color: blue;"><span style="color: black;">为了避免以上问题,</span></strong><span style="color: black;"><span style="color: black;">大众</span><span style="color: black;">能够</span>用锂电池和稳压模块给舵机独立供电,</span><span style="color: black;">其他器件由stm32的usb供电,</span><span style="color: black;">电池没电了就拿去充下电</span></p>
<h2 style="color: black; text-align: left; margin-bottom: 10px;">功能拓展</h2>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">光敏光照强度数据和电压电量采集数据,</p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">我只实现了<span style="color: black;">表示</span>在spi屏幕上,</p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">你们<span style="color: black;">能够</span>加上从串口输出到电脑串口助手<span style="color: black;">表示</span>,</p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">增多</span><span style="color: black;">有些</span>串口传输协议封装编码解码,</p><span style="color: black;">能够</span>丰富本项目的功能和以后拓展,<span style="color: black;">而后</span>跟面试官吹nb
<h1 style="color: black; text-align: left; margin-bottom: 10px;">成品展示</h1>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><strong style="color: blue;">stm32追光储能系统实物图</strong></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><img src="https://mmbiz.qpic.cn/sz_mmbiz_jpg/y4y47RhOQZxQ7nCBDpx3JFfVXZyBiaKM3fSic4LeHib5RECBibJTsG95HibT16Qe6GAibl6Mfe1fTbVEXeVSVEZ4nIAw/640?wx_fmt=jpeg&tp=webp&wxfrom=5&wx_lazy=1&wx_co=1" style="width: 50%; margin-bottom: 20px;"></p>
<h1 style="color: black; text-align: left; margin-bottom: 10px;"><span style="color: black;">这次</span>分享到此为止,如有问题欢迎各位指出!!!</h1>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><img src="https://mmbiz.qpic.cn/sz_mmbiz_jpg/y4y47RhOQZxQ7nCBDpx3JFfVXZyBiaKM3bVZAHOrYVicL7xroAzWsZ5pPyPqbgjC4NFW4CkpmFaXPVlsbwQytVjw/640?wx_fmt=jpeg&tp=webp&wxfrom=5&wx_lazy=1&wx_co=1" style="width: 50%; margin-bottom: 20px;"></p>
<h3 style="color: black; text-align: left; margin-bottom: 10px;">References</h3>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"> gitee源码仓库链接<span style="color: black;">转</span>: https://gitee.com/wrj12138/embedSummary/tree/master/SolarTrackingSystem</p>
说得好啊!我在外链论坛打滚这么多年,所谓阅人无数,就算没有见过猪走路,也总明白猪肉是啥味道的。 回顾历史,我们不难发现:无数先辈用鲜血和生命铺就了中华民族复兴的康庄大道。 请问、你好、求解、谁知道等。 楼主的文章非常有意义,提升了我的知识水平。
页:
[1]