order goes out on the 13th to digikey and mouser.
relevant details are here: http://dorkbotpdx.org/wiki/dorkbotpdx_group_ordering
happy hacking!
--
--Eric
_________________________________________
Eric Garner
_______________________________________________
dorkbotpdx-blabber mailing list
dorkbotpd...@dorkbot.org
http://music.columbia.edu/mailman/listinfo/dorkbotpdx-blabber
I fear that this wonderfully important notice was lost in the sea of
blabber today...so I wanted to point it out again:
Eric:
_____ _ _ _ _ _ _ __ __ _____ _ _ _
|_ _| | | | / \ | \ | | |/ / \ \ / / _ \| | | | |
| | | |_| | / _ \ | \| | ' / \ V / | | | | | | |
| | | _ |/ ___ \| |\ | . \ | || |_| | |_| |_|
|_| |_| |_/_/ \_\_| \_|_|\_\ |_| \___/ \___/(_)
http://dorkbotpdx.org/wiki/dorkbotpdx_group_ordering
You rock for picking this back up -- much appreciated!
-jason
THANKS, Eric!
> -----
> No virus found in this message.
> Checked by AVG - www.avg.com
> Version: 2012.0.1913 / Virus Database: 2112/4794 - Release Date: 02/07/12
thus far the people on it are :
Me
Don
If I have missed you. please reply to this mail
--
--Eric
_________________________________________
Eric Garner
I managed to get it modified to run off something other than $60 lithium primary cells and I found on old amplified photo diode board that I got out of a lot of stuff on ebay probably 10 years ago that can receive the signals from the leds. It uses a couple opamps and a hamamatsu photodiode to detect it and sends the signal out like so:
On, not triggered:
[url=http://www.flickr.com/photos/67292116@N00/6867764951/][img]http://farm8.staticflickr.com/7188/6867764951_aa3c51c60b_z.jpg[/img][/url]
[url=http://www.flickr.com/photos/67292116@N00/6867764951/]Untitled[/url] by [url=http://www.flickr.com/people/67292116@N00/]macona[/url], on Flickr
On, triggered:
[url=http://www.flickr.com/photos/67292116@N00/6867764333/][img]http://farm8.staticflickr.com/7043/6867764333_3d86426acc_z.jpg[/img][/url]
[url=http://www.flickr.com/photos/67292116@N00/6867764333/]Untitled[/url] by [url=http://www.flickr.com/people/67292116@N00/]macona[/url], on Flickr
The amplitude varies on the distance from the sensor head and the detector runs off +/-15v so technically it could get that high.
What I would like is two logic signals to go to the computer. One goes high when the head is on, and one that goes high on activation. I am guessing something like a PLL is what is called for here but I know nothing about analog.
-Jerry
> What I would like is two logic signals to go to the computer. One goes high when the head is on, and one that goes high on activation. I am guessing something like a PLL is what is called for here but I know nothing about analog.
Just to summarize and make sure I've got things right... You need to detect when one of two signals are present:
- 159 kHz (indicates "on")
- 174 kHz (indicates "activated")
I think a PLL might be overkill, unless you're trying to track the frequency as it moves between the two frequencies.
Two options I'm thinking about:
- You could build two tuned circuits, one for each frequency. They're a bit close together in frequency, so it might not be as reliable as you'd like.
- You could build two oscillators (perhaps PWM outputs from an Arduino) and mix those oscillator frequencies with the input frequency. You'll have two outputs that, if you low-pass filter them (separately), they'll output a strong signal when the input signal is near the frequency of the oscillator. (How near is determined by how wide your low-pass filter is.) Depending on how responsive you need the output signals to be, you could use a single oscillator and switch it between the two frequencies you're trying to detect.
If you're coming to the meeting tonight, I could sketch something for you, and we could work through if it makes sense for your application.
- Jared
-Jerry
http://www.pjrc.com/teensy/td_libs_FreqCount.html
-Jerry
FreqCount will give you a new measurement every gate interval. You
configure the gate interval. ;-)
You could set the minimum gate interval, which is 1ms. Then you'll get
either 159 or 174 counts per interval. The code might look like this:
void setup() {
FreqCount.begin(1);
pinMode(2, OUTPUT);
pinMode(3, OUTPUT);
}
void loop() {
if (FreqCount.available()) {
int count = FreqCount.read();
if (count > 155 && count < 164) {
digitalWrite(2, HIGH);
} else {
digitalWrite(2, LOW);
}
if (count > 169 && count < 179) {
digitalWrite(3, HIGH);
} else {
digitalWrite(3, LOW);
-Jerry
Digikey:
Quan Part Number Description Unit Price Extended Price
10 568-1059-5-ND IC I/O EXPANDER I2C 8B 16TSSOP 2.29600 $22.96
5 LTC4151CS-2#PBF-ND IC CURRENT MONITOR(12BIT) 16SOIC 5.53000 $27.65
10 989-1099-ND RES METAL .020 OHM 5W 1% RADIAL 1.32200 $13.22
--
Russell Senior, President
rus...@personaltelco.net
This chip is a 44pin TQFP chip with 4k SRAM and 2 UARTs... This is the
same chip used in the Sanguino (http://sanguino.cc/)
It's also $4.60 in quantity 25, which seems pretty reasonable to
upgrade your ATmega328 project with 2x SRAM and 2x UARTs.
I'm in for 10... is anybody else interested?
Brad.
Erik
Probably because I'm an idiot? I first checked these prices out a few
months ago and I guess when I looked at the 1284, I mis-read the price
(I could have sworn it was $7+ in quantity 25).
Since they are pin-compatible it's certainly worth a little more.
I'll post again closer to the end of the month and place it in the
group order then (since it looks like I'll pickup most of the 25).
> Erik
Yeah, I probably wouldn't need the extra space for the code in most of
the projects that I want to do, but I just like the idea of having the
extra space "just in case." It's not like the little bump in price
really matters when I'm doing stuff for myself with low quantities -
I'm not making thousands of these... :)
Erik
I think that is some sort of programming maxim.
Sent from my iPhone