From ancient today, the war is everywhere, Chu Han Liu Bang Xiang Yu stronger, the three era, Wu Yun Wei Ding Li, now, "war" is staged globally. As an electronic enthusiast, the development board for our DIY is most worthy of our expectation and attention. The board computer is a different evolution of the development board. It has a good sales and popularity in the world. When many manufacturers have transformed a small piece, we have to admire some manufacturers who still focus on their own technology, meditation. , Unmanned clouds, follow the wave, this is a domineering with absolute strength and confidence, Saipras is in this way, persistence in various high-performance, mixed signals, programmable solutions, focusing on providing customers with excellence System value. So, the simple but not simple PSOC4 was born.
PSOC4 appearance
Exquisite outsourcing makes people feel good
Open the box with exciting mood, presented in front of the red PSoC4 lying in shockproof and foam, a standard A to Mini B USB cable and 6 yellow wires available for DIY
According to the mood of exhausted and excited, the PSOC4 development board will be very beautiful, very unhal, and very special
There are 4 very human rubber pillars on the back and the current popular anti-counterfeiting label - two-dimensional identification code
"First Sword" - PSOC4 is so different
ARM® CPU frequency 48MHz based on ARM® CPU
Up to 32 kB flash memory, 4 KB SRAM
Programmable analog module: Operational amplifier, 12-bit 1MSPS SAR ADC
Programmable Digital Module: Four PLD-based logical blocks
Industry-leading Capsense® touch sensing
History uses the widest operating voltage range of Cortex-M0 devices 1.71 to 5.5V
Low power: 150na sleep mode, 20na stop mode
PSoC4 also has high scalability, which contains connectors compatible with Arduino Shield and Digilent PMODTM, thus selecting a wide variety of third-party expansion boards. Additionally, the PSoC 5LP device on the board can be used as a programmer and debugger, so an external programmer is no longer needed.
"Second Sword" - Development Environment PSOC Creator
It is mentioned how to develop using PSoC4, then we have to understand the development environment. - Psoc Creator. PSoC Creator is the most advanced, easy to use integrated design environment (IDE). It introduces revolutionary hardware and software collaborative design, equipped with a PSOC that has been pre-verified and a PSOC with help features.
Building your own custom design schematic by dragging and dropping PSoC components
Automatic component layout and configuring GPIO port
Develop and debug firmware can use built-in API components
Similarly, the user can compile, programmed by PSOC Creator.
PSoC Creator installation
Registration of the official website of Camus, download software in PSoC Creator download
After the download is complete, perform the installation, all the way to choose the default, very simple process, no longer detailed. Open interface after installation
PSoC4 power-on
Compared with other consumer electronics such as mobile phones, digital cameras, the power-up startup of the development board seems to be pale, and it is unprotected. But for us like DIY e-enthusiasts, we don't belong to those who are not interested in the previous kind. It is just the opposite. At this time, we should be a mock, and it is very exciting.
After the simple preparation, connect the USB cable
The RGB LED light flashes blue light. If you find the blue light of the RGB LED, what can we do?
You can't ignore the presence - Psoc Creator shows your skill
Open PSoC Creator, find the Blinking Led.Cywrk project file under Examples and Kits, this file is the PSOC4 factory default program.
Select Topdesign.Cysch to open, double-click the PWM component
Modify the duty cycle of the LED lamp under the PWM tag to change the lighting and extinguishing time of the LED light, default is 5000, now modified to 9000
Modify completion, click OK. Return to the main interface compile, then programmed into the PSOC4 board, what is the effect?
By modifying the duty cycle in the PWM component, you can change the time of the LED lamp light, do this, we don't need to modify the code at all, it is very magical!
Do you think just? There is also more!
This is the principle of PSOC4 RGB LED. We see the P0_3 signal line controlled Blue's LED, then we want Red LED to light, you must use P1_6 signal line control, this is to modify the code?
I want to tell you that PSoC Creator can do your imagination, or as an example of just engineering documents, double-click to open the blinking led.cydwr file
Click the left mouse button to drag and drop the P0_3 pin to the P1_6 feet, which completes the control of the Red LED through P1_6, which is as simple, compiled and programming, see the effect
Here, are you appreciating the unparalleled charm of PSOC4 and PSoC Creator, in this, do you find that PSOC4 is incredible with PSOC Creator, an incredible logic of 1 + 1>2; in this, tradition is subversion .
This is not finished yet! The CapSense® touch sensation is also a handful of Cypras. Coupled with a new PSOC4 architecture has a huge leading advantage in anti-to-noise, it can strengthen its Capsense capacitive touch sensing technology. Select the PSOC4 touch induction engineering example to compile programming, see the actual operation
The relatively sharp sensitivity is that the claw machine does not force, the actual RED LED and GREEN LED lighting effects have been "streamlined", please ignore the factors affecting beauty: such as fingers, such as sound: lol:.
Here, you only see the features of the PSOC4 iceberg, do you want to experience the infinite charm of PSOC4 with your heart? Want to feel more scalable features of PSOC4? Then you can't miss, the pair of PSOC4 development board launched, you will have the opportunity to get the PSOC4 board, create your own ideal, more likely to win the award!
Summarize
This article mainly introduces the basic situation of PSoC 4 and its development environment. You can feel the difference between PSoC4 and traditional single chip. Using PSoC4 can break through the limitations of conventional single-chip microcomputer, focus on the development of a complete system on a single device. Cypress's heavy attack PSOC4 cooperates with its perfect partner PSoC Creator is perfect in the user experience. Under the single-board computer market, Cypress has not lost himself, with the wave, still focusing on itself The advantages of the product have developed such flexible PSoC4. On PSOC4, you can see the example of 1 + 1>2, believe that PSOC4 and PSOC Creator double swords will be used, and there will be a new diameter, 8-bit, 16-bit, and higher 32 MCU markets uncommon.
Reference
PSOC4 topic
Cypress official website
PSOC4 data
PSoC Chinese Forum
Original declaration: This article is originally created by the panel network, declined!
Our other product: