New Posts New Posts RSS Feed - A remote control
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Welcome to the Graham Slee Audio Products Owners Forum

 

Open to all owners plus those contemplating the purchase of a Graham Slee HiFi System Components audio product and wishing to use this forum's loaner program: join here (Rules on posting can be found here)

This website along with trade marks Graham Slee and HiFi System Components are owned by Cadman Enterprises Ltd


A remote control

 Post Reply Post Reply Page  <1 3456>
Author
Graham Slee View Drop Down
Admin Group
Admin Group
Avatar
Retired

Joined: 11 Jan 2008
Location: South Yorkshire
Status: Online
Points: 16112
Post Options Post Options   Thanks (0) Thanks(0)   Quote Graham Slee Quote  Post ReplyReply Direct Link To This Post Posted: 04 Dec 2022 at 12:28pm
Originally posted by Graham Slee Graham Slee wrote:

Ah yes, I remember. Vss should not be less than transmit enable, so to ensure it's always 0.6V above 0V, the current for the 7555 runs via it.

And that's the reason for D2 as well.
That none should be able to buy or sell without a smartphone and the knowledge in how to use apps
Back to Top
Graham Slee View Drop Down
Admin Group
Admin Group
Avatar
Retired

Joined: 11 Jan 2008
Location: South Yorkshire
Status: Online
Points: 16112
Post Options Post Options   Thanks (1) Thanks(1)   Quote Graham Slee Quote  Post ReplyReply Direct Link To This Post Posted: 04 Dec 2022 at 12:48pm
Now, you see all those unconnected pins 1 - 8?

They're address pins, A0 - A7.

For door lock use, they're usually mounted in a key fob using a little key fob PCB and all the pins are taken to VSS. But they use fine PCB traces that can be easily cut, and the same pin traces are cut on the decoder end chip. So there are loads of combinations just like keys.

(in this case 2^8)

We can code each item in a system likewise, and code the remote control for whatever it's paired with, and that "hard coding" takes the place of the microprocessor coding that often needs a PLD chip.

This remote control is however limited by the number of functions it can do. There are only four. Here I'm using two - one for volume up, the other for volume down.


Edited by Graham Slee - 04 Dec 2022 at 1:30pm
That none should be able to buy or sell without a smartphone and the knowledge in how to use apps
Back to Top
Graham Slee View Drop Down
Admin Group
Admin Group
Avatar
Retired

Joined: 11 Jan 2008
Location: South Yorkshire
Status: Online
Points: 16112
Post Options Post Options   Thanks (1) Thanks(1)   Quote Graham Slee Quote  Post ReplyReply Direct Link To This Post Posted: 04 Dec 2022 at 9:28pm
The receiver consists of an IR receiver module and was originally a Vishay TSOP4838, which is a 38kHz receiver, and that means the 7555 in the remote should be adjusted to give exactly 38kHz, and not around 40kHz as previously stated (like I said, warts and all...).

The power supply to the remote control receiver circuit is best provided by a 5V regulator, and we'll see that a 1 amp rating will suit it best.

The IR receiver will work from 2.5V to 5.5V and is best decoupled from the rest of the power supply by the typical 100 ohm series resistor and 100nF capacitor (on the datasheet ). Just to be sure, I used a 4.7uF electrolytic capacitor.

The output has to be inverted to be the right polarity for the HT12D decoder, and this is done by using a BC327 transistor with base connected to the TSOP4838 output via a 4k7 resistor. Its emitter to +5V and collector to pin 14 of the HT12D, which is data in (DIN). A 4k7 pull-down resistor from pin 14 to supply 0V acts as the BC327 collector load, ensuring proper switching.

The outputs from the HT12D are the same pin numbers as the encoder's push button pins, so if 10's up and 11's down, then 10 on the HT12D is up, and 11 on the HD12D is down.

The HT12E oscillator is set by one resistor and as it transmits at 1.5kHz, then for the HT12D 5V supply its resistor has to be 75kHz (because it needs to be 50 times and 1.5kHz x 50 is 75kHz) and the corresponding resistor value is 120k, but somehow my prototype uses 100k and works OK.

Except for the HT12D supply pins, the only one left is VT pin 17, which flags a valid transmission by going high (logic 1).

So, we have up on pin 17 and down latches on the output pins matching the button press. The button press outputs latches, but pin 17 only stays high during the button press, so that acts as the stop.

We can then take this as a logic truth table to a quad half H driver chip which is interlocked and when one output is high the other is low, and vice versa, and the pot motor sits between these two outputs!

These driver chips can deliver 1 amp per output, and we can parallel two Half H's together to reach 2 amps. We don't need that much current for the motor as its maximum is 150mA with end stop clutch slipping. But it means the chip runs cooler.

We then only need 4 diodes to soak up the motor back EMF, and that's that.

I'll draw it up next post, but for now I'll comment that I've seen other remote receiver circuits and they're so over complicated it isn't real. Now, they might (or might not) have sufficient logic to bring the motor to a halt instantly, and this receiver circuit simply doesn't and cannot. But how long will it take for the pot motor to stop? It hasn't a flywheel so it must be pretty instant, and I can only guess that it might take 0.1s, and if so it will run past by 2.5 degrees of rotation, which is less than 1%.

We can also experiment by placing a resistor in series with the motor to slow its rotation speed.
That none should be able to buy or sell without a smartphone and the knowledge in how to use apps
Back to Top
Fatmangolf View Drop Down
Moderator Group
Moderator Group
Avatar

Joined: 23 Dec 2009
Location: Middlesbrough
Status: Offline
Points: 8629
Post Options Post Options   Thanks (0) Thanks(0)   Quote Fatmangolf Quote  Post ReplyReply Direct Link To This Post Posted: 04 Dec 2022 at 9:53pm
Thank you for doing this Graham. As a possible application I am imagining this unit on the outside of my Majestic dac, turning the volume up and down... Is that possible?
Jon

Open mind and ears whilst owning GSP Genera, Accession M, Accession MC, Elevator EXP, Solo ULDE, Proprius amps, Cusat50 cables, Lautus digital cable, Spatia cables and links, and a Majestic DAC.
Back to Top
Graham Slee View Drop Down
Admin Group
Admin Group
Avatar
Retired

Joined: 11 Jan 2008
Location: South Yorkshire
Status: Online
Points: 16112
Post Options Post Options   Thanks (0) Thanks(0)   Quote Graham Slee Quote  Post ReplyReply Direct Link To This Post Posted: 04 Dec 2022 at 10:23pm
Originally posted by Fatmangolf Fatmangolf wrote:

Thank you for doing this Graham. As a possible application I am imagining this unit on the outside of my Majestic dac, turning the volume up and down... Is that possible?

Yes, but the pot that's easily available is 100k, unless you're going for an AC30. The choice is yours.

This one interests me https://mou.sr/3UplN3q

I don't know how you'll house it but keep the wiring short.




That none should be able to buy or sell without a smartphone and the knowledge in how to use apps
Back to Top
Graham Slee View Drop Down
Admin Group
Admin Group
Avatar
Retired

Joined: 11 Jan 2008
Location: South Yorkshire
Status: Online
Points: 16112
Post Options Post Options   Thanks (0) Thanks(0)   Quote Graham Slee Quote  Post ReplyReply Direct Link To This Post Posted: 04 Dec 2022 at 10:48pm
Also note that Holtek DIP packages will be discontinued at some point which means having to use the small outline packages which are surface mount.

UPDATE: see https://www.holtek.com/documents/10179/116711/HT12A_Ev130.pdf and the DIP version is no longer available. The only encoder is the HT12E (as featured here) but only in 20 pin SOP. Places like Rapid still show availability of the DIP package.

Regarding possible use in the "70s control preamp" I was thinking of a wired remote for authenticity (not really), but because I remember sales reps pushing the Holtek "key fobs" in the mid 80s, and Holtek started in 1983, I think it's close enough to 70s tech.


Edited by Graham Slee - 04 Dec 2022 at 11:02pm
That none should be able to buy or sell without a smartphone and the knowledge in how to use apps
Back to Top
Graham Slee View Drop Down
Admin Group
Admin Group
Avatar
Retired

Joined: 11 Jan 2008
Location: South Yorkshire
Status: Online
Points: 16112
Post Options Post Options   Thanks (1) Thanks(1)   Quote Graham Slee Quote  Post ReplyReply Direct Link To This Post Posted: 05 Dec 2022 at 9:10am
The remote control receiver diagram

Remote Control Receiver

Error on pin 8 L293 corrected (thanks Bruce)


Edited by Graham Slee - 05 Dec 2022 at 4:13pm
That none should be able to buy or sell without a smartphone and the knowledge in how to use apps
Back to Top
 Post Reply Post Reply Page  <1 3456>
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.01
Copyright ©2001-2018 Web Wiz Ltd.

This page was generated in 0.191 seconds.