If you have any ideas/wishes on the software side you would like to see implemented, just mention them on this forum. Not everything can be done but we can always try.
regards
Cor
Type: Posts; User: CorBee
If you have any ideas/wishes on the software side you would like to see implemented, just mention them on this forum. Not everything can be done but we can always try.
regards
Cor
I wonder if in the cases where you want to simply have the detector stand-alone outside its not easier to add a simple bluetooth transmitter that is connected to the phone-out of the detector ?
Hi David,
Welcome aboard. These are questions where I hope Edwin will have the definitive answers. As to the sandwich, Ive started with a very wide setup with headers between all parts that looks...
Hi,
An update on the work thusfar in this season. Edwin has been testing adding a GPS and a temperaturesensor in the same default housing we are using for some time.
Hasnt been easy due to the...
Hi Justin,
As I am slowly waking up from hibernation Ive picked up on this part. The bat_sd you have shared helped a great deal, only one var was not declared tRecStart. Its early days still but...
22635
Hi Jim
This shows the way I have mounted one of mine with normal headers instead of resistors.
regards
Cor
Hi
For those that compile themselves in the TD(teensyduino) environment, when this leads to problems please notify in this forum as I am not using TD. Everything I develop (be it for a teensy or...
Hi Justin,
Nice work ! Until today I have not even heard of the GUANO standard ;) For those (like me) that want to know more go https://guano-md.org/
Have you tested your additions with...
Nice work Adrian !!
I will see if it runs OK using Jupyter. Ive started programming Python about 3 years ago and shortly thereafter discovered Jupyter as the most interesting way to use Python...
Thats unfortunate, I havent used this code myself so I cant help you with the code. But its a well known "issue" that libraries used for Arduino IDE and platformIO are not always in sync and might...
https://community.platformio.org/t/teensy-4-1-native-ethernet-updating-latest/15472
That indeed would be very usefull for many of us that have been "fiddling" with the SGTL5000 library itself, simply declaring these public allows easy development of additional functions in separate...
On any of the file-systems that allow us to read from an SDcard the viewers/explorers and whatever all will show the recorded-file date-time. So its not necessary to calculate the datetime I think....
Hi,
As edwin stated the code can run the SGTL5000 sampling far faster than what it was designed to do. This is due to code that allows us to increase the samplerate
by:
Frank Boesing
* ...
Hi all,
The previous code was working ... but not completely as planned. You could record data but not play them on the device (at least WAV formatted). This has been repaired in...
Hi,
I sometimes have used the following code, where the pragma pack(1) forces the compiler into keeping the structure byte aligned
#pragma pack(1)
typedef struct newPayload {
//8 bytes ...
Hi,
I cant answer that for you. But encoding data with the ID of a sensor is only going to work for a few sensors and a single dataset. If you ever plan to extend that becomes more and more...
This thread points to the same kind of issue : https://forum.pjrc.com/threads/46757-Teensy-3-5-with-nRF24L01-only-half-of-the-message-is-correct
So its a matter of defining the variables on both...
Hi,
You cant have 8 digits in an unsigned int normally ... so something must have gone wrong in the code either when sending or reading.
Cor
PS just checked. The unsigned int should be 2 bytes...
If you share what you are receiving that might be helpfull in finding what goes wrong. The code used for sending/receiving should then also be shared.
Hi,
I suggest investing time in understanding what goes wrong with the payload. Thats the most logical coding, the earlier code was just an example.
Cor
And another option to create a unique ID directly: https://github.com/ricaun/ArduinoUniqueID
Additionally: You could consider using the unique ID of your DS18B20 sensors as the ID for each node. Ive done that too, this can make your TX code even simpler as you dont need a static declared ID...
Hi,
You dont use temp1 or temp2 ... !
For the TX units:
start by declaring this structure
typedef struct {
Hi
By simply creating a payload
typedef struct PayloadFrame {
unsigned int NodeId;
float temperature;
} PayloadFrame;
static PayloadFrame Out_Payload;
I suggest looking up how to create a payload structure. The advantage of that is that you can send/receive this as a single variable with the data inside the payload.
This (see below) is for...
Try using google to find things out ... eg https://www.elec-cafe.com/multiple-nodes-nrf24l01-wireless-temperature-ds18b20-with-arduino-uno-2-transmitter-1-receiver/
Nice to hear that. Good on you to keep trying also, frustration can be a unpleasant experience but when you overcome the issues ... you should have forgotten all about it ;)
FNIGNERS crossed ;)
Yes, that looks as the reports you can see from others. So the perfboard version should work ! Make two and install the pingpong (role) code on them and dont forget to make one of them role=0 and the...
Thats indeed wrong ... getting all 0 means that the arduino is not interacting with the NRF24L01+ ... Have you tested all your NRF24L01+ transceivers with this or only one ?
You said "no luck", but why do you conclude that ?
What was the output of the testconnection.ino ?
And you also tried the suggestion I made in message #38 ?
Hi,
For those interested, I have just uploaded (https://github.com/CorBer/teensy_batdetector/tree/master/pre_compiled_hex ) a hex version of the new update (firmwaredev_20200925). In this update...
The lines above the code state the logic behind it. When you are testing devices you dont need to use the maximum power, doing so reduces the power needed to send data and thus also reduces...
And finally (for today) this might be helpfull (message #29) https://forum.arduino.cc/index.php?topic=421081.msg3653559#msg3653559
Have you tried this advice "It is recommended to plce a 10µF capacitor across VCC and GND"
And furthermore, your measured all the connections ? No broken wires/disconnected breadboard points ?
For the wires check for instance this thread for arduino nano https://forum.arduino.cc/index.php?topic=500708.0
When I work on things that are new to me I tend to remember a quote from a danish mathematician:
The road to wisdom? — Well, it's plain
and simple to express:
Err
and err
and err again
but...
Yes you can switch roles in the code but ... you need to go back in time first to be able to receive the data you just had sent ;)
Your fingers and cables could be that there is a lot of static...
Hi,
For me it is unclear what you are trying to achieve. Are you trying to receive with the same NRF24L01+ that has been sending ?
Cor
PS: if you are using the example from...
Hi,
To get rid of the issues with possible overwrites of files-numbers etc I have changed the code for filenames. This is still a feature that needs some testing but my initial tests look fine.
...
And does the data get transmitted ? Do you see it on the RX side ?
No Data sent in serial ?
Also if you have no delay in the loop this will run continously ... I would add either a long delay or let the transmissions happend at certain second (based on...
OK. Than proceed as suggested, first make sure the data leaving the TX is what you want. Serial will tell you that, and make sure it sends out data at a regular interval (not to short). If that works...
Oh I now only get the point of your message ... you are not even sending/receiving real data yet ... You cant test anything without the proper hardware !
Should be easy to find out. Just make your TX send every 10 seconds or so and check if you get incoming data every 10 seconds also. If you get a regular signal coming in that is most likely due to TX...
The & and size are logical, you send the data of a variable and the receiver needs to know how many bytes should be send (depending on the type of variable)
from...
WOuld be got to be sure about what the TX has send also, if TX sends something wrong RX cant correct that.
What happens if you dont try to send the data as a float but as a string (I saw you had...