Recent Posts

Pages: [1] 2 3 ... 10
1
Moteino / Re: Unable to flash moteino
« Last post by tleavitt on May 26, 2020, 11:22:51 PM »
Moteinos don't normally just decide to refuse accepting an upload.
How exactly do you "flash code" to them?

I use your FTDI header and Arduino IDE 1.8.12.
The moteinos reset when the upload attempts to start but the chip and FTDI adapter never get in sync. Is it possible something happened to the boot loader?
2
Moteino M0 / Schematic for BME280 Breakout, M0
« Last post by jdheinzmann on May 26, 2020, 05:08:13 PM »
I can't find the schematic for the Moteino M0 WeatherShield (Product ID: 185).  Perhaps I just have a blind spot.  Can you direct me to it?  Thanks. -JD
3
Moteino M0 / Re: Moteino M0 - Remove charge controller?
« Last post by mantonakakis on May 26, 2020, 01:54:16 PM »
I understand, in my situation I'm hoping to use a 3.6v lithium thionyl chloride battery that will also power another peripheral. It's for outdoor usage, so temperatures may drop significantly and battery voltage may drop significantly below 3.3v (and the peripheral requires 4.5v for its power supply circuitry). So a single cell won't do it, and 2 cells will bring me to 7.2v nominal, so a little too high for the charge circuit on Moteino M0.

I wasn't able to find any specs on Q1, hence the question. Since my last post, I realized a 2-cell setup would work. I also may have shorted or miswired something - it was a little strange the way it failed (it was working pretty well for a little while, then after one of the power cycles *poof* I saw current increase drastically and after that Q1 was broken).

Also since the last post I did a little more experimenting and removed Q1, and put the battery straight to the LDO, and it's working well now - I did have to add a switch to the Schottky jumper pads to be able to power via USB for flashing new code (not brave enough to try simultaneously connecting USB and battery).
4
Is there a way to do it with the RFM69 library?  I was planning to use 915mhz so it would be good to have a way to avoid a frequency thats full of interference
Perhaps a frequency scanner/sweeper that outputs RSSI at each frequency. But it would probably be very slow compared to proper frequency analyzing tools.
The real way to do it is using a spectrum analyzer. Some photos of that in above posts by akstudios.
A cheap and still decent way to analyze frequencies is "software defined radio".
5
General topics / Re: Multiple nodes - latency
« Last post by Felix on May 26, 2020, 10:44:24 AM »
What library are you using?
See this thread on latency and speeding up transmissions.
6
Coding questions / Re: Learning regexp
« Last post by Felix on May 26, 2020, 10:43:04 AM »
In Javascript regular expressions variable types do not have any quotes like strings but instead are defined within forward slashes '/' and followed by special designators like case insensitive (the i) etc. In JSON notation, which is found in the metric definitions, a regex variable is defined as:

variableName followed by colon (:) followed by the regular expression itself, ex:

Code: [Select]
regexp:/GPM\:([\d\.]+)/i

You can test these expressions at regexr.com where they have a very nice UI that helps you with debugging and building/modifying a regex.
7
Moteino / Re: Unable to flash moteino
« Last post by Felix on May 26, 2020, 10:38:09 AM »
Moteinos don't normally just decide to refuse accepting an upload.
How exactly do you "flash code" to them?
8
Moteino / Unable to flash moteino
« Last post by tleavitt on May 25, 2020, 11:19:10 PM »
So I ran into a rather curious issue today trying to update the code on a couple moteinos I have. Of the 6 I needed to update, I had two I was unable to flash code to, but they run the existing code in memory just fine. When attempting to flash, I get an out of sync error with the resp usually being some random hex code. But all 10 attempts have the same hex code. Does anyone have any ideas on what has happened to my motes and if there is any way to flash new code to them, or are they basically bricked with the current code?

Also, I have two more motes that Im not sure if theyre dead or not. Attempting to flash them gets the out of sync error as well with a non zero response, but I have no idea what code is on them at this point. Is there an easy way to tell if a chip is just outright dead?
9
Coding questions / Re: Learning regexp
« Last post by TomWS on May 25, 2020, 04:30:37 PM »
You need to remove the leading "regexp:".  It is not part of the matching expression so it's thinking the forward slashes are some kind of escape character.
10
General topics / Multiple nodes - latency
« Last post by jkenett on May 25, 2020, 03:46:27 PM »
Hi everyone,

This is my first project with RFM69, and here's what I'm trying to do .
   .
I have 4 emitters node that transmit data from accelerometers as quickly as possible to one receiver node.
The receiver node ("gateway") then transmit the received data via a serial communication to a computer.
I'm using the adafruit feather 32u4 RFM69 HCW in 433 Mhz

The main idea is to trigger audio events from the computer in "real time", in response to the distant accelerometers.
That's why latency matters here.

Basically here's what I'm doing now:
1 - at fixed interval, gateway broadcasts an invitation (message "TALK") to all emitters node
2 - gateway immediately turns in RX mode and starts listening for answers, doing nothing else
3 - once the TALK message is received, the nodes answer with the data (about 10 bytes), after a unique little delay (to avoid talking at the same time)
4 - when the 4 messages are received, or timeout occurs, the gateway transmits the messages in serial communication (serial.print)

For now I get more than 60ms of total latency, which is too high for my application.
If I shorten the round cycle I get collisions and lot of lost packets.
This is with "default" settings.

Before going any further, I'd like to ask, do you think this is doable with this hardware ?
Do you think it's possible to go below 30ms ?

Any help is appreciated,
Thanks
Pages: [1] 2 3 ... 10