Commit graph

52 commits

Author SHA1 Message Date
Michael Colton
23cef9918d Adds packing list drawing, re-enables experimental transmitting 2016-11-03 09:55:06 -06:00
Michael Colton
468dc41b7c PSDR 2.6.1 PCB complete. Updates to BOM in preparation for order. Also added a little bit of code to turn off printf statements when not debugging (otherwise the board wont run without a debugger attached.) 2016-07-31 22:05:44 -06:00
Michael Colton
7a70b17276 Adds BOM for PSDR2.6, also some notes on the schematic, and defining the pin for charge source control. 2016-06-09 00:35:57 -06:00
Michael Colton
7e1addf952 Almost done with PCB 2.6v. I decided to change the reference designators so it's easier to find components. But PADS randomly swapped a bunch of parts. I wasted HOURS fixing it! :( Anyway, it's almost done, and the new reference designators are going to be nice..... maybe not totally worth it...... 2016-05-29 00:14:03 -06:00
Michael Colton
8e248a52cd Mostly changes to the PCB and schematic. This is PSDR v2.6, and it's almost done. I am committing here as a backup. Also changed the code to use internal pull-ups for the I2C. 2016-05-25 18:23:03 -06:00
Michael Colton
88d9220f56 This fixes (I think) the ADC issue. Or rather, interprets the already correct values correctly. Anyway. I think we are good, though more testing would be nice. I compared the F4 display performance to the F7 to see if the flickering/shimmering effect was there. It was not..... because the display was scrolling so slowly by comparison! The F7 is so fast that it was sometimes calculating and drawing the waterfall twice! Should be better now, but I may want to slow it down further. Also some changes to the power up/clock settings functions. Turns out there were two, not sure which is better or more complete. They both work well enough for now.
So with this, I think the F7 is now doing everything the F4 was doing, and can become the official chip of the next board revision.
2016-05-11 16:57:45 -06:00
Michael Colton
acefe9aa46 Seems I've pretty much got the F7 working now. There is still something weird with the ADC not returning the right value.. Also, the screen looks shimmery if viewed from the right angle. I've never noticed it before. Not sure if that's the F7's fault? Saving here so I can try the F4 again to compare. 2016-05-09 21:49:47 -06:00
Michael Colton
ac513eaae0 Merge branch 'master' into PSDR_F7
Conflicts:
	Source/.settings/language.settings.xml
	Source/Debug/PSDR.hex
	Source/PSDR F4.launch
	Source/src/main.c

I2C is (finally working) ADC still not working.
2016-05-08 00:53:48 -06:00
Michael Colton
2c1530d33f Control of the new frequency synth is pretty much working (not completely optimized, probably isn't taking full advantage of its resolution, and doesn't cover its full range yet) the PSDR can now tune from 2.5MHz to 175MHz! Sensitivity isn't great (currently around -90dbm on 7MHz and about -80-85dbm on 146.4MHz. Still pretty cool! 2016-05-07 15:01:37 -06:00
Michael Colton
155b2700d4 Oops, didn't actually commit the files. 2016-05-01 00:50:49 -06:00
Michael Colton
8b02d73d1c Didn't actually change much. This is testing with the new diode ring mixer. Seems to be working! Thank goodness!! Reception in 2m seems very weak... might need a preamp or something? 2016-05-01 00:49:43 -06:00
Michael Colton
b3ee5db2b4 Saving current progress. Still some weird issues. Having trouble with I2C (again! It was such a pain to get working on the F4) and also something with the ADC I think.... I suppose it could be assembly issues of the F7 board too.... Hmmm. 2016-04-30 20:55:01 -06:00
Michael Colton
7c84c19d01 Okay! I've got it compiling and largely running on the F7! Still not everything is right, but a lot of it is. I think I am almost there! Maybe I'll get to include the F7 after all :D 2016-04-26 00:21:16 -06:00
Michael Colton
a24a6c6b8c I don't know if I am closer or further away. This stuff is hugely frustrating sometimes..... 2016-04-24 00:54:47 -06:00
Michael Colton
86a5916626 Progress, I think. The thing compiles and builds something, but it's only 1K and won't run. Trying to figure out what I am doing wrong. :/ 2016-04-24 00:17:37 -06:00
Michael Colton
57f3365484 Progress on copying stuff over for the F7. I am making quite a mess, I think I sure hope I can reverse this all if I need to!!! 2016-04-23 21:53:10 -06:00
Michael Colton
4385f07394 Trying to get the PSDR code to run on the F7 chip. I'd like to use that one if I can. 2016-04-23 21:23:43 -06:00
Michael Colton
59e59d7af1 Simple test that the GPS module is indeed talking and the MCU can indeed hear it. It's dropping characters though, and it's polling based and whatnot, so it will need to change fast. Also, so far, in my office, the GPS hasn't gotten a lock. Is the antenna good enough? How about the antenna match? 2016-04-21 20:55:56 -06:00
Michael Colton
a211a0b9dd A heroic effort to push things forward. Now working includes the I2C interface and the code to talk to and start up the frequency synth. Flip flops are on, frequencies are being divided. No luck on actually getting a signal all the way through though. I currently suspect the transformers or the mixers..... how high can a quadrature sampling detector go again? :/ 2016-04-21 00:57:58 -06:00
Michael Colton
1890b25a4f PSDR 2.5 prototypes are assembled. This commit includes notes for things I want to change or improve (in the notes section of the schematic) as well as preliminary code changes to make it work on this hardware. Display comes on, lots of the parts are working, but no frequency synth yet, so it's hard to know how well the design is working. 2016-04-18 22:11:10 -06:00
Michael Colton
0d6854649c Making changes to encoder board for new housing design, started integrating the new RF synth and mixers into the schematic. 2016-01-12 14:07:19 -07:00
Michael Colton
de4db21eac Merge branch 'master' of https://github.com/MichaelRColton/PSDR
Conflicts:
	Hardware/PSDR.sch
	Source/.settings/language.settings.xml
2016-01-01 17:27:21 -07:00
Michael Colton
3bdb147fdf Some interface improvements. The filter bars now work, and the characters for the filter values are now better. This also improves the performance of navigating the interface. Also, added a basic volume display. 2015-12-30 21:18:31 -07:00
Michael Colton
0d13c419cc Got trace statements though the debugger! Cool! And it was so minor. Also, fixed a weird issue with missing linker files (at least on this computer......) 2015-12-29 15:21:24 -07:00
Michael Colton
5d4230e9c1 Missed a file in my last commit? 2015-11-24 14:43:03 -07:00
Michael Colton
7aecbedaeb Merge branch 'master' of https://github.com/MichaelRColton/PSDR
Conflicts:
	Hardware/PSDR.pcb
	Hardware/PSDR.sch
	Source/.settings/language.settings.xml
	Source/Debug/PSDR.elf
	Source/Debug/PSDR.hex
2015-11-24 14:33:42 -07:00
Michael Colton
ff84014cf9 Upload of my development on my work computer. This includes some efforts to get serial working for the GPS (I think) and maybe some experimental transmitting test stuff? Anyway, mostly included here for completeness, and because I will not be doing PSDR development on this machine anymore. 2015-11-24 14:29:46 -07:00
Michael Colton
3236178786 Syncing some more, not sure if these are more or less up-to-date than what's on here already..... 2015-11-14 00:04:20 -07:00
Michael Colton
b0b9e92391 Getting my other computer synced up, there might be some bumps. I still stink at Git. 2015-11-11 17:54:39 -07:00
Michael Colton
43500cbef3 Honestly, it's been a while since I did any coding, with getting the kickstarter ready, so I don't actually remember what the state of the code is right now. I think I was working on getting the UART up so we can use the GPS. I'm commiting this as more of a backup than anything. 2015-03-06 22:54:22 -07:00
Michael Colton
d9c9939ab8 Update to bring github up to date with my files. 2014-10-28 00:36:55 -06:00
Michael Colton
46c832e409 Pretty big improvements to bitmap drawing code, and waterfall display code. Also a hack to deal with the red-things-stay-red bug (it's not ideal, it just blocks the encoder tick() if the display is drawing, doesn't seem to effect the feel of the interface in a bad way. Beginning to include GPS support. Working on some other display speedups (DMA and 16bit transfers, both are currently disabled) 2014-10-15 09:31:08 -06:00
Michael Colton
f694e53e46 Big improvements to audio! I was doing overlap-add wrong. There are still issues, but it's much better. Also, changing modes between LSB/USB/AM works now (though the menu doesn't show USB correctly, and the filter bar doesn't change). Improvements also effect transmitted audio. 2014-10-07 10:31:07 -06:00
Michael Colton
d04d7845cf Initial transmit support. Internal microphone working. Capacitive touch sensors working. Currently touch TOUCH1 to transmit, waterfall changes color and shows the filtered output that should be transmitted (except that it's MUCH noisier than it looks, due, I think to DSP issues.) 2014-10-06 11:03:34 -06:00
Michael Colton
7f0b21569c Just backing up. PSDR2 is receiving well, image rejection is good. Gain pot settings work. Audio out works (to earphones only, the speaker fails pretty badly, not sure why, but that's hardware anyway) 2014-10-01 10:48:27 -06:00
Michael Colton
817dcff56e Enclosure 3D files, Assembly Diagrams and Assembly Guide. Also so work on getting the firmware compatible with the PSDR2 hardware. Probably some junk as well. Lots of files. 2014-09-28 20:40:01 -06:00
Michael Colton
205924c170 Mostly just a commit so I have a back up of my work. Continued progress on next revision of hardware. 2014-09-01 00:29:55 -06:00
Michael Colton
3d31149c20 Looking at adding PJRC optimized display code to the PSDR. But his chip is rather different (no hardware FIFO) so I'll need to implement the changes with DMA I think, I'm sure it will work well, but it's going to be some work.... Update to block diagram. Also, finally getting to work on next rev of hardware!! 2014-08-23 14:08:17 -06:00
Michael Colton
03b0cfa0d4 Has the beginnings of an S-Meter. Audio seems worse than before that was added, so I want to check on that. Uploading the image files (even though the PSDR uses them in code form... still, might be handy) 2014-08-22 00:23:39 -06:00
Michael Colton
003beac9e3 Added basic volume control (not sure why I didn't do that a long time ago!) also a HackADayPrize logo, can't hurt, right? A few other small things. 2014-08-02 01:26:47 -06:00
Michael Colton
4d89e8ab01 Further improvements to the menu system. Now, rather than a red underline, the item itself turns red. Logic for updating runtime settings and updating the display is improved. Main() is streamlined. Looks rather nice, if I do say so myself.
Does seem a little slow sometimes. Not sure why it would be (not more than it was before, anyway) Also, if you move through menu items too fast, some of them stay highlighted incorrectly.
2014-07-26 23:20:58 -06:00
Michael Colton
7b8b1ac023 Starting to (slowly) make changes to the schematic for the next hardware version.
Making/made a lot of changes to the graphics and some to the menu system. Want to do a commit before I change too much more, incase I screw things up, you see. Graphics look much better!
2014-07-26 19:07:45 -06:00
Michael Colton
a9f466d396 Added some color bitmaps and some code to draw them (way prettier graphics, here we come!), fixed a minor bug in the mode selection menu. 2014-07-23 09:31:17 -06:00
Michael Colton
6a7b46d523 Huge improvement in display. It was basically a bug that made it so hard to read. Playing with an IF shift feature, and filtering and stuff. I think the overlap-discard is not quite right yet.... 2014-07-22 22:55:50 -06:00
Michael Colton
9d045be4ce Starting to implement overlap-discard in the DSP code. I think maybe I've gotten it working, with a pretty large improvement in audio, but reception was so bad I had a hard time finding things to listen to to test it with. Also added the ability to switch mode (LSB & AM). 2014-07-21 08:50:38 -06:00
Michael Colton
50fbaf3920 The beginnings of AM demodulation. I think it works, but it doesn't sound good at all (then again, SSB leaves something to be desired as well.) Graphical display of filter (nice!) Doesn't crash if you set the FFT size to 1024. 2014-07-15 00:15:39 -06:00
Michael Colton
31de146601 The main thing here is moving the FFT/Filtering/IFFT to a timer interrupt that has a lower priority than the audio capture/playback timer interrupt. This way I don't care how slow the display code runs in the main loop (for now) enabling me to have the audio processing and the display working at the same time. 2014-07-14 01:41:46 -06:00
Michael Colton
71b87a38d7 Added a crude Automatic Gain Control (AGC) that's happening on the audio output side. I want to add one for the RF side as well, but I'll need to change the hardware to do it.
Also fixed some weirdness with the filter menu items.
Verified that the recent changes to applyCoefficients() function are good and necessary to the proper operation of the filter.
2014-07-08 09:56:47 -06:00
Michael Colton
28ebb2009f Menu system is improved. Arbitrary filter control is working pretty well. You can set the upper and lower bounds of the filter and that's pretty neat! Strange to say, but this radio now beats my Yaesu FT-817 for filter performance (by a whole lot). 2014-07-06 23:41:57 -06:00
Michael Colton
7b1da77c21 Haven't committed in a while :o . Currently waterfall is disabled while I work on audio processing. I am capturing, FFT, filter, IFFT, and output. It seems to be working partly. I don't think I am doing things right yet.
Also, starting to implement the menu system. Oh, and fixed some indentation, so it looks like there was more changed to main() than there really was....
2014-07-06 21:20:00 -06:00