Aidaohuakai( 楼主 ) 2013-8-22 11:45:24 只看该作者23307 | 41倒序浏览 论坛上对mpu6050的资料和讨论并不多,很多坛友都说驱动失败,老是显示0. 以下就谈谈我的一些血与泪的教训: 昨天开始接触mpu6050,在网上查了很多资料,下载程序,准备一展身手。首先看了mpu6050中文资料,之后又看了那个mpu6050的测试程序,把这些看明白之后就开始写程序了。我不是直接把程序复制过去,只是复制mpu6050的地址和初始化,IIC并没有复制,就复制我上次写的24C02的那个程序,想不到,这给了我血与泪的教训,我原来是直接把IIC复制过来的,并没有多留意。之后初始化mpu6050,写入地址,读出数据,下载到单片机之后,LCD上显示000001,我感到郁闷,之后又调试,以为是显示不对,又写显示,之后又下载,结果还是老样,这样半天就过去了。驱动没成功,又怀疑芯片或引脚有问题,继续调试,也没成功。就一一对应地看了地址,又看了初始化,发现没错,调试还是不成功。最后干脆不接IIC总线,竟然发现了个天大的秘密,接不接IIC,LCD都显示000001,我又用示波器测试波形,发现波形正确。在网上又查了别人的资料,在论坛上也很少有关于mpu6050的资料,也看了比别人的一些讨论。很多坛友都说驱动失败,老是显示0. 没办法,一天就这样过去了,今天早上,我又仔细看了程序,出乎我的想象,竟然是IIC的那个地址没改,原来写24C02的那个地址是a0,还是原封不动,把我吓了一跳。把这些改过来之后,一切正常,能显示加速度和陀螺仪。血与泪的教训啊,是自己不细心造成的,忘记改地址!今天早上竟然花了不到2个钟就调出来了,惊喜之时就写了这个分享,希望对大家有用。
标签: 圆点博士小四轴
上传时间: 2015-04-14
上传用户:wusheng4495
OLED,即有机发光二极管(Organic Light-Emitting Diode),由于同时具备自发光,不需背光源、对比度高、厚度薄、视角广、反应速度快、可用于挠曲性面板、使用温度范围广、构造及制程较简单等优异之特性,被认为是下一代的平面显示器新兴应用技术。其根据驱动方式的不同分为主动式OLED(AMOLED)和被动式OLED(PMOLED)。近年来,OLED因其优势在各领域有了突破性发展,并广泛应用于MP3显示,在照明领域也有可观的前景。许多公司也于展览会、期刊等展示了OLED的各种先进产品。本文将讨论各种OLED技术和适当的偏压电源供应电路,而关于OLED技术和驱动方法的选择,也会影响电源供应电路的需求。并应用单片机驱动OLED显示相应文字图案。
标签: 0.96寸OLED并口驱动显示
上传时间: 2015-06-08
上传用户:linglanhua
MathType是我一直在用的公式编辑器。最近这些天写论文的过程中用它来输入了不少的公式,很是方便,与Microsoft Office结合紧密、调用方便,比Office本身的编辑器不知强大了多少,可以入各种复杂的数学公式和符号! 由于看到网上的一些绿色版不甚完美,就自己动手做了一个绿色版,本来是自己用的,想想还是发出来吧,有需要的就下载试试吧! 这个绿色版的特点: * 中文界面、方便使用(插件部分未汉化); * 修正了其他绿色版中每次启动时提示 MT Extra 字体未安装的问题; * 完善支持 Office 2003 与 Office 2007 插件,能在Office3个组件(Word、PowerPoint、Excel)中方便调用; * 在 Office 2007 中请通过 "插入"--"对象",并选择 "MathType 6.0 Equation" 来输入公式,这个方法在 Office 2003 中也可用,只是2003中可以更方便插入公式; * 卸载彻底、不留痕迹、这样是我做绿色软件的重要原则; * 自诩为完美绿色版,其实是 "不懈努力、追求完美",有问题的还不吝反馈。
上传时间: 2015-12-02
上传用户:TANGhongde76
The AP2406 is a 1.5Mhz constant frequency, slope compensated current mode PWM step-down converter. The device integrates a main switch and a synchronous rectifier for high efficiency without an external Schottky diode. It is ideal for powering portable equipment that runs from a single cell lithium-Ion (Li+) battery. The AP2406 can supply 600mA of load current from a 2.5V to 5.5V input voltage. The output voltage can be regulated as low as 0.6V. The AP2406 can also run at 100% duty cycle for low dropout operation, extending battery life in portable system. Idle mode operation at light loads provides very low output ripple voltage for noise sensitive applications. The AP2406 is offered in a low profile (1mm) 5-pin, thin SOT package, and is available in an adjustable version and fixed output voltage of 1.2V, 1.5V and 1.8V
上传时间: 2017-02-23
上传用户:w124141
由STC89C51单片机来控制DHT11传感器采集的温湿度的转换、1602液晶屏的显示,以及蜂鸣器的报警。
上传时间: 2018-04-27
上传用户:luson
I saw the light of the future when I first read Ray Kurzweil’s best-seller book The Singularity Is Near: When Humans Transcend Biology. One cubic inch of nanotube cir- cuitry, once fully developed, would be up to one hundred million times more powerful than the human brain.
标签: Predictive Cognitive Warning System Early The
上传时间: 2020-05-26
上传用户:shancjb
Your Cisco Networking Academy Course Booklet is designed as a study resource you can easily read, high- light, and review on the go, wherever the Internet is not available or practical: ■ The text is extracted directly, word-for-word, from the online course so you can highlight important points and take notes in the “Your Chapter Notes” section. ■ Headings with the exact page correlations provide a quick reference to the online course for your class- room discussions and exam preparation. ■ An icon system directs you to the online curriculum to take full advantage of the images, labs, Packet Tracer activities, and dynamic Flash-based activities embedded within the Networking Academy online course interface.
标签: Switching Wireless LAN and
上传时间: 2020-05-27
上传用户:shancjb
An optical fiber amplifier is a key component for enabling efficient transmission of wavelength-divisionmultiplexed(WDM)signalsoverlongdistances.Eventhough many alternative technologies were available, erbium-doped fiber amplifiers won theraceduringtheearly1990sandbecameastandardcomponentforlong-haulopti- caltelecommunicationssystems.However,owingtotherecentsuccessinproducing low-cost, high-power, semiconductor lasers operating near 1450 nm, the Raman amplifiertechnologyhasalsogainedprominenceinthedeploymentofmodernlight- wavesystems.Moreover,becauseofthepushforintegratedoptoelectroniccircuits, semiconductor optical amplifiers, rare-earth-doped planar waveguide amplifiers, and silicon optical amplifiers are also gaining much interest these days.
标签: Propagation Light Media Gain in
上传时间: 2020-05-27
上传用户:shancjb
One of the prerequisites for the development of telecommunication services is the understanding of the propagation of the waves, either acoustic, electromagnetic, radio or light waves, which are used for the transmission of information. In this work, we shall limit ourselves to the study of radio waves: this term apply to the electromagnetic waves used in radio communications. Their frequency spectrum is very broad, and is divided into the following frequency bands : ELF waves (f < 3 kHz), VLF (3-30 kHz), LF waves (30-300 kHz), MF waves (300-3000 kHz), HF (3-30 MHz), VHF waves (30-300 MHz), UHF waves (300-3000 MHz), SHF waves (3-30 GHz), EHF waves (30-300 GHz) and sub- EHF waves (300-3000 GHz).
标签: Propagation Radio Wave
上传时间: 2020-06-01
上传用户:shancjb
Before I can present design concepts or tactical wireless communications and network challenges, I feel the need to mention the challenges of writing for a field where some information is not available for public domain and cannot be included in this book’s context. Another challenge is the use of military jargon and the extensive number of abbreviations (and abbreviations of abbreviations!) in the field. Engineering books are naturally dry, and I have attempted to make it light by presenting the concepts in layman’s terms before diving into the technical details. I am structuring this book in such a way as to make it useful for a specialized graduate course in tactical communications and networking, or as a reference book in the field.
标签: Communications Tactical Networks Wireless and
上传时间: 2020-06-01
上传用户:shancjb