The Association of Model Submariners.

Would you like to react to this message? Create an account in a few clicks or log in to continue.

* THE FORUM FOR ALL THOSE INTERESTED IN BUILDING AND OPERATING MODEL SUBMARINES *



Join the AMS - Registered Forum users can become members of the AMS and it's free ...... To join send an email with your name , address and phone number to amstreasure@googlemail.com


For a guide to past events see the "Shows and Events" section.

....


Grantham MBC Sub Day, Sunday 14th August 2022

Bournville Dive-In, Birmingham, Sunday 4th Sept 2022

Who is online?

In total there are 3 users online :: 0 Registered, 0 Hidden and 3 Guests

None


Most users ever online was 180 on Tue Nov 05, 2019 6:03 am

Latest topics

» 27Mhz - Radio Ideas
27Mhz - Radio Ideas - Page 4 EmptySat Aug 13, 2022 4:21 pm by C-3PO

» Grantham Model Sub Day, Sunday 14th August 2022
27Mhz - Radio Ideas - Page 4 EmptyFri Aug 12, 2022 2:48 pm by david f

» 915mhz / 868mhz as a viable frequency for submarines.
27Mhz - Radio Ideas - Page 4 EmptyTue Aug 09, 2022 11:05 pm by tsenecal

» Sheringham 2022
27Mhz - Radio Ideas - Page 4 EmptyThu Aug 04, 2022 1:51 pm by david f

» Craycraft WTC
27Mhz - Radio Ideas - Page 4 EmptySun Jul 24, 2022 4:52 pm by timgarrod

» JSN-SR04T Depth sounder
27Mhz - Radio Ideas - Page 4 EmptySun Jul 24, 2022 2:08 pm by geofrancis

» WW2 mini sub build
27Mhz - Radio Ideas - Page 4 EmptyWed Jul 20, 2022 4:12 pm by david f

» lego submarine with automatic depth control.
27Mhz - Radio Ideas - Page 4 EmptyTue Jul 19, 2022 1:51 am by geofrancis

» RIP SKIP Asay
27Mhz - Radio Ideas - Page 4 EmptyMon Jul 18, 2022 3:29 pm by david f

Statistics

Our users have posted a total of 11727 messages in 1929 subjects

We have 957 registered users

The newest registered user is wimalopaan

Similar topics

+3
Cheapsub
david f
geofrancis
7 posters

    27Mhz - Radio Ideas

    C-3PO
    C-3PO


    Posts : 51
    Join date : 2018-11-21
    Location : Northamptonshire UK

    27Mhz - Radio Ideas - Page 4 Empty Re: 27Mhz - Radio Ideas

    Post  C-3PO Tue May 10, 2022 4:35 pm

    Hi David,

    I am going to do the lottery tonight :) - 5 mins in and I have read AX5043 register values - so the journey starts....

    Is it possible that you tested the boards you sent me with some other software?

    See image and code below

    Code:

    // ***********************************************************************************************
    //  Name:       SPI_readRegs_003
    //  Date:       10 May 2022
    //  Brief:      Crude SPI test - read write
    //  Author:     Jonathan Askey
    // ***********************************************************************************************

    /*  SPI connections
     *  Uno/Nano      AX5043
     *  MOSI  11      17
     *  MISO  12      16
     *  SCK   13      15
     *  SS    10      14
     *  3.3v          23
     *  GND            6
     */


    #include <SPI.h>

    uint8_t slaveSelectPin=10; // CS Chip Select

    uint8_t regAddr;
    uint8_t regVal;


    void setup() {
     
      digitalWrite(slaveSelectPin, HIGH);
      pinMode(slaveSelectPin, OUTPUT); // set the SS pin as an output
      SPI.begin();         // initialize the SPI library
      SPI.beginTransaction(SPISettings(14000000, MSBFIRST, SPI_MODE0));
      
      Serial.begin(9600);
    }

    void loop() {

      digitalWrite(10, LOW);            // set the SS pin to LOW
      
    for (uint8_t regAddr = 1; regAddr <= 0x0F; regAddr++)
      {
      
        SPI.transfer(regAddr & 0x7F); // send address + r/w bit
        regVal = SPI.transfer(0);
        

        Serial.print(regAddr, HEX);
        Serial.print(" - ");
        Serial.print(regVal,HEX);
        Serial.print(" - ");
        Serial.println(regVal,BIN);
      }

      digitalWrite(10, HIGH);           // set the SS pin HIGH
     }




    27Mhz - Radio Ideas - Page 4 Ax5043_001

    Regards
    Jonathan _._

    david f likes this post

    david f
    david f
    AMS Treasurer


    Posts : 2262
    Join date : 2010-11-10
    Age : 72
    Location : Cumbria

    27Mhz - Radio Ideas - Page 4 Empty Re: 27Mhz - Radio Ideas

    Post  david f Wed May 11, 2022 9:19 am

    Fantastic result!
    I will try again with exactly that software.
    Once they start talking it can take off!
    Well done!
    David
    david f
    david f
    AMS Treasurer


    Posts : 2262
    Join date : 2010-11-10
    Age : 72
    Location : Cumbria

    27Mhz - Radio Ideas - Page 4 Empty Re: 27Mhz - Radio Ideas

    Post  david f Wed May 11, 2022 12:29 pm

    Thanks again. I can confirm that the chips give the same result at my end

    27Mhz - Radio Ideas - Page 4 2022-015

    I don't actually know what went wrong with my earlier tests. Having the SPI test software means that I can do basic tests on the chips.

    I have just tried them all with the same results above. However one chip gave the result below.

    27Mhz - Radio Ideas - Page 4 2022-014

    This one also doesn't give out any RF output. It presumably is a fault with my soldering. I wonder if I was unlucky and this was the one I tried the tests on?

    David
    david f
    david f
    AMS Treasurer


    Posts : 2262
    Join date : 2010-11-10
    Age : 72
    Location : Cumbria

    27Mhz - Radio Ideas - Page 4 Empty Re: 27Mhz - Radio Ideas

    Post  david f Wed Jul 20, 2022 4:04 pm

    Just some feedback on this (long-term!) project:

    https://github.com/rdforrest/27MHz-using-AX5043

    Very puzzling but TX circuit does not seem to transmit on full power. I am not quite sure if this is hardware or software. (The module current is about 2mA, but should be about 50mA from data sheet.)

    It's slow progress on this project - still not sent any data or transmitted at usable power. But it is very interesting to delve into. Beats Sudoku!

    Any suggestions most welcome!

    David
    avatar
    geofrancis


    Posts : 64
    Join date : 2021-09-24

    27Mhz - Radio Ideas - Page 4 Empty Re: 27Mhz - Radio Ideas

    Post  geofrancis Mon Jul 25, 2022 3:20 pm

    https://github.com/pascallanger/DIY-Multiprotocol-TX-Module/discussions/711#discussioncomment-3222101

    david f likes this post

    C-3PO
    C-3PO


    Posts : 51
    Join date : 2018-11-21
    Location : Northamptonshire UK

    27Mhz - Radio Ideas - Page 4 Empty Re: 27Mhz - Radio Ideas

    Post  C-3PO Mon Jul 25, 2022 3:45 pm

    Hi David,

    Have you set TX register TXPWRCOEFFB?

    I think this is register number'ish

    169 TXPWRCOEFFA0
    16A TXPWRCOEFFB1

    What are these reigters set to?

    Regards
    Jonathan

    david f likes this post

    david f
    david f
    AMS Treasurer


    Posts : 2262
    Join date : 2010-11-10
    Age : 72
    Location : Cumbria

    27Mhz - Radio Ideas - Page 4 Empty Re: 27Mhz - Radio Ideas

    Post  david f Mon Jul 25, 2022 6:25 pm

    Hi Jonathan ,
    16A is set to 40 and 16B is set to 96. ( As per "Ax5043 not Black Magic " instructions.
    David
    david f
    david f
    AMS Treasurer


    Posts : 2262
    Join date : 2010-11-10
    Age : 72
    Location : Cumbria

    27Mhz - Radio Ideas - Page 4 Empty Re: 27Mhz - Radio Ideas

    Post  david f Sat Aug 13, 2022 12:15 pm

    This looks very interesting. Rob Schuckman has been using an AX5043 successfully for underwater communication.

    https://www.electronicsworld.co.uk/building-and-evaluating-an-underwater-rf-communications-link/33705/

    Does anyone know how he can be contacted? I have found his LinkedIn profile but it is all in Dutch and I have never joined LinkedIn.

    David
    C-3PO
    C-3PO


    Posts : 51
    Join date : 2018-11-21
    Location : Northamptonshire UK

    27Mhz - Radio Ideas - Page 4 Empty Re: 27Mhz - Radio Ideas

    Post  C-3PO Sat Aug 13, 2022 4:21 pm

    Contact form on bottom of his website home page

    https://www.robschuckman.nl/

    Regards
    Jonathan

    david f likes this post


      Current date/time is Mon Aug 15, 2022 10:20 am