Home > Back-end >  Pray god help me to write the bluetooth clock light c
Pray god help me to write the bluetooth clock light c

Time:09-18

Design requirements:
Using bluetooth module, light sensor module and clock chip microcontroller is combined with digital clock display, through bluetooth to calibration of time, through to the light intensity of the sensor automatically adjusts the digital tube display brightness,
PCB design principle diagram of the control system, hardware, system through on STC microcontroller as the core control chip, complete microcontroller programming,

CodePudding user response:

You ask in the wrong place, it should be in the single chip microcomputer module, BCB school also can only do a bluetooth software, it also had to microcontroller completed provide communication protocol data format to do

CodePudding user response:

Single chip microcomputer, the building Lord you first look at the on STC microcontroller using manual, learn basic use,
Bluetooth module can use bluetooth 4.0 BLE, pay attention to taobao BLE bluetooth module can only send a few bytes at a time (like 8), so communication should pay attention to the byte length, on STC microcontroller program is very simple, for example to copy the digital tube and serial interface communication, the circuit is simple, general protel is commonly used to design, but to learn first to do with this software, it takes a little time,

PC programming, xe10.2, can look at the example below, the Windows are available, and android, ios platform to do,
C: \ Users \ Public \ Documents \ Embarcadero \ Studio \ 19.0 \ Samples \ CPP \ Multi - Device Samples \ Device Sensors and Services, Bluetooth, BLEScanner
  • Related