The LTR-303 is a digital ambient light sensor designed to measure the intensity of visible light over a wide range of lighting conditions. It contains two photodiode channels with different spectral responses, allowing the device to distinguish useful ambient-light information …
-
-
An I2C scanner provides a practical way to test the PIC18F56Q71’s I2C interface and identify devices connected to the bus without needing to know their addresses in advance. The firmware systematically checks the valid I2C address range and records which …
-
The curiosity nano explorer has 2 MCP23008 I/O expanders, both with unique addresses. There also 8 LEDs connected to the outputs of each expander. So lets see this Introduction The MCP23008 provides a straightforward way to expand the number of …
-
Now we take a look at the second function of the VCNL4020 – ambient light The ambient light capability of the VCNL4020 can be used with the PIC18F56Q71 to measure changes in surrounding illumination and present the readings directly on …
-
In this example The VCNL4020 proximity sensor provides a useful next step for the PIC18F56Q71 Curiosity Nano Explorer projects because it introduces an optical sensing device whose output can change rapidly as an object moves toward or away from the …
-
On the Nano explorer there is an MCP9808, so we will add the ability to use this sensor with the OLED. So we will modify the previous OLED example to add this. The MCP9808 temperature sensor adds a practical measurement …
-
The Nano Explorer features an OLED display, this makes it an ideal first step to making projects. We can then take sensors for example, like the MCP9808 on the Nano Explorer board and display its values. Using an OLED display …
-
The PIC18F56Q71 Curiosity Nano has a good old LED on it so lets do the usual basic example. With the development environment already configured in Visual Studio Code, the example concentrates on the small amount of firmware required to configure …
-
The PIC18F56Q71 Curiosity Nano provides a compact development platform for experimenting with the PIC18-Q71 family without requiring a separate programmer or debugger. The board contains the PIC18F56Q71 itself, an onboard programming and debugging interface, a user-controllable LED, a pushbutton and …
-
Timers are crucial in PIC microcontroller programming for delay generation, frequency measurement, and periodic event triggering. However, because timers are limited in size (8-bit, 16-bit), they overflow when they exceed their maximum value. Handling timer overflows correctly is essential to …
