esp8266-pwm 概括 带有ESP8266 WiFi模块的代码,用于控制PCA9685 PWM控制器。 您可以使用此工具轻松构建WiFi控制的智能家居设备或玩具。 还包含一个演示应用程序:带有WiFi的RGB LED灯条。 根据许可 要求 硬件 任何ESP8266模块 PCA9685连接到ESP的GPIO 我的硬件(太疯狂了!): TODO:原理图示例,实际硬件的照片/视频 软件 用于刷新NodeMCU 用于上传Lua代码的 PCA9685驱动程序Lua API TODO:也许在这里写些有用的东西 阅读资料 utils.lua中也有一些有用的东西 rgbstrip:演示应用程序 目录rgbstrip包含一个通过通过WiFi控制RGB LED灯条的应用程序。 RGB通道通常由PWM控制的MOSFET驱动。 安装 将ESP8266连接到PC(我们假设设备已连接到/dev/t
2021-12-20 15:57:13 6KB Lua
1
256*64OLED显示屏STM32F103驱动例程,OLED 屏幕型号为SSD1322.
2021-12-20 15:53:13 1.57MB OLED STM32
1
OLED显示模块(7PIN)教程资料-技小新-(技小新)0.96'OLED模块-7Pin-产品手册.pdf
2021-12-20 11:23:49 284KB 电子设计
1
有机发光二极管最简单的形式是由一个发光材料层组成,嵌在两个电极之间。输入电压时载流子运动,穿过有机层,直至电子空穴并重新结合,这样达到能量守恒并将过量的能量以光脉冲形式释放。这时其中一个电极是透明的,可以看到发出的光。oled显示屏显示原理图
2021-12-19 21:16:20 64KB oled
1
Pin Number Symbol I/O Function P Po o we er r S Su up pp pl ly y 9 VDD P P Po o we er r S Su up pp pl ly y f fo or r L Lo og gi ic c This is a voltage supply pin. It must be connected to external source. 8 VSS P G Gr ro ou un nd d o of f L Lo og gi ic c C Ci ir rc cu ui it t This is a ground pin. It acts as a reference for the logic pins. It must be connected to external ground. 28 VCC P P Po o we er r S Su up pp pl ly y f fo or r OE EL L P Pa an ne el l This is the most positive voltage supply pin of the chip. A stabilization capacitor should be connected between this pin and V SS when the converter is used. It must be connected to external source when the converter is not used. 29 VLSS P G Gr ro ou un nd d o of f A An na al lo og g C Ci ir rc cu ui it t This is an analog ground pin. It should be connected to V SS externally. D Dr ri iv ve er r 26 IREF I C Cu ur rr re en nt t R Re ef fe er re en nc ce e f fo or r B Br ri ig gh ht tn ne es ss s A Ad dj ju us st t me en nt t This pin is segment current reference pin. A resistor should be connected between this pin and V SS . Set the current at 12.5μA maximum. 27 VCOMH O V Vo ol lt ta ag ge e Ou ut tp pu ut t Hi ig gh h L Le ev ve el l f fo or r C C O M S Si ig gn na al l This pin is the input pin for the voltage output high level for COM signals. A capacitor should be connected between this pin and V SS . D DC C/ /D DC C C Co on nv ve er rt te er r 6 VDDB P P Po o we er r S Su up pp pl ly y f fo or r DC C/ / DC C C Co on nv ve er rt te er r C Ci ir rc cu ui it t This is the power supply pin for the internal buffer of the DC/DC voltage converter. It must be connected to external source when the converter is used. It should be connected to V DD when the converter is not used. 4 / 5 2 / 3 C1P / C1N C2P / C2N I P Po os si it ti iv ve e T Te er r mi in na al l o of f t th he e F Fl ly yi in ng g I In nv ve er rt ti in ng g C Ca ap pa ac ci it to or r Ne eg ga at ti iv ve e T Te er r mi in na al l o of f t th he e F Fl ly yi in ng g B Bo oo os st t C Ca ap pa ac ci it to or r The charge-pump capacitors are required between the terminals. They must be floated when the converter is not used. I In nt te er rf fa ac ce e 10 11 12 BS0 BS1 BS2 I C Co o m mu un ni ic ca at ti in ng g P Pr ro ot to oc co ol l S Se el le ec ct t These pins are MCU interface selection input. See the following table: BS0 BS1 BS2 I 2 C 0 1 0 3-wire SPI 1 0 0 4-wire SPI 0 0 0 8-bit 68XX Parallel 0 0 1 8-bit 80XX Parallel 0 1 1 14 RES# I P Po o we er r R Re es se et t f fo or r C Co on nt tr ro ol ll le er r a an nd d Dr ri iv ve er r This pin is reset signal input. When the pin is low, initialization of the chip is executed. Keep this pin pull high during normal operation. 13 CS# I C Ch hi ip p S Se el le ec ct t This pin is the chip select input. The chip is enabled for MCU communication only when CS# is pulled low. 15 D/C# I Da at ta a/ /C Co o m ma an nd d C Co on nt tr ro ol l This pin is Data/Command control pin. When the pin is pulled high, the input at D7~D0 is treated as display data. When the pin is pulled low, the input at D7~D0 will be transferred to the command register. When the pin is pulled high and serial interface mode is selected, the data at SDIN will be interpreted as data. When it is pulled low, the data at SDIN will be transferred to the command register. In I 2 C mode, this pin acts as SA0 for slave address selection. For detail relationship to MCU interface signals, please refer to the Timing Characteristics Diagrams. 17 E/RD# I R Re ea ad d/ / Wr ri it te e E En na ab bl le e o or r R Re ea ad d This pin is MCU interface input. When interfacing to a 68XX-series microprocessor, this pin will be used as the Enable (E) signal. Read/write operation is initiated when this pin is pulled high and the CS# is pulled low. When connecting to an 80XX-microprocessor, this pin receives the Read (RD#) signal. Data read operation is initiated when this pin is pulled low and CS# is pulled low. When serial or I 2 C mode is selected, this pin must be connected to V SS . GoldenMorning Electronic 4 1.5 Pin Definition (Continued) Pin Number Symbol I/O Function I In nt te er rf fa ac ce e ( (C Co on nt ti in nu ue ed d) ) 16 R/W# I R Re ea ad d/ / Wr ri it te e S Se el le ec ct t o or r Wr ri it te e This pin is MCU interface input. When interfacing to a 68XX-series microprocessor, this pin will be used as Read/Write (R/W#) selection input. Pull this pin to “High” for read mode and pull it to “Low” for write mode. When 80XX interface mode is selected, this pin will be the Write (WR#) input. Data write operation is initiated when this pin is pulled low and the CS# is pulled low. When serial or I 2 C mode is selected, this pin must be connected to V SS . 18~25 D0~D7 I/O Ho os st t Da at ta a I In np pu ut t/ / Ou ut tp pu ut t B Bu us s These pins are 8-bit bi-directional data bus to be connected to the microprocessor’s data bus. When serial mode is selected, D1 will be the serial data input SDIN and D0 will be the serial clock input SCLK. When I 2 C mode is selected, D2 & D1 should be tired together and serve as SDA out & SDA in in application and D0 is the serial clock input SCL. Unused pins must be connected to V SS except for D2 in serial mode. R Re es se er rv ve e 7 N.C. - R Re es se er rv ve ed d P Pi in n The N.C. pin between function pins are reserved for compatible and flexible design. 1, 30 N.C. (GND) - R Re es se er rv ve ed d P Pi in n ( (S Su up pp po or rt ti in ng g P Pi in n) ) The supporting pins can reduce the influences from stresses on the function pins. These pins must be connected to external ground as the ESD protection circuit.
2021-12-19 20:13:14 3.53MB 0.96OLED
1
stc89c52 iic oled dht11温湿度显示 // IO口模拟I2C通信 // SCL接P0^3 // SDA接P0^2 //sbit P2_0 = P2^0 ; dht11 的data 晶振11.0592mhz
2021-12-19 14:39:25 72KB 单片机 oled 温湿度
1
  手机(通过 TCP连接 这个APP)连接esp8266,esp8266通过串口与单片机(stm32f103c8t6)进行通信,单片机通过数据解析,从而进行控制电机与舵机。
2021-12-19 14:01:37 3.89MB stm32f103c8t6
波浪糖机 演示糖果自动售货机接受Waves令牌。 该项目展示了使用Waves区块链及其客户(包括移动应用程序)进行支付的可能性。 物联网在这里遇到了区块链! 物联网 该项目基于ESP8266 12e Witty和Arduino平台。 还使用了28BYJ-48步进电机和YwRobot面包板电源MB-V2。 区块链 该项目使用Waves Node API(公共的)来监视交易并做出何时挂出糖果的决定。 发展 内置Arduino IDE 1.8.1和ESP8266WiFi 1.0.0,ArduinoJson 5.8.4和AccelStepper 1.56.2。 细节 完整的描述,照片和手册,如何组装和创建相同的项目
2021-12-19 12:19:07 7KB 系统开源
1
ESP8266作为TCP服务器端使用心得
2021-12-18 17:15:15 136KB ESP8266
1
基于AIP650驱动的4位数码管模块设计资料带IIC接口兼容OLED模块接口(包含原理图及PCB源文件)
2021-12-18 15:01:41 605KB AIP650