Michael

Forum Replies Created

Viewing 15 posts - 451 through 465 (of 1,008 total)
  • Author
    Posts
  • Michael
    Keymaster

    The Video Experimenter will not work on an Arduino Mega. The analog comparator pin on the microcontroller chip is not even connected to the board. I tried to make that clear here: http://nootropicdesign.com/ve/whynotmega.html

    You can use a Seeeduino Mega, which will give you more memory for higher resolution.
    http://nootropicdesign.com/projectlab/2011/07/13/ve-on-the-seeeduino-mega/

    It is not faster, though. Framerate is typically not an issue for Video Experimenter projects, as you can update the pixel frame buffer very fast.

    in reply to: Seeeduino Issues #1950
    Michael
    Keymaster

    I’m glad it’s working for you, john.k. I’m not sure what to think about the problems uploading a sketch to the board when the wiring is in place. I don’t think I ran into that problem.

    in reply to: adding another connection to the arduino #1934
    Michael
    Keymaster

    1) Why do you think the VE only works with the seeduino? The product page clearly states that it is designed for Uno and Duemilanove. http://nootropicdesign.com/ve

    2) Yes, it is tricky to use interrupt-driven devices in conjunction with the VE, but it may be possible depending on how you code it. You can read the serial port by using the pollserial library. There are examples of pollserial with the VE library. As for GPS, see this project:
    http://nootropicdesign.com/projectlab/2011/05/20/overlay-gps-on-video/

    in reply to: VE Shield Header Placement #1931
    Michael
    Keymaster

    The female headers included in the kit do not have the long pins. If you have “arduino female headers” with long pins, then you can certainly solder them on the outside set of pads. This kit was designed many years ago, and female headers with long pins were not available for a decent price.

    Make sure you don’t solder the female headers that don’t have long pins to the outside pads, because then there are no male pins to plug into the Arduino!

    Generally, this shield is not going to be stackable with anything else because it uses a lot of pins and functions of the Arduino. What shield do you think is stackable with the Video Experimenter? Most shields are not stackable from an electrical perspective.

    in reply to: Animated Face #1930
    Michael
    Keymaster

    I see. I don’t think the library supports the cascading, to my knowledge.

    in reply to: Animated Face #1927
    Michael
    Keymaster

    I don’t understand the question. The Adafruit libraries make it easy to set the pixels to whatever you like, so for your particular project it’s just a matter of coding it up. I’m not sure I understand what you mean by “cascading”.

    in reply to: Animated Face #1925
    Michael
    Keymaster

    The code given by Adafruit is not for this panel or backback, so you would need to adapt it.

    in reply to: VE and L298P motor shield #1849
    Michael
    Keymaster

    I love it! That is a very awesome project.

    in reply to: TV_out synth #1923
    Michael
    Keymaster

    allowing the output voltage of the pin11 to be between 0 (0 duty) to 4,92V (OCR2A = 255 = 100% duty)

    You keep implying that the voltage can be between 0 and 5V. It cannot. The actual voltage on the pin at any given time can be either 0 or 5V. A PWM pin simply toggles between these 2 voltages at different rates and duty cycles, but it is NOT a DAC. The guy on the arduino.cc forum told you that a 50% duty cycles gives you 2.5V, but that’s just wrong.

    I’m not saying that you can’t do some good sound, but you are limited to square waves.

    in reply to: TV_out synth #1920
    Michael
    Keymaster

    Have you actually tried that on a Hackvision or Arduino though? Are you doing all that with square waves? You can only generate square waves with PWM.

    in reply to: VE and L298P motor shield #1919
    Michael
    Keymaster

    So PWM on pin 3 is not working? Hmm, it should.

    pollserial is used just like Serial. Only use pollserial on the Arduino with the VE. The other Arduino just uses normal Serial.

    This is the example sketch that comes with TVout:

    #include 
    #include
    #include

    TVout TV;
    pollserial pserial;

    void setup() {
    TV.begin(_NTSC,192,128);
    TV.select_font(font6x8);
    TV.println("Serial Terminal");
    TV.println("-- Version 0.1 --");
    TV.set_hbi_hook(pserial.begin(57600));
    }

    void loop() {
    if (pserial.available()) {
    TV.print((char)pserial.read());
    }
    }

    You will be limited in how much data you can transfer because thei pollserial implementation is only polling for data during the horizontal blanking interval. Hope this works for you.

    in reply to: VE and L298P motor shield #1917
    Michael
    Keymaster

    Basically, when you are doing video on an Arduino, you require exact timing. You can’t do serial communication at the same time. The TVout library comes with a polling version of serial (the pollserial library). Use that on the Arduino that is running the TVout code.

    I am not sure why the PWM on one pin is causing different speed than the other. Perhaps you can just adjust it in software?

    Bottom line is that it is difficult to do other things on an Arduino when you are generating a video signal.

    in reply to: VE and L298P motor shield #1914
    Michael
    Keymaster

    I am guessing that M2 is the motor that does not work when the VE is being used?

    The video library uses Timer1 to control all the timing. This means you cannot use pins 9 or 10 for PWM. You can still use pins 5,3,11 for PWM.

    I would try this:

        int E1 = 5;     //M1 Speed Control
    int E2 = 3; //M2 Speed Control
    int M1 = 10; //M1 Direction Control
    int M2 = 11; //M2 Direction Control
    in reply to: OutRunduino Work-in-Progress #1913
    Michael
    Keymaster

    simply incredible. I’d wager that this is the most sophsticated Arduino-based video game of all.

    in reply to: Random thoughts… #1911
    Michael
    Keymaster

    Yes, I think you are right about adding the second switch. connecting the DET button pin to ground through another switch would provide you a second way of triggering the detonation function.

    The device draws quite a bit of current, so a solar cell may not work. It draws about 90mA when the clock display is on.

Viewing 15 posts - 451 through 465 (of 1,008 total)