This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
""" | |
Morse_Gmail.py | |
m0xpd | |
December 2012 | |
""" | |
import feedparser, time, sys | |
import RPi.GPIO as GPIO |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/local/bin/python | |
# m0xpd | |
# shack.nasties 'at Gee Male dot com' | |
import RPi.GPIO as GPIO | |
# setup GPIO options... | |
GPIO.setmode(GPIO.BOARD) | |
GPIO.setwarnings(False) | |
# setup IO bits... | |
GPIO.setup(12, GPIO.IN) # PinA is on GPIO 12 | |
GPIO.setup(16, GPIO.IN) # PinB is on GPIO 16 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/local/bin/python | |
# m0xpd | |
# shack.nasties 'at Gee Male dot com' | |
import RPi.GPIO as GPIO | |
# setup GPIO options... | |
GPIO.setmode(GPIO.BOARD) | |
GPIO.setwarnings(False) | |
class RotaryEnc: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/local/bin/python | |
# Run an eBay AD9850 on the RPi GPIO | |
# | |
# translated from nr8o's Arduino sketch | |
# at http://nr8o.dhlpilotcentral.com/?p=83 | |
# | |
# m0xpd | |
# shack.nasties 'at Gee Male dot com' | |
import RPi.GPIO as GPIO | |
# setup GPIO options... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if Proceed == 1: # External timing code sets Proceed = 1 for WSPR | |
# and enters at the start of the transmission interval | |
sendFrequency(WSPR_freq) # setup the DDS frequency | |
GPIO.output(11, True) # key the Tx | |
time.sleep(1) # wait for 1 second : WSPR starts 1 second into the minute | |
for i in range(0,len(WSPR_Message)): # read each character | |
sendFrequency(WSPR_freq+WSPR_Message[i]*WSPR_df) # set frequency | |
time.sleep(0.682) # wait for 682 msec | |
GPIO.output(11, False) # All Done - so un-key the Tx |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Keyer | |
Simple keyer for the Arduino | |
m0xpd | |
shack.nasties 'at Gee Male dot com' | |
Pins 6 & 7 connected to a paddle... | |
pin 6 is the 'dit' key (usually the left) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Kanga_VFO_2 | |
Enhanced VFO System for the Arduino | |
with AD9850 DDS Sig Gen Module | |
mounted in the Kanga DDS Shield | |
and a (16*4) LCD Display on the I2C Interface | |
m0xpd | |
August 2013 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Kanga_VFO_3 | |
Enhanced VFO System for the Arduino | |
with AD9850 DDS Sig Gen Module | |
mounted in the Kanga DDS Shield | |
and a LCD Display on the I2C Interface | |
Handles either 16 * 4 or 20 * 4 LCD format | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ADSRduino | |
// | |
// a simple ADSR for the Arduino | |
// m0xpd | |
// Feb 2017 | |
// | |
// see http://m0xpd.blogspot.co.uk/2017/02/signal-processing-on-arduino.html | |
// | |
// uses a Microchip MCP4921 DAC on digital pins 4,5,6 & 8 (see below) | |
// receives gate inputs on digital pin 2 (remember to protect e.g. with a 200R resistor and a 5V1 Zener diode) |