RAK2270 Sticker Tracker Nov 2023 update

@carlrowan

Anyone go information about the RAK2270 Sticker Trackers? Is there any way to get Device EUI information from RAKwireless by sending them the QR code?

Do I have to hack the stickers to set ort get the Device EUI?

Hi @jerteach ,

Just send me the serial number (or QR code) via private message and I can check in our system.

If ever you proceed on prototyping by accessing the UART pins, you can get it via AT+DEVEUI=? as well.

1 Like

I don’t think I have been on the forum long enough to be able to message people. On my other forums a message button shows up when I click the users name. Can you message me? Then I can send you all three of my Sticker Trackers QR codes.

Yes, when I get my UART connection finding the 3 keys should be easy using AT commands…

I posted an issue on the RAK2270 Github wondering if we could see the firmware installed on the stickers. I am mainly curious to see example code but also to see if any ability to set the upload data rate by reading a download code.

Hi @jerteach ,

I sent you a message. Also closing the issue on github.

1 Like

@carlrowan

I am trying to determine if the RAK2270 Sticker Tracker is a good fit for Advanced High School IOT classrooms or University IOT programs. The price is perfect.

The best documentation seems to be at RAK3272-SiP-Breakout-Board for everything except the accelerometer.

I can now find the devEUI, appEUI and appKey. I can connect to the RAK2270 Sticker Tracker using a USB TTL connector. I can connect to the Helium Network. I can code some of it using the Arduino IDE Version2x but the installation only worked on one of my windows computers (The board Rakwireless RUI STM32 Boards does not show up when you search for “RAK”) using the .json link:

https://raw.githubusercontent.com/RAKwireless/RAKwireless-Arduino-BSP-Index/main/package_rakwireless.com_rui_index.json

Note: The installation works fine on Ubuntu Linux.

AT commands work great, mainly AT? AT+JOIN and AT+DEVEUI=? etc
Not sure why there isn’t an AT command for setting the antenna. Mine just seems to work with US915 but I have not found the setting in any of my code.

I would appreciate a pinout diagram, but can probably figure it out with some trial and error.
rak-zoomed02

I was really worried about the VCC input from the TTL cable but it seems to be fine. I originally used 3.3 volts from another microcontroller, but the TTL power seems to work. No magic smoke yet.

I feel like I should disconnect the battery. I think it charges a bit when I connect the TTL, and then it is really strange trying to reboot the board when the power is continuous. I originally connected the RX and TX UART backwards, but no destruction, so I just switched the wires.

Any suggestions on how to reset the board. I assume touching RST to GND but I am not sure. I think touching Boot0 to GND twice should put it into boot mode, but I have no proof of that. I find the Arduino IDE randomly allows uploading code by auto switching to boot mode, but this is not consistent.

If anyone has any idea what the pins 1-7 do, that would be very helpful. It looks like 4-7 is something to do with the accelerometer but I don’t know.

I recently got a connection with the Helium network working, now I am trying to figure out how to send the Cayenne LPP data to Adafruit.io but that should be reasonably easy.

If anyone has a simple LoRaWan Cayenne LPP acceleration example that would be extremely useful.

I 3D Printed a base here but not really sure if it is any better than using a ton of Hot Glue to hold the wires in place after the pins have been soldered.

Not pretty but it works:

Anyone got anything to add, should I disconnect the battery?

I can be found here on LinkedIn

Update I did take off the battery.

2nd update. I am back to using another mcu to provide 3.3 Volts to power the board. Strangely USB 5V works fine, but the datasheets seem to think 3.3 volts is what should be used.

Hi @jerteach ,

I’ll let you know once I confirmed with our hardware engineer about the testpoint/pads 1-7.

As for the accelerometer, this library should work fine with RAK2270 - GitHub - sparkfun/SparkFun_LIS3DH_Arduino_Library: LIS3DH Arduino Libs

1 Like

@carlrowan Awesome, yes the Sparkfun LIS3DH examples work great on the RAK2270 Sticker Tracker easy to load the fullExample and get x,y,z every second.

If you can get from the techs:

Pads 1-7
How to reset (I assume RST to ground)
How to put into boot mode ( I assume Boot0 to ground twice)
Is 5V input VCC from USB ok to use? Much easier than connecting 3.3 V

I am presently checking out CayenneLPP. I am not sure if the data is getting sent properly.

Ok. I am learning a ton about RAK AT commands.

Note: ? is for help
= set (be very careful)
=? get or show the value

AT? is very useful all the commands

ATE Description: AT Command Echo

ATZ Description: MCU Reset

AT+BOOT Description: Bootloader mode

AT+RUN will reset from bootloader mode. (similar to AT+RESET)

AT+DEVEUI=? Description: Device EUI

AT+APPEUI=? Description: Application identifier

AT+APPKEY=? Description: Application Key

AT+JOIN Description: Join LoRaWAN Network (wait a few seconds after the OK. )

AT+NJM=? Description: Network Join Mode (0 = ABP, 1 = OTAA)|

AT+NJS=? Description: LoRa Network Join status(0 = not joined, 1 = joined)|

AT+RECV=? Description: Last received data in hex mode (not working for me)

AT+SEND=12:112233   Send data in port: hex format (not working for me)

AT+CLASS=? Description: LoRa Class A B or C

AT+TXP=?: transmitting power (0 = highest TX power, 14 = lowest TX power) lowest is different

AT+RSSI=?  Gives the RSSI strength of the last connection

AT+ARSSI=? Description: Inquire all channel RSSI

AT+MASK=? Description: Set the channel mask, close or open the channel



AT+BAND=?	Description: Active region
(0 = EU433, 1 = CN470, 2 = RU864, 3 = IN865, 4 = EU868,
5 = US915, 6 = AU915, 7 = KR920, 8 = AS923-1, 9 = AS923-2, 10 = AS923-3, 11 = AS923-4, 12 = LA915)


There are a ton more AT commands. Does anyone else know about any that are really useful.

The P2P AT commands also look interesting.

AT+NWM=?  Description: LoRa network work mode[0:Point-to-point, 1:LoRaWAN].