Search found 134 matches

by Sasi
Tue Oct 07, 2025 10:40 am
Forum: General
Topic: PIC16F1779 – Help with ADC (CAL) Macro Configuration
Replies: 3
Views: 330

Re: PIC16F1779 – Help with ADC (CAL) Macro Configuration

I have one more question. I want to use the Temperature Indicator integrated in the MCU. I enabled the sensor in the FVR register and set the Channel parameter of the "Enable" command to 61 (this value in the "CHS" field of ADCON0 switches the ADC input to the Temperature Indicat...
by Sasi
Tue Oct 07, 2025 8:48 am
Forum: General
Topic: PIC16F1779 – Help with ADC (CAL) Macro Configuration
Replies: 3
Views: 330

Re: PIC16F1779 – Help with ADC (CAL) Macro Configuration

Hello Ben, I got the ADC set up :D — thanks a lot for the instructions, really helpful! If it's okay, I’d like to share a couple of thoughts that came up while working on it: I found the ADC (CAL) component’s WIKI page a bit on the minimal side. In the Properties window, the Acq Time dropdown shows ...
by Sasi
Sun Oct 05, 2025 11:05 pm
Forum: General
Topic: PIC16F1779 – Help with ADC (CAL) Macro Configuration
Replies: 3
Views: 330

PIC16F1779 – Help with ADC (CAL) Macro Configuration

Hello, I'm working on an active project using the PIC16F1779 MCU, and I have a question regarding the ADC peripheral. I need to monitor the voltage levels on multiple analog inputs sequentially. From what I’ve seen, this task could be handled quite easily using the ADC (CAL) Macro. However, I’m a bi...
by Sasi
Sun Oct 05, 2025 3:13 pm
Forum: General
Topic: PIC16F1779 – ADC shows 12-bit resolution, but datasheet says 10-bit
Replies: 0
Views: 272

PIC16F1779 – ADC shows 12-bit resolution, but datasheet says 10-bit

Hi all, I'm working on an ongoing project using the PIC16F1779 MCU. I intend to use its ADC peripheral, and I have a question regarding its configuration. In the ADC Component Macro properties window, I see a resolution of 12 bits, and the ADC result I receive also appears to reflect a 12-bit resolu...
by Sasi
Sat Oct 04, 2025 11:13 am
Forum: Bug Reports
Topic: Slow I2C Component Macro [Solved]
Replies: 3
Views: 309

Re: Slow I2C Component Macro

Hi Martin,

Thank you very much for your help, it works perfectly after I turned off the Stop delay. :oops:

Regards,
Sasi
by Sasi
Sat Oct 04, 2025 9:38 am
Forum: Bug Reports
Topic: Slow I2C Component Macro [Solved]
Replies: 3
Views: 309

Re: Slow I2C Component Macro

I realized that I had omitted the I2C component initialization command from the test project. Presumably, without this, the other I2C operations should not function correctly. I tried placing the I2C initialization block before the main loop, but it made no difference write and read operations still...
by Sasi
Fri Oct 03, 2025 2:58 pm
Forum: Bug Reports
Topic: Slow I2C Component Macro [Solved]
Replies: 3
Views: 309

Slow I2C Component Macro [Solved]

Hello, I tested the I2C component with a PIC16F1779 MCU and a 47C04 type EERAM. Writing and reading work correctly, and the operations complete in about 100 µs. However, the Component Macro continues to run for another 10 ms after a write or read operation. What do you think could be causing this? T...
by Sasi
Tue Sep 23, 2025 12:37 am
Forum: Bug Reports
Topic: The VL53L0X1 sensor does not work with the PIC18F27Q10 MCU.
Replies: 3
Views: 2042

Re: The VL53L0X1 sensor does not work with the PIC18F27Q10 MCU.

Hello Ben, Since both I2C channels are operational, I attempted to connect the sensor and the display to separate channels. In this configuration, the TOF sensor functioned correctly. The SCL line remained in its expected idle high state. (I re-tested the setup using a PIC16F18857 MCU, and observed ...
by Sasi
Mon Sep 22, 2025 2:56 pm
Forum: Bug Reports
Topic: The VL53L0X1 sensor does not work with the PIC18F27Q10 MCU.
Replies: 3
Views: 2042

Re: The VL53L0X1 sensor does not work with the PIC18F27Q10 MCU.

Hi Ben, I am attaching two pictures of the issue. TOF initialization does not happen at startup either, the MCU tries to program the sensor, but they "don't understand each other". It would be great if you could find a solution to this error. TOF SCL idle state is LOW.jpg TOF SCL zoomed in...
by Sasi
Sun Sep 21, 2025 1:52 pm
Forum: Bug Reports
Topic: The VL53L0X1 sensor does not work with the PIC18F27Q10 MCU.
Replies: 3
Views: 2042

The VL53L0X1 sensor does not work with the PIC18F27Q10 MCU.

Hello, I would like to implement distance measurement using a PIC18F27Q10 MCU. I have connected a VL53L0X sensor and an SSD1306 OLED display to a common I2C bus. The display works, but the TOF sensor does not. In the test project, when the TOF sensor Component Macro runs, the CLK line remains "...