diff --git a/README.md b/README.md index 78402e9..0fa92f1 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,54 @@ # RaspiQRP -Making a raspberry pi zero 2 w into a QRP. \ No newline at end of file +This is a project that takes: + +* an SDR stick +* a Raspberry Pi Zero 2 W +* an USB audio card +* some wires, indicators and screens +* an RF amplifier + +and turns them into a full-fledged QRP! + +Currently there is no prototype, yet there is a plan present, which is good. + +The total cost of this device seems to be around 90€, while the cheapest QRP I found on Aliexpress is 100€. +This difference might seem insignificant, but I bet that you have at least 70% of the supplies needed somewhere in your shack. +The screens, buttons and leds are absolutely replaceable, but you'll need to tweak the code a it. + +As of right now, the planned device will be composed of: + +## 1. Raspberry Pi Zero +raspi + + +1. Please do read about this project, as it is vital stepping stone for this one. +

+

+

+ + +## 2. Arduino TM4638 board +TM4638 + + + + +

+

+

+ +# Wiring +![Wiring image](./wiring/wiring_bb.png) +Sorry in advance for the trashy diagram, but this is my first ever attempt at wiring diagrams. The rtl-sdr and the audio card need to be put in the usb port, using a hub of some sort. + diff --git a/TODO.md b/TODO.md new file mode 100644 index 0000000..81ba492 --- /dev/null +++ b/TODO.md @@ -0,0 +1,21 @@ +* [x] implement ssb +* [x] create main.py +* [x] eat dinner +* [ ] start working on an actual raspberry pi +* [ ] get all parts needed +* [x] calculate the entire cost, so you can boast that it's probably two-three times cheaper than the cheapest QRP out there +* [ ] write the code for the screen/leds/buttons +* [ ] wire rpitx and the sdr stick to use the same frequency and mod +* [ ] wire them both to the potentiometer +* [ ] get the frequency to show on the screen +* [ ] wire(and make) a PTT button +* [ ] make LEDs flash for tx and rx +* [ ] connect mic and speaker respectively to rpitx and the rtlsdr +* [ ] fix the inevitable audio issues +* [ ] fix them again +* [ ] one last time i swear +* [ ] if everything works as expected, add more modulations +* [ ] program the buttons to change modulations +* [ ] audio issues +* [ ] mayyybe try to make it look pretty, with a box or something +* [ ] **you need a fan for the amplifier BTW** diff --git a/main.py b/main.py new file mode 100644 index 0000000..e69de29 diff --git a/modulations/ssb.sh b/modulations/ssb.sh new file mode 100755 index 0000000..4585869 --- /dev/null +++ b/modulations/ssb.sh @@ -0,0 +1,37 @@ +#!/bin/sh + +# Pin logic +#selecting pin + +GPIO=26 + +# "Prepare" it, whatever that means, I just copied it from SO +if [ ! -d /sys/class/gpio/gpio${GPIO} ]; then + echo "${GPIO}" > /sys/class/gpio/export +fi +echo "in" > /sys/class/gpio/gpio"${GPIO}"/direction + + + +# old line +#(while true; do cat sampleaudio.wav; done) + +while true; do + if [ 1 == "$(