Show Posts
Pages: [1] 2 3
1  Using Arduino / Sensors / Re: [Resolved] DYP-ME007Y and NewPing v1.5 library on: May 26, 2014, 05:56:48 pm
were you using the waterproof version? e..g http://amzn.com/B00CXKKO6U with extension cable or http://amzn.com/B00BJTRGQW without.

if so, what is its effective FOV?
2  Using Arduino / Sensors / Re: Help interfacing with this ultrasonic sensor - DYP-ME007Y on: May 26, 2014, 05:53:48 pm
@teckel - did you ever confirm this sensor works with NewPing?
3  Using Arduino / Sensors / Re: Alternatives to IR array or PIR for 360 degree sensing on: May 26, 2014, 05:39:26 pm
@jremington - it occured to me i could mount a MLX90614 under my sculptures (they are tripods) pointed down. Then I would only need one per tripod/Arduino, and the fixed i2c address would not be a problem. If it is 4' off the ground with a 90° FOV it should see a circle 8' in diameter. Since nobody will crawl directly under the scuplture it would only see feet and parts of legs - in other words, a very small part of the overall FOV. Do you think it is sensitive enough to reliably detect that small of a change? I know its accuracy is +-0.5°C but I wonder if with only a small percentage of hotter area if it will be able to differentiate it from ambient temp. And is the internal ambient temperature function sufficient to use as a comparison?
4  Using Arduino / Sensors / Re: Alternatives to IR array or PIR for 360 degree sensing on: May 20, 2014, 08:00:19 pm
@jremington - thank you for pointing me to that. i think the calibration issues would be significant given it will be outdoors for one year, people can approach it any time sometimes in white summer shorts sometimes in black winter coats, and it is difficult to know when there is nobody around for, say, hourly re-calibration. also according to https://learn.adafruit.com/using-melexis-mlx90614-non-contact-sensors/wiring-and-test, it has a fixed i2c address so only one can be used per microcontroller and i'd need at least four.

i've been testing with an ultrasonic cheapo array and i get almost usable results but need at least 15 sensors per unit (for 360° view), and they are very noisy when wires are over 20cm.

i still haven't found a PIR equivalent which can detect presence and not just motion.

if all else fails i could make a ground mat switch, but that is so lame.  smiley-cry  smiley-confuse  smiley-neutral
5  Using Arduino / Sensors / Re: Help interfacing with this ultrasonic sensor - DYP-ME007Y on: May 04, 2014, 11:23:32 am
Check your speed in Serial.begin( ) is the same as speed in Serial Monitor, you can change either as long as they match
6  Using Arduino / Sensors / Re: Help interfacing with this ultrasonic sensor - DYP-ME007Y on: April 30, 2014, 05:15:12 pm
reviving this thread. does this version of the sensor (Y) work with NewPing? this reply seems to suggest yes - http://forum.arduino.cc/index.php?topic=106043.msg1638131#msg1638131

but just confirming before ordering a bunch of the sensors…

thx!

7  Using Arduino / Sensors / Re: Alternatives to IR array or PIR for 360 degree sensing on: April 30, 2014, 02:10:41 pm
one additional factor - this has to work outside, in widely ranging weather conditions.

@jremington - yes i thought the same thing, i am going to experiment with a few. if i needed 12 (at 30° fov) per unit that is still no problem when they're that cheap. and i can handle the delay from sequential firing, i think. but worried about waterproofing.

commonly used waterproof sensors such as maxbotix WR series (http://www.maxbotix.com/Ultrasonic_Sensors/MB7040.htm) would cost $1,200 per unit (12 sensors per unit) so that's no bueno.

@crossroads - i don't want to use motorized scanning since the sound and motion will be distracting. also that is more parts that can potentially fail (the sculpture will up for one year).

the thermal detector suggestion is interesting, and might fix the PIR flaw. are you talking about something like http://au.mouser.com/new/omronelectronics/omron-d6t/?  they're a bit pricey - 8 sensors for 360° = >$500 per unit. but intriguing.
8  Using Arduino / Sensors / Alternatives to IR array or PIR for 360 degree sensing on: April 28, 2014, 05:52:29 pm
I need to sense proximity 360 degrees around something at a range of 0 to 100cm (around 3 feet).  I would like to know how close someone is, but will settle for binary input if necessary. This is for an outdoor sculpture and thus overhead video tracking solutions are not an option. I have 9 of these things so cost is an issue.

An array of typical Sharp IR sensors is the standard solution, but you need 12 of them to have enough overlap to ensure no blind spots. 12 x $14 = $168 per unit. Too expensive, plus you need a Mega or multiplexer for extra analog input pins.

Two wide-angle PIR sensors (http://www.parallax.com/product/28032) are cheap $12 x 2 = $24 per unit. But PIR has a fatal flaw: it switches off if somebody is still in range, but has stopped moving.

I have also tried the horribly documented AniBat ultrasonic sensors (http://www.robotshop.com/en/hagiosonic-anibat-ultrasonic-sensor-hg-m40dai.html), they are supposed to see 180 degrees AND give analog distance feedback. Sounds ideal. $26 x 2 = $52 per unit. But they produce terribly unstable feedback and at least in my tests, are not usable.

Anyone have ideas for alternative methods?
9  Using Arduino / Sensors / Re: NewPing Library: HC-SR04, SRF05, SRF06, DYP-ME007, Parallax PING))) - v1.5 on: April 23, 2014, 04:24:49 pm
@Teckel thank you for this library contribution. Is it possible to use this with an ultrasonic sensor like the Hagisonic HG-M40DAI? Its signal output timing is from rising edge of input pulse (trigger) to rising edge of output pulse (echo). In other words, almost the reverse of sensors like Ping.

Datasheet: http://www.robotshop.com/media/files/pdf/hagisonic-anibat-data-sheet.pdf.

If you're curious why the Hagisonic sensor, this "AniBat" model has the unique advantage (AFAIK) of an extremely wide field of view - 180°.

Thanks,

Eric
10  Development / Other Software Development / Re: Nuvoton ISD1700 Chip on: February 16, 2011, 05:05:22 pm
maybe post a picture of your breadboard? 
11  Forum 2005-2010 (read only) / Troubleshooting / Re: Arduino Bootloader ATmega* for single sided serial on: August 14, 2009, 12:08:53 pm
i read over the 1k bootloader docs, it's cool but it won't work on the atmega8 without some modifications and work.  i ended up doing a simple change to the built-in bootloader.  here's what i did in case it helps anyone else:

make backups of ATmegaBOOT.c and ATmegaBOOT.hex in apps/arduino-001x/hardware/bootloaders/atmega8/

change startup delay by a factor of 2 or 3: in ATmegaBOOT.c change line 52 to

#define MAX_TIME_COUNT (F_CPU>>3)

that gives about a 2.5 second delay after reset before program starts.  use F_CPU>>2 for a 5 second delay, and F_CPU>>4 for a 1.25 second (approx) delay.  

open Makefile in the same folder and change the DIRAVR path (line 13) to your avr compiler path.  if you have CrossPack installed use

DIRAVR = /usr/local/CrossPack-AVR

if you don't, you could try the one included with Arduino IDE

DIRAVR = ../../tools/avr

but when i tried it i got some errors, maybe somebody else can figure that out, i'll paste it at the end of this.  

in Terminal, cd to that directory (hint - drag the enclosing folder to the Terminal window to avoid typing the path), and type make, e.g.

eric:/Applications/arduino-0016/hardware/bootloaders/atmega8
make


connect your ISP and Arduino or other board with Atmega8 and select Tools/Board/Arduino NG or older w/ Atmega8, then Tools/Burn Bootloader.

Done!

You can erase all the files generated by the compile except for the .c, .hex, and makefile, of course.  the Makefile has a clean command but it doesn't seem to work for me.

If you want to remind yourself the bootloader has been altered, you can change the name in arduino-001x/hardware/boards.txt, e.g.

atmega8.name=Arduino NG or older w/ ATmega8 - short delay

i'm not sure how to make duplicate entries as atmega8.name variable is overwritten.

note that a delay of <=2.5 seconds can be very hard to work with if you have to press the reset button manually when programming.  i recommend the NG auto-reset capacitor hack described here http://www.arduino.cc/en/Hacking/NGAutoReset, but note there is a mistake on that page and the cap should go on the TOP two pads, not the bottom.  

e

---------------------
NOTE: maybe someone can clarify this so people don't need to have CrossPack installed -  error when trying included compiler DIRAVR = ../../tools/avr:
Code:
/Applications/arduino-0016/hardware/tools/avr/bin/../lib/gcc/avr/4.3.2/../../../../avr/bin/ld: address 0x2060 of ATmegaBOOT.elf section .text is not within region text
make: *** [ATmegaBOOT.elf] Error 1
12  Forum 2005-2010 (read only) / Troubleshooting / Re: Arduino Bootloader ATmega* for single sided serial on: August 14, 2009, 11:59:09 am
i read over the 1k bootloader docs, it's cool but it won't work on the atmega8 without some modifications and work.  i ended up doing a simple change to the built-in bootloader.  here's what i did in case it helps anyone else:

make backups of ATmegaBOOT.c and ATmegaBOOT.hex in apps/arduino-001x/hardware/bootloaders/atmega8/

change startup delay by a factor of 2 or 3: in ATmegaBOOT.c change line 52 to

#define MAX_TIME_COUNT (F_CPU>>3)

that gives about a 2.5 second delay after reset before program starts.  use F_CPU>>2 for a 5 second delay, and F_CPU>>4 for a 1.25 second (approx) delay.  

open Makefile in the same folder and change the DIRAVR path (line 13) to your avr compiler path.  if you have CrossPack installed use

DIRAVR = /usr/local/CrossPack-AVR

if you don't, you could try the one included with Arduino IDE

DIRAVR = ../../tools/avr

but when i tried it i got some errors, maybe somebody else can figure that out, i'll paste it at the end of this.  

in Terminal, cd to that directory (hint - drag the enclosing folder to the Terminal window to avoid typing the path), and type make, e.g.

eric:/Applications/arduino-0016/hardware/bootloaders/atmega8
make


connect your ISP and Arduino or other board with Atmega8 and select Tools/Board/Arduino NG or older w/ Atmega8, then Tools/Burn Bootloader.

Done!

You can erase all the files generated by the compile except for the .c, .hex, and makefile, of course.  the Makefile has a clean command but it doesn't seem to work for me.

If you want to remind yourself the bootloader has been altered, you can change the name in arduino-001x/hardware/boards.txt, e.g.

atmega8.name=Arduino NG or older w/ ATmega8 - short delay

i'm not sure how to make duplicate entries as atmega8.name variable is overwritten.

note that a delay of <=2.5 seconds can be very hard to work with if you have to press the reset button manually when programming.  i recommend the NG auto-reset capacitor hack described here http://www.arduino.cc/en/Hacking/NGAutoReset, but note there is a mistake on that page and the cap should go on the TOP two pads, not the bottom.  

e

---------------------
NOTE: maybe someone can clarify this so people don't need to have CrossPack installed -  error when trying included compiler DIRAVR = ../../tools/avr:
Code:
/Applications/arduino-0016/hardware/tools/avr/bin/../lib/gcc/avr/4.3.2/../../../../avr/bin/ld: address 0x2060 of ATmegaBOOT.elf section .text is not within region text
make: *** [ATmegaBOOT.elf] Error 1
13  Forum 2005-2010 (read only) / Troubleshooting / Re: Arduino Bootloader ATmega* for single sided serial on: August 13, 2009, 01:06:34 am
thanks.  how different is that from lady ada's bootloader?  they all seemed to be working on things together, hard to straighten out differences.  

but those files don't include an ATmega8 hex file, nor do they include code in the Makefile to compile one, nor do they include a corrected boards file for the atmega8.  i was hoping not to have to figure all of that out myself, sigh...

14  Forum 2005-2010 (read only) / Troubleshooting / Re: Arduino Bootloader ATmega* for single sided serial on: August 12, 2009, 09:01:50 pm
i'm also trying to do this, using an AVRISPmkII to update bootloader on an Arduino NG with atmega8 to eliminate startup delay.  can you detail exactly what changes you made to makefile, and what command line instruction you used?  (i assume you used avrdude.)

i would like to use this improved ADABOOT
http://www.1strecon.org/TheShoppe/freeduino/ADABOOT.shtml

rather than the original
http://www.ladyada.net/library/arduino/bootloader.html

but it looks like it will be more work making the newer one work with atmega8...
15  Forum 2005-2010 (read only) / Troubleshooting / Re: Arduino 007 serial monitor problem on PPC Mac on: January 24, 2007, 01:37:27 pm
it gives the error every time i run it.  but i believe it worked after first run.
Pages: [1] 2 3