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 Β»