Forum

OLED display with graphing  

  RSS

KM4VKR/Mike
New Member
Joined:7 months  ago
Posts: 4
07/02/2017 2:08 pm  

I replaced the 2-line LCD display with a 128x64 OLED. The attached pic shows the results of a 1-30 MHz sweep. The antenna is a 16.2 meter wire being fed into a 9:1 unun. The tick marks at the bottom of the screen show the location of the 10 bands. The vertical line can be scrolled using the MODE button so I can review the SWR at various freqs; the pic shows a SWR of 1.0 at 21.844 MHz.

There is also a screen that displays the SWR at the center frequency of each band.


W4BRY liked
ReplyQuote
W0DHG
New Member
Joined:5 months  ago
Posts: 1
07/02/2017 2:52 pm  

What else besides using the OLED did you do for get these results. It's a great upgrade. What is the make and model of the display? 


ReplyQuote
BATMan_Phln
Active Member
Joined:6 months  ago
Posts: 7
07/02/2017 4:53 pm  

I've built the original.  I like this upgrade (although, I'll need a new case now) but how much more did the display and making it fit cost?  Will you post the code for it?


ReplyQuote
BATMan_Phln
Active Member
Joined:6 months  ago
Posts: 7
07/02/2017 4:56 pm  

BTW, people are loving this on the Ham Radio 360 Facebook page.

 

https://www.facebook.com/groups/hamradio360/permalink/1803651199959673/


ReplyQuote
KM4VKR/Mike
New Member
Joined:7 months  ago
Posts: 4
07/02/2017 7:24 pm  

The display was $50 at Adafruit ( https://www.adafruit.com/products/2674 ). I'm sure they are available from China for less but I didn't want to wait for the shipping. I used an Perma-Proto board to build an adapter to convert from the header pins on the board to the ones on the OLED. I used software SPI on the Arduino and was able to reassign the LCD pins to SPI. This weekend I'm going to add a rotary encoder so I can quickly scroll through frequencies. I'll post my notes and the code as well.


BATMan_Phln liked
ReplyQuote
KM4VKR/Mike
New Member
Joined:7 months  ago
Posts: 4
08/02/2017 10:18 am  

Here are some pictures of the adapter that converts between the LCD and OLED pinouts. Both the AA board and the OLED module are fitted with male headers and the adapter fits between them. The OLED requires 5 pins for SPI so I repurposed Arduino pins 8, 9 , 10, 15, and 16 as SPI DC, CS, RESET, SCLK, and MOSI. The chip is a level shifter that converts between the AA's 5V and the OLED's 3.3V (it came with the OLED module).

I also attached the Arduino code. I haven't cleaned it up yet so it is pretty rough.


BATMan_Phln liked
ReplyQuote
  
Working

Please Login or Register