Michael

Forum Replies Created

Viewing 15 posts - 301 through 315 (of 1,008 total)
  • Author
    Posts
  • in reply to: adding an external trigger to a V1 board #2261
    Michael
    Keymaster

    In the attached image you can see that Arduino pin A0 is connected to the external trigger pad. You can solder a wire to this pin on the microcontroller. For the triggering to happen, though, you would need to update the firmware to the V2 firmware. If you have a FTDI programming cable or adapter, this is easy. Does this make sense?

    The firmware and more info about programming the device is here: https://nootropicdesign.com/defusableclock/hack.html

    Michael
    Keymaster

    The frame buffer alone is going to use up 1,632 bytes of the 1,797 bytes. That leaves very little for your stack.

    Michael
    Keymaster

    When you compile and it says you are using 12%, that is how much of the 32K of flash memory you are using to store your program. Your problem is with SRAM that the program uses while running. You are using almost all of it, so there is no more room for the stack. You are almost certainly overflowing the stack.

    Michael
    Keymaster

    I’m all but giving up and determining this product to be useless junk

    Brad, I’m sorry you are having problems with your Arduino program, but saying things like this is not a very good way to get help. However, I’ll still try.

    Looking at your program, the first thing that jumps out at me is that you are using a lot of SRAM. When you use too much memory, Arduino programs tend to stop functioning or just go haywire. There are only 2K of SRAM in the ATmega328 microcontroller. The frame buffer used by TVout takes up a LOT of it. At the resolution you are trying to use (136×96) you are consuming 1632 bytes just for the frame buffer. Perhaps you can try lowering this to 128×96 which is the default TVout resolution.

    Your code has a lot of long string literals, like “Command 1 detected: Clearing Screen” and “Command 0 detected: Doing Nothing”. Each one of these consumes SRAM. By my count, you have 183 bytes of string literals in your program, so adding this to the frame buffer, you are using 1815 bytes of the 2K. That does not leave much memory for much else. I think you are just running out of memory. Declaring string literals as flash memory will reduce your SRAM usage. See http://www.arduino.cc/en/Reference/PROGMEM for some guidance.

    I hope you can solve the problems with your program. Hundreds of people use the Video Experimenter for useful projects and even industrial applications. It is admittedly primitive and simple (and VERY inexpensive), but I don’t think it is “useless junk”.

    Michael
    Keymaster

    Hey guys, I also contacted Kevin via email last week. I reminded him, politely but firmly, that the games are property of their respective owners and licensed according to the way the author licensed it. I told him that I wasn’t trying to be a jerk, but that the way that Arduboy was being presented didn’t quite smell right to me. He responded quickly and added the attributions to the Kickstarter campaign. I thanked him for that.

    I’m at Maker Faire in the Bay Area this weekend (showing the Synthino XM http://synthino.com), and Kevin is also here. I have not seen him yet, but my friend did and mentioned Hackvision to him. Kevin said he’d stop by and maybe I’ll seek him out, but really have better things to do with my time (like running my booth!).

    I’ll let you know if I talk to him.

    Michael
    Keymaster

    Yep, I’m aware of that. I contacted the Arduboy guy Kevin a couple of times in the past. I told him I thought he should give credit to people who wrote the games and he seemed open to that, but I’m not sure he will. I’m especially proud of my Asteroids implementation, and I see he has taken some of your games, too. I think it is lame.

    I know we wrote them as open source games, but he needs to give credit where credit is due. If you wrote a game, then you own the copyright and YOU get to license it. Kevin does not get to license it.

    trodoss, I think you should contact him too. I’m with you on this.

    in reply to: Connecting a siren or other external device #2247
    Michael
    Keymaster

    I don’t know anything about smoke grenades and have never used one.

    The relay can switch a very large amount of current (5A at 24VDC), so I suspect it can handle the current to 2 devices. The siren will not represent that much current.

    in reply to: Voice Changer not working #2243
    Michael
    Keymaster

    no, an SD card is not fast enough.

    in reply to: 6 pin header #2244
    Michael
    Keymaster

    No, the Audio Hacker is designed for the family of Arduino boards with 5V I/O pins.

    in reply to: Object Detection Overlay is stuck #2242
    Michael
    Keymaster

    So you are saying that the program is not detecting a bright area on the screen at all? Have you adjusted the sensitivity pot on the Video Experimenter?

    in reply to: Project "Enchilada Grande " #2241
    Michael
    Keymaster

    It is the rightmost pin as viewed from the top.

    Described here: http://nootropicdesign.com/projectlab/2014/10/28/using-a-relay-trigger-with-the-defusable-clock/

    • This reply was modified 8 years, 7 months ago by Michael.
    • This reply was modified 8 years, 7 months ago by Michael.
    in reply to: Project "Enchilada Grande " #2240
    Michael
    Keymaster

    Good idea to just use a tablet. Much easier. Great work!

    in reply to: Countdown Problems #2237
    Michael
    Keymaster

    Perfect!

    in reply to: Countdown Problems #2234
    Michael
    Keymaster

    I updated my post to attach firmware with the factory reset procedure. Please try the firmware attached above. (The code on the web site does not yet have the reset procedure.)

    in reply to: Countdown Problems #2232
    Michael
    Keymaster

    Try this factory reset procedure: hold down the HOUR and MIN buttons while powering on the device. This will erase the EEPROM, which I think is corrupted somehow.

    Attached is firmware with the factory reset procedure. I will update the version on the download page tonight.

Viewing 15 posts - 301 through 315 (of 1,008 total)