Repair/Upgrade SANGEAN RCR-5 Clock Radio

I have a SANGEAN RCR-5 Alarm Clock Radio that I use to play its radio each morning at the set alarm time.

RCR-5 SANGEAN

RCR-5 SANGEAN

The RCR-5 radio has excellent audio quality for such a small unit – not tinny at all, with nice bass and treble. I really like this radio because (1) the radio receiver is sensitive and can easily pull in a distant station that I like; (2) when the radio turns on the volume gradually increases until it reaches the maximum that I set for that alarm – I don’t like to be shocked into wakefulness; (3) it has good audio for its size. This radio has many features but one that is important to me is for the time and settings to be preserved through minor power outages. The RCR-5 claims to preserve time and settings through a 10-minute power outage. This is quite inadequate but worked through 90% of the very brief outages common to where I live. Alas, I noticed in recent months that my RCR-5’s backup capability had shrunk to five seconds. Now that was truly worthless! The clock only cost around $30 so sending it back for repair didn’t make sense – I could buy a new one for what repair was likely to cost.

I purchased a replacement (not a RCR-5) and it will soon be returned. It has a sensitive receiver but the audio quality is terrible – quite tinny – like an old 1970s pocket radio. I decided that it was time to attempt a DIY repair on my RCR-5.

After removing four screws the RCR-5 interior was easily accessible. I quickly located the Super-CAP (See Image 1 & 2 below). What an anemic, puny little Super-CAP – why did they bother! It is unmarked and is about 5mm wide and 1.5mm thick. Also, the capacitor appeared to have leaked. Obviously it had failed, which is why the RCR-5’s advertised 10 minute settings/time backup didn’t work. The voltage across the capacitor in situ was zero. I removed the Super-CAP and measured its feed pins and it was 3.1VDC. Apparently, the capacitor was internally shorted.

Image 1

Image 1

Image 2

I had three Super-CAPs left over from and old project and decided to install them into the RCR-5. These Super-CAPS are rated 10 Farads at 2.7V. While they “might” have survived the slightly higher charging voltage I decided to wire two of the 10F capacitors in series, yielding one 5.4V Super-CAP of 5F. I substituted this new SUPER-Super-CAP in place of the defective RCR-5 original. See Image 3, below.

rcr5-05

Image 3

I haven’t tested how long the new SUPER-Super-CAP will preserve time and settings in the RCR-5 but it kept its memory for the 20-to-30 minutes that it took for me to reassemble the RCR and move back to the bedroom. I don’t intend to test this – I’ll wait for the next prolonged power outage to find out.

 

 

 

Advertisements
Posted in audio, Electronics, hardware | Tagged , , , | Leave a comment

Tempered Glass Smartphone Screens

I just finished installing five tempered glass screen covers onto two LG G2, one Motorola G5 Plus and two Samsung Galaxy S5 smartphones. I used Supershieldz because of many rave reviews about their product. Well, I’ll add my rave review. They make a great product. four of the five installations produced flawless results – and they not only protect the screen but resist fingerprints (oleophobic). The fifth installation was on one of the Galaxy S5. It has a new aftermarket Chinese digitizer screen which has no coating and the de-linter stuck too firmly to it, causing the temporary sticky tape hinges to come loose. While struggling to get the screen on, I apparently knocked a single little dot of lint onto the screen near the edge so it isn’t a flawless installation – nearly so but not quite.

The Installation process can be watched on this  YouTube video

 

Posted in cell phone, cellular, wireless | Leave a comment

Electronic Geocoin

I used pcb-rnd to design a Printed Circuit Board (PCB) with a “geographical” shape, the shape of the state of Florida, for a Christmas present of six assembled devices for my brother who lives in Ocala Florida and is an avid geocacher. His geocache handle is marked on the board (obscured in video for his privacy) as is a space to write a tracking number. The LED at the “OCALA” logo will flash every 30 seconds. These electronic circuits are “trackables” that he will deposit in a geocache with the idea that it will be moved along. However, trackables are often kept by the finder as a souvenir.

The boards were fabricated for me by OSHPark using my gerber files and I hand assembled them.

FYI – pcb-rnd is an Open Source printed circuit design software project. It is under very active development with new features being added every week. It is available for Linux desktop (various distributions, from source), official packages in Debian, Ubuntu,Fedora and Mageia, Arch Linux (user package), Mac OS X , IRIX 5.3 ,OpenBSD and (Likely: any 90’s UNIX system with motif). If interested,check it out at: http://repo.hu/projects/pcb-rnd/

Video showing the electronic geocoin

 

Posted in Electronics, geocaching, Linux, PCB Design | Tagged , , , , | 1 Comment

Smartphone screen adhesive – some empirical information

When installing a replacement screen on a Samsung Galaxy S5 I used a Chinese
product named “ECO-FUSED” in a 2mm width. When I removed the original factory adhesive I noticed that it seemed a bit thick – certainly thicker than
the ECO-FUSED product. I had a lot of trouble getting the ECO-FUSED to hold
the screen to the body. I deduced that the ECO-FUSED product was too thin
for the Galaxy S5’s adhesion surface area design, especially along the sides. After
three tries I ended up using two layers of ECO-FUSED before screen adhesion
looked promising. Even then it still popped up in places. This morning I have applied compression clamps along the edges and I will leave them on for 24 hours
to see if that works better.

OBSERVATION – ECO-FUSED is (1) not sticky enough for good screen adhesion,
at least for this phone; (2) not thick enough for this phone.

I did some research. I measured the adhesive thickness of ECO-FUSED using
a micrometer. Using a piece of paper I applied ECO-FUSED tape to one edge
of a piece of paper, folded the paper to create two paper thicknesses plus
the adhesive in the middle. I then measured the glued side versus the no
glue side to determine the thickness of ECO-FUSED. It is 0.09mm thick. So,
two layers of ECO-FUSED is 0.18mm.

A commonly recommended tape is Tesa 61395. It is 0.2mm thick per the
manufacturer. The thickness seems to be more appropriate for the Galaxy S5
and it classified by the manufacturer as “high bonding strength”. I’m
going to purchase some in case the ECO-FUSED continues to fail for me.
Tesa 61395 tape is readily purchasable on-line.

BTW – Tesa 61345 is identical to 61395 except that it is 0.23mm thick. I
would really like to try a roll of it but it is NOT readily available
on-line.

UPDATE 1: It is now a couple of days later and the result is – FAILURE. One side is holding but the other side has popped loose, as has the top. I ordered some Tesa 61395 tape and hope that it will be delivered this week. I will never use the ECO-FUSED again, at least not for smartphone screens.

UPDATE 2: My order of Tesa 61395 arrived today. I used the micrometer as previously described and, yes, Tesa 61345 is 0.2mm thick. I removed the old ECO-FUSED tape and scraped clean the surfaces clean. I didn’t clean with any solvent because all that I have handy is rubbing alcohol with high water percentage and some Naptha. The Tesa 61395 “seems” to adhere better but the bottom of one side is being stubborn about sticking. Some hair drier heat, some spring clamps and I’ll let it sit overnight. Time will tell.

UPDATE 3: Tesa 61395 IS the best solution. Its adhesion works beautifully. Throw all other tape away!

 

Posted in cell phone, Electronics | Tagged | Leave a comment

Fixed Samsung TV Turning On & Off

My 40″ Samsung TV model LNT4053HX/XAA developed a problem where when first turned on it would make clicking noises and turn on and off until it finally stayed on. I lived with it for a few months but it progressively took longer and longer to fully turn on. Before I purchased a replacement I decided to search the Internet for a fix. I figured that others may have encountered the same problem. Sure enough Paul of TampaTec YouTube channel explained exactly how to fix my problem. It seems that Samsung engineers under-specified the TV’s power supply capacitors and they were swelling up and failing. I ordered the five capacitors that Paul indicated were usually the problem.

Today, I went through the significant trouble to remove the TV from its tight, cable-full under-counter nest, took out many screws and opened it up. The power supply had one, and only one, capacitor that had failed, see photo below. After scrutinizing all of the power supply capacitors I decided (fingers crossed) that the other four were OK and only replaced the obviously bad one. IT WORKED – the TV now powers up correctly and, hopefully it work for years to come. Thanks Paul of TampaTec YouTube channel.

Bad TV Capacitor

Bad TV Capacitor

Posted in Electronics | 2 Comments

Inexpensive ESP8266 in UNO Form

Two+ weeks ago I purchased an ESP8266 Module board in an Arduino UNO form factor. See Fig.1, below. It cost me $3.20 US including shipping from China, I didn’t need it or even have a use for it, that I can think of, but at that price, why not. By the way, the seller (Aliexpress seller ShengYang Store) has since dropped the price to $3.16. Delivery took 17 days, which isn’t bad – I’ve had Chinese delivery take much longer. The official product name is “WeMos D1 WiFi uno”.

WeMos D1

Fig. 1: WeMos D1

As soon as I received the WeMos D1 package, I wanted to test it. The D1 has a traditional Arduino UNO Power Barrel Connector Jack but also a micro-USB connector.  Obviously, the Power Barrel Connector Jack only supplies power but the micro-USB connector may be used to supply the 5 Volts and also a bidirectional serial communications interface.

The micro-USB connector serial communications interface utilizes a CH340G I/O chip which requires special drivers with Windows but often “just works” with Debian derivative Linux distros, like Mint, which I used to use. This is because Mint is built with the CH341 Linux kernel driver already installed.  I now run Manjaro on my desktop and I discovered that the CH341 Linux kernel driver is NOT pre-installed in Manjaro. The D1 board was detected and I could even get a /dev entry once I built an appropriate /etc/udev/rules.d rule:

SUBSYSTEM=="tty", GROUP="users", MODE="0660", ACTION=="add", SUBSYSTEMS=="usb", ATTRS{idVendor}=="1a86", ATTRS{idProduct}=="7523", SYMLINK+="wemos"

This created the /dev/wemos entry but not /dev/ttyUSB0, which I needed for communications. I needed the missing CH341 driver (lsusb indicated that it was absent).

$ pacman -Qs ch341
local/i2c-ch341-dkms 20151116-1
    CH341 USB-I2C adapter driver

Once I installed the ch341 kernel driver the /dev/wemos is created as well as /dev/ttyUSB0, which is actually a link to /dev/wemos.

$ ls -l /dev/ttyUSB0
crw-rw---- 1 root users 188, 0 Sep 25 11:57 /dev/ttyUSB0

So far, so good. Now I could finally load some code to test the wemos D1 board. A little (previously done) Google’ng lead me to Steve Kemp’s website wherein he has posted a great article titled “Absolute WeMos D1 Mini (ESP8266) Basics“. It was just what I needed. Since he uses Debian Linux I did need a very little minor tweaking but, on the whole, his article is perfect for my system. Rather than go into detail about his code and instructions it is best that you read his web page linked above.

The code installed in my $3.20 WeMos D1 board without error using the Arduino IDE. I then connected to the WeMos D1’s serial port at 115,200, via the Arduino IDE’s monitor function,  and pressed reset on the WeMos D1. The displayed text displays the URL to access the web server running on the WeMos D1

Connecting to SSID
.
WiFi connected
Server started
Use this URL to connect: http://192.168.1.67/

The web server running on the WeMos D1 presents two links that turn on/off an LED of the WeMos D1 via the Internet. Very nice! BTW – the logic in Steve Kemp’s source is inverted, at least for this board, and “off” is “on” and visa-versa. I haven’t changed it yet.

Led pin is now: Off

Click here turn the LED on pin 2 ON
Click here turn the LED on pin 2 OFF

 

I’m not sure what I’ll do with the WeMos D1 but for $3.20 I am impressed.

P.S.: I suspect that the WeMos D1’s low price is because it is may be a discontinued product and the seller is dumping inventory.

Posted in Arduino, ESP8266, wireless | Leave a comment

Pololu USB AVR Programmer V2

I recently purchased another ATmel AVR programmer. I normally use a USBasp programmer with out-of-circuit chips and, less frequently, in-circuit chips. Anyway, Pololu is an electronics manufacturer based in the USA, specifically Los Vegas, Nevada. I’ve previously used a couple of their products and they are of good quality and are well thought out. This isn’t a product endorsement – I simply like the product.

Pololu USB AVR Programmer V2 interested my because of its unique features combined with a bargain price and good support. So, I made a short video of using the Pololu USB AVR Programmer V2 with the Arduino-IDE. I also tested it using avrdude in a Makefile but that isn’t shown in the video. The video shows me using a ISP-6 to ISP-10 adapter because I was programming an ATTiny85 DIP in my old homemade universal programmer socket adapter and it only has an ISP-10 connector.

Interesting features:

  • Connects to computer through USB
  • Emulates an STK500 programmer through virtual port
  • Works with standard AVR programming software, including Atmel Studio, AVRDUDE, and the Arduino IDE
  • Configuration software provided for Windows, Mac OS X, and Linux (not manually configurable)
  • Supports 3.3 V and 5 V devices
    • can be configured to auto-switch operating voltage based on detected target VCC
    • Can optionally power the target at 3.3 V or 5 V via Pololu provided configuration software
  • USB-to-TTL serial adapter for general-purpose serial communication – pinout of commonly-available FTDI USB-to-serial cables allows plugging directly into some Arduino-compatible boards, such as the Adafruit Trinket.
  • Provides a 100 kHz clock output.
  • All I/O pins are protected with 470 Ω resistors
  • 6-pin ISP connector

pololu-pins

Posted in Arduino, Electronics, hardware | Tagged , , , | 2 Comments

Manjaro Update Woes & Resolutions

On August 18, 2018 I updated my Manjaro Linux system with the arrival of a rather large update and it broke my printers. I have three printers, all Brother brand – one USB connected HL-2140 laser printer, one WiFi connected HL-L2180DW laser printer and one Wifi connected inkjet MFC-J430W. ALL printers stopped working after the update!

I deleted and re-installed the two WiFi connected printers and they resumed working. The USB printer was MUCH more stubborn. The problem seemed to be USB related rather than printer (I eventually discovered that USB memory stick drives also didn’t work) . I ended up seeking help from six pundit volunteers on the Manjaro forum. After several days and exhausting the efforts of the forum. all gave up.

While looking at the journal (journalctl -f) I noticed a udev error “Aug 31 14:59:42 asrock systemd-udevd[243]: Invalid rule /usr/lib/udev/rules.d/96-scanner.rules:1: unknown key ‘BUS‘”, however, I ignored it since my USB connected scanner was working – in fact it was the ONLY USB connected device that worked. Consequentially, I ignored the error as unrelated. However, one forum pundit, petsam, was suspicious of the 96-scanner.rules error and asked for the output of a couple of diagnostic commands. The result was “No package owns /usr/lib/udev/rules.d/96-scanner.rules”. I decided to delete the offending udev/rules.d/ 96-scanner.rules. This cured the USB problem and the printer came alive again (partially) as did USB-Sticks. I find it odd that a udev parsing error thrown on an unrelated and unused rule could screw up other USB connections. I assume that this error caused udev parsing to abort before the printer and memory-sticks were parsed, resulting in their not working.

The HL-2140 printer now worked and seemed to be fully functional, but I was wrong. When I tried to print an envelope with libreoffice for a letter that I wrote, the insert envelope feature was all screwed up, producing the wrong size envelope and screwing up formatting and paper position. I found nothing useful in libreoffice, Manjaro or Arch forums but I did find something useful in a Ubuntu forum. A user reported an envelope printing problem similar to mine and the pundit repeatedly told him that the problem was caused by the printer driver (the user doubted the pundit). I originally got the malfunctioning printer working again with the “Brother HL-2140 for CUPS” driver and left it there because “it worked”,  but the envelope issue made me decide to switch to the driver that worked well before the Aug. 18 update – the “Brother HL-2140 Foomatic/hl1250” driver. Success! Now the USB connected HL-2140 printer is fully functional, even with envelopes, and the August 18th trials have been fully resolved.

Posted in Linux | Tagged , , , , , , , | Leave a comment

Video on Creating pcb-rnd PCB footprint e/w Silk from part’s PDF spec

When I create Printed Circuit Boards (PCB), I prefer using the program pcb-rnd. Pcb-rnd was originally forked from gEDA’s PCB program but it has incorporated so many new functions and features that its capabilities far exceed the gEDA’s PCB program from which it sprang. Many of pcb-rnd new or improved options are new to me so I made a video on Creating a subcircuit including Silk from the Part’s PDF using inkscape. A subcircuit is pcb-rnd’s take on a PCB part “footprint”. I did this video partly to help others new to the process and partly as a refresher for the future me. This part is a coin cell battery retainer that I am using in a project.

The pcb-rnd’s lead reviewed the video and supplied some some suggestions for improving the process that I used. I’ve included them in the comments below the video – click the “SHOW MORE” text. So, the video has some areas needing improvement but isn’t without value in its current form.

YouTube Link:
https://youtu.be/g-q4KVFlfeQ

If you are interested in trying pcb-rnd, it is available in the repository of various Linux desktop distributions with official packages in Debian, Ubuntu and Arch Linux and also can built from from source. Compatible operating systems are Linux, Mac OS X, IRIX 5.3 and OpenBSD.

Posted in EDA, Electronics, hardware, PCB Design | Leave a comment

Nifty SD Card Gadget

I recently purchased, on eBay, a nifty little SD Card gadget. You can plug either a regular or micro-size SD card into it and then plug into either a standard or micro USB port. It is pretty handy, especially for a laptop. I tested it on my Manjaro/Arch Linux desktop and on my Android phone. It worked flawlessly. Actually, I was quite surprised when I plugged it into the charging micro-usb port, opened the File Manager App and there it was! All of the photos on the card were present and displayed in thumbnails. I am impressed with this thing.

BTW: I purchased it from eBay seller fashion-bestbuy for $2.15USD including shipping from China.

PS: While I show two SD cards inserted, I did NOT test it that way. Assuming that it would not work, or worse, I tested only one SD card at a time.

 

sArea=010111111

FIG 1: SD Multi-Function USB Adapter

Posted in Electronics | Tagged , , , | Leave a comment