Description:
Some times ago my friend and colleague Petr (OK1RP) bough and built ATS transceiver. When he showed me how it works I saw that tuning is not very comfortable. I thought that would be nice to be able to control tuning with rotary encoder in the same way as it is possible on large desktop transceivers. Petr was very excited about this idea. We looked at the schematic and the idea of schematic was born in my had. I built first prototype and it worked quite well. And now you can see final version of the rotary encoder module.
The heart of the rotary encoder module is microcontroller Atmel ATtiny2313. The firmware in the microcontroller is watching the turning or pushing of the main tuning knob on the encoder module. According to movement of the tuning knob the microcontroller control three transistors which are connected in parallel with push buttons in ATS.
Block diagram of the rotary encoder
Schematic of the rotary encoder kit
Rotary encoder pins description
Interconnection between encoder and ATS transceiver
The rotary encoder consisting the main blocks as follows: microcontroller, encoder unit with knob, LED indicators, transistor switching circuit, voltage regulator and connector for connection with ATS.
Schematic of the rotary encoder kit
I designed the double side PCB. The size of the PCB is 38x36mm and it has two mounting holes. Really nice, isn't it.
Assembly diagram (top side)Interconection with ATS:
For correct functionality of the rotary encoder module is necessary to connect five wires as follows:
1) connect the GND of the ATS to the GND of the rotary encoder
2) connect Vcc voltage from ATS board to rotary encoder board
3) connect the push buttons MENU, UP and DOWN on the ATS board to the rotary encoder board
1) connect the GND of the ATS to the GND of the rotary encoder
2) connect Vcc voltage from ATS board to rotary encoder board
3) connect the push buttons MENU, UP and DOWN on the ATS board to the rotary encoder board
The five wires cable should be used for interconnection between ATS and rotary encoder module. Due to this interconnection it is possible to easily disconnect encoder and use ATS alone as originally designed. On the ATS side the wires are soldered to push buttons pins, power supply and GND pins.
Interconnection between encoder and ATS transceiver
Control options:
- simulates pushing the button DOWN (tune down)
Rotation 1 step to the right
- simulates pushing the button UP (tune up)
Pushing the tuning knob once
- simulates pushing the button MENU once (frequency reading)
Pushing the tuning knob long time
- simulates pushing the button MENU long time (go to MENU)
Double click to the tuning knob
- “tuning” mode is activated which is indicated by the both green LED's flashing. Encoder is waiting at this moment for the direction where to go to tune the transceiver. It can be done by simply rotation right/up or left/down of the main tuning knob. After setting the directions as mentioned the encoder simulates holding the push button up/down on the ATS to tune through the band without necessity to hold any button or knobs! We are talking about the automatic scanning through the band. The selected direction is indicated by the flashing of corresponding green LED. To stop the tuning through the band just press or rotate the tuning knob in any direction.
Conclusion:
It took few months from first idea to the final version of the kit, but it was nice work with good result. I would like to thank you to OK1RP and OK1SA for support and testing of this kit. On the following pictures you can see one of the last version of the rotary encoder module on the professionally made PCB. Actually the last version is using 1206 size of resistors and capacitors instead of 0805 size for easier soldering. I will post photos with 1206 part soon in the next post where I will public step-by-step procedure how to assembly this kit (so stay tuned).
Rotary encoder modul (top view)
Rotary encoder modul (left view)
Rotary encoder modul (left view)
Ordering Information:
Because I thought that this device could interest other ATS radio operators I made a kit with all parts including pre-programmed microcontroller and the PCB. If you would like to buy the kit, please contact me on my mail address diy4fun@gmail.com. The price of the kit is 25USD. The shipping is 5USD worldwide for one kit, 6USD for two kits and 7USD for three kits. I prefer PayPal for the payment and I'm sending the kits by standard postal service.
Because I thought that this device could interest other ATS radio operators I made a kit with all parts including pre-programmed microcontroller and the PCB. If you would like to buy the kit, please contact me on my mail address diy4fun@gmail.com. The price of the kit is 25USD. The shipping is 5USD worldwide for one kit, 6USD for two kits and 7USD for three kits. I prefer PayPal for the payment and I'm sending the kits by standard postal service.
Hi,
ReplyDeleteexcellent kit and easy to assy. Perfectly designed and highest PCB quality I even seen.
It worked for first run after assy.
Thank You for this kit Miroslav.
P.
Miroslav, what is P2 for? Thanks for a great kit and helping make my ATS-3b more fun to use.
ReplyDeleteHi, the P2 is programming header which can be used for connection with some programmer to program or re-program the ATtiny2313 microcontroller. It is not mandatory to populate this header.
ReplyDeleteI would like to order two of them. What is your PayPal address? Thanks.
ReplyDeleteSteve, N7SR
Hello
ReplyDeletePlease can i order 1 kit?
Please send me a paypal invoice
Regards
m0wsa
Stacy
ReplyDeletegood morning
I am very interested in this kit .I would know if it is still available and how much it costs to ship in Italy
A very interesting blog website, 73 de John G4YDM https://g4ydm.wordpress.com/
ReplyDeleteIs the code for the AVR anywhere? Or is a kit still available?
ReplyDelete72
Dom
M1KTA
This comment has been removed by the author.
ReplyDeleteHi dear OM.
ReplyDeleteIs it usable with the MTR3B ?
72 - Jo - F5NFB
I have the version for the ATS-3B but now have an ATS-4B. Is the firmware available to make it work with the ATS-4 transceivers?
ReplyDelete73 AL VE3RRD
Would you be inquisitive about exchanging links? best online casinos
ReplyDelete
ReplyDeleteHello, your article is really good about pcb(pcb manufacturing cost)
Hi,
ReplyDeleteLooking for the Code for ATtiny2313.
Any links to follow?
Rgrds,
Stuart.
The code for ATtiny 2313 is IP of Miroslav. Not public available, not open source project.
ReplyDelete