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
  • Giampaolo
    (31 December 2020, 21:28)
    Hi there,
    I've built your single nixie clock but the HEX file you provide gives me problems with the MPLAB programmer: the size of the code goes beyond the limits of the PIC16F84 !?!?!
    I have always written PIC code in machine language, not C, and I presume you don't have asm source code. But maybe you can help me in some way
  • Giampaolo
    (31 December 2020, 19:59)
    Hi there,
    I've built your single nixie clock but the HEX file you provide gives me problems with the MPLAB programmer: the size of the code goes beyond the limits of the PIC16F84 !?!?!
    I have always written PIC code in machine language, not C, and I presume you don't have asm source code. But maybe you can help me in some way
  • yo mek
    (30 May 2019, 19:19)
    shit on hit an stick
  • RichardB
    (25 January 2019, 17:23)
    Hi Bruno, can you explain how to add your Keypad Library to MikroC pro. I am a newby and have not done this before.
    Thanks for any help you can give.
  • hugo
    (1 January 2019, 07:14)
    Happy new year Bruno!
  • DCF-77 clock
    (18 October 2018, 10:26)
    HI!
    "" However the Thing Counts on the Display to 35 and then starts back at 0 ""
    Use the inverse output of the DCF module.
  • rupesh reddy
    (29 June 2018, 10:05)
    Could you please explain how to make one ultrasonic sensor by self and how we will programing to ic, And please share ckt for this ultrasonic sensor hc sr04.
  • Gautham
    (23 January 2018, 08:13)
    Could you plz explain how ctr relates to timer1 register in multidelay program?
  • 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

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