Podcasting since 2005! Listen to Latest SolderSmoke

Showing posts with label microcontrollers. Show all posts
Showing posts with label microcontrollers. Show all posts

Saturday, May 2, 2015

VK2YAC's Yard-long, In-The-Yard, Bidirectional, Backyard Si5351 Rig


Alf, VK2YAC, wrote to Pete thanking him for the inspiration provided by the LBS project that Pete and Ben launched via QRP Quarterly.   Alf has obviously taken to heart Pete's recommendation re using a BIG breadboard.  

On his web page Alf writes: "Build your homebrew station and join the revolution, it's lots of fun!"   We're with you Alf! 
Alf has more great pictures of his BBR-40 rig and short descriptions of the sub-circuits he has used.  Note Si5351 with Arduino Pro-Mini for BFO and VFO.

http://qsl.net/vk2yac/Page2.html 


Our book: "SolderSmoke -- Global Adventures in Wireless Electronics" http://soldersmoke.com/book.htm Our coffee mugs, T-Shirts, bumper stickers: http://www.cafepress.com/SolderSmoke Our Book Store: http://astore.amazon.com/contracross-20

Thursday, April 23, 2015

SolderSmoke, ArduinWoes, and BrainwagonBastas!


It might not be apparent, but I have it on good authority the guy with the blue face pulling the Brainwagon was saying "BASTA!" when this drawing was made,  probably after an evening spent with Arduinos and their fascinating I2C libraries. 

Mark, K6HX, kindly offered to help us with our ArduinWoes (painful details are available in SolderSmoke Podcast #175).   Mark went to the trouble of getting the display and I2C backpack that have been giving us trouble, and then went and did a lot of testing to find the origins of the problems.   He has written this all up in two brilliant blog posts: 

http://brainwagon.org/2015/04/21/a-not-entirely-simple-lcd-display-for-the-arduino/

http://brainwagon.org/2015/04/22/using-a-sainsmart-lcd-panel-with-the-arduino-1-6-3-ide/

You will notice that Mark has made quite liberal use of the word "basta."   As Pete has noted, in order to get the full effect of this very therapeutic Italian word, you have to make use of the correct hand gesture.  Veronika nails it at about 1:28 in this video  (WARNING: VERONIKA CAN BE QUITE EXPLICIT):



Thanks Mark for all your help on this.  I'm not sure if we are entirely out of the woods yet, but it is reassuring that we are not the only ones screaming...
 


Our book: "SolderSmoke -- Global Adventures in Wireless Electronics" http://soldersmoke.com/book.htm Our coffee mugs, T-Shirts, bumper stickers: http://www.cafepress.com/SolderSmoke Our Book Store: http://astore.amazon.com/contracross-20

Monday, April 20, 2015

Progress! Si5351 VFO/BFO Working

 
I got the Si5351 portion of the new rig going today.  I used an Arduino program from Thomas LA3PNA.  It is relatively barebones, without a lot of bells and whistles, but it does just what I need:   it puts out a fixed BFO frequency and a variable VFO frequency, and displays the resulting transmit frequency.   Thanks Thomas, and thanks to Jason, NT7S, for his work on the Arduino libraries that make this all possible.
 

 
It is very simple:  Just an Arduino Uno with the Si5351 board sitting above it on a proto board that Pete sent me (thanks Pete!).  You can see the rotary encoder on the panel, and the 10K pot to set the brightness of the back-lit display.   I put the Arduino USB port on the front to make it easier to update the software, change the BFO freq. etc.    I'm going to use another cigar box wooden box for this projects, so the VFO/BFO front panel board was sized with that box in mind.  
 

Our book: "SolderSmoke -- Global Adventures in Wireless Electronics" http://soldersmoke.com/book.htm Our coffee mugs, T-Shirts, bumper stickers: http://www.cafepress.com/SolderSmoke Our Book Store: http://astore.amazon.com/contracross-20

Saturday, April 18, 2015

SolderSmoke 175 Mellow Audio, Pete in China, JBOM&BITX, ArduinoWoe, BFOVFO Chip, Chuck Adams, Mailbag


SolderSmoke Podcast #175 is available:

http://soldersmoke.com/soldersmoke175.mp3

18 April 2015

-- Some enhanced audio testing (Mellow, with Presence!)
-- Pete's trip to Fake-shu-out, China
-- My visit to the National Academy of Sciences
--Bench Reports:
   Pete's JBOM Re-born
   Bill's plans for a new SSB Transceiver
-- Arduino Woes   BASTA!!!!!!!!!!!
-- Si5351 VFO/BFO development 
-- Chuck Adams, Tribal Knowledge, and Muppet boards
-- KX3 QRO?
-- What antenna for Pete?
MAILBAG

Our book: "SolderSmoke -- Global Adventures in Wireless Electronics" http://soldersmoke.com/book.htm Our coffee mugs, T-Shirts, bumper stickers: http://www.cafepress.com/SolderSmoke Our Book Store: http://astore.amazon.com/contracross-20

Monday, April 13, 2015

Once again, into the digital morass...


Well, it has happened to me yet again:  After a somewhat happy period of stubborn luddite rejection of digital technology, yesterday I decided to jump into the fascinating world of Si5351 PLL chips.  I don't have to tell you who is responsible for this decision.  But he is of Italian descent and lives in Southern California.

I'm working with an Arduino Uno board and a prototyping shield sent to me by the same Italo-Californian gentleman.  The physical wiring of the Si5351 was remarkably easy -- just four connections.  Wow, I thought, this is going to be easy.  WRONG. 

Lady Ada's sketch and library compiled and uploaded without difficulty and the little device was simultaneously spitting out 125 MHz, 13 MHz, and 10 kHz energy.  Pretty cool.

But I got into trouble when I tried to load some of the VFO circuits out there.  Most of the trouble was caused by my errors in managing all the libraries and such.  But as I was telling Billy, it really seems to me that the folks who work on this stuff are using another language. And the problem is that it is a NON-HUMAN LANGUAGE.   If it were French or even Chinese, it would probably be easier. But you end up getting error "messages" like "U-int-8 has not been declared!"   Oh, I see.  I found myself thinking back fondly to my recent problems on 40 meters with the screeching amp and the helpful ESSB guys.  Ah, the good old days.

So, I'm not going as far as declaring microcontrollers to be demonically possessed (remember the regens?)  But I do suspect extraterrestrial involvement in these little devices. 

In the end, I got several of the VFO sketches working.  You get a sense of how new the Si5351 VFO work is when you find yourself using code that was written last week or last month.  Thanks to Lady Ada, Pete N6QW, Jason NT7S, Tom AK2B, and Thomas LA3PNA.  All of these folks are doing great work, moving the radio art forward (even if they are working with ET). 


Our book: "SolderSmoke -- Global Adventures in Wireless Electronics" http://soldersmoke.com/book.htm Our coffee mugs, T-Shirts, bumper stickers: http://www.cafepress.com/SolderSmoke Our Book Store: http://astore.amazon.com/contracross-20

Friday, March 27, 2015

March 28 is Arduino Day 2015!


Dave W2DAB alerts us to tomorrow's celebration of World Arduino Day.   https://day.arduino.cc/#/

Dave says the events often produce some interesting video. 

We will attempt to participate by doing something Arduino-ish during SolderSmoke 174, which is scheduled for tomorrow. 

Forza Banzi! Viva Arduino!

Our book: "SolderSmoke -- Global Adventures in Wireless Electronics" http://soldersmoke.com/book.htm Our coffee mugs, T-Shirts, bumper stickers: http://www.cafepress.com/SolderSmoke Our Book Store: http://astore.amazon.com/contracross-20

Thursday, February 26, 2015

A Really Cool Idea: Use your BFO as your Arduino DDS Clock

(21)  If you add a microprocessor chip to augment some of the BITX
functions, it might be advisable to use the 10 MHZ BFO signal to clock
your uP.  This could help avoid unwanted 'birdies' from the uP oscillator
getting into your BITX circuitry.
From a nice list of BITX mods: 

http://kambing.ui.ac.id/onnopurbo/orari-diklat/teknik/homebrew/bitx20/modifications/LIST%20(9-24-04).txt
Our book: "SolderSmoke -- Global Adventures in Wireless Electronics" http://soldersmoke.com/book.htm Our coffee mugs, T-Shirts, bumper stickers: http://www.cafepress.com/SolderSmoke Our Book Store: http://astore.amazon.com/contracross-20

Saturday, February 7, 2015

DuWayne's Scalar Network Analyzer -- In an Altoids Tin!


DuWayne (KV4QB) has done something very cool here.  He's taken an Arduino Nano, a cheap AD9850 DDS board, a small screen, and a couple of log detectors, and he has built IN AN ALTOIDS TIN a scalar network analyzer that lets you see the bandpass of a filter. (We posted an earlier version of this here: http://soldersmoke.blogspot.com/2015/01/duwaynes-ad9850-arduino-tft-swr-scanner.html ) Wow.  I've been doing this by hand, changing the input freq at 100Hz increments, measuring the output, putting the results into a spread sheet, converting to log (db), creating a graph...  DuWayne makes it a lot easier.  DuWayne is being encouraged to write up the results, possibly for QRP Quarterly.


Hi Guys
Started playing around with the SWR scanner that I had been working on.  Waned to see how hard it would be to make a very simple scalar network analyzer out of what I had.  Really wanted something small to use for checking bandpass other filters.   Hoped to get about 30 db. of range ,which should be enough for most filters. I have a couple of  8307 log detectors, but was afraid that it would be a pain getting it working and shielded in an Altoids tin along with the rest of the circuitry.  Went with something even easier than the resistive SWR bridge I already had.  Replaced the bridge with two basic diode RF probes, and changed the amplifiers so I could adjust the gain.  I use one to measure the direct output of the 9850 DDS module, and the other for the output of the device under test.  Kept the same control function as in the SWR scanner.  A short push on the encoder button starts a sweep of the selected band.  Holding it down for over a second cycles through the bands.  Once a scan is done you can use the encoder to scroll through the sweep.  I display the frequency and iDUT value in db relative to the output of the DDS module.  The USB connector is available and different start and stop frequencies can be entered if needed when working with IF stages.

Well it worked much better than I had expected.  After a simple adjustment of the amp gains with the output looped directly to the input, I was getting nearly 50 db with the loopback removed.  Just using some standard value resistors, in a pi attenuator I got a very nice looking sweep that was within a couple db of the 40 db i had built it for.  Since I only used standard value resistors, I though this was good enough.

Then I used  ELSIE to design a 14mhz lowpass filter, again used standard values for L and C that I had on hand .  Really happy with the results I got.

Finally I grabbed 3 crystals out of a bag without checking frequency or other parameters, I threw together a basic crystal filter.   Used the USB interface to  set the sweep range, I was really really really pleased with the results I was able to obtain.

 
The software still needs a little tweaking and a couple of additional functions I want to add, but I think this will be a very nice tool.  Plan on giving it a try when I build Pete's Lets Build Something transceiver.  Amazing what you can stick in Altoids tins, even if you have to stack two so you can include a battery pack .

Attaching some pictures of the progress so far.  As you can see that with what I used to build the test fixtures, I am amazed that they even worked at all.
73 DuWayne











Our book: "SolderSmoke -- Global Adventures in Wireless Electronics" http://soldersmoke.com/book.htm Our coffee mugs, T-Shirts, bumper stickers: http://www.cafepress.com/SolderSmoke Our Book Store: http://astore.amazon.com/contracross-20

Wednesday, January 28, 2015

Back Into the Digital Morass



Using a very nice M0XPD AD9860 shield from Kanga-UK and software by Richard AD7C I put together another little DDS VFO.  This one went together without a lot of hair pulling.  I put the LCD, brightness control and rotary controller on one piece of vero board -- this will also serve as the front panel.  



Our book: "SolderSmoke -- Global Adventures in Wireless Electronics" http://soldersmoke.com/book.htm Our coffee mugs, T-Shirts, bumper stickers: http://www.cafepress.com/SolderSmoke Our Book Store: http://astore.amazon.com/contracross-20

Tuesday, November 18, 2014

Pete's Video on Connecting Arduinos and DDS chips (video)



After watching all Pete's work with the smaller Arduinos, that Uno R3 board seems HUGE.  That's what I should stick with.   Great idea using those robust terminal strips.  Thanks Pete. 

Our book: "SolderSmoke -- Global Adventures in Wireless Electronics" http://soldersmoke.com/book.htm Our coffee mugs, T-Shirts, bumper stickers: http://www.cafepress.com/SolderSmoke Our Book Store: http://astore.amazon.com/contracross-20

Monday, November 17, 2014

Pete and Ben's "Let's Build Something" Direct Conversion Receiver



This direct conversion receiver is part of the "Let's Build Something"  project of Pete N6QW and Ben KK6FUT.  Publication will be in QRP Quarterly late in January 2015. Pete reports that the front panel is a piece of galvanized sheet metal from Home Depot –total cost 82 cents.






Our book: "SolderSmoke -- Global Adventures in Wireless Electronics" http://soldersmoke.com/book.htm Our coffee mugs, T-Shirts, bumper stickers: http://www.cafepress.com/SolderSmoke Our Book Store: http://astore.amazon.com/contracross-20

Saturday, November 15, 2014

The Amazing Rigs of Lee Snook, W1DN



Back in March 2013 we ran a blog post linking to a video of a beautiful superhet receiver built by Lee Snook, W1DN (that's his shop).   Then the video disappeared.  Today Peter Parker, VK3YE, alerted us to the reappearance of the video.  Some Googling led me to Lee's YouTube channel and many other videos of some truly amazing homebrew projects.  

Here is his YouTube Channel:  https://www.youtube.com/user/swradios/featured

And here are all his videos: https://www.youtube.com/user/swradios/videos

Check this out digi fans (from his QRZ page):





Our book: "SolderSmoke -- Global Adventures in Wireless Electronics" http://soldersmoke.com/book.htm Our coffee mugs, T-Shirts, bumper stickers: http://www.cafepress.com/SolderSmoke Our Book Store: http://astore.amazon.com/contracross-20

Monday, November 10, 2014

Background on the use of Si5351 -- code and integration with Arduino Nano (video)



I somehow missed this one.  Here Pete talks about how the use of the Si5351 in ham radio has been evolving, who has been working on it, etc.  

Our book: "SolderSmoke -- Global Adventures in Wireless Electronics" http://soldersmoke.com/book.htm Our coffee mugs, T-Shirts, bumper stickers: http://www.cafepress.com/SolderSmoke Our Book Store: http://astore.amazon.com/contracross-20

Sunday, November 9, 2014

Pete Goes Superhet with the Si5351 generating BOTH VFO and BFO (video)



Congrats to Pete for his amazingly fast development of a 40 meter superhet receiver using a single Adafruit Si5351 paired with an Arduino Nano for ALL of the frequency generation.   No more VFOs, no more crystals.  It sounds great!   Amazing stuff.  

Our book: "SolderSmoke -- Global Adventures in Wireless Electronics" http://soldersmoke.com/book.htm Our coffee mugs, T-Shirts, bumper stickers: http://www.cafepress.com/SolderSmoke Our Book Store: http://astore.amazon.com/contracross-20

BIG Amplifiers with SMALL Microcontrollers and LOTS of Tribal Knowledge


Hi Bill,
I wanted to forward to you a slightly edited email I sent to one of our podcast listener’s as I think this is a really good example of some “Tribal Knowledge”.
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Hi OM,

Ham radio publications are much like the Internet –all that is published must be scrutinized. One such publication had a beautiful QRP to QRO amp using a 3CX800A7. A few watts in and 800 Watts out. My daughter was in FM radio broadcasting and I told her to introduce herself to the station engineer and to look out for any pulls – then the floodgates opened –about a week later I had a 3CX800A7.
So I started to work on the amp. The circuits just didn’t make sense and parts were missing that would make it work correctly. I contacted the author and here is what he shared. He built the amp but never did get to proof the final article. In fact he sent me his notes and sketches which were correct. Thus I could have never built that amp using just the article. I built it for one band, 20 Meters. It has a tuned input and a Pi-L output so is quite excellent on harmonic reduction.
Oh BTW this amp caused me to learn about PIC Microcontrollers. You cannot hit the 3CX800A7 with HV voltage until the cathode is warmed up (must be a female tube). That time delay is 3 minutes. I could not find a suitable time delay relay with a 3 minute delay that didn’t cost an arm and a leg. So that is when I thought about using the PIC16F84 as a time delay relay. Later I ported that over to a 12F675. The cost was less than $10. In the 3CX1500A7 amp ( another free tube)  I have two microcontrollers in there. One is used for a three second step start on the filaments (don’t want to shock the filaments with inrush current) and the second for the 3 minute delay before starting the HV step start sequence.
You can see the “Big AMP” on my website at http://www.jessystems.com.
There was only one problem – I was worried about the cooling of the tube so I made sure there was plenty of air which I dump into a very small sub-chassis and the exhaust is out through the tube. Well “Dah” large volume in and small port for exhaust and you have a jet engine sitting on the desk top. Man it was loud – I would wear headphones when it was working.  When I built the 3CX1500A7 amp I used a larger plenum so not as loud.
There are several key points I want to make about tribal knowledge:
  1. Turn off the soldering iron and spend a good deal of time “noodling” over the circuit so that it is clear what each function will do and that all the wires connect to something.
  2. Contact the author and ask lots of questions and you might be surprised to find out the published design is not what was designed!
  3. Look for uncommon solutions to build problems. Many times parts used in the articles are so unique that only one exists in the whole world and it is installed in the authors unit.
  4. The amp was built in 2000 and the use of the PIC16F84 as a time delay for an amp was a bit leading edge but don’t be afraid to employ some advanced technology into your projects. [Today an Arduino built into the amp could do time delay, temperature control of blowers, SWR sensing, grid trip protection and even warm your coffee.]
  5. In the Big AMP I figured out how to keep the blower going for about 1 minute after the amp is turned off to “cool down” the tube. The point here is to think about not just the amp itself but refinements to make that $600 tube last for a very long time thus filament current inrush protection and tube cool down.
  6. Don’t forget SAFETY – there is 2000 Volts @ 1 amp running around chassis–it is an electric chair sitting on your desk top. I included a microswitch that when the top cover is off it de-energizes the HV circuits. See if you can spot it in the photos.
73’s
Pete N6QW
PS The amp really does exist –see below.







Our book: "SolderSmoke -- Global Adventures in Wireless Electronics" http://soldersmoke.com/book.htm Our coffee mugs, T-Shirts, bumper stickers: http://www.cafepress.com/SolderSmoke Our Book Store: http://astore.amazon.com/contracross-20

Thursday, September 25, 2014

The Amazing Apollo Board from Carbon Origins



Wow, lots of possibilities here....

Our book: "SolderSmoke -- Global Adventures in Wireless Electronics" http://soldersmoke.com/book.htm Our coffee mugs, T-Shirts, bumper stickers: http://www.cafepress.com/SolderSmoke Our Book Store: http://astore.amazon.com/contracross-20

Saturday, September 28, 2013

Occam's Microcontroller


Paul, M0XPD, has what I'm sure is a wonderful article on a simple microcontroller-based rig in the current issue of our beloved SPRAT.   I look forward to seeing it.  And I really like the logo with William of Occam (of razor fame). I have encouraged Paul to take a break from the microcontrollers and build something discrete and analog... like a BITX!  

Our book: "SolderSmoke -- Global Adventures in Wireless Electronics" http://soldersmoke.com/book.htm Our coffee mugs, T-Shirts, bumper stickers: http://www.cafepress.com/SolderSmoke Our Book Store: http://astore.amazon.com/contracross-20

Thursday, July 4, 2013

A Visit to the Arduino Factory (video)



Named for an Italian bar, produced by cool people in Ivrea who wield soldering irons and wear T-shirts that say "Make it Simple."  You gotta love Arduino! 

Today I will finish connecting my Arduino Uno to my Doug Demaw Lil' Slugger 10 Beacon rig.  Code (computer code!) by K6HX. 

Our book: "SolderSmoke -- Global Adventures in Wireless Electronics" http://soldersmoke.com/book.htm Our coffee mugs, T-Shirts, bumper stickers: http://www.cafepress.com/SolderSmoke Our Book Store: http://astore.amazon.com/contracross-20

Monday, June 3, 2013

1-29 MHz In One Small Box

 
This weekend I put the Arduino/AD9850 Direct Digital Synthesis device into a box this weekend.  It is sort of evolving into a general purpose HF signal generator and/or VFO.  It is really kind of neat that this little collection of boards can generate RF across that range, with accurate digital readout.  Thanks again to Richard Visokey, AD7C, for the circuit and the code.  As you can see, my cabinet making skills will never land me a job on the Discovery Channel,  but I'm kind of pleased with the box.  I picked up the wood panels from a hobby/craft shop. 

 
 
I left a lot of space in the box.  I envision an amplifier taking the output from its current .4 milliwatts up to around 10 milliwatts, followed by step attenuators (pads).
 

Here is the other end.  Of course, I could have just taken the ATMega chip out and avoided putting the whole Arduino board inside the box, but I'll leave that exciting digital adventure for a future project.


Our book: "SolderSmoke -- Global Adventures in Wireless Electronics" http://soldersmoke.com/book.htm Our coffee mugs, T-Shirts, bumper stickers: http://www.cafepress.com/SolderSmoke Our Book Store: http://astore.amazon.com/contracross-20

Monday, May 27, 2013

Stacked Shields -- My Arduino DDS LCD Sandwich


You can barely see the Arduino board down at the bottom.  Above it is a homebrew shield that has the DDS board.  On that shield I also put a female header for a small 16X2 LCD board.   This arrangement avoids the rats nest of wire that often accompanies these digi projects.  This thing had me pulling my hair out yesterday.  I couldn't get the display to work.  After a lot of checking and re-soldering and testing, I concluded the LCD board was bad.  Good thing there is a Microcenter right down the road.  I got a new display and my composure returned.

Mark, K6HX, over at Brainwagon has been encouraging me to continue down the digital path.  Other SolderSmoke friends are wary of this digitization -- one wrote asking "Where is the real Bill Meara and what have you done with him?"

I like the Arduino projects.  This little device certainly demonstrates how you can do things with the digi stuff that would be extremely difficult to do with our beloved analog, discrete component circuitry.  On the other hand, as I was pulling my hair out trying to figure out WHY the display wouldn't display, I came across an e-mail describing Peter Parker's latest minimalist discrete component rig. Why, I asked myself, had I left the happy land of understandable circuits?   Why had I allowed myself to be sucked in by the siren song of Arduino? 

I guess it is good to try something new, to learn something, to get out of your comfort zone.  But excuse me now -- I'm going to fire up my 17 meter analog discrete component rig.  The one with VXOs in both the receiver and the transmitter.  But I'm going to leave the Arduino DDS on -- I like looking at the display.
 
Our book: "SolderSmoke -- Global Adventures in Wireless Electronics" http://soldersmoke.com/book.htm Our coffee mugs, T-Shirts, bumper stickers: http://www.cafepress.com/SolderSmoke Our Book Store: http://astore.amazon.com/contracross-20
Designer: Douglas Bowman | Dimodifikasi oleh Abdul Munir Original Posting Rounders 3 Column