www.micro-examples.com : Recent comments

From www.micro-examples.com
Jump to: navigation, search
Recent comments options
Wiki page:
From: ,   :
To: ,   :
Limit (1-500): comments
  • Giampaolo
    (31 December 2020, 22: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, 20: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
  • asdfgh
    (23 January 2020, 23:48)
    hi can u helpp
  • IJ
    (23 January 2020, 18:42)
    Hi Bruno, i'm making this simple metaldetector at school. At school we have the PICkit 2 programmer (the black one), is this the right one to use in this case?
    Also another question, do i need to download the mikroC PRO compiler for this to work or can i use another compiler? I have the PIC C Compiler installed.
  • ravera
    (2 October 2019, 18:41)
    Hello sir, I have tried your source code, and have a little problem.
    The red LED (calibrate) is blinking very fast, and whenever i put some metal things near my coil, it stop blinking for 1 second, and then again it starts blinking.
    The green LED never turns ON.
    My _XTAL_FREQ is 80000000. I have tried other values, it doesn't change anything.
    Can you please tell me if I'm doing something wrong ?
  • yo mek
    (30 May 2019, 20:19)
    shit on hit an stick
  • Thomas
    (22 February 2019, 17:42)
    Thank you Bruno,

    with my old analogue Oscilloscope I now get readable outputs, much better than using a digital Oszilloscope.

    I also changed R3 from 680 Ohm to 330 Ohm to achieve the right R2R Voltage Levels.
  • BrunoG
    (21 February 2019, 15:32)
    Hi Thomas, thank you for your message

    configuration word value 0x0014 is correct for PIC12F683, as it is in the binary file

    please note that the oscilloscope must not be set in X/Y configuration but in external trigger mode : GP2 output pin is connected to the trigger input of your oscillo to get correct horizontal synchronization

    timebase should be 0.5 ms/div

    hope this will help
  • Thomas
    (21 February 2019, 11:46)
    When I compare the Config Word of the precompiled HEX File with the Config Word resulting from recompiling the Project with mikroC V5.6.1, they are completely different.
    precompiled HEX-File: Config Word = 0x0014 (Code Protection set..)
    recompiled Source Fie: Config Word = 0x0FF2
    Which one is correct?

    When I connect the Outputs to an Oscilloscope with external Trigger from X and Chan1 from Y, I can see a steady wave containing 4 dedicated Voltage levels, but no readable Text. What is wrong?
  • RichardB
    (25 January 2019, 18: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, 08:14)
    Happy new year Bruno!
  • stefan901
    (1 December 2018, 16:50)
    Will it be very hard to modify code to generate crosshairs? I think about one vertical line and one horizontal, both ~1-2px thic, with ability to move lines with buttons and save position in memory.
  • DCF-77 clock
    (18 October 2018, 11:26)
    "" However the Thing Counts on the Display to 35 and then starts back at 0 ""
    Use the inverse output of the DCF module.
  • gordy7
    (15 July 2018, 23:09)
    Here is my Basic main code.
    Used GCBasic, 12F1840, ultrasonic transmitter (I had lying around).
    Maybe more sensitive if I had an ultrasonic receiver.

    ;Chip Settings
    #chip 12F1840
    #config OSC=ECL, FCMEN=OFF
    set wpua5 = 0 'PU off
    ' ultrasonic sensor on PA5
    dir porta.0 out ' piezo
    dir porta.1 out ' piezo
    dir porta.2 out ' LED for program test
    set porta.0 0
    set porta.1 1
    set porta.2 0
    Do Forever
        lata = lata xor 0b111
  • gordy7
    (15 July 2018, 01:00)
    Very nice project.
    I am going to give it a go!
    The code appears ok... But I am not a 'C' guy.
    What does seem missing are a couple of 12F683 configuration items... Maybe preset in the author's setup.
    I think that something like the following needs to be included:
    oscon = 00 Clock source determine be Fosc
    config (word) - 00,03 Fosc = EC Ext clock
  • rupesh reddy
    (29 June 2018, 11: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.
  • diego
    (14 June 2018, 03:30)
    val *= 5000 ; // convert 12 bits reading to voltage
    val *= 5000 ; // convert 10 bits reading to voltage
  • Madhav
    (24 April 2018, 15:44)
    Arif, you have to make your own inductor. Just a wire with the size intended to detect vehicles - for a car, try with something that is 4 x 6 feet and keep the value of the inductor between the values indicated by Brunog. So, that's playing with the number of turns. Just make certain that the two ends are twisted from the end of the loop to the pic. Keep posting the progress.
  • Gautham
    (23 January 2018, 09:13)
    Could you plz explain how ctr relates to timer1 register in multidelay program?
  • diego
    (19 October 2017, 02:41)
    Hi Bruno,
    I wish you all the best !
  • Roberjones
    (13 July 2017, 11:35)
    Very nice of sharing. Recently I had been looking for this type blog . I am very happy by seeing your post and I got several ideas from your story. Looking forward to getting your next story .Thank you.
  • süleyman
    (5 June 2017, 10:11)
    malzeme listesini verebilecek var mı ?
  • suleyman
    (5 June 2017, 10:10)
    kardeşim malzeme listesini bulabıldin mi
  • Ibrahim
    (23 April 2017, 19:05)
    Malzeme listesi verebilirmisiniz
  • Ibrahim
    (23 April 2017, 19:04)
    Malzeme listesini verebilirmisiniz
  • yasmine
    (27 March 2017, 22:28)
    anyone please knows how to simulate that code on proteus
  • yasmine
    (27 March 2017, 22:27)
    Back to www.micro-examples.com
    LED Light Sensor C Source Code

    Here is the MikroC source code :

    Back to project page

     * 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
  • .
    (21 March 2017, 20:34)
  • Rachel
    (20 March 2017, 17:43)
    Hi! I'm trying to use this code to divide ultrasonic noise by 4 to put it into the audible range. I followed the code a circuit, but it still isn't outputting the reduced frequency. Has anyone else had this issue or have any suggestions?
  • linux
    (7 December 2016, 11:34)
    Hi sir;
    How the two frequencies are compared?

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