I did not say it would be easy, but yes the idea is to make a BETTER unit then you can buy, wire and wireless net con for data retrieval and settings, was thinking of basing it on the Arduino controller
I would love to see wireless EEG and bio feed back so you know when and how much rem sleep as well as tell what stages of sleep you get and how long in each one, basically a home sleep lab, but better. no wires going to the machine, just ones going to a small box on your body some where, maybe several small boxes all wireless to keep the wiring comfortable, one for EEG and one for BIO feed back. no one said there could not be a wireless unit on the mask as well for doing some extra sensitive sensing so your not going through the piping. the units could be charged using induction bases so you just put it on a flat unit and it gets charged. also wireless hart and o2 and any other data we may want
if there is new hardware then I am sure it will excite new interest in sleepyhead and it will see new life. if there is no real cheap hardware why would one need to fix or work on the software, but in poorer places where there are what they call rich, they would have computers and could afford a cheap CPAP and they would want to improve the software. India would be a prime place to get this going, they are advanced enough for programmers to be abundant yet poor enough to need this type of unit. we keep adding to the hardware side and they add it to the software.
also most guys have no idea they have apnea, there needs to be a cheap and easy way to build very cheap testers so snorers can test themselves for apnea, something that says their o2 is dropping and some easy way to have a machine reliable test for apnea, have them go the a proper sleep place for conformation and treatment option. there are so many out there that have no idea of this, I had no idea and I was decade suffering with this. how many more is there that need to be helped? I have a friend that snores bad, has for decades, he does not want to bug his doc, is a shut in so going and seeing a sleep testing place is a pain, something he does not see the point in going through unless he knows there is a problem. thing is when your down and dragging your a$$ your not thinking straight and come up with tons of excuses to not do much at all as you have no idea your not sleeping well. you become used to things and they seem normal, you have to admit your not normal and that you need help to do something about it. that and the thought of waring a mask at night does not help one to run out and get tested, ignorance is bliss, tell your self you do not need it and you do not have to deal with the idea of going to bed with some sort of contraption on your head. I know I was not to excited about it, and I was in no hurry at all to join you guys waring a mask and being tied to a machine. even less so after my time with the borrowed machine and a nose mask running around 12 cm H2O. air was going out my month so it was so dry it hurt, never have I been so dry. it was a big dread, but with my own machine and a good full face mask it is not so bad, even at 23.4, almost twice the 12 before. I look forward to going to bed as I do feel much better during the day, even on bad nights I still feel better during the day from before.
as for the firmware, and yes I know exactly what firmware is as I have wrote ton of machine code for micro controllers back in the day when they were new and hot with no interpreters for higher level coding, it was machine code or nothing, there are some great libraries for the Arduino type controllers so it will make it tons easier and faster then one may think as most of the code is written all ready, just need some glue code to stick it together for this application. it is amazing the amount of code available for the Arduino type controllers.
also to help get more programmers into it if one sells the idea of it being needed for 3rd world places it will expand the programmer pool.
one should talk to the guy that wrote sleepyhead and see where he is at and if he can help out with the data format from say resmed so we can output the same format to make it useable in resmeds program. that would be very cool
I do think we need to expand awareness of this problem, how many are on antidepressants when all they need is a good nights sleep, could explain why some go nuts and do stupid thing, not a drug reaction at all but a lack of sleep and the drugs just mask the need for sleep, but it does nothing to fill the need for sleep. lack of sleep can do some wacky things to you, more so if your taking drugs to keep you functioning. your over coming the bodies way of saying stop and get some sleep. not sure but could be, I know my doc offered me antidepressants, said nothing about maybe it was a lack of sleep.
they push pills, real doctoring seems to be a thing of the past, magic pill is all you need now days, pills can cure all your ills. yea right. I feel much better now days, and I was a more extreme case if I go by what I was told by the so called experts.
as for modeling my unit I could, I have every thing needed to do it, solid works, the know how to use it and a new working resmed S9
as for printer cost, they have come way down, some have gone for as little as $300 USD brand new. there are tons to choose from for around the $1000 mark. so yes you could get a used CPAP for $300 or less, but there is a good chance you have a friend with a printer, or buy a already printed CPAP plastic kit for cheap. there are places that offer printing services, send file they will print and send it to you.
as to needing young programmers, most older people have younger kids and they would like to help out, so they may do it for their folks.
as for your wifi mem problem, why not use a Arduino to sim a mem chip and do the wifi as well, or have the Arduino and the resmed be able to access the mem chip and the Arduino will give you the wifi your looking for. there would be a few ways to skin that cat. not that I skin cats, just a expression about here, as in there is more then one way to do things. do not ask me how skinning cats got use in that way as I have no idea, makes no sense to me. as far as I know there was no cats skinned in our past, except the big wild cats like cougars and lynxes and bob cats. maybe that is where it come from. there was lots of that in the past.
I do not have a full and complete grasp of why your playing with a wifi mem chip in your resmed but I would like to talk to you more about it, I may be able to help you with the problem. my take on it is your wanting to network to your resmed and using the wifi mem chip to try and do that. should be a easy do to have a pass through a Arduino to the mem chip so the resmed thinks it is connected to the mem chip but is going through the Arduino, the Arduino can then also tie the mem chip to a network wifi system and give you access to a plain jane mem chip that resmed likes. would that fill your needs?
(04-03-2014 05:02 PM)herbm Wrote: When I wrote Software (/firmware) I was referring to the MACHINE software, not to the review and presentation software like SleepyHead.
Clearly we could make the OUTPUT look like what SleepyHead expects from Resmed or some such.
The software (firmware) to run the machine and to score events is non-trivial.
You also have a MUCH reduced population of "interested open source programmers" in that you would not find many with an interest who were not already on CPAP.
Then consider, the machines that are out there are quite good and it would be cheaper to buy a used one if you couldn't afford a new one.
Notice that all of us on good insurance don't pay the full cost in any case -- for a home built machine we would.
So now you are down to mostly those people who a) need a machine and b) need it very cheaply and c) are programmers and d) interested in open source and e) program in something useful the other folks could also use.
That's before even mentioning that you are dealing with a population skewed towards older folks, and most open source is likely written by people from a relatively younger population.
Notice that practically no one is helping JediMark with SleepyHead (there are numerous small bugs and no new version for over a year and that one was a "nightly build" that is marked UNSTABLE -- though it really isn't that bad.)
Do YOU want to take apart an S9 and model all the components?
Not to mention, even as cheap as a 3D printer is today, the one that each person would likely need would be about as expensive as a BRAND NEW S9 Autoset.
Ok, that's a bunch of reasons why it won't work, and when people do that to me it is irritating UNLESS they help me figure out how those can be mitigated.
It seems the best way to motivate enough of the right type of people would be if the machine were BETTER than the best available right now.
Any ideas for how to make a "better S9 autoset"?
Built-in Wifi and/or Bluetooth interface. Run Linux on it so we could have an HTTP web server interface for almost free....
Built in Pulse Ox (I think OP mentioned this.) Maybe USB sensor connectors, and the ability to plug in the EEG modules from that Open Source EEG project....
Sleep data based on a cell phone and blue tooth (likey SleepTime from Azumio)
Maybe it could make coffee when it realizes we have awakened?
Actually we would probably be better off working ON THAT EEG project or figuring out a way to swipe the data direct off the S9 without screwing up the SD Card.
FYI: If you haven't been involved with that discussion: The folks talked *ME* into buying a WiFi SD Card and trying it. Problem is the WiFi SD Card REQUIRES a configuration directory and the STUPID Resmed machine software will NOT accept ANY file or directory (at the root level) on the SD Card. If it sees something extra it refuses to use the card.
Let's solve THAT problem. (I am a pretty good schemer -- that's actually why they pay me the big bucks -- and that one so far has escaped my efforts.)