Forum Replies Created

Viewing 15 posts - 1 through 15 (of 196 total)
  • Author
    Posts
  • in reply to: Mini Ultra 8 MHz – maximum permissible Vin #16838
    LIM PHANG MOH
    Keymaster

    We do use a 25V rated ceramic capacitor at the regulator input, so you can do that. But, just make sure the amount of current you are pulling is not too high as it might get warm on the regulator.

    in reply to: Strtok operations seem to fail in runtime #16764
    LIM PHANG MOH
    Keymaster

    Thank you for sharing the solution. As far I know, they always said strk() is not thread safe and outcome can be unpredictable. But your solution is what I usually use for declaring a pre-defined string.

    in reply to: Mini Pro v3 JST connector not working #16694
    LIM PHANG MOH
    Keymaster

    Hi Jatinder,
    Can you check if the JST connector pins on the board is properly soldered and has no cold solder joints. I do test every board with a Li-Ion battery during production but it’s possible in one piece of these many batches there could be a cold solder joint. If you can take a close up picture for to check it would be great. You can also take a meter to check for continuity from those 2 pins on the JST to those VBAT & GND pins on the header.

    in reply to: Mini Ultra LoRa Serial Monitor problems #16682
    LIM PHANG MOH
    Keymaster

    Hi Alan,

    The Mini Ultra LoRa uses Serial2 with alternative pins setup, so you need this:

    Serial2.swap(1);
    Serial2.begin(115200);
    Serial2.println("Hello world");

    Let me know if you can get it working.

    in reply to: Mini Ultra Pro v3, migrating to new TTN version help #16648
    LIM PHANG MOH
    Keymaster

    HI Jatinder,

    That is not board specific but region specific and all TTN specific.
    Here’s a thread on TTN that has exactly what you want.

    For your information, I have tested it run on both LoRaWAN 1.0.2 and also 1.0.3 for both EU and USA band. And as you have mentioned about the FSB2, that is also mentioned in the link I have given. Your frequency band should be US-915.

    in reply to: TTN for Mini Pro Ultra V4 #16598
    LIM PHANG MOH
    Keymaster

    Hi Thomas,
    DIO2 is only needed in FSK mode. I only notice this after reading the latest LMIC library that has since been maintained by MCCI Catena. So, you only need to bridge D6 to DIO1. This also save us a pin.

    in reply to: Sub-second timeouts using ATmega4808 Mini Ultra #16535
    LIM PHANG MOH
    Keymaster

    I have written the library with the smallest time base as 1 s as I believe that is what being used in most low power application (sleep->wake->sleep behaviour). But, if you want to go anything smaller than that, you will need to play with the pre-scaler somewhere along line #61 of the source code. The main reason I didn’t provide a smaller base time is, the maximum period it could support is too small rendering it useless for majority of the low power application (again like the above example).

    LIM PHANG MOH
    Keymaster

    Hi,
    You basically add a flag that is set in the ISR whenever the interrupt takes place.
    Then in the main loop, just check whether that flag is set.
    If it is being set, then you can talk to your LoRa module. Don’t forget to clear the flag though.
    Some skeleton of the code would look like this:

    volatile bool wakeUp = false;
    void setup()
    {
      uint8_t index;
    
      for (index = 0; index < sizeof(unusedPins); index++)
      {
        pinMode(unusedPins[index], INPUT_PULLUP);
        LowPower.disablePinISC(unusedPins[index]);
      }
    
      pinMode(LED_BUILTIN, OUTPUT);
      digitalWrite(LED_BUILTIN, LOW);
    
      /* true: external 32.768 kHz crystal */
      /* false: internal 32.768 kHz ULP oscillator */
      RTCAVRZero.begin(false);
      /* Time in seconds, true: repeat, false: once */
      RTCAVRZero.enableAlarm(60, true);
      RTCAVRZero.attachInterrupt(awake);  
    }
    
    void loop()
    {
      /* RTC works down to standby mode only. In power down, PIT is required */
      LowPower.standby();
      digitalWrite(LED_BUILTIN, HIGH);
      if (wakeUp)
      {
        wakeUp = false;
       // Do your LoRa communication here
      }
      digitalWrite(LED_BUILTIN, LOW);
    }
    
    void awake(void)
    {
      wakeUp = true;
    }
    in reply to: Flash chip reports capacity at half size #16465
    LIM PHANG MOH
    Keymaster

    It should be 2Mbyte then. It worth playing with the SPI bus speed. I know at 1 point, even the SerialFlash library couldn’t work with the SAMD package. I tested every chip to ensure they are the correct size even though these are bought directly from Winbond Semiconductor.

    in reply to: Flash chip reports capacity at half size #16462
    LIM PHANG MOH
    Keymaster

    What are the markings on the chip?
    I’m not that familiar with Platform.io unfortunately.

    in reply to: Flash chip reports capacity at half size #16456
    LIM PHANG MOH
    Keymaster

    Hi,

    I do run the raw hardware test for every board and it all must return 2 MB (16 Mbit) to pass.
    If you are not running the latest SAMD Arduino package, you might into this issue.

    in reply to: mini ultra 8hz – arduino IDE not overwriting sketch #16350
    LIM PHANG MOH
    Keymaster

    Yes, you are right. That nails it!
    Either DTR or RTS is used and not CTS which is an input pin looking from the FTDI point of view.

    in reply to: mini ultra 8hz – arduino IDE not overwriting sketch #16348
    LIM PHANG MOH
    Keymaster

    That’s odd. Can you show the bottom messages of the Arduino IDE? If, you didn’t enable the verbose output, please do so. There are times, upload just didn’t complete but looks like it is done especially when more warning and errors messages are not enabled.

    And how are you powering the board, what FTDI adapter board you are using and is the board type selected as Arduino Pro/ Pro Mini ATMega328P 3.3V 8MHz?

    in reply to: Mini Ultra LoraWAN #16346
    LIM PHANG MOH
    Keymaster

    Hi,

    This is the very first time I hear about Helium library. Unfortunately it doesn’t have.

    in reply to: Mini ultra using discontinued ATMEGA328P ? #16233
    LIM PHANG MOH
    Keymaster

    Our Mini Ultra 8MHz is based on the ATMega328P. The assembled board is still in stock for now. Our newer upgrade although not pin-compatible but in same form factor is the Mini Ultra based on the newer ATMega4808 which is also in stock. Please take note that our boards are not in the same form factor as the Sparkfun’s Arduino Pro Mini. ATMega328P is also not being discontinued as far as I know, only a worldwide shortage due to the pandemic. There’s basically no stocks for most parts of IC in the world right now especially parts from Microchip and STM.

Viewing 15 posts - 1 through 15 (of 196 total)