Go Down

Topic: Analog VU Meter - I2C OLED SH1106 - OLEDMeter Animation (Read 3431 times) previous topic - next topic

choze

Hello, RALPH
Please ino file OLED meter version u8glig thank Choze.

masterice

Superb bit of code!
Just what  I was looking for.

I have changed the 'VU' to read "S units" and the display will be used as an S meter on the front panel of my BITX40 transceiver.
I have another identical display as the operating frequency and step rate display for a modified Adafruit si5351 oscillator.
Each display is running from its own Arduino Nano simply because they're so cheap.
Thanks again for the code (and the link to the Image3GLCD conversion software)

:)
MasterIce


stievenart

Superb bit of code!
Just what  I was looking for.

I have changed the 'VU' to read "S units" and the display will be used as an S meter on the front panel of my BITX40 transceiver.
I have another identical display as the operating frequency and step rate display for a modified Adafruit si5351 oscillator.

:)
MasterIce
Thanks for the "Superb" comment... So, you are using it for signal strength on a HAM radio?

~stievenart

masterice

Hi Stievenart
Yes the S meter project is exactly as you say. It won't be too accurate as it's using an audio derived signal from prior to the main audio amplifier but it's more to make the front panel of the final rig look that bit more professional LOL  :)

Masterice

choze

Hello stievenart

Please yaks type OLED display size using 0.96 or 1.3 I2C

THANK YOU  CHOZE

ric_xcer

Loved it. I really enjoyed the project. Thanks for sharing. I'm waiting for Oled to arrive (Aliexpress) to do it. Congratulations Stivienart.

ric_xcer

I used the Project Sketch in the Arduino IDE, however the following error appears:


C:\Program Files (x86)\Arduino\libraries\Adafruit_SH1106-master\Adafruit_SH1106.cpp: In member function 'virtual void Adafruit_SH1106::drawPixel(int16_t, int16_t, uint16_t)':

C:\Program Files (x86)\Arduino\libraries\Adafruit_SH1106-master\Adafruit_SH1106.cpp:123:14: error: 'swap' was not declared in this scope

     swap(x, y);

              ^

C:\Program Files (x86)\Arduino\libraries\Adafruit_SH1106-master\Adafruit_SH1106.cpp: In member function 'virtual void Adafruit_SH1106::drawFastHLine(int16_t, int16_t, int16_t, uint16_t)':

C:\Program Files (x86)\Arduino\libraries\Adafruit_SH1106-master\Adafruit_SH1106.cpp:673:16: error: 'swap' was not declared in this scope

       swap(x, y);

                ^

C:\Program Files (x86)\Arduino\libraries\Adafruit_SH1106-master\Adafruit_SH1106.cpp: In member function 'virtual void Adafruit_SH1106::drawFastVLine(int16_t, int16_t, int16_t, uint16_t)':

C:\Program Files (x86)\Arduino\libraries\Adafruit_SH1106-master\Adafruit_SH1106.cpp:741:16: error: 'swap' was not declared in this scope

       swap(x, y);

                ^

exit status 1

Erro compilando para a placa Arduino/Genuino Uno


Does anyone know the reason?

Thanks!

stievenart

#22
Jan 05, 2017, 03:39 am Last Edit: Jan 05, 2017, 03:45 am by stievenart
Loved it. I really enjoyed the project. Thanks for sharing. I'm waiting for Oled to arrive (Aliexpress) to do it. Congratulations Stivienart.
Thanks for the congrats Ric_xcer!

Try to (re)load latest libraries with links inside sketch highlighted:




ric_xcer

It only loaded with the SSD1306 library (not SH1106). When I get the OLEDs I post the results. Thanks again.

ric_xcer

Now it worked! I changed .cpp file from SH1106.


Follow these steps: https://github.com/wonho-maker/Adafruit_SH1106/issues/2


Thanks!

Go Up
 


Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

Arduino
via Egeo 16
Torino, 10131
Italy