Arduino Nano test analogue inputs

John VK2ETA has produced a small piece of diagnostic firmware intended to be used by constructors to test out the Raduino.

The objective is to help original kit builders identify issues (e.g. wiring or “not working” problems), but also for more advanced experimenters both during construction and after “oops moments”.

So far it only tests the I2C bus, the communication with the SI5351 and the analogue inputs of the Raduino in a graphical form.

The plan is to expand to the audio circuit, the receiver chain, the TX low pass filters’ relays and hopefully more.

This is where be needs the input of other constructors to determine what to test for in the first instance and then some ideas to make the test results as simple but still useful to more advanced users.

John is looking for feedback as to what issues you had when building the kit that could potentially be incorporated in the diagnostic software.  Tests need not be Arduino-only tests. Operator ‘s interpretation, as in “Do you hear the tone in the speaker, Y/N” are quite ok.

John has uploaded a beta version of the software  to the IO Groups Files area:

https://groups.io/g/BITX20/files/uBitx%20Diagnostic%20software%20by%20VK2ETA/ubitx-Diagnostic%20-%20Version%20B0.2-2018-04-28.zip

Basic instructions are in the README.MD file in the top directory.

The main menu number 2 (Analogue inputs), brings a second level menu for testing the encoder inputs, the push button, the PTT, the Keyer and the spare analogue input.

Results are displayed in a horizontal bar graph with a scale from 0 to 5V representing the value read by the inputs. That way you can see how it matches the values your voltmeter indicates on the respective pin.

Results are shown only on changes to the values read, for example when rotating the encoder, pushing the PTT or the encoder push-button etc…

If no results are shown then your Arduino cannot read analogue inputs and it would mean plan-B:  replacement of your Raduino.

Reference

Second lot of Radi2cino boards available to purchase

Jim Sheldon, W0EB has announced that the W0EB/W2CTX/N5IB “RadI2Cino” (pronounced rad ee too CEE no) I2C replacement for the Micro BITX (uBITX) Raduino card is again available for purchase.

NOTE: these are only for the uBITX, not the BITX40 and other earlier models.

This board is designed to utilize either a 2 x 16 or 4 x 20 I2C LCD Display (not included) instead of the parallel display originally included with the uBITX so that the digital I/O lines formerly used by the display can be used to run the CW keyer and a few other functions in a much more efficient manner.

Prices have lowered a little since the first offering.

Partial kits with the IC’s soldered in place are no longer being offered.

Current options are:

  1. Bare Board (you supply the parts & you build it). $10 US shipping included. . International $15 US shipped.
  2. Complete Kit of Parts (less the Arduino NANO, LCD display and display I2C controller) – you build it. (All parts except the NANO, display and display controller are included in the kit.) $30 US shipping included.   International, $45 US shipped. All customs duties and VAT will be the responsibility of the purchaser.
  3. Completely assembled and tested RadI2Cino Including the Arduino NANO but less the display and I2C display controller.Assembled and tested RadI2Cino boards will be available by Special Order Only. They will require up-front payment by PayPal and up to a 1 week lead time to build and properly test) $75, shipping included in the U.S.

    No international orders will be accepted for assembled and tested boards at this time.

All orders will receive the complete assembly manual which includes a full bill of materials, full board layout diagrams and full schematics in PDF form via email.  This manual has also been attached here for your download:  RadI2CinoBoardConstruction. You can read through it and decide if it’s something you’d like to build.  The same manual will be included with the order by Email.

The bill of materials, included in the manual, has ordering information for the parts. Parts suppliers are Tayda, Digi-Key and Mouser.

Please, don’t post orders or info requests on the BITX20 list as Jim doesn’t always get the posts from the reflector.

Email w0eb (at) cox dot net for ordering or further information.

RaduinoUmax shipping

Mike, WA6ISP, is shipping the first of his new Ubit RaduinoUMax Raduino replacements  today.

Mike says he has been working like a beaver since the PCBs arrived.

The MAX is for the 16 Added I/O pins on the end of the PCB.   It makes the PCB a little longer, but still fits into uBitx Radio PCB.   I2C control gives you 16 more 5V digital I/O ports and uses an Adafruit Library for simple control.   Three I2C address jumpers are provided so you can use other I2C modules.

Reference 1
Reference 2

WA6ISP uBITx replacement Raduino

Mike Hagen, WA6ISP has previously supplied Raduino X and Raduino XP alternatives to the builder community for the BITx40 units.    He has been asked by many builders whether a µBitx Raduino replacement was planned.

He now has designed, built and tested a µBITx Raduino replacement.  This comes with the extra feature of having an i2c 16 port I/O expander on board. The Microchip Expander IC uses the Adafruit Library MCP23017 to create 16 more Digital Pins.

This replacement board is slightly bigger than the standard Raduino and has the Ardunio Nano facing towards the left rather than to the right.

Email Mike for further information or to order.   The cost of the bare board is US$12 and the built up board is $46.  Note that the bare board will require you to source all parts and  mount some fairly small surface mount devices.

µBITx constructors now have several alternatives to choose from in considering a replacement Raduino board: the WA6ISP uBITx Raduino, the W0EX Radi2cino and VK4PLN Raduino replacement.

Using the Adafruit si5351 Board

Many constructors are using the Adafruit si5351a i2c board with their µBITx as part of a Raduino replacement (often in conjunction with a processor upgrade and feeding the display with an i2c daughter board).

Note that the Adafruit board does not have 0.1uF capacitors on the outputs of the three clocks.   You will need to find a way to incorporate these capacitors in your circuit.

Reclaiming Pins on the Raduino

Don Cantrell ND6T has reclaimed two relatively unused pins on the Raduino for reuse.  Check out the details here or on his website.

When the μBITX was manufactured as a “semi-kit” the Raduino control module was designed to simply plug into the main transceiver circuit board. This made wiring easier and also permitted close and controlled connection for the high-frequency synthesizer outputs. Much more reliable than extra cabling and shorter runs, too. The downside is that more of the input/output pins from the Nano micro controller are dedicated to native functions of the radio, and only two are available for additional modifications by the user.

One of those pins is already used as the key input for the CW mode. That left just one pin, an analog capable one, to be used for such purposes as monitoring supply voltage, an S meter, an RF power meter, or VSWR indicator.

The two available “spare” pins are the only two that do not have an internal “pull-up voltage” option available on the Nano processor. These pins are designated A6, and A7. In the initial design the A6 pin is used as a CW key input and so requires an external resistor to the +5 volt supply in order to detect key closures. That detection requires an Analog to Digital Conversion (A/D conversion) and consequent decoding and processing of the resultant measurement in order to determine each key closure.

It worked, but was highly prone to error, especially if key, cable, and connectors had anything but excellent low resistant contacts and connections. I found myself regularly burnishing key contacts and having to solder across every press-fit junction in both key plug and jack. Add to that the added shielding and bypassing of the key line and there still remained an annoying glitch or two at high speed. Ah! Opportunity!

Digital pins D0 and D1 are used for serial communication. D0 is labeled “RX0” on the board, D1 is labeled “TX1”. If you were to use an RS-232 arrangement, these would be the pins that you would have to use. When you use the serial monitor (like my pocket generator uses) then these are the two pins used. Even when you program the Nano, the on-board USB controller circuit uses those pins. However…

When you are not using a serial communication function, these two pins are “up for grabs”!

Don ND6T opted to use D1 for a key input. As long as I don’t have a key plugged in and  pressed, the program loads nicely into the Nano and no one is the wiser. Since this pin has pull-up voltage capability, I don’t need an external resistor. Without A/D conversion the key is sampled in microsecond intervals. Since it uses TTL logic levels (0 and +5 volts) it is not prone to poor resistance connections, bypass, or shielding problems. Works like a charm.

Additionally, these two pins have their own little LED indicator lights on board the Nano. When one of the pins is taken to a low state (close to ground potential) the corresponding LED lights. Those nifty little indicators are usually hidden since the Nano is placed between its circuit board mounting and the display, but if you position yourself just right then you can see it light up. Nice little trouble-shooting extra!

Use the attached photo to locate the two pins on the back side of the board. The end pin is D1 and the next one is D2. Yes, they are out of order with the remainder of the pin numbers in that row. Cut a two pin section of right angle .1” spaced header block. Use alpha cyanoacrylate (Krazy Glue®) to mount the body of the plastic block to the printed circuit board, with the pins snugged up next to those two on the circuit board (D0 and D1). Then solder the new connector to those pins. That makes it convenient and easy to connect to your key jack or whatever else you want to sense or control.

The remaining digital pin is a good one to use for an added Function switch. Don uses it as a convenient access to a menu for changing sideband modes, switching VFOs, activating RIT, or adjusting my IF band pass.

That leaves two analog inputs. Hmmm!

Reference

RadI2cino … another Raduino replacement

Jim Sheldon W0EX  has announced the availability of the joint effort from himself and N5IB – the RadI2Cino (prounounced “Rad ee too CEE no”).  This is an almost “Drop In” replacement for the original uBITX Raduino card.

The attached PDF (N5IB_W0EB_RadI2Cino) contains the complete information on this new Raduino replacement.

In summary, the changes/enhancements that have been incorporated in the RadI2Cino include:

  • I2C is used so the 16 pin LCD display header has been eliminated
  • The LCD display contrast pot has been eliminated
  • The 16 pin and 8 pin uBITX headers are retained and connect in the original fashion
  • Arduino NANO I/O pin assignments have been rearranged to free up digital and analog I/O pins
    a) D8, D11, D12 now used for key, paddles, and PTT.
    b) D10 used for an A/B split selection button.
    c) D9, D13, A3, A6, A7 now available for other needs.
  • The LCD display is operated via an I2C bus connection.
    a) Contrast control is now part of I2C interface “backpack”.
    b) Larger, 4-line displays are supported.
  • The TO-220 5 volt regulator has been replaced by a surface mount 7805 1 amp regulator.
  • A surface mount 3.3 volt regulator has been added.
  • A 4-pin header has been added to give access to the I2C bus.
  • A logic level translator has been added to the I2C bus to protect the Si5351 clock chip.
  • Manufacturer-recommended RC de-bouncing for the rotary encoder phases has been added.
  • Provision is made for an optional dropping resistor to reduce regulator dissipation.
  • Several powering options are provided, selected by shorting jumpers.
    a) power everything through the NANO via the uBITX +12V rail**
    b) power the NANO from the uBITX +12V rail, and the rest via the 5V regulator**
    c) power everything from the board mounted 5 volt regulator.
    d) power the Si5351a from the NANO’s 3.3 V output.
    e) power the Si5351a from the on-board 3.3 V regulator.
  • Though the PC board is slightly longer, mounting holes compatible with the LCD display are retained.
  • An additional 8 pin header is added for access to the newly free I/O pins.
  • Uncommitted PCB pads are provided to connect serial I/O and NANO Reset. NANO mounting pads are intentionally oversized to allow for a low profile, machined pin, socket for the Nano.
  • Heavy use is made of silk-screened labels to identify signals and functions.

** If the optional dropping resistor is not used DO NOT EXCEED 12V when using these power options.

THIS PRODUCT SOLD OUT WITHIN HOURS.

More boards are on order but due to the Chinese New Year they won’t be shipping until around the end of the month.

Jim asks that  all inquiries and orders be held off until after he announces the availability of the next batch.

Reference

Another Raduino replacement coming

 

Nik VK4PLN has been working on a simple “open source” Raduino replacement board.   He has now provided photos of both sides of the board.

It will use the Adafruit Clock board. All devices will, therefore, run at 5v.  inouts and dimensions are similar to the original so it can be used as a direct drop-in replacement, or it can be modified for i2c display and other GPIO mods.

Nik is hoping it will work out cheap (50c a board, $3 nano, $8 Si5153 board plus a 7805 regulator and a few other bits and pieces).  He plans for the board to accept either Surface Mount Devices or Through Hole devices, particuarly for the capacitors and resistors…

It is hoped that this would be a cheap easy build for a Raduino replacement. An initial assessment of costs (ex Ebay.com) is as follows:

VK4PLN RadinoI2C board : $8
LCD + Backpack : $3
Si5351 : $8
Arduino: $4
+bits : $2
= $25, not too bad.

Nik invites constructive comments and thoughts

Reference

Raduino Repair Service

Jim Sheldon W0EB is offering a new service to uBITX owners in the US (sorry no service is provided to foreign owners) to repair Raduinos.

Jim has just finished designing and building a Raduino test fixture that allows him to look at all the signals coming out of the board and also hook up all the digital controls to the board. He has the equipment in his shack to replace the Si5351 clock chip if it is bad and he can also replace a bad Nano (but the customer must provide the Nano).

He’s not sure how long he will be able to offer this, but he is aware that there are a few BITx owners out there that have somehow blown up their Raduino.  It is not that easy to get a replacement at the moment.

DO NOT send Jim your Raduino in need of repair without first contacting him and discussing the problem.  He may refuse to work on it if it appears too badly damaged – that’s at Jim’s discretion.

The offered service is ONLY Raduino repair, not complete uBITX repair.

Contact Jim via his QRZ.com  address (his email address is listed as well).