Jump to content

Roboticus

Members
  • Content Count

    2
  • Joined

  • Last visited

About Roboticus

  • Rank
    Noob Class

Profile Information

  • Location
    Kentucky, USA
  • Interests
    Everything technical
  1. I'd suggest using a small toroid core and wind yourself a little 1::3 transformer, and drive that with a 3.3v square wave. At 25kHz, you wouldn't need a beefy core. Of course, I'm assuming that you don't actually require a square wave across the piezo element. If you do, then I'd follow zeke's suggestion to build a small voltage doubler, then you can chop that with a BJT switch to get a pretty reasonable square wave.
  2. A quick web search (duck duck go: at command set +class "HC-05") turned up a bit of docs (on slideshare) that mentions it. From what I read (not the whole thing) it looks like many of the parameters are in hex for many of the commands. The next entry in the document, for example shows that for "AT+IAC=<PARAM>" that the default value is 9e8b33. So I'd try converting 99 to hex (63) and sending: AT+CLASS=63 (Note: I'd've put in a link to the documentation, but as a new member here, I didn't want to run the risk of being marked a spambot due to having an offsite URL in a short reply.) Hope that gets you going! UPDATE: I just read the appendix in the above document, and it contains an appendix that appears to be a description of the class field. It says that it's a 32 bit field, and shows various tables describing what the bits mean in various instances. (It's rather more complex than I'd've thought, as there are about 6 pages containing nine tables covering subsections of the 32 bit number. Kind of interesting.)
×
×
  • Create New...