Michael

Forum Replies Created

Viewing 15 posts - 841 through 855 (of 1,008 total)
  • Author
    Posts
  • in reply to: no work #1253
    Michael
    Keymaster

    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.

    in reply to: greyscale image capture at low resolution #1256
    Michael
    Keymaster

    I’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.

    in reply to: Digital pins interrupt video? #1255
    Michael
    Keymaster

    Which pins? You can’t use pins that the shield uses….
    The Video Experimenter uses pins 2, 6, 7, 8, and 9.

    in reply to: Is it possible to receive serial or softwareSerial on board? #1239
    Michael
    Keymaster

    Again, 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.

    in reply to: Hackvision crashes when using for loop to move objects? #1237
    Michael
    Keymaster

    Are you sure you allocated memory for the array you are trying to write to? If you stomp on memory, results are unpredictable….

    in reply to: Possible to receive serial or softwareSerial communication? #1236
    Michael
    Keymaster

    Serial 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.

    in reply to: Is it possible to receive serial or softwareSerial on board? #1244
    Michael
    Keymaster

    Serial communication is interrupt driven, so it interferes with video. The TVout library comes with a polling serial implementation. See the TVout documentation on pollserial.

    in reply to: Can’t upload to board #1213
    Michael
    Keymaster

    wherever the compiler gives you an error on WProgram.h. Just keep correcting til it compiles.

    in reply to: Can’t upload to board #1211
    Michael
    Keymaster

    I 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….

    in reply to: Can’t upload to board #1262
    Michael
    Keymaster

    Glad 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.

    in reply to: WProgram.h: No such file or directory #1259
    Michael
    Keymaster

    Yeah, 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"
    #include

    to this:

    #if defined(ARDUINO) && ARDUINO >= 100
    #include "Arduino.h"
    #else
    #include "WProgram.h"
    #include
    #endif
    in reply to: OneWire Temp causing jumpy overlay #1274
    Michael
    Keymaster

    Yeah, 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.

    in reply to: OneWire Temp causing jumpy overlay #1272
    Michael
    Keymaster

    “Hey Michael’s Kids”….thanks buddy.

    in reply to: OneWire Temp causing jumpy overlay #1271
    Michael
    Keymaster

    Yeah, 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.

    in reply to: OneWire Temp causing jumpy overlay #1269
    Michael
    Keymaster

    …this is cool that I’m watching you experiment on your live feed….

    looks like a constant “?” and “foo” still jump…

Viewing 15 posts - 841 through 855 (of 1,008 total)