Forum Replies Created
-
AuthorPosts
-
MichaelKeymaster
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
May 21, 2015 at 2:38 am in reply to: Buggy Library – Too Unstable to use for simplest of tasks. #2259MichaelKeymasterThe frame buffer alone is going to use up 1,632 bytes of the 1,797 bytes. That leaves very little for your stack.
May 20, 2015 at 2:23 pm in reply to: Buggy Library – Too Unstable to use for simplest of tasks. #2257MichaelKeymasterWhen 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.
May 19, 2015 at 3:32 pm in reply to: Buggy Library – Too Unstable to use for simplest of tasks. #2255MichaelKeymasterI’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”.
May 17, 2015 at 2:24 pm in reply to: Arduboy is using Games from Hackvision Site on Kickstarter? #2253MichaelKeymasterHey 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.
May 13, 2015 at 3:07 am in reply to: Arduboy is using Games from Hackvision Site on Kickstarter? #2250MichaelKeymasterYep, 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.
MichaelKeymasterI 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.
MichaelKeymasterno, an SD card is not fast enough.
MichaelKeymasterNo, the Audio Hacker is designed for the family of Arduino boards with 5V I/O pins.
MichaelKeymasterSo 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?
MichaelKeymasterIt 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/
MichaelKeymasterGood idea to just use a tablet. Much easier. Great work!
MichaelKeymasterPerfect!
MichaelKeymasterI 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.)
MichaelKeymasterTry 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.
-
AuthorPosts