Category: Blog Posts

Infrared Sending Part 2

Parts In the previous post, I gave you the internals of the PSOC to create the IR transmitter. I experimented with several IR LED’s and eventually settled on some LED’s from Vishay. Their TSAL6xxx series is a good through hole part, available at Mouser. The external transistor can be...

Infrared Sending Part 1

Sending IR signals is difficult when using a device that is expected to be wall or shelf mounted. You have to create a strong enough signal for it to bounce around the room and be received by the target under less than ideal conditions. To accomplish this, you have...

Infrared Remote Recording Part 3

In the previous posts, we created an IR reader, then captured the data and stored it into memory. In this post, I will show you how to use an inexpensive logic analyzer to the Macintosh and look at the waveforms. Logic Analyzer LHT00SU1 I tend to use the LHT00SU1...

Infrared Remote Recording Part 2

The PSOC electronic design shown in the last post provides a mechanism for capture of the Infra-Red light (IR) broadcast by the remote. You will find on the internet that most IR remotes use Manchester Encoding. I found that for A/C units, that was not completely true, so I...

Infrared Remote Recording

Note: To re-create this project to this point, go back to the post PSoC USB UART: A Debugging Tool and work from there. If you are starting out with PSOC, go back to the post PSoC 101 and a PSOC Creator Trick In this post I will show the...

PSOC: Millisecond Timer The Easy Way

It is extremely easy to add a millisecond timer to your project. With a 24 MHz or 48 MHz ARM CPU processor speed, a timer only takes a few microseconds to execute. Let’s get started. Add Clock and ISR Go to the schematic sheet, right click on a bottom...

Floating Point Reading: Temperature Over USBUART

If you have been following the posts from the beginning, your application can print messages to the USB connected serial port, and get typed characters from the keyboard. See the previous post, PSoC USB UART: A Debugging Tool, here https://socmaker.com/?p=168. (Note I updated it as I found another issue.)...

Temp Sensor: 1-wire DS18B20

Years ago, Dallas Semiconductor created an unusual protocol that used the device’s input power line for communication. Using an embedded capacitor, the device can stand for power to be absent long enough to communicate to an MCU. This allows a sensor to be powered and communicate using one wire...

PSoC USB UART: A Debugging Tool (Updated)

When working on a project, it is often useful to have the ability to peek into the world of the processor. In those cases, I like to combine the ability to power my project with 5 Volts with a communication path into my code. This can easily be accomplished...

Intermission: Electrical Debugging Tips

Before I post about USB UART, I feel the need to cover electrical debugging on the PSOC. Since the PSOC is a mixed signal device, handling both analog and digital signals internally, you have challenges when debugging your project. In order to trouble-shoot your project, you must be able...