Steve
Symptom: After entering text and clicking the "TX" button, fldigi looks like it is transmitting (text turns red and is moved to the upper window), but the transmitter does not come on.
Details below. What am I missing? Thanks, Steve - - - - - Hardware: • Radio: Kenwood TM-V71A {known to be working with a USB connected "brand X" external sound card, both with a RPi and a debian stretch system} • Cable: As supplied with the DRAWS board • Connected: First to the 6-pin port adjacent to the GPS antenna, then to the other 6-pin port Images tried: • http://archive.compasslinux.org/images/image_2018-11-18-compass.zip {fldigi built from source} • http://nwdig.net/downloads/draws_beta5.zip {fldigi pre-installed} Using minicom, data is seen on /dev/ttySC0 from the GPS, but nothing on /dev/ttySC1 Setup parameter debugging changes: • Configuration Audio -> Devices {installation default} • Configuration Audio -> Devices -> PortAudio {checked with Capture and Playback left to default} • Configuration Audio -> Devices -> PortAudio {checked with Capture and Playback both set to "udrc: - (hw:0,0)"} - - - - -
|
|
Re: DRAWS GPIO/Accessory connector
#accessory
#draws
#adc
All about the Ain inputs on the accessory connector.
Each input connects to a Pi IO Pin and an ADC input. Clearly you can’t use both. There is also an ESD protection diode and 33ohm series resistor to reduce the chance of damaging the input. To use the ADC set the corresponding GPIO to input with pulldown. The max input is 3.3V so use a resistor divider above that voltage. The PS Input is scaled with 48.7k and 10.0k 1% this gives a range of: 0-19.7V The actual installed ADC is a TI I2C 4CH 12Bit Device It is SW compatible with the ads1015 with a few less features. Datasheet: The resistor values are set into SW so the sensor command displays the voltage correctly. pi@compass:~ $ sensors ads1015-i2c-1-48 Adapter: bcm2835 I2C adapter User ADC Differential: +0.00 V +12V: +13.77 V User ADC 1: +0.00 V User ADC 2: +0.00 V If you put 10.0k and 10.0k in your signal path, you can read sensors and multiply User ADC by 2. It is possible, but not trivial, to change the file so it reads directly with your values. This will be documented in a future APP Note. Bryan K7UDR
|
|
Re: DRAWS GPIO/Accessory connector
#accessory
#draws
#adc
sudo apt-get install lm-sensors sensors
On Wed, Dec 19, 2018, 08:42 KB5ZUR <kb5zur@... wrote:
|
|
Re: DRAWS GPIO/Accessory connector
#accessory
#draws
#adc
I can't seem to get the sensor readings to work. says" command not found". tried that and lm-sensors command as well, same thing. Do I need to install something? What am I missing? I'm using this version of compass: Linux compass 4.14.79-v7+ #1159 SMP Sun Nov 4 17:50:20 GMT 2018 armv7l GNU/Linux
debian_version 9.6 This is I think the first beta image released. Also, what is the range of the ADC's? I would like to read two 0-5VDC signals from my SWR bridge from Kits and Parts. Are the inputs isolated?
|
|
Re: DRAWS Image
The DRAWS image starts with a compass image and adds other HAM programs.
toggle quoted messageShow quoted text
See "Table of Installed Programs" at this link for a list of those programs: https://github.com/nwdigitalradio/n7nix/blob/master/config/IMAGE_README.md /Basil Ryan Reid <blupanthr2@gmail.com> writes:
Is there a changelog between the beta image, and modifying the last Compass
|
|
Re: DRAWS Technical Documents
That is correct, they match the Icon/Yaesu/Kenwood pinout. Alinco uses a DB-9 so you have to modify the Cable.
Bryan K7UDR
|
|
Re: DRAWS Technical Documents
ac8dg@...
On this schematic, the pictorial of the 6 pin mini-din JL/JR Data Ports shows a pin layout
that very different then the 'conventional' pin number assignments. The descriptions seem to match the standard radio data ports of Icom/Yeasu/Alinco, Can this be clarified.
|
|
Re: DRAWS GPIO/Accessory connector
#accessory
#draws
#adc
Is there a changelog between the beta image, and modifying the last Compass release? Wondering if it is worth overwriting any settings/other modifications I have done so far. Ryan K1BLU
On Mon, Dec 17, 2018 at 4:44 PM Basil Gunn <basil@...> wrote:
|
|
Re: DRAWS GPIO/Accessory connector
#accessory
#draws
#adc
Answered my own question... forgot to change dtoverlayfrom udrc to draws.If you use the current beta image for draws the dtoverlay is set up properly. http://nwdig.net/downloads/ /Basil
|
|
Re: DRAWS GPIO/Accessory connector
#accessory
#draws
#adc
Try the command sensors Instead of sensors-detect
On Mon, Dec 17, 2018 at 2:50 PM Ryan Reid <blupanthr2@...> wrote: Maybe I'm missing something, but Sensors is not seeing it...
|
|
Re: DRAWS GPIO/Accessory connector
#accessory
#draws
#adc
Answered my own question... forgot to change dtoverlay from udrc to draws.
|
|
Re: DRAWS GPIO/Accessory connector
#accessory
#draws
#adc
Maybe I'm missing something, but Sensors is not seeing it...
toggle quoted messageShow quoted text
The hat is installed, and connected through the +12v Input.
|
|
Re: DRAWS GPIO/Accessory connector
#accessory
#draws
#adc
Thank you all!! Just what I was looking for. Ryan K1BLU
On Sun, Dec 16, 2018, 09:32 Annaliese McDermond <nh6z@... wrote:
|
|
Re: DRAWS GPIO/Accessory connector
#accessory
#draws
#adc
Annaliese McDermond
On Dec 16, 2018, at 3:18 AM, Ryan Reid <blupanthr2@gmail.com> wrote:The DRAWS has an ADC built into it. You are correct that those are brought out on pins “Ain2” and “Ain3”. You can access the values of these in a variety of ways through the lmsensors/hwmon (see https://github.com/lm-sensors/lm-sensors) subsystem in linux. If you type “sensors” on a running system, you’ll get something that looks like this: ads1015-i2c-1-48 Adapter: bcm2835 I2C adapter User ADC Differential: +0.00 V +12V: +12.02 V User ADC 1: +0.01 V User ADC 2: +0.00 V The “+12V” input is hooked to the DC input of the DRAWS. You can do various scaling on the User ADC values by using the sensors configuration file for DRAWS located at /etc/sensors.d/draws. Note that there are also some scaling factors available as “dtparam” settings in config.txt. These pins are also connected to pins 22 and 24 on the Broadcom SoC for doing digital inputs or outputs. Incidentally these are the “BCM” pin numbers. You’ll *never* hear me referring to wiringPi’s pin numberings. I’ll let Bryan speak to the electrical characteristics of these pins, but I’m sure that if you try to measure a few thousand volts on them you’ll have a bad day. Also I noticed on there that one of the pins is labeled rx and one is labeled tx. Do those forward through to the serial port on the raspberry pi, or are they for something else?They do not connect to the /dev/ttyAMA0 port on the Pi. We don’t bring that out on draws. They connect to an additional serial port, /dev/ttySC1, which is on the I2C serial chip we use to access the GPS. Thank you, -- Annaliese McDermond, J.D. (NH6Z) nh6z@nh6z.net
|
|
Re: DRAWS GPIO/Accessory connector
#accessory
#draws
#adc
|
|
Re: DRAWS GPIO/Accessory connector
#accessory
#draws
#adc
On Sun, Dec 16, 2018, 08:04 Ryan Reid <blupanthr2@... wrote: I'm not one much for understanding schematics, but I'm trying to figure out on the accessory connector you have an Ain2 and an Ain3. Are those auxiliary inputs, or analog inputs? I'm looking for an analog input so that I can monitor external battery voltage. And I'm not sure if the board has an ADC built into it or if I have to connect one externally. If you are monitoring the supply voltage, that is already handled on the 9-15 VDC input for powering the HAT (and Pi). There is also a second ADC exposed on the accessory jack.
Those are for a serial port, it is /dev/ttySC1. The ttySC0 is to the GPS.
|
|
DRAWS GPIO/Accessory connector
#accessory
#draws
#adc
I'm not one much for understanding schematics, but I'm trying to figure out on the accessory connector you have an Ain2 and an Ain3. Are those auxiliary inputs, or analog inputs? I'm looking for an analog input so that I can monitor external battery voltage. And I'm not sure if the board has an ADC built into it or if I have to connect one externally.
Also I noticed on there that one of the pins is labeled rx and one is labeled tx. Do those forward through to the serial port on the raspberry pi, or are they for something else? Thank you, Ryan K1BLU
|
|
Re: NWDR's take on Raspberry Pi 3 Model A+?
Not an official endorsement or support, but I have a DRAWS HAT running on a 3A+ attached to a SmartiPi display.
|
|
Either is fine. (I also have one running on 3A+)
Follow-ups to the UDRC sub-group.
|
|
does it matter if you use a Pi 3B or B+ with the draws hat?
|
|