Forum Replies Created
-
AuthorPosts
-
MichaelKeymaster
You can’t distinguish colors with the Arduino and Video Experimenter shield. You can only determine a brightness threshold for monochrome. Please understand that the Arduino and a sync separator chip are very primitive, but you still can do some neat things. Image processing with color is not possible though….
MichaelKeymasterNick, is there something specific you don’t understand? The Defusable Clock firmware is commented quite well. I tried to explain what each part is doing. I used clear variable and function names like [tt:28c3yg0s]ringAlarm()[/tt:28c3yg0s] and [tt:28c3yg0s]snooze()[/tt:28c3yg0s] and [tt:28c3yg0s]countdown()[/tt:28c3yg0s] to make it clear.
There’s really no shortcut to programming — you just need to work to learn it. People shouldn’t expect to be able to do embedded electronics programming without knowing how to actually program. Arduino is a very easy entry point to programming in general, and there are many Arduino tutorials and books out there.
I can answer any specific questions you might have.
MichaelKeymasterYes, the potentiometer with the long stem. It is for adjusting the threshold.
The input signal is the same, but when connected to the TV, there is 75 ohms of resistance between signal and ground in the TV, so when you disconnect the TV (with the switch set to sync only), it changes the electrical characteristics.
MichaelKeymasterI got your pictures and sent a reply. The problem is that you switched the chips around. The two small chips are not the same. The 74HC595 chip goes on the left, and the 74LS247 chip goes on the right.
MichaelKeymasterAre you sure you positioned the chips correctly? Please make sure the 74HC595 chip is in correctly (the print is upside-down, and notch to the right).
Can you send a clear picture of the back of the board and the front? Please send GOOD pictures, not blury cell-phone pictures to support@nootropicdesign.com.
MichaelKeymasterDid you adjust the threshold potentiometer? You’ll need to adjust it when switching between output select modes.
MichaelKeymasterThose are good ideas. There are a lot of good ideas coming out of the airsoft/paintball community!
MichaelKeymastercadbury, that’s great to hear. I guess the lesson here is that the Ethernet library takes up memory, so you can’t use the normal 128×96 resolution of TVout. The Arduino really is memory constrained.
MichaelKeymasterThe default firmware does not have a start/stop function, but it could be easily developed if you have a USB-serial cable or adapter. You could use one of the 4 wire terminals for this function.
MichaelKeymasteryes, you can put an ATmega328 with Arduino bootloader into your Duemilanove.
You can try lower resolution, like 96×48 by changing H and W
MichaelKeymastergrantm009, ok let’s take a step back. Have you been able to overlay anything at all onto an input signal? If you are just doing overlay, you can take out the “initInputProcessing” code. That’s for frame capture.
You are using PAL in your code — you are in a PAL country, right (not in North America)?
Earlier you said “I reduced the code and objectives from the demo quite a bit as it was too big for my board”. What did you mean by that? Does your Arduino have an ATmega328 chip? If it has an ATmega168 you will not be able to do video at this resolution.
MichaelKeymasterYou can’t use the Serial library with TVout. You can’t use any library or shield that utilizes interrupts, as there are only so many interrupts that can be handled by an Arduino, and video depends on it completely.
That’s why the polling implementation pserial is used for serial communication. Use pserial if you need to communicate with the computer. The designer of TVout wrote pserial for this purpose.
MichaelKeymasterA 9V battery is not suitable for LEDs. It should only last an hour or two (as you found). You need to use C or D cells. See the FAQ regarding batteries:
MichaelKeymasterNice job with that map, that’s cool. Thanks!
MichaelKeymasterOk, glad you have it working. I’m still not clear on why you couldn’t use a pin change interrupt on an input pin. If your goal is to sense the input voltage change caused by an external event, that’s what pin change interrupts can be used for. It’s not as straightforward from a code standpoint, but the library makes it easy.
Your right about vias — there’s nothing wrong with them at all, I just take it on as a challenge to design my boards without them. It’s just a routing challenge for me.
-
AuthorPosts