It appears you have not yet registered with our community. To register for free click here
Rebreather World
       
Go Back Rebreather World Rebreathers, Components and Accessories Rebreather Dive Computers / Rebreather Electronics

HUD Project Update



Reply
 
LinkBack Thread Tools Display Modes
Old 8th May 2006, 02:56   #41 (permalink)
New Member
 
English Mark's Avatar

Current Rebreather/s:
Dolphin

Other Rebreather/s:
Dolphin
 
Join Date: Jan 2006
Location: caribean islands
Posts: 2
English Mark is an unknown quantity at this point
Re: HUD Project Update

Quote: (Originally Posted by Scuba_Vixen)
I'm planning to use a block of delrin, (appropriately milled out) and a polycarbonate top.

I'm really limited with what's available, being here on a small island, so I have to work with what I can get from McMaster Carr a lot of the time.

Tentatively, I'll be working with a 4" wide block, that's 12" long and 1.75" thick. I expect to have enough material for 2 housings. The top will be 3/8" clear polycarbonate secured with 8-32 screws around the perimeter and an o ring. I'm planning to leave the sides and bottom thickness at about 0.400" (10mm).

The digital displays will be in the housing. Everything turns on by removing a magnet outside the case. Replacing the magnet turns it off. The backlight for the readouts requires a magnet to enable.

One cable from the cell holder will connect to the controller with a 4 pin connector, and the second cable from the HUD display connects with a 5 pin connector. Trying to keep it neat and tidy.....

Now that everything is working perfectly, I'll be working on the circuit board for the controller itself. The material for the housing should be in next week or so.

I'll post some pics of the controller CB when it's done.


Darlene
Hey Darlene,
Have you considered laminating your housings out of fiberglass with polyester or epoxy resin ? they can be as strong as you like and plastic containers (even a margarine tub) can be found that is the ideal size for what you need to house. include a flange for the face plate and you can have it machined for an o ring. Being as your resources for materials are limited it might be away to go. By the way , love the press. pot
English mark
(Offline)
 
Digg this Post!Add Post to del.icio.us
Reply With Quote
Old 19th October 2006, 09:56   #42 (permalink)
New Member
 
Xandertendolle's Avatar

Current Rebreather/s:
Not Bought Yet

Other Rebreather/s:
Not Bought Yet
 
Join Date: Sep 2006
Location: amsterdam
Posts: 7
Xandertendolle is an unknown quantity at this point
Re: HUD Project Update

Darlene, your project really looks nice. You don't use the decimal point in your'e ppo2 reading. I wrote the next routine for it. Maby somebody can use it.

Would you mind posting the routines you wrote?

Kind regards,

Xander


' {$STAMP BS2e}
' {$PBASIC 2.5}
Reset: 'Reset display op pin 0
HIGH 0
PAUSE 100
SEROUT 0, 32, [$12, $16, $0c] ' clear display

'______________________________________________DEC LARATIES
tel1 VAR Nib
ppo1 VAR Word(4)
ppo2 VAR Word(4)
ppo3 VAR Word(4)

'______________________________________________MAI N PROGRAM
Main:
DEBUGIN DEC3 ppo1(0) 'manualy give in the ppo2 reading, just for testing
DEBUGIN DEC3 ppo2(0) 'manualy give in the ppo2 reading, just for testing
DEBUGIN DEC3 ppo3(0) 'manualy give in the ppo2 reading, just for testing
GOSUB ppo_display

END
'_________________________________________________ _____SUBrountines
ppo_display:
FOR tel1 = 1 TO 3 'writes the ppo2 reading in an array.
ppo1(tel1)= ppo1(0) DIG (tel1-1)
ppo2(tel1)= ppo2(0) DIG (tel1-1)
ppo3(tel1)= ppo3(0) DIG (tel1-1)
NEXT 'writes the reading to LCD screen
SEROUT 0, 32, [$94, DEC ppo1(3), ".", DEC ppo1(2), DEC ppo1(1)]
SEROUT 0, 32, [$9a, DEC ppo2(3), ".", DEC ppo2(2), DEC ppo2(1)]
SEROUT 0, 32, [$a0, DEC ppo3(3), ".", DEC ppo3(2), DEC ppo3(1)]
GOTO main
(Offline)
 
Digg this Post!Add Post to del.icio.us
Reply With Quote
Old 20th October 2006, 13:26   #43 (permalink)
e/mCCR Dolphin Pilot
 
Scuba_Vixen's Avatar

Current Rebreather/s:
Other CCR
Home Build

Other Rebreather/s:
Other CCR
Home Build
 
Join Date: May 2005
Location: St. Croix USVI
Posts: 557
Scuba_Vixen is a jewel in the rough Scuba_Vixen is a jewel in the rough Scuba_Vixen is a jewel in the rough Scuba_Vixen is a jewel in the rough Scuba_Vixen is a jewel in the rough Scuba_Vixen is a jewel in the rough Scuba_Vixen is a jewel in the rough Scuba_Vixen is a jewel in the rough
Re: HUD Project Update

Quote: (Originally Posted by Xandertendolle) View Original Post
Darlene, your project really looks nice. You don't use the decimal point in your'e ppo2 reading. I wrote the next routine for it. Maby somebody can use it.

Would you mind posting the routines you wrote?

Kind regards,

Xander


~snip for brevity~

There's no decimal point in the PO2 reading in the 2X16 LCD display because the BS2 only does integer math. Also, it's just easier to have it display everything as a 3 digit decimal base number, so there's just a leading zero for PO2 less then 1.00 ....

It's all really kind of moot though, as that display is just for calibration, and maybe for a buddy to be able to see. It's not located where the diver has visual access to it.

Take a look at this thread for the latest update and pictures of the finished unit; .. It now has electronic setpoint control capability.

http://www.rebreatherworld.com/home-...in-builup.html



Darlene
(Offline)
 
Digg this Post!Add Post to del.icio.us
Reply With Quote
Old 29th October 2006, 18:01   #44 (permalink)
New Member
 
whoizrob's Avatar

Current Rebreather/s:
Home Build

Other Rebreather/s:
Home Build
 
Join Date: Apr 2006
Location: Sacramento
Posts: 72
whoizrob is on a distinguished road whoizrob is on a distinguished road
BS2 and INTEGER math

Hey Darlene,

Been on vacation for a bit and haven't kept up with RBW but I just read the tail end of this thread where you mention not using decimals on your display with a BS2 board. I am also playing with a Pbasic setup for my meters and recall reading that you CAN set up the code to display decimals should you so desire. If that is the case let me know and I'll try and dig up my references. Good luck!

Rob
(Offline)
 
Digg this Post!Add Post to del.icio.us
Reply With Quote
Old 30th October 2006, 01:17   #45 (permalink)
e/mCCR Dolphin Pilot
 
Scuba_Vixen's Avatar

Current Rebreather/s:
Other CCR
Home Build

Other Rebreather/s:
Other CCR
Home Build
 
Join Date: May 2005
Location: St. Croix USVI
Posts: 557
Scuba_Vixen is a jewel in the rough Scuba_Vixen is a jewel in the rough Scuba_Vixen is a jewel in the rough Scuba_Vixen is a jewel in the rough Scuba_Vixen is a jewel in the rough Scuba_Vixen is a jewel in the rough Scuba_Vixen is a jewel in the rough Scuba_Vixen is a jewel in the rough
Re: BS2 and INTEGER math

Quote: (Originally Posted by whoizrob) View Original Post
Hey Darlene,

Been on vacation for a bit and haven't kept up with RBW but I just read the tail end of this thread where you mention not using decimals on your display with a BS2 board. I am also playing with a Pbasic setup for my meters and recall reading that you CAN set up the code to display decimals should you so desire. If that is the case let me know and I'll try and dig up my references. Good luck!

Rob

You can specify any character to any location on the display you want to, that's correct.

Xander's program shows a way to write the PO2 with a decimal point by using code to add it to the string of digits. I was already having to trim stuff 'cuz I was getting "eprom full" errors, so I didn't see the decimal point as worth trying to make eprom room for.

What I was otherwise referring to was that if you have code that divides a value by 3 (for example), it will only display the result in integers. If the value is a factor of 3, that's no problem. If the value is 30, the result is 10. If the value is 31 or 32, the result displayed is still 10. It can't display 10.3 or 10.6 as a function of the division command. ...

The way I set mine up is that the A/D result for a PO2 of 1.00 is 2500. (which represents 2.500 volts input to the adc) ..... To get the 3 digit, "100" reading on the display, the code divides the A/D result by 25.

You can see the 4 digit number below the PO2 reading is the raw A/D result number. The HUD controller uses the A/D result of each cell to determine which led(s) to lite, and the O2 control averages the A/D results from all 3 cells to control the solenoid.

Displaying the PO2 in the normal manner was just a matter of dividing the A/D result by 25.
What I did to make it easy and save some code lines, was to use DEC3 with a start location to display the PO2 for each cell. That way if the PO2 is less than 1.00, a leading zero appears, The PO2 is always displayed in 3 digits and there's always 2 decimal places of resolution to the PO2 readout. Adding the decimal point would require using 4 locations, as opposed to 3 for each cell's reading, and would crowd the space needed for the "D" & "E" for Disabled & Enabled for the O2 injection capability.

Keep in mind that that display is not visible to the diver during the dive, it's really only needed for predive calibration. That display is just a digital readout from the board that controls the HUD and O2 solenoid driver board.

The handset has 3 displays (3 1/2 digit lcds) that do have the decimal point enabled, and that is what the diver actually looks at. The handset display module shares the same 3 cells with the HUD, but has it's own driver board, calibration, and voltage regulation circuit.


Hope this makes it easier to follow,



Darlene

Last edited by Scuba_Vixen : 30th October 2006 at 02:13.
(Offline)
 
Digg this Post!Add Post to del.icio.us
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



RebreatherWorld.Com ©2005 - 2008
Rebreather World, RBW and the Rebreather World Logo are Trademarks
All rights reserved, no republishing of content without written permission.
By using this website you have agreed to our Terms & Conditions of Use

Search Engine Optimization by vBSEO 3.1.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423