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
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
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.
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
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...
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).
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
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?
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?
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
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
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
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?
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?
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.
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)
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
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