PSoC™ 5, 3 & 1 Forum Discussions
text.format{('custom.tabs.no.results')}
Hi,
I designed 7 segment project with using CY8CKIT-001. I can counted until to 100. I want to add alphabetic character to 7 segment. But I didn't designed code for alphabetic character. Can you look at my code please How can change my code?Thanks
Show LessHow to implement ganging of Sensors with SmartSense Capsense Usermodules ?
Let us consider we need to gang 3 sensors and scan it as well we need to scan them as individual sensors. The idea is to have a fourth dummy sensor and during scanning/calibration of the fourth sensor, instead of connecting the AMUX bus to the fourth sensor, connect the three sensors which you would wish to gang. This is achieved by the use of Custom Userdefined functions instead of SmartSense_EnableSensor , SmartSense_DisableSensor and SmartSense_ClearSensors APIs.
I am attaching the project with sensor ganging in Smartsense. The GPIOs P2[1], P2[3] and P3[3] are used for individual sensors. For the ganged scanning of the above 3 sensors, I have used a dummy sensor in the CSD wizard at P1[7]. The basic idea is again demonstrated below.
1) During calibration of the sensor, the scan_sensor is called which does the AMUX connections individually.
2) Replace the SmartSense_ClearSensors API with "Clear_All" function where all the sensor connections to the AMUX are broken before start of calibration of sensors.
3) Now the idea is that do not use the Smartsense_EnableSensor available. Comment it and replace with a custom function "Connect_Sensor" where the AMUX connections for the respective sensors are made before its scanning.
3) Similarly replace SmartSense_DisableSensor with "DisConnect_Sensor" where the AMUX disconnections are done for the respective sensors are made after its scanning.
Thus the calibration of individual sensor(P2[1], P2[3] and P3[3]) is similar to the existing UserModule Implementation. On the other hand, when scanning the sensor during calibration, instead of connecting the AMUX to P1[7], connect all the GPIOs P2[1], P2[3] and P3[3] to the AMUX bus and calibrate the IDAC and set other parameters. The same idea applies for scanning also.
NOTE: You can add as many sensors in SmartSense wizard and build the project. Then make the required changes in the SmartSense.asm file by comparing with the attached file (Modified_SmartSense.txt). Add the changes in Connect_Sensor, DisConnect_Sensor and Clear_All user defined functions in main.c accordingly.
Best Regards,
AnandaGanesh
Show LessHi,
We are using CY8CKIT-017 CAN/LIN expansion board along with PSoC 3 Kit CY8CKIT-030 for the project involving Event data recorder as described in Application note: AN70630. There is a mention of using CANAnalyzer for generating signals and feeding into the kit. However, there are no other details about what type of CANAnalyzer is being used from which software vendor etc.
Show LessI am using the psoc5.4 designer and created a project using an uart.
This project was working fine. Until I changed the paging attribute in the project settings.
My own code is only C I didn;t modify the assembler parts.
So I may expect that the uart_1.asm and uart_1int.asm are correct and do support the LMM.
When Paging is enabled I see the UART_1_bRxCnt getting a value.
But the UART_1_aRxBuffer is filled with 0x00
What should I do to get the LMM working in combination with the uart.
Show LessHi,
Herkulex DRS-0101 and DRS-0201 are smart servo motors. The motors also incorporate gear reducer, control circutry and communications capability in one single package. Both servos are capable of detecting and responding to internal changes in termerature and voltage supply. For more information regarding Herkulex servo motors refer to the link : http://www.sgbotic.com/products/datasheets/robotics/herkulexeng.pdf
I have built a simple project to send commands to herkulex motor. For this, I have migrated the arduino library which is already available for herkulex motor to PSoC compatible library. The arduino library for herkulex motor is available at :- http://mbed.org/users/passionvirus/code/herkulex/file/1dacff31b77a/herkulex.cpp
The library I have used i.e., herkulex.h will support PSoC 3/4/5LP is migrated from arduino library for herkulex motor present in the above link with some minor changes. I haven't tested the code completely. So the user may need to do a few changes to the code/library (herkulex.h) if required.
- Thinkle
Show Less