protocol

RC5 Protocol Remote Control Decoder

RC5 Protocol Remote Control Decoder

This project shows how to decode IR remote controls which uses Philips RC5 protocol with microchip PIC16F84A microcontroller. You can find details about RC5 on Wikipedia Related topics: Philips RC5 & LG TV Remote Control Decoder IR Remote Control Based On PIC Microcontroller The RC5  protocols can be divided into 4 parts: 1-start bit, 2-Toggle […]

RC5 Protocol Remote Control Decoder Read More »

Open source 12V powerbank

Open source 12V powerbank

Why did I build a power bank? Why would anyone even try to build a power bank – i.e. an external battery for charging mobile devices – these days? These things are commodity, it’s impossible to compete. Right? Well, that is until you find out that the type of power bank for your application, namely

Open source 12V powerbank Read More »

SMA Solar readout part 1

SMA Solar readout – part 1

This is the first post of a 3-part series about reading out an SMA solar inverter over Bluetooth and displaying some readings every few seconds. Long-time readers may remember the Solar at last weblog post from several years ago and the SMA Relay, based on a JeeNode v6. The Bluetooth readout code was derived from Stuart Pittaway’s Nanode SMA

SMA Solar readout – part 1 Read More »

Basics of the I2C Communication Protocol

Basics of the I2C Communication Protocol

So far, we’ve talked about the basics of SPI communication and UART communication, so now let’s go into the final protocol of this series, the Inter-Integrated Circuit, or I2C. You’ll probably find yourself using I2C if you ever build projects that use OLED displays, barometric pressure sensors, or gyroscope/accelerometer modules. I2C combines the best features of SPI and UARTs. With

Basics of the I2C Communication Protocol Read More »

Basics of the SPI Communication Protocol

Basics of the SPI Communication Protocol

When you connect a microcontroller to a sensor, display, or other module, do you ever think about how the two devices talk to each other? What exactly are they saying? How are they able to understand each other? Communication between electronics is like communication between humans. Both sides need to speak the same language. In electronics, these languages are called communication

Basics of the SPI Communication Protocol Read More »

Connect CAN Protocol with PIC

The mikroC PRO for PIC provides a library (driver) for working with the CAN module. The CAN is a very robust protocol that has error detection and signalization, self–checking and fault confinement. Faulty CAN data and remote frames are re-transmitted automatically, similar to the Ethernet. Data transfer rates depends on the distance. For example, 1

Connect CAN Protocol with PIC Read More »