July 1, 2015

New Project HDSDR Part 2

Here is the updated code and new video showing it in action. Still waiting for the SDR-Play. All you need is the LCD-Shield & Leonardo.





  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
//v1.3 7/1/2015

#include <LiquidCrystal.h>
LiquidCrystal lcd(8, 9, 4, 5, 6, 7);

void setup() {
  Keyboard.begin();
  lcd.clear();
  lcd.begin(16, 2);
  lcd.setCursor(0, 0);
  lcd.print(" SDR-PLAY/HDSDR ");
  lcd.setCursor(0, 1);
  lcd.print("www.mikexeno.com");
  delay(4000);
  lcd.setCursor(0, 0);
  lcd.print("CONTROLLER  v1.2");
  lcd.setCursor(0, 1);
  lcd.print("     READY      ");
}
void loop() {
  int x;
  x = analogRead (A0);

  //Right Button (CODE BELOW)
  if (x < 60) {
    Keyboard.press(KEY_RIGHT_CTRL);
    Keyboard.press(KEY_UP_ARROW);
    delay(10);
    Keyboard.releaseAll();
    delay(5);
    lcd.setCursor(0, 0);
    lcd.print(" SDR-PLAY/HDSDR ");
    lcd.setCursor(0, 1);
    lcd.print("ZOOMING IN +    ");
    delay(25);
    lcd.setCursor(0, 1);
    lcd.print("                ");

  }

  //Up Button (CODE BELOW)
  else if (x < 200) {
    Keyboard.press(KEY_RIGHT_CTRL);
    Keyboard.write('=');
    Keyboard.releaseAll();
    delay(15);
    lcd.setCursor(0, 0);
    lcd.print(" SDR-PLAY/HDSDR ");
    lcd.setCursor(0, 1);
    lcd.print("ZOOMING IN +    ");
    delay(25);
    lcd.setCursor(0, 1);
    lcd.print("                ");
  }

  //Down Button (BELOW)
  else if (x < 400) {
    Keyboard.press(KEY_RIGHT_CTRL);
    Keyboard.write('-');
    Keyboard.releaseAll();
    delay(15);
    lcd.setCursor(0, 0);
    lcd.print(" SDR-PLAY/HDSDR ");
    lcd.setCursor(0, 1);
    lcd.print("ZOOMING OUT -   ");
    delay(25);
    lcd.setCursor(0, 1);
    lcd.print("                ");
  }

  //Left Button (CODE BELOW)
  else if (x < 600) {
    Keyboard.press(KEY_RIGHT_CTRL);
    Keyboard.press(KEY_DOWN_ARROW);
    delay(10);
    Keyboard.releaseAll();
    delay(5);
    lcd.setCursor(0, 0);
    lcd.print(" SDR-PLAY/HDSDR ");
    lcd.setCursor(0, 1);
    lcd.print("TUNE DOWN -     ");
    delay(25);
    lcd.setCursor(0, 1);
    lcd.print("                ");
  }

  //Select Button (CODE BELOW)
  else if (x < 800) {
    Keyboard.press('g');
    delay(200);
    Keyboard.release('g');
    delay(50);
    lcd.setCursor(0, 0);
    lcd.print(" SDR-PLAY/HDSDR ");
    lcd.setCursor(0, 1);
    lcd.print("AGC FS/MD/SL/OFF");
    delay(250);
    lcd.setCursor(0, 1);
    lcd.print("                ");
  }

}

June 28, 2015

New Project HDSDR Part 1

Just want to let you all know i will be releasing a custom controller for the SDRplay to go along with HSDSR. My SDRplay is on order. The code is finished and the prototype controller is complete. Just need to finalize a few things then i will release it all . The controls i will be assigning are at the moment are

-Tuning up and down via the first rotary encoder.
-Zooming in and out of the waterfall via the second rotary encoder.
-Mode selection AM/USB/LSB
-Automatic gain control settings
-Recording and playback controls.

This will be a standalone box with buttons and knobs. More to come....
The video is just a quick and dirty proof of concept.

June 23, 2015

New Radio

Been out of work now for about 6 months. Trying to stay as mentally busy as possible, Most of my radios i sold but still have a handful left that i listen to daily.

I wish i never sold my Alfedri SDR and the Rtl's just don't cut it for me. I haven't had a sdr in about 2-3 years so i didn't know what was current and under $300.00.

I did a lot of reading and made my pick. The SDRplay. All the reviews are very favorable and at $150.00 why not....

Arduino IDE

New version was released today. We are now at v1.6.5 r2.

This release comes from arduino.cc not arduino.org. The following has been updated. I have not had any issues at all with this new release.

















 ARDUINO 1.6.5-r2 - 2015.06.17

[ide]
* Windows: fixed a problem that prevented opening the IDE when double clicking a .ino file

ARDUINO 1.6.5 - 2015.06.15

[ide]
* File, Sketch and Tools menu items are properly handled when switching between different windows
* Sketch > Export compiled Binary: saves the compiled binary (hex, bin) into the sketch folder. Thanks @championswimmer
* New editor, based on RSyntaxTextArea. Thanks @ricardojlrufino
* New keywords. Thanks @Chris--A
* Easier "additional boards manager url" field: a wide text area opens by clicking the added button (right side of the text field)
* Rewritten code of Preferences window: its content is now correctly drawn on every OS
* Fixed a bug that made the IDE notify users of invalid libraries too many times. Thanks @Chris--A
* Removed JNA. Less native stuff and less chances of incurring into an UnsatisfiedLinkError
* Many new and old issues closed. Thanks to many, and @Chris--A in particular
* Faster libraries list update
* Serial monitor stays opened during upload, disabled. Thanks @avishorp and @Wackerbarth
* CLI: --get-pref can now be called without a pref name. If pref name is missing, IDE dumps all preferences
* Holding SHIFT when hovering the save icon will trigger a "Save As"
* Removed proxy settings from File > Preferences: IDE will use system settings
* Linux versions bundle the latest JVM, 1.8.0_45
* Local docs: if your sketch has a "docs" folder, you can add local links to it. For example file://./docs/index.html
  will use your browser to open file index.html from the "docs" folder of your sketch
* When using "external editor" mode, sketch code is updated when the IDE gets focused
* Added keyboard shortcuts to IDE menus: ALT+F for File, ALT+E for Edit and so on
* Added support for Dangerous Prototypes Bus Pirate as ISP
* Added "Close" button to Boards/Libs Managers, in order to help linux people with weird Window Managers
* Added File > Open Recent menu, showing the last 5 opened sketches
* Windows: added Arduino Zero drivers
* Tons of minor fixes