Show Posts
Pages: [1]
1  Products / Arduino Due / Re: Can't get Blink sketch (and others) to work on my Due on: December 07, 2012, 02:42:08 pm
Ok well thanks for trying it out and letting me know it works for you!

Good luck with your problem smiley

2  Products / Arduino Due / Re: Can't get Blink sketch (and others) to work on my Due on: December 01, 2012, 06:18:32 pm
Want to bump this to make sure that I am the only one so far who has been delivered a Due which says that it has successfully uploaded a sketch, but then the sketch does not run smiley-sad

Anyone have the same or similar experience?
3  Products / Arduino Due / Re: Can't get Blink sketch (and others) to work on my Due on: November 21, 2012, 07:03:05 pm
I have tried pressing the Reset button as soon as I click Upload, and also after the Upload is complete. There is no effect, still "L" remains lit indefinitely.

I do see that Reset is having some effect if I press it during the Erase procedure as it then says "SAM-BA operation failed" which is expected I guess.

One more thing, I noticed that just before the erase procedure my IDE says "Forcing reset using 1200bps open/close on port COM3". From reading the guide I would think this is only necessary for Native port programming and not when using the Programming Port as I am doing (but perhaps it is done for both?).

4  Products / Arduino Due / Re: Can't get Blink sketch (and others) to work on my Due on: November 20, 2012, 01:57:14 pm
Quote from: Markus_L811
Did you install the inf for the nativ Usb-Port and try to program it from this one too?

There is no change in Device Manager when I connect to the Native USB port (as there was when I installed the drivers on the Programming port), so I am not sure how to install the driver?

Quote from: Palliser
I recommend to try with another machine and IDE (may be W7 and IDE 1.5).

I just tried it in Ubuntu 12.10 as a virtual OS on my Win8 machine, and I get the same result. Compiles OK, and the IDE tells me the Upload went OK, but no change on the board. Will see if I can get hold of a real Win7 machine later today.

I am going to post this problem over on the Adafruit forums to see if I can widen the exposure of my problem.
5  Products / Arduino Due / Re: Can't get Blink sketch (and others) to work on my Due on: November 20, 2012, 03:56:55 am
One thing which I noticed is that my Due R3 board has an additional crystal + 22pf caps populated, that is NOT present in this image, and also not in the video below of a guy compiling and uploading Blink to his Due R3. This crystal is in the schematic as Y2, a 32 kHz crystal. Unfortunately I do not have a hot-air desoldering tool or station to try remove the crystal and see what happens. It's quite tricky otherwise to try remove the crystal.

See comparison image here.

6  Products / Arduino Due / Re: Can't get Blink sketch (and others) to work on my Due on: November 20, 2012, 01:44:36 am
Full output below.

  • I am using the programming USB port. If I try plug in my USB micro cable into the Native USB port my PC does not pick up any serial connection (no COMx port available) - not sure if that is expected or not.
  • When I upload, the RX/TX LEDs closest to the Programming port blink and flash as expected, but no change on the output.
  • My system is Windows 8 Pro (64-bit) and Arduino 1.5.1r2
  • I do have an STK500 lying around somewhere if anyone thinks I might be able to get somewhere by flashing the bootloader on the ATmega or something similar.

Link to verbose compile and upload here.

Binary sketch size: 9,668 bytes (of a 524,288 byte maximum)
Forcing reset using 1200bps open/close on port COM3
C:\Users\d\Documents\arduino-1.5.1r2/hardware/tools/bossac.exe --port=COM3 -U false -e -w -v -b C:\Users\d\AppData\Local\Temp\build6842900426788377347.tmp/Blink.cpp.bin -R
Erase flash
Write 9748 bytes to flash

[                              ] 0% (0/39 pages)
[=======                       ] 25% (10/39 pages)
[===============               ] 51% (20/39 pages)
[=======================       ] 76% (30/39 pages)
[==============================] 100% (39/39 pages)
Verify 9748 bytes of flash

[                              ] 0% (0/39 pages)
[=======                       ] 25% (10/39 pages)
[===============               ] 51% (20/39 pages)
[=======================       ] 76% (30/39 pages)
[==============================] 100% (39/39 pages)
Verify successful
Set boot flash true
CPU reset.

EDIT: updated with verbose Upload, and added link to verbose compile + upload.
7  Products / Arduino Due / Can't get Blink sketch (and others) to work on my Due on: November 19, 2012, 10:24:12 pm
I have just received my Due (R3) from Adafruit, and was wondering if there are any special set up or initialization procedures to get a sketch working?

After clicking Upload, I see the Erase, Write and Verify data logged to the console in the IDE, with the last 3 lines saying:

Verify successful
Set boot flash true
CPU reset.

But LED "L" remains lit indefinitely. No matter what other pin I try, my LED does not light up.

I have tried a simple serial sketch to print out "Hello World" once every second, but I get nothing in the Serial Monitor.

The "ON" LED is green, and the "L" LED is always LIT (even if I program a sketch to keep pin 13 low and do nothing else). Pressing either the Reset or Erase buttons have no effect on the LEDs.

3.3V pin reads 3.30 V and the 5V pin reads 5V. None of the ICs are warm to the touch.

Any one with any suggestions, or am I missing something critical with the Due?

8  Forum 2005-2010 (read only) / Interfacing / Re: SHARP IR sensors behind glass? on: July 15, 2010, 08:46:24 am
The wall forms part of a temporary structure which is to be placed in an open public space, most likely outdoors.

Well I managed to get hold of a GP2Y0D810Z which detects the presence of something within 10cm (the 40cm version is not in stock).

The circuit's on breadboard and hooked up to a lab power supply and I don't have any batteries around right now, so unfortunately I can't really stick it up to any windows. Tomorrow I will bring some glass samples and test it out.

It did work perfectly behind the glass from an old flatbed scanner. It "saw" through the glass and detected anything 10cm or closer, with the sensor various distances behind the glass surface.

So yay that's quite good results to begin with. I would like to test more types of glass, as well as obtain the 40cm version of the sensor. I doubt the technology changes drastically between the two versions.

Here's hoping!

9  Forum 2005-2010 (read only) / Interfacing / Re: SHARP IR sensors behind glass? on: July 15, 2010, 04:18:10 am
Crap that does sound like it could be a problem. Thanks for bringing it up. May have to get a reading with the sensor, disable the sensor, switch the LEDs on for a specific time, then switch them off and re-enable the sensor. Or something like that. Nothing a few gates and a 555 timer can't handle smiley-wink

I can also sit the sensor flush with the glass. The LEDs will be a few cm behind the glass. they are being mounted on a thin polystyrene sheet - just pushing the legs through. This might help.

10  Forum 2005-2010 (read only) / Interfacing / Re: SHARP IR sensors behind glass? on: July 15, 2010, 03:57:10 am
Alright thanks guys for all the comments.

So from what I gather, how well the sensor will work depends greatly on the type of glass I'll be using. As someone else is manufacturing the housing for this proximity sensor at a later stage I can't really be sure of how it will work I guess.

I think I'll just have to experiment with as many different types as I can.

I'll give a brief overview on the project in case anyone has any other thoughts or suggestions.

There exist a number of rectangular panels, formed with steel and a glass surface on one side: 1.2m x 1.2m x 20cm. They will be used to build a wall. Inside each of the panels I will be placing a grid of high power LEDs. The people in charge of the project would like subsections of the panels (mini LED grids) to light up as someone walks past that section of the wall.

The problem is that I'm not to place anything on the exterior surface of the wall, or to cut out any sectons of glass, etc. So the sensing has to be done within the panel, through the glass.

And of course, the budget for such a project is minimal. At most I'll get about US$700 for 500 LEDs and all the electronics, including power supply. Right now I'm working on making 36 sensing areas within the wall.

I don't need any accurate distance measurement, just a "presence" of someone close to the wall. 1m outside the wall would be ideal, but if people need to brush past, basically touching, the wall then that will have to do.

I've been playing around with my own configurations of IR emitter and detector pairs, but the various levels of daylight aren't making for a stable output.

I know the SHARP sensors have some subsidiary electronics which help negate the effects of ambient light, which is why I'm thinking of using them.

There does exist a cheap SHARP presence sensor which claims to work up to 400mm - GP2Y0D340K @ $6.50 which just might work for me.

I guess I'll just have to play around with a few to see what I can get with different types of glass.


11  Forum 2005-2010 (read only) / Interfacing / SHARP IR sensors behind glass? on: July 14, 2010, 11:01:42 am

I just have a quick question for anyone who has one of those popular infrared sensors used for proximity sensing. Usually for robots.

part numbers:



How does such a sensor perform behind transparant glass?

or more specifically:

Does it work at all?

What happens if it is flush with the glass surface?

What happens if it is 10 cm behind the glass surface?

Thanks for anyone who took the time to read this and post an answer!

12  Forum 2005-2010 (read only) / Frequently-Asked Questions / Re: Requesting permission to use images on: September 17, 2009, 10:41:42 am
Yeah I suppose taking into account the open source nature of the Arduino I could assume it extends to the use of images.

@zageek I am in the process of setting up an Arduino workshop in Joburg, I'll email you more details at a later stage.
13  Forum 2005-2010 (read only) / Frequently-Asked Questions / Requesting permission to use images on: September 16, 2009, 10:44:52 am

I am in the process of creating a document which discusses the selection of a suitable Arduino board for DIY PCB creation. I would like to use the images of each board next to a description in my document. The document is a primer intended for anyone wanting to make their own Arduino boards at home.

I've looked everywhere but I can't find any info on any license or copyright information used for images found on the website.

So does anyone know if I may use the Arduino board images from the website? The site will obviously be referenced - and yes, permission is generally required for images EVEN if they have been referenced (I've written too many reports at University to ignore requesting permission).

Pages: [1]