www.micro-examples.com : Recent comments

Views
Views
From www.micro-examples.com
Jump to: navigation, search
Recent comments options
Wiki page:
From: ,   :
To: ,   :
Limit (1-500): comments
  • diego
    (19 October 2017, 01:41)
    Hi Bruno,
    I wish you all the best !
  • yasmine
    (27 March 2017, 21:28)
    anyone please knows how to simulate that code on proteus
  • yasmine
    (27 March 2017, 21:27)
    Back to www.micro-examples.com
    LED Light Sensor C Source Code

    Here is the MikroC source code :

    Back to project page

    /*
     *******************************************************************************
     * PIC PWM LED DISPLAY DIMMER WITH SIMPLE LIGHT SENSOR
     *******************************************************************************
     *
     * how to dimm automaticaly a 7-segment multiplexed LED display
     * with only another LED used as light sensor
     *
     * the dimmer is made with software PWM to co
  • Chipmonk
    (22 November 2016, 09:00)
    did u get any assistance?I reckon what you want is a Half Bridge configuration, u can use the calculator on this site to the the values you need to enter into the appropriate registers, the dead band is an easy calculation too, the lower 7 bits of the PWMxCON register program the dead band delay time in the order Fosc/4...
  • Dan
    (7 February 2016, 19:44)
    I have PIC 18 and want to translate the Mikroelektronika .asm file to MPASM compliant code. Can you help?
  • Cool person
    (21 October 2015, 16:08)
    this website dose not give examples for micro.
  • Jan
    (23 July 2015, 10:03)
    Sure you can the source is there!!
    I did not see that other than direct after initial and if in the wrong mode.

    Thanks to the designer for the real nice idea !!
    I have changed the program a little bit so i can set the mode with the switch if no lock.
    And I do not need seconds so have changed that in date!
    Have implemented an manual install of the clock with bit B1 and B2 as well.
    And update the clock at second 50 (so i can use an LCD clock as MASTER without changing its functions).
  • sathish
    (30 June 2015, 18:36)
    Dear sir, I need a help to generate two pwm of complementary out with dead time .6us frequency 20 to 40khz and 10 to 50%duty cycle in pic 16f or 18f series
  • pathir
    (5 June 2015, 13:22)
    Hi,
    I have some problem with PIC16F84A DCF77 LED clock. After programming all LEDs and segments light on and displays only 8.8.8.8. nothing more happens. I did everything like the instructions What could be wrong?
  • pathir
    (5 June 2015, 12:38)
    HI,
    I have problem with "A PIC16F84A DCF77 LED clock". After downloading the program, all leds and segments will light up and nothing more happens. Displays only: 8.8.8.8. Can You or somebody else help me?
  • Luis
    (28 May 2015, 23:04)
    Hi, about your old project Cheap Ultrasonic Range Finder which is the Minimum and Maximum distance it can measure?
    Thank you, I wait your reply here or in my mail: luisestrada9342@gmail.com
  • rabbo51
    (30 April 2015, 23:05)
    Regarding the DCF/project/LED clock, sometimes it happens that I display signals a time type: 37.84 or 42.98 I wonder whether it is possible to implement a condition in the program if the hours are greater than 23 or if the minutes are greater than 59 skips updating the time.
    The remainder of the project and is perfect.
    Thanks
  • hugo
    (3 April 2015, 20:44)
    "The good news is you can add comments to projects :)"
    ... but I'm not going to read them anyway :)
  • Ernest Barnes
    (17 January 2015, 08:40)
    Hi
    Sorry I forgot to mention the project in my previous post refers to the A PIC16F819 DYMOCLOCK
    Thanks
    Ernest
  • Ernest Barnes
    (17 January 2015, 08:38)
    Hi
    looks like a nice project I constructed it but when I try compile the code I'm getting a lot of errors.
    I'm using MicroC pro for PIC compiler v6.50.
    Any help will be appreciated
    Thanks
    Ernest
  • Colm Forkin
    (12 January 2015, 12:01)
    BTW my email is cforkin@iee.org
  • Colm Forkin
    (12 January 2015, 12:00)
    Hello Bruno,
    Are there examples that show how to read a PWM signal and determine its frequency?
    I can assume that the duty cycle is 50% and I just want to see if it is one of three different frequencys e.g. 1.1 Hz, 2.5 Hz or 4.3 HZ.
    I use dsPIC33EP512MU810
    I can only do this with a pin that has PWM configurable, correct?
    My idea is to write a function that outputs a "period" measured by clock edge differences
    ConsultPeriodChannelInput(..ch_num,uint16 *period).How would a main program use this?
  • Yariv3G
    (19 November 2014, 07:41)
    btw my mail is Yariv.Shavit@gmail.com
  • Yariv3G
    (19 November 2014, 07:40)
    Hi Bruno,
    I have a question regarding your 8 years old Project Sonic Range Finder. You used one Piezo for Tx and one for Rx. What if I would like to use the same Piezo for Rx and Tx, I will have to switch in between. Could you suggest me such a IC Switch, could I do it with a CD4556BE? Any tips I could use not to run into Pitfalls?

    Many Thanks in advance
    Y3G
  • newone
    (25 September 2014, 12:36)
    Hi.
    I tried to simulating PIC PAL with PIC18F4620. I used mikroc to compile the code and proteus to simulate it. But it gives me a stack oveflow error. Following is my code.

    PAL_init(PAL_Y);
         PAL_fill(0) ;
         PAL_line(0, 0, 127, 127, PAL_COLOR_WHITE) ;
         PAL_control(PAL_CNTL_START, PAL_CNTL_RENDER) ;

    P.S i added I/O configuration from demo file above this code.
  • Y3G
    (21 September 2014, 16:22)
    Hi,
    In the A PIC16F877A cheap ultrasonic range finder, how do I modify it that the same Sensor is acting as Tx AND Rx? Which switching IC you suggest? It needs to handle the fast switching in xx kHz area and can keep the hi-Voltage. Is a CD4556BE something you could suggest?
    Many thanks in advance,
    Y3G (...when there is 4G)
  • Nancy
    (14 July 2014, 15:24)
    thank you very much Frank :) but what about the other errors thank you in advance
    87 313 Too many actual parameters MyProject.c
    97 324 Undeclared identifier 'PWM1_Change_Duty' in expression MyProject.c
    140 317 Operator '' is not applicable to these operands '' MyProject.c
    175 317 Operator '' is not applicable to these operands '' MyProject.c
  • FRANK
    (21 June 2014, 22:19)
    _Lcd_CURSOR_OFF
  • jpatarb
    (18 June 2014, 23:56)
    The max variable name has already been used in one of the included libraries. I came across the same thing. The solution is to rename the variable max to something else. I use maxa.
    Jim
  • chaker
    (15 May 2014, 14:05)
    in the project of the ultrasonic rang finder : how i get an amplification of the signale recieved from the recever , because it's too smalle
  • kp
    (13 May 2014, 08:23)
    how much change is required in PIC PAL LIBRARY to display a gray scale static image on the screen..??
    thanks in advance.
    regards.
  • zolek
    (20 April 2014, 13:05)
    PIC16F84A simple alarm clock. MikroBasic
    Hex fails generate.

    169,314 Identifier "max" has already been Declared in "__Lib_CStdlib.mpas" 16F84 ALARM CLOCK.mbas

    170 304 Syntax error: Expected "begin" but "digiled" found 16F84 ALARM CLOCK.mbas

    169373 Routine 'setValue' is missing Implementation 16F84 ALARM CLOCK.mbas
  • Nancy
    (23 March 2014, 22:18)
    87 313 Too many actual parameters MyProject.c
    88 324 Undeclared identifier 'Lcd_CLEAR' in expression MyProject.c
    89 324 Undeclared identifier 'Lcd_CURSOR_OFF' in expression MyProject.c
    97 324 Undeclared identifier 'PWM1_Change_Duty' in expression MyProject.c
    140 317 Operator '' is not applicable to these operands '' MyProject.c
    175 317 Operator '' is not applicable to these operands '' MyProject.c
    0 102 Finished (with errors): 23 Mar 2014, 22:25:51 MyProject.mcppi
  • Nancy
    (23 March 2014, 22:17)
    i want to ask about the PIC16F877A cheap ultrasonic range finder
    i don't know much about pic and micro c but i want to make the ultrasonic finder urgently now i want to know about the rest of pins of the pic i have connected the power n' the two pins which are in the schematic attached to the project but which pins i should connect the LCD n' what are the other pins that i should have to connect
    when i copied the code as it is this is the appered errors
  • What exactly do you need
    (9 March 2014, 08:32)
     

Navigation
Toolbox
Others
Donation
You can help :
with Paypal
Share
Personal tools
www.micro-examples.com Electronic circuits with micro-controllers, projects with source code examples