Main Menu

Recent posts

#51
ATXRaspi / Re: Stopped working once spi w...
Last post by Felix - September 20, 2025, 01:50:22 PM
I think it's the first time this is reported.
But yes, it's easy to just change the pins in the script.
#52
ATXRaspi / Re: Stopped working once spi w...
Last post by phil4715484711456 - September 19, 2025, 04:30:45 PM
ok I just changed the pins in the script
now using SPI dedicated pins in the installation tutorial might not be the best idea
considering the dozens of hats that uses spi protocol and that there are many general purpose pins available on the the RPI
just saying
#53
ATXRaspi / Stopped working once spi was e...
Last post by phil4715484711456 - September 19, 2025, 12:02:22 PM
Hi

fiddling with SPI slaves, I realized SPI_CE0 and SPI_CE1 are used by the ATXRaspi

of course once I enabled SPI, the ATXRaspi stopped shutting down on button press

How can I use SPI and these SPI dedicated pin AND the ATXRaspi ?

thanks for your help
#54
Moteino / Re: Testing The RFGateway (M4)
Last post by Felix - September 10, 2025, 09:28:24 PM
Yes, a double tap would put it in bootloader mode and emulate it as a disk drive (with 3 files, Current.uf2 being the current firmware running on it). In this mode it is ready to accept a skech/Arduino IDE upload at a serial port that it also generates. Or a drag-and-drop UF2 file to replace the Current.uf2 that's running on it, as well as backup the current firmware before dropping a new uf2 file to it.
#55
Moteino / Re: Testing The RFGateway (M4)
Last post by johnpoole - September 10, 2025, 08:28:13 PM
For what it is worth, here's ChatGPT's analysis.  I tried it's suggested double-tap and now I have a board that registers on the USB bus.

Got it
#56
Moteino / Testing The RFGateway (M4)
Last post by johnpoole - September 10, 2025, 07:09:21 PM
I purchased two RFGateway (M4) in April, 2022.  I'm finally getting around to using the product.  I successfully uploaded and ran via the ftdi the MotionMote Kit.  Now I wanted to set up a receiver using the RFGateway.  I saw there was a ready-for-Raspberry-Pi solution, but I wanted to keep it simple and simply test the hardware and see if I could see incoming payloads from the MotionMote.

I soldered onto the board a connector and connected a Dipole antenna.  I then connected the RFGateway to a USB (Sabrent powered extension).  In Arduino, I have the interface configured for the "RFGateway M4" and had to select a port from Tools->Port->[I don't remember].  My workstation is an Intel processor running Gentoo Linux.

So I successfully compiled and then installed the software from PiGateway_Basic.ino from https://github.com/LowPowerLab/RFM69/blob/master/Examples/PiGateway_Basic/PiGateway_Basic.ino.

After the upload, I did not see anything in the serial console.  (I previously used the Arduino's serial console window to monitor output from the MotionMote.)  I clicked the reset button on the RFGateway, a green light flashed on the board.)  Now the board does not show up in the results from the command: lsusb.  The command "dmesg -T"  has:

[Wed Sep 10 15:27:19 2025] usb 2-2.2.4.4.2: new full-speed USB device number 27 using ehci-pci
[Wed Sep 10 15:27:35 2025] usb 2-2.2.4.4.2: device not accepting address 27, error -110
[Wed Sep 10 15:27:35 2025] usb 2-2.2.4.4.2: new full-speed USB device number 28 using ehci-pci
[Wed Sep 10 15:27:50 2025] usb 2-2.2.4.4.2: device descriptor read/64, error -110
[Wed Sep 10 15:28:04 2025] usb 2-2.2.4.4.2: new full-speed USB device number 29 using ehci-pci
[Wed Sep 10 15:28:19 2025] usb 2-2.2.4.4.2: device not accepting address 29, error -110
[Wed Sep 10 15:28:19 2025] usb 2-2.2.4.4.2: new full-speed USB device number 30 using ehci-pci
[Wed Sep 10 15:28:35 2025] usb 2-2.2.4.4.2: device descriptor read/64, error -110
[Wed Sep 10 15:28:50 2025] usb 2-2.2.4.4.2: device descriptor read/64, error -110
[Wed Sep 10 15:28:51 2025] usb 2-2.2.4.4-port2: attempt power cycle
[Wed Sep 10 15:28:51 2025] usb 2-2.2.4.4.2: new full-speed USB device number 31 using ehci-pci
[Wed Sep 10 15:29:02 2025] usb 2-2.2.4.4.2: device not accepting address 31, error -110
[Wed Sep 10 15:29:02 2025] usb 2-2.2.4.4.2: new full-speed USB device number 32 using ehci-pci
[Wed Sep 10 15:29:13 2025] usb 2-2.2.4.4.2: device not accepting address 32, error -110
[Wed Sep 10 15:29:13 2025] usb 2-2.2.4.4-port2: unable to enumerate USB device


I've tried turning on/off the button associated with the RFGateway socket on the Sabrent extension, still nothing.  I do have a USB-A to USB-A extension cable that is probably 30".  I therefore tried inserting the unit directly into the Sabrent extension; there was no difference.  I returned to the cable, and when I click the RESET button, the green light blinks on then off.  As I did this, and afterward, "sudo dmesg -Tw" [T= human time, w = watch] started another cycle as shown above.

I suspect by loading the software, I have cut myself off as perhaps the software is designed for a Raspberry Pi system and possibly responding to other events?  I would have at least expected the command "lsusb" to show its presence.  I've worked a lot with Raspberry Pi (I run Gentoo Linux on some of them) and cannot think of anything that might cause the RFGateway to behave differently, e.g. not registering itself in the USB bus.

So, what should I do or test with?  I want to be able to verify the RFGateway is receiving in an Arduino serial console.
#57
CurrentRanger / Re: CurrentRanger User Guide?
Last post by Felix - September 08, 2025, 11:26:08 AM
Ok let me know if you change your mind, the offer is open.
#58
CurrentRanger / Re: CurrentRanger User Guide?
Last post by chrismower - September 08, 2025, 11:11:03 AM
Thanks Felix. I think I will just live with it as it is since I have managed without having a computer connection so far and haven't really missed it. It would just have been nice go have had the option.
#59
CurrentRanger / Re: CurrentRanger User Guide?
Last post by Felix - September 04, 2025, 04:57:20 PM
It's too old to even remember exactly if I have a UF2 bootloader on there.
If you reset it then the latched port goes away and reopens, and any application that was connected to it will loose that connection without automatically re-latching when it comes back online.
If nothing seems to work, I can offer to look at it and perhaps replace the bootloader and reflash it so you get the functionality you want, but you will need to cover shipping costs back/forth. If that's of interest email me at felix at lowpowerlab.
#60
CurrentRanger / Re: CurrentRanger User Guide?
Last post by chrismower - September 04, 2025, 11:16:23 AM
I have the CR connected by USB to my Mac and after pressing the reset button it now shows up as a serial port. Using CoolTerm I can connect to the com port and when I power the CR on it instantly transmits 'no response' so there is connection. However nothing that I type gets a response. I have tried ? followed by carriage return but nothing. Double pressing the reset button doesn't seem to do anything either, it just goes off line then back on line. Also at no point does it appear as drive. Should it?
Any help would be great, thanks.