INTL 3:770/1 3:770/3   
   REPLYADDR tnp@invalid.invalid   
   REPLYTO 3:770/3.0 UUCP   
   MSGID: 2a461d54   
   REPLY: <9bse0j956bh9pid02umolnag9a33gcboco@4ax.com> 08e172f5   
   PID: SoupGate-Win32 v1.05   
   On 30/03/2024 02:04, Jim H wrote:   
   > On Fri, 29 Mar 2024 10:49:13 +0000, in ,   
   > The Natural Philosopher wrote:   
   >   
   >> Maybe ascii art will help   
   >>   
   >> CONTROL=10µs   
   >> ____| |________   
   >>   
   >> RETURN = wahatever   
   >> _____|^^^^^^^^^^^^|____________   
   >>   
   >   
   > Assuming my bleary-eyed math is correct, 10µs is the length of one   
   > cycle of ultrasound at 100,000 Hz.   
   >   
   The width of that pulse is pretty much immaterial - its only a digital   
   trigger, It doesn't send anything directly.   
      
   The unit does that, and senses a high to the output. Then it transmits a   
   squawk., When it receives an echo it switches that to low.   
      
   Its a smart device .   
      
   https://cdn.sparkfun.com/datasheets/Sensors/Proximity/HCSR04.pdf   
      
      
   > So what frequency is your ultrasound? Maybe some ASCII art - to scale   
   > - of the waveform going down and back will reveal something.   
   >   
   40Khz allegedly. see datasheet   
      
   > I admit total ignorance to whether your devices can send sound and   
   > receive at the same time, etc, etc, so this is my last potentially   
   > annoying input. Good luck.   
   >   
   Ive no idea either, Its got two things that might be transducers,   
      
   > Spent many an evening with Z-80 assembler back in the late 70s. Good   
   > times.   
   >   
   Yes. I finally connected the dots between hardware and higher level   
   languages   
      
   Anyway the unit now appears to be stable, i've watched it fail to   
   connect, and recover, I've watched it detect it had lost wifi and   
   reconnect after that, and it hasn't crashed or locked up yet, so I think   
    that's as far as the code needs to go right now.   
      
   Next step is to concert to battery and check if the battery saver works,   
   and see how long it lasts on batterries   
      
   --   
   "An intellectual is a person knowledgeable in one field who speaks out   
   only in others...”   
      
   Tom Wolfe   
      
   --- SoupGate-Win32 v1.05   
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)   
   SEEN-BY: 15/0 19/38 90/1 105/81 106/201 128/260 129/305 135/220 225   
   SEEN-BY: 153/757 7715 218/700 840 220/70 226/17 30 100 227/114 229/110   
   SEEN-BY: 229/111 112 113 200 206 307 317 400 426 428 470 550 616 664   
   SEEN-BY: 229/700 266/512 267/800 282/1038 291/111 292/854 310/31 320/219   
   SEEN-BY: 322/757 342/200 396/45 460/58 633/280 281 412 418 420 509   
   SEEN-BY: 633/2744 712/848 770/1 3 100 330 340 772/210 220 230 5020/400   
   SEEN-BY: 5075/35   
   PATH: 770/3 1 633/280 229/426   
      
|