Forum Replies Created
-
AuthorPosts
-
Michael
KeymasterNo, the device doesn’t actually explode. It just flashes lights and makes noise. Was your question serious?
Michael
KeymasterI’m afraid you can’t use other analog pins when doing input processing with the Video Experimenter. The analog to digitial converter (ADC) of the chip needs to be disabled in order to use it for the brightness threshold. It’s a limitation of the ATmega328.
You can use analog pins when generating video signals and overlay, but not when capturing video input.
If you are interested in the details, see section 22.2 “Analog Comparator Multiplexed Input” in the ATmega328 datasheet.
Michael
KeymasterYou need to install the Video Experimenter version of TVout as described here:
http://nootropicdesign.com/ve/The documentation shows you the right directory structure….
Michael
KeymasterAre you just trying to put a signal through the device? The switch should be to the right ->
What project are you trying to run?
PAL works the same as NTSC on the LM1881 chip. It should be no different….
Michael
KeymasterYes, keeping the display off would greatly increase the battery life when using a 9V battery. Six C or D cells will run the clock (even with display) for days.
All of the ATmega328’s digital and analog buttons are in use, so you would need to use existing ones (like button or led) to add the new sensor and output.
A photoresistor could be used as a sensor, and it could be installed in place of a button, and software tweaked to read the value as an input. You could control a solenoid using another output (use one of the LED outputs). But keep in mind that a solenoid requires a lot of current, and would need its own beefy power source.
Hope that helps.Michael
KeymasterMake sure to read the troubleshooting section:
http://nootropicdesign.com/defusableclock/build/
You probably have a short circuit somewhere. You can send high-quality photos (not blurry cell phone photos) of the front and back to support@nootropicdesign.com
Michael
KeymasterIt sounds like you have not attached the wires correctly. You need to connect a wire from each of the right side terminal positions to the left side terminal positions. Order does not matter, but all of the right side positions must be wired to the left side.
The reason the clock “explodes” immediately is that the software interprets the lack of connects as the case where you cut the “wrong” wire and it detonates.
Michael
KeymasterThe Leonardo is a completely different processor, so most code libraries for Arduino are simply not going to work on it. When people say “compatible” they really just mean you can do the simple things like “digitalWrite” and they will work. But low level libraries that manipulate timers and any other AVR registers won’t work.
I will need to write a special version of the Digit Shield library for Leonardo — first I need to get a Leonardo.
I will update the documentation making it clear that this library doesn’t work with Leonardo yet.
Michael
KeymasterThanks for that update. I think the LM1881 chip is sensitive to RF noise, and you mouse must have bothered it. Interesting!
Michael
KeymasterI have FINALLY gotten around to making a video and posting this game on the games page. Sorry for the delay.
Michael
KeymasterThat’s weird — sounds like you have a bad pin on that Arduino. The Video Experimenter uses pins 2, 6, 7, 8.
The pixels in the TVout frame buffer can be accessed with [tt:3mbklmw6]tv.get_pixel(x,y)[/tt:3mbklmw6]. The entire buffer is available as the array [tt:3mbklmw6]display.screen[/tt:3mbklmw6].
See the code in the computer vision project for examples of reading/manipulating the frame buffer.
http://nootropicdesign.com/projectlab/2011/03/20/arduino-computer-vision/Michael
KeymasterSounds like great work.
Michael
KeymasterYes, I believe you can power the Defusable Clock using that battery pack. It provides 12V, so the voltage regulator on the clock will run a little warm. That battery pack should be able to power the clock for over 30 hours, but not much longer.
I had to google CBRNE and now I’m intrigued. Where do you teach about Chemical, Biological, Radiological, Nuclear and Explosives???
Michael
KeymasterAnd the jumper is set to the V.SYNC position?
If so, then something else is wrong. Check the soldering connections (you probably already have). Or I can check out the device since you are local 🙂
Michael
KeymasterHi crazybutable!
Did you use the specialized version of the TVout library that is on our web site?
-
AuthorPosts