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
  7. Where do you guys get parts from for these little projects?

    ReplyDelete
  8. Thank you so much for sharing these modifications. I saw you latest blog on making an S-Meter and you had mentioned using the LM386 and I was hoping you would share that information. Didn't know you had done one. I plan on making one here as soon as I get my enclosure completed. Again thanks for all the great things are doing with the uBitx!!

    ReplyDelete

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.

uBITX with Nextion LCD (CEC Firmware) - Installation and Introduction

uBITX with Nextion LCD (CEC Firmware) - Installation and Introduction uBITX CEC Firmware supports various LCD since Version 1.08 (16x02 Parallel, 20x04 Parallel, 16x02  I2C, 20x04 I2C, 16x02 Dual LCD with I2C).
Supports Nextion LCD (Graphic LCD) from Version 1.09, Version 1.09x is primarily aimed at Nextion LCD support. Also 1.09x will continue to be Beta version. If you want a stable version, please use 1.08 or 1.1 version to be released in the future.

uBITX Firmware CEC Version 1.08 Release

uBITX Firmware CEC Version 1.08 Release
Version 1.08 is the first major release since 1.061, I will release it after a 50-day beta test