Skip to main content

Creating a simple S-Meter Sensor for uBITX

Creating a simple S-Meter Sensor for uBITX

There are various ways to attach S.Meter to uBITX. You can find things on the Internet that are far superior to what I have created.

1.Parts list
1N4148 * 1
LM386  * 1
Capacitor (1nF ~ 40nF) * 1
  (Marked : 1nF : 102, 1.5nF : 152, 40nF:403)
  I Used : 1.5nF (152)

Resistor (4.7k ~ 20k ) * 1
  I Used : 4.7K

Capacitor 10uF * 1 : Option
  (I did not use it to use minimum parts, but if you have an extra 10uF, please use it.)

Capacitor and Resistor have different display type of S.Meter depending on values.
The larger the capacity of the capacitor, the slower the S.Meter moves from High to Low. I used 1.5nF (152) because I need to move quickly for testing.


2.SChematic
It is the simplest model of the LM386.



The reason for choosing the LM386 is because it is cheap and the operation is reliable.
You will be able to buy at an internet shopping mall for less than $ 0.2.

Maybe you can find some of them around you. I was able to find some around after ordering the LM386 to Aliexpress.

I did not use a PCB because it was a simple circuit.
It is decided to attach directly to IC socket.


Minimal operation is possible by attaching only two parts like this.



Finally, one resistor is added. S.Meter sensor make is over.
Is it too simple?


This is my final project. (bottom side)



I installed the LM386. (top side)


Now you can mount it in uBITX.
There are several places to connect GND to 5Volt.

Pin 3 (Green Line) is 5 volts at the Raduino connector.
Pin 4 (Yellow Line) is GND at the Raduino connector.
Pin 1 (Purple Line) is A7 at the Raduino connector.

Pin 4 (Yellow Line) is VOL_HIGH at the Audio connector (on uBITX Main board)

It is better to refer to below.
http://www.hfsignals.com/index.php/ubitx-wire-up/


After all connections are completed, set the following.
http://www.hamskey.com/2018/05/setting-smeter-to-ubitx-with-cec.html


3.Option
It is the simplest model of the LM386.

The following is recommended for the LM386 circuit with a 10uF capacitor added.




4.Conclusion
There are many ways to create S.Meter sensors. Posting here is just an example I used.
In uBITX, the voice signal is more than 0Volt, so the number of parts is reduced.
You can add your own parts to this circuit.
Note that the Arduino should have enough current to use the ADC. 


Comments

  1. Where can I download uBitx manager V1.05, and firmware V1.074

    73 Philip G7JUR

    ReplyDelete
    Replies
    1. I'm working on a deployment right now.

      Delete
  2. Very good job Ian!
    Thank you!

    Paolo IW6BET

    ReplyDelete
    Replies
    1. Paolo

      Thank you for your attention.

      Ian KD8CEC

      Delete
  3. Hi Ian.
    S-Meter now calibrated from S4 to S9+20 in 10dB steps.
    Using my own AGC circuit, ADC values 0 at S4 thought to 98 at S9+10. S9 being 73dBM.
    Great work, thank you.

    73 Philip G7JUR.

    ReplyDelete
    Replies
    1. Philip
      Great!!!

      Thank you for test.
      I have not installed the AGC yet, but I am going to install the ND6T AGC.

      Ian KD8CEC

      Delete
  4. This comment has been removed by the author.

    ReplyDelete
    Replies
    1. Hi~ KD8CEC

      Very simple

      Thank you

      Keydalee DS2BXI 73..

      Delete
  5. This comment has been removed by the author.

    ReplyDelete
  6. My S Meter is done and working. Used an LM386 module from http://lctech-inc.com
    Greg KG4GEK

    ReplyDelete
    Replies
    1. Thanks for good information.
      if using lm386 module, perhap we very simple added S-Meter to uBITX.
      this is very easy way.

      Ian KD8CEC

      Delete
    2. Here is what I used. I ordered it on amazon, 5 pieces. Giving a couple to friends that are building. https://www.facebook.com/photo.php?fbid=2097616616918698&set=gm.2115139528761905&type=3&theater&ifg=1

      Delete
    3. https://www.amazon.com/5V-12V-Amplifier-Module-Arduino-EK1236/dp/B01FDD3FYQ/ref=sr_1_4?ie=UTF8&qid=1526443209&sr=8-4&keywords=lm386+audio+amplifier+module

      Delete

Post a Comment

Popular posts from this blog

How to upgrade uBITX Firmware

uBITX is based on Arduino Nano. So uBITX's firmware upgrade method is the same as Arduino.
There are two ways to upgrade the firmware of uBITX.

The first is to compile the source from the Arduino IDE, and the second is to upload the compiled hex file using the Firmware Upgrade Tool.

I'll show you how to upload a compiled hex file as a second method.

1.Connect the uBITX's USB cable to the computer.


2.Run Device Manager on your computer.
  The way to open the Device Manager for each OS Version differs slightly.
  In most Windows, you can easily launch the Device Manager by running.

  On your computer, press the Windows key + R.



 Type devmgmt.msc and press OK Button.




On most operating systems, there will be a serial port named Ports with CH340. If so, the next step is skipped.

If the serial port is not installed as below, you need to install the driver.



Included in uBITX is the Adonano, which uses the CH340 USB To UART part.

Download the latest CH340 driver from the Internet.

CAT Support uBITX Firmware CEC Version 1.06 Release (Added WSPR)

uBITX Firmware CEC Version v1.06 (changed v1.061)

I deployed 1.06 and received feedback from WSPR's beta tester, Philip (G7JUR).
It was a problem that the LPF was not automatically selected according to band selection during WSPR transmission.

I modified it soon and changed uBITX Firmware CEC Version to 1.061.
uBITX Manager also changed Version to 1.01.

-----------------------------------------------------------------------------------

I released version 1.06 which added WSPR function to uBITX.
Beta testers have been very helpful when embedding WSPR functionality. WSPR will continue to improve in the future.

By using WSPR before and after QSO, you can check where your uBITX is spreading all over the world.  If uBITX Manager is used to put WSPR information into uBITX, uBITX no longer needs any external device to transmit WSPR.

The uBITX group's excellent tester also shared a way to use CW Beacon using the Autokey feature (Autokey is a memory keyer built into CEC Firmware.) I will…

CAT Support uBITX Firmware CEC Version 1.01 Release(Changed from v1.0)

CAT Support uBITX Firmware CEC Version 1.01  Release (Changed from v1.0)

uBITX Firmware CEC Version 1.06 has been released.
Please click the link below.
http://www.hamskey.com/2018/03/cat-support-ubitx-firmware-cec-version_24.html

This version of the concept is an upgrade without hardware modifications. No hardware modifications are required to use this firmware. Continuous release and testing has been done in the uBITX group. I tried to put only the basic functions that an HF transceiver should have. The features have been upgraded with the advice of people who have great ideas in the uBITX group.
It was a project that started to contribute to the original source in github. The project was intended to fix some simple bugs and request merge to the original source. And I was planning to delete the project. At the beginning of the project there was a bit of discussion about this in the uBITX group.
Since then, I've keeping the original source type to allow code share with any user fork…