Forum Replies Created
-
AuthorPosts
-
Michael
KeymasterThe video processing code (TVOut library) is interrupt driven and depends on very precise timing. Trying to use other interrupt driven protocols will interfere with the Video Experimenter. Basically, it takes all the muscle that the ATmega328 has to generate video with correct timing.
I successfully used I2C communication with a very trimmed down version of the I2C library when I implemented the Wii nunchuck controller for my Hackvision product. The important part is only doing I2C communication during the vertical blanking interval in the video. That is, the only time you have time to communicate is at the end of each frame.
See the Hackvision Controllers library (specifically the nunchuck controller) and i2c.c, i2c.h for some info on how to do this. It’s tricky.
The Controllers library can be downloaded from:
http://nootropicdesign.com/hackvision/games.htmlDecember 8, 2012 at 12:35 pm in reply to: Connecting a 12V power source to the Video Experimenter #1527Michael
KeymasterWhat do you mean by “get it’s 12V power from the shield”? Do you mean that you have 12V connected to the Arduino and then connect your camera to the VIN pin on the shield?
Power does not go through the RCA cable. That’s for the video signal….
Michael
KeymasterWhat do you mean by “using D9 power”???
The sync select jumper should be in the “v input” position if you are trying to use the Video Experimenter with a video source.
With sync select jumper on “v input” does the strange scrolling happen?
If you have the sync select set to D9, then you should not expect things to work when using a video source. The D9 position is only to be used when generating video from the Arduino and there is no video input source to get the sync from.
The settings are described in detail on the product page: http://nootropicdesign.com/ve/
Michael
KeymasterThe LEDs are named as follows, per their location on the board:
LED_PM
LED_ALARM
LED_TOP
LED_DETTo turn an LED on:
digitalWrite(LED_DET, HIGH);
to turn it off:
digitalWrite(LED_DET, LOW);
If you want to make changes to code, you will need to spend some time trying to figure out how it works and learning how to code with Arduino. It’s not very difficult if you invest some effort.
Michael
KeymasterJust change the code in the countdown() function to assign the defuse pin and det pin to fixed values.
defusePin = WIRE_1;
detPin = WIRE_3;Remove the random assignment:
defusePin = random(WIRE_1, (WIRE_4+1));
detPin = defusePin;
while (detPin == defusePin) {
detPin = random(WIRE_1, (WIRE_4+1));
}
December 7, 2012 at 1:51 pm in reply to: Connecting a 12V power source to the Video Experimenter #1525Michael
KeymasterThe Video Experimenter gets its power from the Arduino 5V supply. So, you can power the Arduino with 12V, and the Arduino’s voltage regulator provides 5V for the Arduino and the Video Experimenter.
The recommended input voltage for the Arduino is 7-12V, so you should be fine.
Michael
Keymastereditor,
I don’t see anything wrong with your assembly. The same problem occurs regardless of input source and regardless of display? That tells me there’s something wrong with the device. I’ve never seen this before.Are you in the US? If so, it’s easy to send in the device to me and I can take a look. Repair/replace, or whatever.
I’m sure you’ve double checked for solder bridges, etc.
Michael
KeymasterThe YouTube video is private, so I can’t see it.
I have not run into this scrolling problem before. It seems to indicate something is wrong with the vertical sync timing. I’ll have a look at the video when you make it public….
Also, the VE will not work with the Decimilia because it doesn’t have enough memory.
-Michael
Michael
KeymasterNo, the Due has a completely different processor architecture (ARM). Essentially no shields designed for Uno will work on the Due (but the Arduino people don’t really want people to realize that).
Michael
KeymasterNo, sorry, just Eagle. Or png image.
Michael
KeymasterYes, it’s possible. Just keep trying. I could do it for you but this is the busy holiday season and I’m swamped with orders. Can you keep trying?
November 26, 2012 at 10:04 pm in reply to: Halloween Prop – With strobe, MP3 playback and Air Cannon #1510Michael
KeymasterYou are correct. You can use these 4 lines from the microcontroller to control your devices. They can be configured as input or output pins in software. This would be a much easier way to connect everything — you even have handy terminal blocks and 4 ground connections on the left set of blocks.
November 26, 2012 at 7:33 pm in reply to: Halloween Prop – With strobe, MP3 playback and Air Cannon #1508Michael
KeymasterThat sounds like a pretty cool (and ambitious) project. The Defusable Clock uses all the pins of the ATmega328, so the best way to get the 2 control pins is to repurpose two of the LEDs. If you can desolder them (or tap into the signal at the accompanying resistor), then you could use these to control your peripheral devices.
The code for the clock is downloadable from this page, and easily compiled in the Arduino IDE:
http://nootropicdesign.com/defusableclock/hack.htmlI think you’ll find it easy to modify if you are an experienced programmer.
Michael
KeymasterThe device does not become unusable if you fail to detonate it. I think I would have a lot of angry customers if that were the case.
November 23, 2012 at 12:55 am in reply to: couple questions: usb cable and programming the clock #1506Michael
KeymasterThe language is C. This device is a specialized Arduino board. You program it using the Arduino IDE, and using the Arduino libraries that make C coding easy. There are many, many web sites with information about Arduino programming. Start at the official Arduino site http://arduino.cc
-
AuthorPosts