Forum Replies Created
-
AuthorPosts
-
MichaelKeymaster
laurent,
Can you please send high quality photographs of the top and bottom of board to michael@nootropicdesign.com
I will look carefully at the device.
MichaelKeymasterI’m afraid you can’t do grayscale without some very significant and complex assembly. And if you want to do serial communication, you need to use the pollserial implementation in TVout.
MichaelKeymasterWhich pins? You can’t use pins that the shield uses….
The Video Experimenter uses pins 2, 6, 7, 8, and 9.December 12, 2011 at 9:01 pm in reply to: Is it possible to receive serial or softwareSerial on board? #1239MichaelKeymasterAgain, the reason you can’t use the Serial library with TVout is that the interrupts interfere. Use pollserial instead. Just replace Serial with pollserial. You will be limited in the amount of data you can send/receive, but if you have only a small amount, it works.
December 12, 2011 at 3:56 pm in reply to: Hackvision crashes when using for loop to move objects? #1237MichaelKeymasterAre you sure you allocated memory for the array you are trying to write to? If you stomp on memory, results are unpredictable….
December 12, 2011 at 1:29 pm in reply to: Possible to receive serial or softwareSerial communication? #1236MichaelKeymasterSerial communication is not possible when using video. The interrupts interfere with the video timing. The TVout library includes a polling serial implementation. See TVout documentation, and the “pollserial” implementation.
December 12, 2011 at 1:27 pm in reply to: Is it possible to receive serial or softwareSerial on board? #1244MichaelKeymasterSerial communication is interrupt driven, so it interferes with video. The TVout library comes with a polling serial implementation. See the TVout documentation on pollserial.
MichaelKeymasterwherever the compiler gives you an error on WProgram.h. Just keep correcting til it compiles.
MichaelKeymasterI still need to fix up the libraries and release them, but I’m currently overwhelmed with the xmas shopping season….
This thread: http://nootropicdesign.com/forum/viewtopic.php?f=29&t=2434
shows the simple code change to make so that Arduino code can run on 1.0. You just need to tweak the #includes in the Controllers library….
MichaelKeymasterGlad you were able to upload. You can use Arduino 1.0. They changed the wording on the boards menu, so now it’s called “Arduino Duemilanove w/ ATmega328”.
Arduino 1.0 requires some library changes for proper compilation, and I will be releasing new versions of the Controllers library this week (maybe tonight). It’s just a minor tweak to fix the #include directives.
Breakout is a good place to start. What problems are you having? Compilation problems? Just make sure you download the proper libraries and such based on what the games page describes. Let us know if you are still stuck. I’ll have Arduino 1.0 libraries out soon.
MichaelKeymasterYeah, Arduino 1.0 basically breaks most libraries. I’ll be publishing all new libraries for my products this week, but in the mean time, you can simply change the include in DigitShield.h from this:
#include "WProgram.h"
#includeto this:
#if defined(ARDUINO) && ARDUINO >= 100
#include "Arduino.h"
#else
#include "WProgram.h"
#include
#endifMichaelKeymasterYeah, the OneWire stuff depends on precise timing, and that’s why it disables interrupts. But the video also requires precise timing, so that’s the root of the problem.
The analog sensor is a guaranteed success. It will just work.
MichaelKeymaster“Hey Michael’s Kids”….thanks buddy.
MichaelKeymasterYeah, the OneWire library is messing with interrupts. Please look at the OneWire code and see if it is turning interrupts on and off. If you see lines “noInterrupts()” and “interrupts()”, comment them out. I think the communication might still work.
I’m sitting here watching you — it’s funny. I can see when you are uploading new code onto the Arduino. My kids think it’s cool, too.
MichaelKeymaster…this is cool that I’m watching you experiment on your live feed….
looks like a constant “?” and “foo” still jump…
-
AuthorPosts