I'll try to touch on all the points.
1) What kind of streaming/frequency is going to be outputted to the 2 pins on the port? What would I be reading exactly, and how fast?
I don't know exactly what kind of numbers the output will be. I know the I2C has a clock line and a data line and it sends (and recieves) 16 bit info.
http://www.maxim-ic.com/appnotes.cfm/appno...mber/3315/ln/en - this page has all the info + C files already made to just include in the programming. Either ways, I2C is a VERY common technology, so i'm sure figuring this out won't be hard (the hardware debugging software i got shows the imput it's getting, so we can toy around with it and figure out how it works, because I'm sure you can get it to just use an echo command, where you send an impluse and it replies with the value it's currently at.
LPT ports are very fast, so that shouldn't be a concern.
2) We couldn't quite make sense of that bit of the diagram between the A to D converter and the parallel port. What does it do exactly?
You mean the dotted lines ? It just links the GSR amplifier to the parallel port "translator". The parallel port circuit is basically one 74H05 chip with a bunch of resistors, it's just meant to transform the signal from I2C to LPT language (hex).
3) The relatively slow pulse/vs incoming flow of information:
Well, with a continuous flow, you could have the biofeedback be continuous if it ever were to be implemented. Dealing with it for rem detection wouldn't be too hard, you could just take one sample every x seconds and build a graph.
It's not an analog stream anymore, because the ADS converts it to digital and the second little unit converts it to printer port impulse.
4) the HeMon circuit is indeed cheap and easy to build but there are a few considerable problems with that: because the difference in heartrate between regular sleep and REM sleep is not very significant you'd have to be very precise in monitoring the heartrate, which would imply the same as any other REM IR sensor, and that's having a constant distance from the skin to the sensor, which might be a little tough when you're sleeping. It might work nonetheless, but then with the distance between sensor and skin and the size of the led and photosensor you'd have about an inch of stuff going up from your hand, which would have to be hardmounted to keep the distance the same... So it gets a little tricky if you want a glove.
5) Serial is indeed easier to use, but it won't allow for as much development as LPT would... You'd be stuck with the number of pins and if you'd want a light machine or something else, you'd have a hard time integrating that without more circuitry, whereas the lpt you have 8 separate data pins that you can control as you please. So the advantages of the LPT port are really in the versatility it offers, we can expand a lot more having that.
6) The way the device will take shape (right now) is a small box which will have a bunch of wires coming out. What I'll do is I'll stick the port straight to the case so that you can use a male-female lpt cable as long as you want to do the readings. Then you can put the box wherever. From the box, you'll have the wires for the probes coming out and a number of leds (that won't be mounted, to save on shipping space). Those you can either mount yourself, or (i'll have them number) just pretend they're mounted. You don't have to worry about the leds or the motor for the time being, we'll just go for the reading. But basically you'd turn on a motor the same way you'd turn on the led (and i'll have to check for small motors or stuff like that and how to connect those with the circuit)... So if you can turn on one led, you can just replace it with a motor in the end... for starters you'd basically just have one wire going to your hand.
and for some extra news from TI, i got my chips yesterday at 10 (they took less than a day to deliver, i was really shocked hehe). This is our first problem because they're just SO DAMN SMALL heheh, i'll have to figure out a way to mount them nicely on a regular board. At the same time, it's absolutely great, because the entire box could be reduced to really not much if we wanted to make it computer-free... but i'm really attracted to the computer idea, it seems like a great way to record data (if we make this open source and we get software help from numerous other people, this could develop in a very nice research tool)... if it works right, of course. 
I'm still debugging the printer connector (no worries, if that one's messed up i have parts to build 6 more hehe) I'm thinking it might be something that has to do with windows XP, because i can read and write from it, i just don't get the right values and the software they provide just crashes. So I'll try to figure that one out and as soon as i'm done with those i'm starting work on the GSR...
I'll probably get some help to test the GSR with the oscilloscope and then i'll stick it to the printer port and see what that reads.
but you can certainly build a heart monitor and see how that reads out. You'd still need an analog to digital converter and those usually spit info out in I2C (from what i learned lately) so you might still have to figure out a way to resolve the computer connectivity issue.
If you use a watch and you butcher that up it might be as easy as connecting the wires that go to the display to the printer pins of the printer port or serial port, but i'm not very sure about connectivity issues there (you might need some extra parts and i wouldn't know much about those).
i also thought the GSR was good because unlike the other gsr schematics out there, this one's self calibrating, so you don't have to waste time every night with a skrew driver trying to calibrate your unit and then worry it might change during the night.
it would actually be nice to have someone who REALLY knows electronics on the team, then we'd have a much easier time... there are things that just go way past me and i can copy them, but i can't explain them... When i'm in trouble i just go to my dad and he helps sometimes (he's in electronics) but he's a busy guy. But i have a good feeling about this, i think it's going to work nice.
|
|
Bookmarks