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
  • asdfgh
    (23 January 2020, 22:48)
    hi can u helpp
  • IJ
    (23 January 2020, 17: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, 17: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, 19:19)
    shit on hit an stick
  • Thomas
    (22 February 2019, 16: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, 14: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, 10: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, 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!
  • stefan901
    (1 December 2018, 15: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, 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.
  • gordy7
    (15 July 2018, 22: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
    '
    Start:
    '
    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
    loop
    '
  • gordy7
    (15 July 2018, 00: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, 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.
  • diego
    (14 June 2018, 02:30)
    val *= 5000 ; // convert 12 bits reading to voltage
    //incorrect
    val *= 5000 ; // convert 10 bits reading to voltage
    //correct
  • Madhav
    (24 April 2018, 14: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, 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 !
  • Roberjones
    (13 July 2017, 10: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.
    https://essaypaperreviews.com/
  • süleyman
    (5 June 2017, 09:11)
    malzeme listesini verebilecek var mı ?
  • suleyman
    (5 June 2017, 09:10)
    kardeşim malzeme listesini bulabıldin mi
  • Ibrahim
    (23 April 2017, 18:05)
    Malzeme listesi verebilirmisiniz
  • Ibrahim
    (23 April 2017, 18:04)
    Malzeme listesini verebilirmisiniz
  • 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
  • .
    (21 March 2017, 19:34)
    .
  • Rachel
    (20 March 2017, 16: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, 10:34)
    Hi sir;
    How the two frequencies are compared?
  • linux
    (7 December 2016, 10:33)
    Hi sir,
    How the two frequencies are compared?
  • 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...

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