4-Wire SPI color local brush screen offset solution--I was already on the side of success.Recently in the study of low-speed, lower RAM MCU to drive small LCD or TFT color display to achieve animation effectFirst I use a 16MHz crystal M0 core of the 8-bit microcontroller nRF51822 try to drive a 1.77-inch 4-wire SPI screen (128X160),Found, brush a screen about about 0.8s of time,Specifically included in the "1, a simple
Copyright Notice: This article is for bloggers original articles, reproduced please indicate the author and source. Strong Light Flashlight [ Ekrem Technology-Wireless business unit ]1. nRF51822 Register TypenRF51822 Register and the general microcontroller is different, the nRF51822 register is divided into the following three kinds.
Task: Mission register, which can be triggered by a program or
BLE-NRF51822 tutorial 3-SDK framework profiling. BLE-NRF51822 tutorial 3-SDK program framework profiling nordicBLE technology exchange group 498676838 this lecture introduces the framework and won't involve too much code details. 51822 of the official SDK is actually no framework according to the BLE-NRF51822 tutorial 3-sdk program framework analysis
NordicBLE t
module:1 uint32_t retval;2 3 //Enable Notifications For example the user module which is already registered.4retval =app_gpiote_user_disable (m_example_user_id);5 if(RetVal! =nrf_success)6 { 7 //enabling notifications failed. Take corrective/needed action. 8 .9 .Ten } One A . - . - . the //Enable Notifications For example the user module which is already registered. -retval =app_gpiote_user_enable (m_example_user_id); - if(RetVal! =nrf_success) - { + //enabling
ble-nrf51822 Tutorial 5-Static password settings
Nordicble Exchange Group 498676838This talk introduces some relevant theoretical knowledge of pairing, and describes how to implement the "Static password" setting
The program is based on the UART demo under sdk9.0
In addition, the mobile app used in the test is lightblue under iOS.
The exact phrase here should be called the pairing code, not the password. Enter this pairing code as an optional part o
Timers are commonly used by single-chip microcomputer. They are used to generate precise timing or other functions. MSP430 timers can not only complete precise timing, but also generate PWM waveform output, and capture time value (when the rising or falling edge arrives ). A general PWM waveform is generated here.Program.
Hardware introduction: The timera of MSP430 Series Single-Chip Microcomputer
1. TIMER output PWM basic ConceptPulse width modulation (PWM), an abbreviation for the English "pulse width modulation", is called pulse width modulation, which is a very effective technique for controlling analog circuits using the digital output of a microprocessor. The simple point is the control of the pulse width. Generally used to control the speed of stepper motor and so on.STM32 timers, in addition
speed of static difference slightly larger.
(3) Limited unipolar mode, in addition to the unipolar modulation, the energy-saving braking path is limited.
Advantages: The control circuit is simple, if connected to the H-bridge mode, can also turn positive and negative.
Disadvantages: Can not brake, not energy braking, the load exceeds the set speed can not provide reverse torque.
Speed adjustment static difference is big, the speed performance is very poor, the stability also is not good.
F
Opening first to spit the trough beaglebone .... Version of all kinds of chaos, drive all kinds of disorderly =.=1. About the driving disorder, the author wants to use the PWM module, although Beaglebone comes with, but did not give a description of the document AH. All by groping! And some places are not right.2. About the version ... Beaglebone is not backwards compatible with this saying? Has installed Debian 7.5,debian 7.8,debian 7.9,debian 8.3. 7
Summarize the 28027 PWM module. 28027 contains pwm1,pwm2,pwm3,pwm4 four PWM modules, all of the PWM module register structure is the same, the only difference is the synchronization of the sequence of operation is not the same. The PWM module can be divided into a timer base, a counter comparison (Counter Compare), a
Reprinted:
What is PWM (Pulse Width Modulation): http://www.shenmeshi.com/Science/Science_20070315160722.html
PWM (Pulse Width Modulation)-pulse width modulation (PWM) is an on/off type regulated power supply application. It is a very effective technology that uses the digital output of a microprocessor to control analog circuits.
With the development of electro
1. RequirementsTo generate a PWM output, we need to create a train of pulses with constant period and variable duty cycle.The duty cycle, being the modulation is the pulse width.Typically, a timer is used to maintain both the period and duty cycleBy toggling a output based on compare matches between the timer and timer registers.The timer is reset at the end of the pulse ' s period in preparation for generating the next pulse.In this case, the number
PWM is the abbreviation of pulse width modulation, that is, pulse width modulation. It modulated the width of a series of pulses to obtain the expected waveform;
1. PWM is a digital coding method for analog signal levels. Through the use of high-resolution counters, the duty cycle of the square wave is modulated to encode the level of a specific analog signal. The equivalent implementation is based on an im
Last year, noridc developed a chip that integrates Bluetooth 4.0 and can communicate with 24l01. The film encapsulation can be very small, and the power consumption is very low. It is very suitable for wearable devices, so I recently had a set of second-hand ak ii and no becon board. I first played some basic peripherals, And now I started to develop ble.
Under the official SDK directory, we can find the project file Nordic \ nrf51822 \ board \ pca100
BLE-NRF51822 tutorial 3-SDK framework profiling
NordicBLE technology exchange group 498676838This section describes the framework and does not involve too much code details.
51822 of the official sdks are actually not framework-resistant. What is a framework? For example, TI's ble sdk has an operating system abstraction layer (OSAL) which is a round training scheduling. You need to create tasks according to their methods.
In essence, SDK 51822 only
BLE-NRF51822 tutorial 8-dynamic Broadcast
This topic describes how to implement dynamic broadcast.
The tutorial is based on the Uart example in the 9.0 sdk.
To implement dynamic broadcast, choose broadcast> stop broadcast> modify parameters> restart broadcast.
Therefore, we use a timer to Periodically disable broadcast and then modify broadcast data before enabling broadcast.
In Sdk 9.0, I implemented several broadcast modes, which was a little tro
complications.Ble_app_template_with_flash_operations.zipUpdate 27.3.2015 The example above is tested with SDK 6.1, Softdevice 7.0.0/7.1.0 and second revision nRF51 harware. It should also work with SDK 6.1, Softdevice 7.1.0, and third revision nRF51. For further compatibility of different SDKs and softdevices, and to see the nRF51 hardware revision of the Chip/board has, see nRF51 compatibility matrixUpdate 18.8.2015 Below is a similar pstorage example made for SDK 8.1 and Softdevice S110 8.0.0
to control the phone ringing and stop ringing. 3. Link Loss Service-Connection Loss ServicesWhen the connection is lost (either the battery is out of power or it is too far away from the app), the connection is lost, and is then sent to the mobile app as a notification when it is lost, and the phone responds to the event. ble_app_proximity is displayed using notifications in the program. 4,battery Service-Battery servicesSend to mobile app via AD sample battery voltage5. Immediate Alert Service
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.