Compare commits
2 Commits
dfd4b1b3fa
...
efcf6a1631
Author | SHA1 | Date | |
---|---|---|---|
efcf6a1631 | |||
b8ed71c6ea |
17
README.md
17
README.md
@ -22,16 +22,27 @@ Possible choices :
|
||||
* MPU6050
|
||||
* BMI160
|
||||
* LSM6DS3
|
||||
* A magnetometer :
|
||||
* HMC5883L
|
||||
* BMA456 <-- SELECTED i2c addr : 0x18 or 0x19 7 bit address, has the wrist tilt detection feature.
|
||||
* A magnetometer (possible choices):
|
||||
* HMC5883L <-- SELECTED i2c addr : 0x1E 7 bit address, better soldering footprint
|
||||
* QMC5883L
|
||||
* LSM303DLHC
|
||||
* BMM150 <-- Package with balls, hard to handle
|
||||
* An air pressure/temperature sensor (to display the altitude for example)
|
||||
* BMP280
|
||||
* BMP280 <-- SELECTED i2c addr : 0x76 or 0x77
|
||||
|
||||
## Actuators :
|
||||
* A vibration motor to notify events to the user.
|
||||
|
||||
## Power source :
|
||||
* 1 cell lipo battery
|
||||
* A charge controller
|
||||
|
||||
## Screen + touch element :
|
||||
* Screen with touch : STP240240_R130A1(T), SPI interface 240*240 px, ST7789V driver.
|
||||
* Touch element i2c addr : 0x46, IT7257 I2C touch driver
|
||||
|
||||
|
||||
## MCU Pin assignement table :
|
||||
| Pin Number | Pin Name | Type | Function | Pull UP/DOWN| Connected to | Comment |
|
||||
|------------|----------|------|----------|-------------|--------------|---------|
|
||||
|
Binary file not shown.
BIN
documentation/ICs datasheet/bst-bma456-ds000.pdf
Normal file
BIN
documentation/ICs datasheet/bst-bma456-ds000.pdf
Normal file
Binary file not shown.
BIN
documentation/ICs datasheet/bst-bmp280-ds001.pdf
Normal file
BIN
documentation/ICs datasheet/bst-bmp280-ds001.pdf
Normal file
Binary file not shown.
BIN
documentation/Screen+touch screen resources/6560A1¢ß¦¦-+.dwg
Normal file
BIN
documentation/Screen+touch screen resources/6560A1¢ß¦¦-+.dwg
Normal file
Binary file not shown.
BIN
documentation/Screen+touch screen resources/AML130A2402S.pdf
Normal file
BIN
documentation/Screen+touch screen resources/AML130A2402S.pdf
Normal file
Binary file not shown.
70
documentation/Screen+touch screen resources/CTP.pdf
Normal file
70
documentation/Screen+touch screen resources/CTP.pdf
Normal file
File diff suppressed because one or more lines are too long
BIN
documentation/Screen+touch screen resources/Connector_14P.pdf
Normal file
BIN
documentation/Screen+touch screen resources/Connector_14P.pdf
Normal file
Binary file not shown.
BIN
documentation/Screen+touch screen resources/Connector__24P.pdf
Normal file
BIN
documentation/Screen+touch screen resources/Connector__24P.pdf
Normal file
Binary file not shown.
@ -0,0 +1,102 @@
|
||||
HW_Reset();
|
||||
|
||||
Delay(120);
|
||||
|
||||
Write(Command , 0x11);
|
||||
|
||||
Delay(120);
|
||||
|
||||
Write(Command , 0x36);
|
||||
Write(Parameter , 0x00);
|
||||
|
||||
Write(Command , 0x3A);
|
||||
Write(Parameter , 0x05);
|
||||
|
||||
Write(Command , 0xB2);
|
||||
Write(Parameter , 0x0C);
|
||||
Write(Parameter , 0x0C);
|
||||
Write(Parameter , 0x00);
|
||||
Write(Parameter , 0x33);
|
||||
Write(Parameter , 0x33);
|
||||
|
||||
Write(Command , 0xB7);
|
||||
Write(Parameter , 0x72);
|
||||
|
||||
Write(Command , 0xBB);
|
||||
Write(Parameter , 0x3D); //Vcom=1.625V
|
||||
|
||||
Write(Command , 0xC2);
|
||||
Write(Parameter , 0x01);
|
||||
|
||||
Write(Command , 0xC3);
|
||||
Write(Parameter , 0x19); //GVDD=4.8V
|
||||
|
||||
Write(Command , 0xC4);
|
||||
Write(Parameter , 0x20); //VDV, 0x20:0v
|
||||
|
||||
Write(Command , 0xC6);
|
||||
Write(Parameter , 0x0F); //0x0F:60Hz
|
||||
|
||||
Write(Command , 0xD0);
|
||||
Write(Parameter , 0xA4);
|
||||
Write(Parameter , 0xA1);
|
||||
|
||||
Write(Command , 0xE0);
|
||||
Write(Parameter , 0x70);
|
||||
Write(Parameter , 0x04);
|
||||
Write(Parameter , 0x08);
|
||||
Write(Parameter , 0x09);
|
||||
Write(Parameter , 0x09);
|
||||
Write(Parameter , 0x05);
|
||||
Write(Parameter , 0x2A);
|
||||
Write(Parameter , 0x33);
|
||||
Write(Parameter , 0x41);
|
||||
Write(Parameter , 0x07);
|
||||
Write(Parameter , 0x13);
|
||||
Write(Parameter , 0x13);
|
||||
Write(Parameter , 0x29);
|
||||
Write(Parameter , 0x2F);
|
||||
|
||||
Write(Command , 0xE1);
|
||||
Write(Parameter , 0x70);
|
||||
Write(Parameter , 0x03);
|
||||
Write(Parameter , 0x09);
|
||||
Write(Parameter , 0x0A);
|
||||
Write(Parameter , 0x09);
|
||||
Write(Parameter , 0x06);
|
||||
Write(Parameter , 0x2B);
|
||||
Write(Parameter , 0x34);
|
||||
Write(Parameter , 0x41);
|
||||
Write(Parameter , 0x07);
|
||||
Write(Parameter , 0x12);
|
||||
Write(Parameter , 0x14);
|
||||
Write(Parameter , 0x28);
|
||||
Write(Parameter , 0x2E);
|
||||
|
||||
|
||||
Write(Command , 0x21);
|
||||
|
||||
Write(Command , 0x29);
|
||||
|
||||
|
||||
|
||||
Write(Command , 0x2A); //Column Address Set
|
||||
Write(Parameter , 0x00);
|
||||
Write(Parameter , 0x00); //0
|
||||
Write(Parameter , 0x00);
|
||||
Write(Parameter , 0xEF); //239
|
||||
|
||||
Write(Command , 0x2B); //Row Address Set
|
||||
Write(Parameter , 0x00);
|
||||
Write(Parameter , 0x00); //0
|
||||
Write(Parameter , 0x00);
|
||||
Write(Parameter , 0xEF); //239
|
||||
|
||||
Write(Command , 0x2C);
|
||||
|
||||
/*唤醒光圈,进入睡眠需要这样写
|
||||
Write(Command , 0x28);
|
||||
Write(Command , 0x10);
|
||||
Write(Command , 0xD6);
|
||||
Write(Parameter , 0xA1);
|
||||
*/
|
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,102 @@
|
||||
HW_Reset();
|
||||
|
||||
Delay(120);
|
||||
|
||||
Write(Command , 0x11);
|
||||
|
||||
Delay(120);
|
||||
|
||||
Write(Command , 0x36);
|
||||
Write(Parameter , 0x00);
|
||||
|
||||
Write(Command , 0x3A);
|
||||
Write(Parameter , 0x05);
|
||||
|
||||
Write(Command , 0xB2);
|
||||
Write(Parameter , 0x0C);
|
||||
Write(Parameter , 0x0C);
|
||||
Write(Parameter , 0x00);
|
||||
Write(Parameter , 0x33);
|
||||
Write(Parameter , 0x33);
|
||||
|
||||
Write(Command , 0xB7);
|
||||
Write(Parameter , 0x72);
|
||||
|
||||
Write(Command , 0xBB);
|
||||
Write(Parameter , 0x3D); //Vcom=1.625V
|
||||
|
||||
Write(Command , 0xC2);
|
||||
Write(Parameter , 0x01);
|
||||
|
||||
Write(Command , 0xC3);
|
||||
Write(Parameter , 0x19); //GVDD=4.8V
|
||||
|
||||
Write(Command , 0xC4);
|
||||
Write(Parameter , 0x20); //VDV, 0x20:0v
|
||||
|
||||
Write(Command , 0xC6);
|
||||
Write(Parameter , 0x0F); //0x0F:60Hz
|
||||
|
||||
Write(Command , 0xD0);
|
||||
Write(Parameter , 0xA4);
|
||||
Write(Parameter , 0xA1);
|
||||
|
||||
Write(Command , 0xE0);
|
||||
Write(Parameter , 0x70);
|
||||
Write(Parameter , 0x04);
|
||||
Write(Parameter , 0x08);
|
||||
Write(Parameter , 0x09);
|
||||
Write(Parameter , 0x09);
|
||||
Write(Parameter , 0x05);
|
||||
Write(Parameter , 0x2A);
|
||||
Write(Parameter , 0x33);
|
||||
Write(Parameter , 0x41);
|
||||
Write(Parameter , 0x07);
|
||||
Write(Parameter , 0x13);
|
||||
Write(Parameter , 0x13);
|
||||
Write(Parameter , 0x29);
|
||||
Write(Parameter , 0x2F);
|
||||
|
||||
Write(Command , 0xE1);
|
||||
Write(Parameter , 0x70);
|
||||
Write(Parameter , 0x03);
|
||||
Write(Parameter , 0x09);
|
||||
Write(Parameter , 0x0A);
|
||||
Write(Parameter , 0x09);
|
||||
Write(Parameter , 0x06);
|
||||
Write(Parameter , 0x2B);
|
||||
Write(Parameter , 0x34);
|
||||
Write(Parameter , 0x41);
|
||||
Write(Parameter , 0x07);
|
||||
Write(Parameter , 0x12);
|
||||
Write(Parameter , 0x14);
|
||||
Write(Parameter , 0x28);
|
||||
Write(Parameter , 0x2E);
|
||||
|
||||
|
||||
Write(Command , 0x21);
|
||||
|
||||
Write(Command , 0x29);
|
||||
|
||||
|
||||
|
||||
Write(Command , 0x2A); //Column Address Set
|
||||
Write(Parameter , 0x00);
|
||||
Write(Parameter , 0x00); //0
|
||||
Write(Parameter , 0x00);
|
||||
Write(Parameter , 0xEF); //239
|
||||
|
||||
Write(Command , 0x2B); //Row Address Set
|
||||
Write(Parameter , 0x00);
|
||||
Write(Parameter , 0x00); //0
|
||||
Write(Parameter , 0x00);
|
||||
Write(Parameter , 0xEF); //239
|
||||
|
||||
Write(Command , 0x2C);
|
||||
|
||||
/*唤醒光圈,进入睡眠需要这样写
|
||||
Write(Command , 0x28);
|
||||
Write(Command , 0x10);
|
||||
Write(Command , 0xD6);
|
||||
Write(Parameter , 0xA1);
|
||||
*/
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
documentation/W800/W800_Chip_Design_Guide.pdf
Normal file
BIN
documentation/W800/W800_Chip_Design_Guide.pdf
Normal file
Binary file not shown.
BIN
documentation/W800/W800_Chip_Design_Guide_ENG.pdf
Normal file
BIN
documentation/W800/W800_Chip_Design_Guide_ENG.pdf
Normal file
Binary file not shown.
BIN
documentation/W800/W800_Chip_Spec.pdf
Normal file
BIN
documentation/W800/W800_Chip_Spec.pdf
Normal file
Binary file not shown.
BIN
documentation/W800/W800_Chip_Spec_ENG.pdf
Normal file
BIN
documentation/W800/W800_Chip_Spec_ENG.pdf
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
documentation/W800/W800_Firmware_Upgrade_Guide.pdf
Normal file
BIN
documentation/W800/W800_Firmware_Upgrade_Guide.pdf
Normal file
Binary file not shown.
BIN
documentation/W800/W800_Firmware_Upgrade_Guide_ENG.pdf
Normal file
BIN
documentation/W800/W800_Firmware_Upgrade_Guide_ENG.pdf
Normal file
Binary file not shown.
BIN
documentation/W800/W800_Low Power Consumption Guide_V1.0.pdf
Normal file
BIN
documentation/W800/W800_Low Power Consumption Guide_V1.0.pdf
Normal file
Binary file not shown.
BIN
documentation/W800/W800_Low Power Consumption Guide_V1.0_ENG.pdf
Normal file
BIN
documentation/W800/W800_Low Power Consumption Guide_V1.0_ENG.pdf
Normal file
Binary file not shown.
BIN
documentation/W800/W800_Parameter_Area_Instruction.pdf
Normal file
BIN
documentation/W800/W800_Parameter_Area_Instruction.pdf
Normal file
Binary file not shown.
BIN
documentation/W800/W800_Parameter_Area_Instruction_ENG.pdf
Normal file
BIN
documentation/W800/W800_Parameter_Area_Instruction_ENG.pdf
Normal file
Binary file not shown.
BIN
documentation/W800/W800_QFLASH_Layout_Description.pdf
Normal file
BIN
documentation/W800/W800_QFLASH_Layout_Description.pdf
Normal file
Binary file not shown.
BIN
documentation/W800/W800_QFLASH_Layout_Description_ENG.pdf
Normal file
BIN
documentation/W800/W800_QFLASH_Layout_Description_ENG.pdf
Normal file
Binary file not shown.
BIN
documentation/W800/W800_ROM_Function_Brief.pdf
Normal file
BIN
documentation/W800/W800_ROM_Function_Brief.pdf
Normal file
Binary file not shown.
BIN
documentation/W800/W800_ROM_Function_Brief_ENG.pdf
Normal file
BIN
documentation/W800/W800_ROM_Function_Brief_ENG.pdf
Normal file
Binary file not shown.
BIN
documentation/W800/W800_Register_Manual.pdf
Normal file
BIN
documentation/W800/W800_Register_Manual.pdf
Normal file
Binary file not shown.
BIN
documentation/W800/W800_Register_Manual_ENG.pdf
Normal file
BIN
documentation/W800/W800_Register_Manual_ENG.pdf
Normal file
Binary file not shown.
BIN
documentation/W800/W800_SDK_Getting_Started_Manual.pdf
Normal file
BIN
documentation/W800/W800_SDK_Getting_Started_Manual.pdf
Normal file
Binary file not shown.
BIN
documentation/W800/W800_SDK_Getting_Started_Manual_ENG.pdf
Normal file
BIN
documentation/W800/W800_SDK_Getting_Started_Manual_ENG.pdf
Normal file
Binary file not shown.
BIN
documentation/W800/W800_SDK_Manual.pdf
Normal file
BIN
documentation/W800/W800_SDK_Manual.pdf
Normal file
Binary file not shown.
BIN
documentation/W800/W800_SDK_Manual_ENG.pdf
Normal file
BIN
documentation/W800/W800_SDK_Manual_ENG.pdf
Normal file
Binary file not shown.
BIN
documentation/W800/W800_SDK_OS Migration Guide_V1.0.pdf
Normal file
BIN
documentation/W800/W800_SDK_OS Migration Guide_V1.0.pdf
Normal file
Binary file not shown.
BIN
documentation/W800/W800_SDK_OS Migration Guide_V1.0_ENG.pdf
Normal file
BIN
documentation/W800/W800_SDK_OS Migration Guide_V1.0_ENG.pdf
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
Reference in New Issue
Block a user