Forum Replies Created
-
AuthorPosts
-
LIM PHANG MOH
KeymasterWe 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.
LIM PHANG MOH
KeymasterThank 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.
LIM PHANG MOH
KeymasterHi 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.LIM PHANG MOH
KeymasterHi 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.
-
This reply was modified 2 years, 2 months ago by
LIM PHANG MOH.
November 2, 2022 at 11:39 AM in reply to: Mini Ultra Pro v3, migrating to new TTN version help #16648LIM PHANG MOH
KeymasterHI 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.
LIM PHANG MOH
KeymasterHi 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.LIM PHANG MOH
KeymasterI 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).
June 16, 2022 at 3:38 PM in reply to: Best way to use serial communication with the LowPowerAVRZero library #16530LIM PHANG MOH
KeymasterHi,
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; }
LIM PHANG MOH
KeymasterIt 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.
LIM PHANG MOH
KeymasterWhat are the markings on the chip?
I’m not that familiar with Platform.io unfortunately.LIM PHANG MOH
KeymasterHi,
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.November 14, 2021 at 10:35 PM in reply to: mini ultra 8hz – arduino IDE not overwriting sketch #16350LIM PHANG MOH
KeymasterYes, 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.November 14, 2021 at 9:35 PM in reply to: mini ultra 8hz – arduino IDE not overwriting sketch #16348LIM PHANG MOH
KeymasterThat’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?
LIM PHANG MOH
KeymasterHi,
This is the very first time I hear about Helium library. Unfortunately it doesn’t have.
LIM PHANG MOH
KeymasterOur 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.
-
This reply was modified 2 years, 2 months ago by
-
AuthorPosts