PSoC™ 4 Forum Discussions
添付データシート PSoC 4 Capacitive Sensing (CapSense®) の P121のStep2の方法で接続したいと考えています。
CapSense Tunerを起動しても I2C接続しか表示されません。
IDE） PSoC Creator 4.2
CapSenseTuner）PSoC Creator Tuner 5.0
I 'm using Cypress CY8CKIT-042 and miniprog3 with your example SW "CapSense_CSD_P4_Proximity_Design01". The program works but I want to use the Bridge Control Panel for capsense tuning. I hooked up the miniprog 3 to the computer usb and it programs the chip.... I used the command they said to use in the bridge control panel but I don't get anything. I have used the bridge control panel with PSOC1 designs, so I am familiar with it. I don't know if I am using the correct Tx pin.
I;m sure this is easy but I am missing some information.
Something I found useful and i would like to share with the community.
The cover glass is one of the most important components of a touch sensor.
Cover glass selection is all about the trade-off between the sensitivity of the touch sensor and its mechanical and/or optical properties. There are many ways down the road to improve the touch sensor’s sensitivity (e.g. different electrode patterns or different stack-up materials). However, the sensor’s structural integrity is (literally) make or break when it comes to this selection.
This article discusses the main considerations of a touch sensor designer when choosing the sensor’s cover glass. First, we focus on common mechanical and optical design problems. Then we go into some more specific problems, in more intricate touch sensor designs.
Cover glasses’ mechanical properties:
A thicker cover glass results in a sturdier touch sensor. Thicker cover glasses are usually preferred for applications in harsh (e.g. industrial) environments. In devices like smartphones and smartwatches the designs need to be as thin as possible. So designers focus on trimming thickness, and the cover glass is no exception. A general rule of thumb to keep in mind is that the thinner the cover glass, the less it affects the performance of the touch sensor.
The material of the cover glass and its thickness affect the sensor’s weight. Again, smartphones and smartwatches are expected by the consumers to be lightweight so designers resort to lightweight materials. In touch sensors that are mounted on other devices (e.g. on white goods) weight is not a driving force on design choices. In these cases, designers go for the most cost-effective material and thickness solution.
3. Scratch resistance:
The need to mitigate the scratches is crucial in most of the industries. A cover glass that easily scratches can compromise both the functionality of the sensor and its cosmetic appearance. So, in smartphones and smartwatches, scratch resistance is a design priority. Customers simply expect their device to be able to withstand a moderate amount of scratches.
In harsh and industrial environments, the touch sensor is almost expected to be subject to scratches. The designer has to take this into account and select a cover glass durable enough to withstand them.
Finally, in healthcare, touch sensor should remain as smooth as possible so that it can be easily sterilized. Having scratches on their surface means a rougher surface that is harder to clean.
4. Drop resistance
Similar to scratch resistance, a basic level of drop resistance is something that customers expect from their products. In fact, drop resistance is so important that the latest version of Corning Gorilla glass is designed to withstand 15 drops from 1m without shattering. Again, smartphones and industrial devices are more likely to need such protections, while mounted devices are not likely to need it.
These are, in a nutshell, the mechanical properties a touch sensor designer should account for before making a cover glass design choice. Next up, we’re going to examine the most important optical features to consider.
Taking into account the mechanical properties of the cover glass when designing your touch device can minimize the instances where this happens.
Cover glasses' optical properties:
The general consensus regarding touch sensor designs that are on top of screens is that the whole sensor should have a transparency of more than 90%. As far as the cover glass is considered, the transparency lost on it is negligible. Most of the light is blocked by the electrodes. The material electrodes are made of, be it ITO or one of its alternatives, is not perfectly transparent. However, this doesn’t mean there aren’t other optical performance parameters to be considered.
Anti-glare is the ability of a glass to diffuse the mirror-like reflections off its surface, enabling the viewer to better see what’s behind the glass. So, anti-glare is used to increase the visibility of what’s behind the touch sensor. If there isn’t a screen behind the cover glass sensor, this property can be omitted. However, if there is one and the device is going to be used outdoors (e.g. in a POS device) then having such a property can vastly improve the usability of the device.
Again, in any device that features a screen behind the touch sensor, anti-haze coating is a must. Hazy or cloudy glass can reduce the clarity of what’s shown on the screen. This reduces the usability and its cosmetic appearance of the product.
Cover glasses’ geometrical properties:
8. Finger’s angle and distance relative to the electrodes
Designing a touch sensor that features a curved cover glass instead of a flat one can create problems on its own. Consider a flat sensor with a slightly bent cover glass, or a cover glass with curved edges. The glass will have a different effect on the performance of the design. This happens because the distance between the finger of the user and the electrodes will differ in the non flat areas. The difference will alter the coupling between the two and affect the sensor’s design.
But the problem magnifies if the cover glass forms a bigger curve angle. In this case, it is not only the distance between the finger and the electrodes, but also the orientation of the finger when it’s near the sensor that changes. Since the curve is bigger, the tip of the finger will probably have a different orientation that it does on the flat areas. This will introduce a different geometry to the sensor and again, alter the coupling between the two.
We also have to mention the case in which a stylus will be used to operate the touch sensor.
A stylus has a significantly smaller area than the fingers. So the general train of thought here is that in order to operate a sensor via a passive stylus you’ll need a more sensitive sensor than one you’d operate with a finger. In terms of cover glass selection, if you know that a stylus will be used, you might want to opt for a thinner cover glass or one with a higher relative permittivity.
9. Signal-to-Noise Ratio
Signal-to-noise ratio, or SNR, is a constant headache for touch sensor designers. Thankfully, proper cover glass selection can you help increase the SNR. Without going into too much detail, keep in mind that thicker cover glasses result in a worse SNR.Thinner cover glasses or ones made of a material with a higher permittivity lead to a better SNR.
If you want to learn how to achieve the best properties for your touch sensor you can read more here
I want to send 200 bytes via UART. I am using internal flag
UART done – UART transmitter done event: all data elements from the TX FIFO are sent. This interrupt source triggers later than TX FIFO empty by time it takes to transmit a single data element. The TX FIFO empty triggers when the last data element from the TX FIFO goes to the shifter register. However, UART done triggers after this data element has been transmitted.
Problem: Based on oscilloscope observation, it seems transmit is still happening after the interrupt has occurred. Based on oscilloscope it seems entire transmit is hapening after transmit done interrupt.
Please suggest.Show Less
I am using PSOC4 CSD component for water proof cap touch design. The design is a single cap touch button with shield and guard. The cap touch button will install on a car body that suppose can operate under rain and snow environment. The cap touch button can not be false trigger by rain and snow. Are there any standard methods to test the behavior of the cap touch button under rain and snow environment. How can I guarantee that the cap touch button will not be false triggered in different outdoor environment (eg. rain snow and others...….)Show Less
Hello, I am trying to create a project that will allow a keypad to interact with an i2c OLED display. I have run into problems with the display because I created a PCB that everything would be soldered on to, and the chip would be removed the from the board and placed onto headers. The problem is that the i2c screen doesn't like to be programmed by the chip, and I have to use jumper wires to the psoc4 board, to the screen for it to be programmed. Any ideas?
Another note, I was kind of able to have the keyboard pseudo-communicating with the screen, but the code I wrote for it must have had some issues.Show Less
We are really interested by the soon incoming bluetooth mesh (based on SIG specifications), that could fit well with home automation with best range plus mesh.
Can we know when Cypress will release a 5.0 stack and next a mesh stack ?
Are the actual 4.2 Cypress chips compatible with the Bluetooth 5.0 ? (it should apparently i but didn't see evidences of it)
Thank you for your answers.Show Less
i'm trying to use i2c sensor and want to show the sensor value in Serial Monitor in PC
So i try 2 SCB ( UART and I2C) like the screenshot
and wrote code like this
//#define I2C_SLAVE_ADDR (0x28u)
CyGlobalIntEnable; /* Enable global interrupts. */
UART_PC_UartPutString(" PM2008 TEST \r\t" );
when i did not use i2c block , the monitor gives me correct message for each 1 seconds,
but i use i2c block monitor goes like this
it gives me a lots of message, i think something is wrong,,
does somebody have same experience like me ?Show Less