Search results

  1. Bellon

    PWM - pic18f4550 - led + potentiometer

    The "Library Routines" are these (available in MikroC): PWM1_Init PWM1_Set_Duty PWM1_Start PWM1_Stop I can use these in MikroC but do not know what to use to program the MPLAB.
  2. Bellon

    PWM - pic18f4550 - led + potentiometer

    A library file (header): #include <pwm.h>
  3. Bellon

    PWM - pic18f4550 - led + potentiometer

    Hello. I'm doing my first program with pwm and am encountering some difficulties to do a small project. I want to vary the voltage of an LED as the turning of a potentiometer. However, the examples I found are with PWM own libraries, which I have not. I'm using a PIC18F4550 in MPLAB X. If anyone...
  4. Bellon

    PIC18F4550 - Buttons and LCD

    More about the program: User will have four options buttons: back, ok, up and down. Through these buttons, the user will be able to read the information on the LCD and select them. My idea was not to leave the message automatically appearing, but that the user had control when it was necessary...
  5. Bellon

    PIC18F4550 - Buttons and LCD

    Hello! I need to schedule four buttons with the following functions "back" , " OK" , " up " and " down " . I have this code here but found it difficult to compile in mplab and also program along with the messages that I want to appear on my LCD (16x2) . I was trying to use vectors to display the...
  6. Bellon

    Programming - Solenoid valve in an irrigation system

    The sensor (which are two nails) measures the change of resistance in the ground and sends the signal to the PIC (image 2). In the first image, it is part of the circuit which drives the solenoid valve with the relay, starting or stopping irrigation.
  7. Bellon

    Programming - Solenoid valve in an irrigation system

    I have two circuits to measure moisture (the sensor goes in the connector and are nails and I want to read the average of the two). A league in RA0 and RA1 on the other.
  8. Bellon

    Programming - Solenoid valve in an irrigation system

    I have a sensor, but the circuit I uploaded the image is only for connecting the solenoid valve to start or stop irrigation.
  9. Bellon

    Programming - Solenoid valve in an irrigation system

    Hello! I'm doing a system for irrigation and me there were some questions about the schedule. I'm using a PIC18F4550 and programming in C language (I'm at the very beginning of the program). In the picture I am sending, has a connector which will put the solenoid valve that will open and close...
Top