Michael

Forum Replies Created

Viewing 15 posts - 181 through 195 (of 1,008 total)
  • Author
    Posts
  • in reply to: Overlaying Stationary Text #8678
    Michael
    Keymaster

    Can you post your code so I can see if something is missing? You can replace your callsign with XXXXXX if you want.

    in reply to: Changing the delay time #8657
    Michael
    Keymaster

    The echo example only uses one of the chips for simplicity. That is why the delay is only 4 seconds. If you want it to use both chips, you’d have to modify the code, but the logic becomes more complex to use both chips.

    in reply to: Doubts in the circuit #8656
    Michael
    Keymaster

    I don’t understand your request. The Eagle files are complete. The files are the same files that the board was manufactured from. To fill in the power planes, click the “ratsnest” button in Eagle.

    in reply to: Doubts in the circuit #8652
    Michael
    Keymaster

    C2 is connected to VCC and GND. That is shown in the schematic. The board has power planes, and C2 connects to the planes, so there are no traces.

    in reply to: Changing the delay time #8645
    Michael
    Keymaster

    Photoflash, I have tried your code above and it works fine for me. A small value for echoDelay gives a small delay, and a large value gives a longer delay. I do not know why this would not work for you. Are you sure you are making the code change then uploading the change successfully to the device?

    With the variable echoDelay declared as unsigned int, the max value is 65535. But for longer delays change the declaration of echoDelay to an unsigned long:

    unsigned long echoDelay;

    Then you can use a maximum delay value of 131067 which gives a day of about 4 seconds.

    in reply to: Changing the delay time #8636
    Michael
    Keymaster

    Hmm. This is strange. I don’t see anything wrong with this code. Did you ever use this echo example with a potentiometer? Did it ever work?
    I’m not home right now (on a business trip), but will try this code when I get back to my lab.

    in reply to: Changing the delay time #8633
    Michael
    Keymaster

    So, changing echoDelay to different values has no effect at all? How long is the delay when you use a value of 24000? What do you hear? What happens when you change it to 9000? It must be divisible by 3.

    in reply to: Changing the delay time #8628
    Michael
    Keymaster

    That should be the only variable you change, replacing the analogRead(0) line. Please post your whole code surrounded by the code tags so it is formatted.

    in reply to: Is the Defusable Clock China shield compatible ? #8608
    Michael
    Keymaster

    Yes, you could probably build a similar device using that board. You would need to customize the code to work with that hardware. I don’t know how to control the display. I doubt you would get any good documentation for that shield. The eBay listing is broken English.

    in reply to: Remote control #8570
    Michael
    Keymaster

    Yes, by all means give it a try! In designing a product, it is important to keep the hardware as simple and cheap as possible. That is why I did not include an amplifier. The sensitivity control should allow you to turn up the sensitivity high enough for line-level input.

    in reply to: Remote control #8563
    Michael
    Keymaster

    That is a good idea, and I have considered it. The problem is that the Lumazoid is 100% busy sampling the audio and then running the analysis and updating the display. I think that if you added the code to read the IR sensor, it would disrupt all of that. I have experience using IR sensor + remote on other projects, and the code requires precise timing and interrupts to determine the incoming IR code. I don’t think you could do that without disrupting the Lumazoid’s smooth function. Make sense?
    Definitely a good idea, though.

    in reply to: video experimenter for filming stroboscope #8562
    Michael
    Keymaster

    I don’t think the Video Experimenter can help in that situation. The VE simply passes the video through. There is not a programatic way to turn the video feed on and off. I think you’d want the strobe to trigger the video feed.

    One idea is to use a 4066 analog switch chip to turn the video feed on and off based on an input from the strobe. Google 4066 analog switch. It is an easy chip to use.

    in reply to: overlaying text and images #8547
    Michael
    Keymaster

    The Video Experimenter works with any composite video signal. As long as you can provide a composite input, it should work.
    Yes, it works with PAL if you change the code:
    tv.begin(NTSC, W, H);
    to
    tv.begin(PAL, W, H);

    HD is fine.
    I’m not sure how you will interface a phone to your Arduino…

    in reply to: Changing the delay time #8539
    Michael
    Keymaster

    Hi Charles,
    I think you are referring to this post: https://nootropicdesign.com/store/forums/topic/audio-delay-line/

    The original poster wanted to use buttons to control the delay amount instead of a pot, so that’s why he introduced the delayValue variable.

    To control the delay amount, change echoDelay and make sure it is a multiple of 3. You may choose to control echoDelay with a pot on A0. The original code is:

    echoDelay = analogRead(0) * 30;

    and that means that echoDelay will have a value from 0-30690.

    in reply to: Flashing Matrix Problem #8535
    Michael
    Keymaster

    Ok, good to hear. Have fun.

Viewing 15 posts - 181 through 195 (of 1,008 total)