I want to start experimenting with Software Defined Radio (SDR) There seems to be a fair amount of info, but I’m still not sure where to start. What are the minimum requirements to get started on a small budget that the wife will live with? Is there a best “starter kit?”
Please log in to post an answer.
I use SDRSharp software with a DVB-T dongle with a Realtek RTL2832u control chip. These dongles are quite reasonable, and some are specially designed for SDR.
My Raspberry Pi Model III uses a microSD card. The cards are available in different “speeds.” Is there any significance to how “fast” a card I get?
Please log in to post an answer.
The answer isn’t really clear cut.
Class-10 SD cards are rated on the basis of streaming a single file to a clean (recently formatted) card. Essentially, what would happen with a video camera.
Class-2/4/6 SD cards are rated on multiple small files written to a fragmented card. Still image cameras where one has erased a few images.
One would hope that a Class-10 used for multiple small files would not be slower than a Class-6 card, but this is not always the case. Especially when used with a journaling file system — the ratings are based on FAT — where for single file writes one basically has the data file, and the File Allocation Table; journaling file systems, especially for something like EXT3 or EXT4 (common for Linux OS), will have things like the data file, inodes, journals, and bitmaps.
Flash memory needs to be erased to all “1” before it can be written — writes can only convert a “1” to a “0” but not the other way around. Erasure is done in large chunks. When doing small writes, the card allocates a cleaned chunk, then if needed, copies previously written data to that chunk before adding the new data.
Higher quality cards have the ability to “hold” multiple allocations “open” at the same time. These cards will function better on a journaling file system then a card that only holds two open allocations a time (which is all the Class-10 streaming model requires). Everytime a “2 allocation” card changes files, it has to close/flush any data changes to the card, then prepare a new “allocation” if changes are expected for the next file to be opened.
For FAT file systems, that means just closing the data chunk and opening another. For EXT3, that could mean closing a data chunk, opening an inode chunk and updating it, then closing it to open the next file chunk. Cards supporting 6 open allocations can minimize the number of times they have to perform the flush/close operation. They can flush a data chunk while still holding the inode/bitmap chunks active.
This may not be a concern if the device (RPI, Beaglebone Black) is used in an embedded mode, where the only data being written is a log file from some running application. But if the device is being used as an interactive computer, where one is compiling files, building applications, etc., a high end Class 6 card may be better suited than a low end Class 10, even if Class 10 implies nearly twice the transfer rate of Class 6. The RPI “NOOBS” OS starts out on a FAT system (it allows one to use native Windows to create a new card), but I believe the first step it performs is to repartition the card with an EXT3 file system, and copy the running OS into that partition. The Beaglebone Black OS images are currently EXT3 — and need special tools to create a card image.
Does anyone have a simple circuit that will allow me to mix my iPod audio out with my computer’s audio to play through the same speakers? I want to avoid un-plugging/re-plugging just to hear some music.
Please log in to post an answer.
I was disappointed in the answer that missed the obvious. The question asked about mixing the audio, not switching it.
Most powered computer or pod speakers have more gain than necessary and could make due with the loss of a passive mixer. The signals from earphone outputs can be combined by using a series resistor on each before combining them in a small junction box. Use the resistors like wires between the jacks forming a "Y" connector. To each source, the other device looks like ground, so the two resistors form a 50% or 3 dB divider. The series resistance forms another divider with the input impedance of the speaker/amp, so it should be as small as safety permits. I frequently see a couple hundred ohms of resistance on headphone outputs just to limit the power to small headphones, so my guess is that something around 2K would be reasonable, but 5K would give extra isolation if you still have enough signal.
The idle device is not a perfect ground and could introduce some distortion, so better isolation matters if you are using Hi-Fi speakers (but we're talking MP3's from a pod). Use 5% or better values to maintain channel balance. You may want to check the outputs for DC leakage, which would suggest using a blocking capacitor (10-20 MFD). Microphone inputs on computers often provide a positive polarizing voltage for electret microphones, and some jacks are multi-purpose and electrically switched by sensing software. If the computer misidentifies the connected device, you probably don't want that voltage fed back to the pod or phone.
I use a simple DPDT toggle switch for something like this. I switch my computer output between speaker and headphones without wearing out the headphone jack.
In your case, the audio to the speaker would be switched between the iPod or the computer. The speakers must be amplified, and the computer’s output volume adjusted down to be close to the level coming out of the iPod headphone jack. You can mount the jack and switch on the speaker.
My young son frequently leaves the fridge door open. I’m an electronics beginner and I’d like to build a simple circuit to alert me when that happens. It should be simple enough that I could build it with the help of my son, so he learns two lessons in one sitting. Schematic and design appreciated!
Please log in to post an answer.
Combining utility and electronics education suggests use of a simple temperature sensor that produces a linear (straight-line) voltage output as temperature changes. The TMP36 sensor, for example, produces about 0.3V at -25°C to about 1.5V at 100°C (boiling water). I recommend the TO-92 3-pin package that will unobtrusively go in a refrigerator.
The three connections are power (pin 1), temperature-voltage output (pin 2), and ground (pin 3). The sensor provides a learning opportunity because you can use a simple voltmeter to measure the temperature in your refrigerator and experiment with ice water, hot tap water, and so on. Just solder three wires to the sensor and apply power. Use heat-shrink tubing to insulate the bare leads on the LM36 and the solder connections. A few dips into clear nail polish help with waterproofing.
The slope of the TMP36 output voltage amounts to 10 mV/°C, with a 500 mV offset. Thus at 1.5°C, the temperature of an "average refrigerator," output should read 615 mV, or 500 mV + 15 mV. At 100°C, you should measure 1.500 volts. Just remember to subtract the 0.500V offset if you calculate a temperature from the sensor's voltage output. Don't worry about the exact voltage: The sensor has a typical tolerance of ±1°C.
To turn on an alarm when temperature increases beyond a specific point, an analog comparator does the job. The LM393 offers a good example. You get two comparators in an 8-pin dual inline package (DIP) but use only one for the fridge monitor. The second comparator stays unconnected. The LM393 has two inputs, Vplus (pin 3) and Vminus (pin 2), and one output (pin 1). The IC takes power at pin 8 and connects to ground with pin 4. When Vplus > Vminus, the output becomes a logic-1. When Vplus < Vminus, the output switches to a logic 0, basically a connection to ground. This latter condition acts like a switch to ground and it lets the comparator control a small piezoelectric buzzer connected between the power supply and the comparator output. (Or you could use an LED as a visual indicator.)
To use the comparator, connect the Vminus input to the LM36 sensor output. Connect the Vplus input to a variable resistor--10K ohms will work well. This resistor lets you set the "trip" voltage between ground and the power supply voltage. Adjust the resistor to the point where the buzzer just turns on or just turns off. Then make a slight adjustment in the direction that turns the buzzer off. This change gives the comparator a reference voltage at the comparator's Vplus input. When the sensor voltage exceeds this "set point" voltage, the buzzer turns on.
PUI Audio and Mallory Sonalert manufacture loud piezoelectric buzzers. Choose one in your hearing range. AQll Electronics has a loud siren (ES-25) that operates from 6V and will alert everyone in your house to the open fridge door! You can create a circuit on a piece of solder breadboard. Try the SB300 Solderable PC Breadboard available via Amazon.
For power use four D dry cells. A diode in the circuit drops the voltage from 6 to about 5.3 volts. That's within the range of recommended voltages for the LM36 sensor.
I sometimes forget to turn the headlights off on my car, so I wake up to a dead battery and a late start to work. I would like to build a DIY auto headlight on/off switch. Anyone have a schematic or design?
Please log in to post an answer.
After a couple trips across town to jump start my wife’s car, I installed a relay to automatically turn the lights off when the ignition was turned off. All you need is one of the generic automotive 30A relays. If you can find the power wire to the headlamp switch, cut it in a convenient place and place the contacts of the relay in series with the headlamp switch. Then connect the relay coil between a switched 12V source (turns on/off with ignition) and ground. The lights will only work when the ignition is on.
If the power wire for the headlamp switch is inaccessible, then remove the headlight fuse, get a relay and an inline fuse of the same value as your headlamp fuse. Then connect the fuse to the hot side of your original fuse holder, the other side of the fuse to one of the relay contacts (usually 30) and the other relay contact (87) to the other side of your original fuse holder. The coil connections will be as above.
Auto-headlights is moderately difficult because of the length of the delays and the quiesient current. Probably best done with a microcontroller; Light level sensing is generally time based and then it stays on until the ignition is turned off. I don’t know what the times are. But take going under a bridge a mile long or so. I think it takes about 20 seconds for the lights to turn on, Never paid attention to the off threshold/time.
I can, however, offer you a simple design that I used in 1982 on my vehicle. In that particular vehicle, there was +12 available when the tail lights were on and ground via the driver’s door switch, when the driver’s door was opened. There was already an isolation diode there anyway, so I took advantage of it. I had an EASY way of “buzzer on if lights were on and driver’s door was open.” So (to +12 when parking lights on), a piezo buzzer and a diode to the driver’s door switch (ground when open, +12 when closed). I had to replace the buzzer a few times in 17 years. The high temperature kills them.
Now, one car has 1. Lights stay on until the driver’s door is opened (actually radio too) 2. A few different delays are possible for how long the lights stay on.
The other has 1. Lights turn off when the door is opened and car is off. Both have auto-on by daylight sense. In both of these cases, in order to turn-off the lights when the engine is on, you have to do something heroic.
Car #2 Turn-off car and open the door. Turn off the headlights. if they are on.
Car #1 Stop. Turn off car, engage parking brake. Turn on car which will turn off lights. If you want to start the engine with the lights off, the parking brake must be set. Turning them off is not so easy. Blinking the high beams is easy on car #2 (momentary and full on stalk switch). In car #1 it’s not possible. For auto-on; timed off, there are a lot of issues to deal with. Turning the lights off briefly is very useful if you confront a deer.
You just need a 12 volt, single pole single throw relay. Wire the contacts in series with the headlight power wire and power the relay from the ignition switch accessory terminal. You may have to find it by trial and error among the wires coming out of the steering column, or a auto repair manual may tell you the color of the wire.
Typically, the easiest way to do this is to connect a diode, a suitable resistor and a sonalert from the headlight switched positive to the RUN position of the ignition switch. If the headlights are left on when the ignition switch is turned off, the sonalert will sound. The diode prevents the sonalert from sounding when the car is running and the headlights are off. The resistor scales the 12VDC to a lower voltage for the sonalert if necessary. This is much simpler then an automatic switch, and it consumes no power.
I come from a TV engineering background, so I know I am asking for a lot. This is a very preliminary step in a design process, so I know it may go nowhere.
What I want to do is simultaneously view a small object/area (~ 1/4”) from two angles that are 90 degrees apart. Imagine a straight pin stuck into a board. I want to have magnified views of that point from the front and one side at the same time. These views will be at an angle above the board — perhaps 20 to 30 degrees — but they will be 90 degrees apart as viewed from above.
One way that I can think of doing this would be to use two of those small video cameras that are widely available for under $50. I do not need color images; black and white would be just fine. Two monitors would be too much, so I need a way of combining the two unsynchronized video signals to be displayed on a single screen, side by side.
What I am looking for is a combination of a frame synchronizer and a special effects generator that can do a split screen in one or a set of chips. I would think that anything current would be digital in nature, but an analog circuit would also be acceptable. Does anyone know of such a chip or set of chips?
Relatively inexpensive video surveillance systems can display multiple images on a single monitor, so there must be something out there. Of course, price is an important consideration. I would like to keep the entire project to under $200.
The only other alternative I can think of is to use mirrors to combine the two images optically and use a single camera, but that also has a lot of complications and expenses.
Please log in to post an answer.
Why not just get an inexpensive 4 channel video surveillance box? Some can be bought without a hard disk, making them less costly.
I have a GFI type breaker for my garage door that trips occasionally, making it so the door won’t open with the remote. I’d like to know how to test the GFI to see if it has gotten weak or failed in some manner.
What’s the best method to test it?
Please log in to post an answer.
I have to ask myself why anyone would put a GFI on the garage door opening circuit/electronics? I see no need for such a thing.
The reason we have GFI protected outlets is because someone could unintentionally become a ground path for the AC current. This could be deadly.
With a garage door circuit, no one should be playing with the circuit unless the electricity to the unit is off. It is a servicing issue NOT a use issue.
In other words, if the circuit is being used as intended, then there is no way you will inadvertently become a grounding path for the circuit. The circuit is protected in a housing and not available, as is an AC outlet, for you to come in contact with.
Disclaimer: This is an opinion of the sender only, not advice as to what you should do.
You can buy them. You can make them. What is the normal trip level, you’d have to look up. A resistor (suggest metal oxide) from ground to hot, at about 6 mA should trip the GFCI. e.g. R<=120/0.006 The problem is more complex when you look here: www.csemag.com/single-article/ul-s-new-gfci-classes/89c8746cdc4a7fd8a3cb93f1d51ba57a.html I actually suspect that you may have an AFCI/GFCI combination and it’s tripping on an arc fault because of the motor. If that’s the case, I would consider an RFI filter (possibly medical grade which has a lower leakage) and appropriately sized ZNR’s. There have been reports of just plain flakey GFCI’s. So contact the manufacturer too.
Working with live power lines can be dangerous. I purchased a GFCI tester from Home Depot similar to this one: www.homedepot.com/p/Gardner-Bender-120-VAC-GFCI-Outlet-Tester-Case-of-5-GFI-3501/202867890. To verify that the GFCI outlet can deliver higher currents, plug in a hair dryer or room heater. Make sure you don't overload your circuit. The trip level for a UL 943 Class A GFCI is 4 to 6 mA, or about 24K ohms from hot to safety. I don't recommend building your own circuit. Buy a device that is already built for this purpose.
As indicated in http://hyperphysics.phy-astr.gsu.edu/hbase/electric/gfi.html , a GFI is supposed to trip if there is 5 mA of difference in current flow between the hot and neutral (return) wires in the protected circuit. The "test" button puts a resistor between the hot and ground wires. You could put a larger value resistor between the hot and ground to see if the GFI does not trip with some smaller current. A 56K resistor, for instance would provide about 2.1 mA. If that trips the GFI, then the GFI may be too sensitive. It is more likely that there is an intermittent short to ground in the door opener, or that the door opener is too close to the current limit of the GFI (which also acts as a circuit breaker, usually 15 or 20A).
Your best bet is to replace the breaker — don’t waste the time, etc. trying to “test”it.
Many hardware or big box stores carry testers for receptacle testing, they have three lights to indicate correct wiring. Some of these have a test button to check operation of the of GFI devices.
After the recent “forced” update to Windows 10, I am so frustrated with big computers and big software companies. I’m thinking of downsizing to the smallest, simplest computer I can manage.
Has anyone successfully replaced a desktop PC with a Raspberry Pi?
Please log in to post an answer.
It is possible to use a Raspberry Pi as a Linux desktop computer, although you’ll find that it’s quite slow for many things and the selection of ready to go software is somewhat limited.
You can however install Linux on your current PC in place of Windows and the result will be a much more powerful and versatile machine that is otherwise very similar to the Raspberry Pi in function. The range of Linux distros can be overwhelming and opinions on which is best are nearly as numerous. If you are relatively new to Linux and want something that just works, I would suggest trying either Mint or Ubuntu as both strive to be beginner friendly and come configured with a look and feel that will be familiar coming from Windows.
If you are feeling a bit more adventurous then Debian is one of my own favorites. If you want to test drive Linux before you make a commitment, look for what is known as a “Live CD” which is a CD or DVD you can boot the PC from without making any changes to the existing operating system.
I attempted to use a Pi for a desktop, and it works, sort of. It was OK for web surfing but had some trouble with videos and other complex pages. Almost everything had some limitation. It worked great as a internet radio streaming device though, and that is where it lives now.
You also have to have a monitor with a HDMI or composite video (with an adapter with Pi 3) input, and by the time you buy all the pieces you need to make it work, you have spent a few bob.
Linux is the solution. Linux Mint KDE is my current favorite. If your current computer will run Win 10, it will have no problem with Linux. I have been basically Windows free for the last 10 years and it has progressively gotten better and better. You can even dual boot it with Windows if desired to run those few pesky programs that refuse to run in Linux.
As much as I am liking my new Raspberry Pi 3, I am not ready to ditch my (Windows) computers and go all Pi. The OS seems very skinny on error handling. One ends up in the command line all too quickly. While the included LibreOffice performs OK, I feel a much better choice is Ubuntu if making the switch from Windows. Or consider a refurbished Windows 7 machine, which are plentiful. The Pi does quite fine for web browsing, but when it hiccups things get obtuse very fast.
I know some people who use Pis as their main computer. However, be aware that they are designed to run LINUX only (specifically, the “Raspberry Pi” version supplied), and they are not designed for heavy-duty use (i.e., games, audio/video processing, etc.). If all you need is a basic machine for Open Office and light web use (i.e., check e-mail), then a Pi could be what you want. Do a web search regarding Raspberry Pi accessories (there are many!) and applications to use to further see if a Pi-based machine is for you.
I’m refurbishing a vintage video arcade game. There is a transformer between the video monitor and the mains power but it measures as open. From the schematic, it seems to be a simple 115 VAC 1:1 isolation transformer. Is an isolation transformer necessary when the entire cabinet is wood, or is it overkill? It would seem that the wood cabinet would be enough protection to prevent contact by a user with the AC.
Please log in to post an answer.
No! This is wrong!! The isolation transformer powering the monitor in an arcade game is there because the older monitors use a "hot chassis" design meaning that they contain no internal isolation from the AC line. The ground that the signal input is referenced to is not ground at all without an isolation transformer! Connecting a monitor to the logic board in the game without isolation is going to result in a flash and bang that usually causes serious destruction to both the monitor and the logic board. It is not there to protect the player from electric shock as the published reply states. All exposed metal parts must be bonded to the ground wire in the power cord for that.
Arcade monitor isolation transformers are readily available and inexpensive. I hope this answer reaches the person who originally asked before they take the advice that was printed. Note that some newer monitors do have built in isolation but unless this is known with certainty *do not* attempt to bypass the transformer.
I'm worried that the monitor discharging advice given here could potentially kill someone. While the alligator clip/long screwdriver method is sound, touching the corners of the CRT is not. To discharge the monitor the screwdriver has to be inserted under the anode cap. Just touching the CRT or frame will not discharge the monitor, and could result in 20,000-30,000V being discharged through the tech. CRTs contain very high voltages. Please make sure you know what you are doing before attempting to service one.
I read the published answer to this in N&V, and the arcade preservationist in me cringed a bit. If the cabinet had an isolation transformer, in the bottom, you definitely want to run it with one. The transformer is actually there for the monitor, not the game PCB. The older CRT monitors used in arcade games don't have an internal isolation transformer on the chassis, unlike newer CRTs with an internal switching power supply that do. Running without an isolation transformer will most likely result in a dead monitor. Most arcade monitors run without an isolation transformer will end up blowing their Horizontal Output Transistor (HOT).
The transformer, if it really is a 1:1 isolation transformer, is probably for your protection not the user’s protection. Second it may also be to insure that it doesn’t matter how the plug (I’m assuming it is non-polarized) is plugged into the wall.
On the other hand if this is an older unit with a picture tube the transformer might be the horizontal flyback transformer that generates anything from 10,000 to 30,000 volts to be placed onto the picture tube. However, a flyback does not look like an isolation transformer, so I have to assume it is not one of those and that you know the difference.
Thus we’re back to my first two possibilities, it is for service safety and using a non-polarized plug - again service safety. Just be sure to unplug the power cord, then discharge the picture tube, wait about 15 - 20 seconds and discharge the picture tube again, repeat until no spark is generated. The old standard way to do this is to use an alligator jumper from ground to a big/long screwdriver with an insulated handle & bring it close to some part of the picture tube, then do it again to a different part of the tube. The picture tube has four corners so I would go round & round till no more spark jumped.
The isolation transformer is for protecting the MAIN METAL PARTS of the arcade machine from electric shock - specifically the coin-handling mechanism. If you’re not going to use the coin machinery (i.e., replace it with a switch or similar), then you could probably get away with not using the line isolation transformer. HOWEVER, consider integrating EMI/RFI/surge protection on the AC power input to help the machine live a little bit longer.
I have an Apple iPod and lost the little USB charge brick. I have a USB charger that works with my cell phone but it won’t charge the iPod. Is there something “special” about the Apple iPod charger and if so, can I modify a “regular” charger to work with both?
Please log in to post an answer.
Yes, the iPod requires a higher current to charge and so a simple 200 mA 5V USB brick won’t work. The higher bricks are usually modified to indicate to the plugged in device that higher current is available.
You can actually build the circuit that gives the right voltage level on the data pins to indicate this capability, but an easier “fix” is to simply modify a USB extension cord by opening it up & shorting the two data lines the iPod “sees” together. I’ve made a number of these & use them for a number of reasons.
You can also look up the difference between a low and higher powered USB charger on the Internet to see the specifications and schematic. Or at least when I did that years ago I found what I was looking for & found my “fix” was much easier to implement.
In order for the IPOD to charge using any USB charger you need to use a small adapter.
Apparently Apple chargers have a resistor between the 2 data pins inside the charger. I had a similar issue when trying to use a non Motorola or car charger with the Razor V3M phone. A small adapter does the trick and makes the device think a genuine charger is connected.
You can get one here:
www.boxwave.com/apple-ipod-nano-3-travel-chargers/apple-ipod-nano-3-ipod-charging-adapter/bwpdd/fpz-gcgz/
They run about $8 or so.
You will need to add a few resistors. Google “iPhone charger circuit.” You should find several discussions about this. For example, see www.epanorama.net/newepa/2010/08/18/apple-charger-secrets/
There is no reason for it not to charge unless the iPod charging port is damaged. Both a phone and iPod should have similar charging requirements.
In order for the iPod to charge using any USB charger you need to use a small adapter.
Apparently Apple chargers have a resistor between the 2 data pins inside the charger. I had a similar issue when trying to use a non Motorola or car charger with the Razor V3M phone. A small adapter does the trick and makes the device think a genuine charger is connected.
You can get one here: www.boxwave.com/apple-ipod-nano-3-travel-chargers/apple-ipod-nano-3-ipod-charging-adapter/bwpdd/fpz-gcgz/
They run about $8 or so.
iPods require voltages on the data pins of the device in order to charge. If your charger has just the positive and negative pins connected to the plug, your iPod won’t charge. This is probably the case. Search the net for USB charger circuits.
The modification will require four resistors wired from ground (negative) to positive as voltage dividers. One pair for Data + and the other pair for Data -. According to the circuit diagram I found you will need two 27K resistors, a 22K, and a 39K. The two 27K resistors are wired to ground (negative) pin 4 on the charger plug. The 22K and 39K are wired to the positive pin 1 on the charger plug. The junction of the 27K and 39K divider is wired to pin 2 (Data -) on the charger plug. The junction of the 27K and 22K divider is wired to pin 3 (Data+) on the charger plug.
Also, for an iPod you should have a charger capable of at least 2 amps output. The wimpy 1 amp chargers will take a much longer time to charge apple devices like an iPod. To be sure which pins are which, just do a search for USB pinouts.