Forum Rule: Always post complete source code & details to reproduce any issue!

Search:

Type: Posts; User: CorBee

Page 1 of 8 1 2 3 4

Search: Search took 0.01 seconds.

  1. Thread: Bat detector

    by CorBee
    Replies
    682
    Views
    68,367

    22635 Hi Jim This shows the way I have...

    22635
    Hi Jim

    This shows the way I have mounted one of mine with normal headers instead of resistors.

    regards
    Cor
  2. Thread: Bat detector

    by CorBee
    Replies
    682
    Views
    68,367

    Hi For those that compile themselves in the...

    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...
  3. Thread: Bat detector

    by CorBee
    Replies
    682
    Views
    68,367

    Hi Justin, Nice work ! Until today I have not...

    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...
  4. Thread: Bat detector

    by CorBee
    Replies
    682
    Views
    68,367

    Nice work Adrian !! I will see if it runs OK...

    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...
  5. Thats unfortunate, I havent used this code myself...

    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...
  6. https://community.platformio.org/t/teensy-4-1-nati...

    https://community.platformio.org/t/teensy-4-1-native-ethernet-updating-latest/15472
  7. Replies
    6
    Views
    204

    That indeed would be very usefull for many of us...

    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...
  8. Thread: Bat detector

    by CorBee
    Replies
    682
    Views
    68,367

    On any of the file-systems that allow us to read...

    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....
  9. Thread: Bat detector

    by CorBee
    Replies
    682
    Views
    68,367

    Hi, As edwin stated the code can run the...

    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
    * ...
  10. Thread: Bat detector

    by CorBee
    Replies
    682
    Views
    68,367

    Hi all, The previous code was working ... but...

    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...
  11. Hi, I sometimes have used the following code,...

    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 ...
  12. Hi, I cant answer that for you. But encoding...

    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...
  13. This thread points to the same kind of issue :...

    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...
  14. Hi, You cant have 8 digits in an unsigned int...

    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...
  15. If you share what you are receiving that might be...

    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.
  16. Hi, I suggest investing time in understanding...

    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
  17. And another option to create a unique ID...

    And another option to create a unique ID directly: https://github.com/ricaun/ArduinoUniqueID
  18. Additionally: You could consider using the unique...

    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...
  19. Hi, You dont use temp1 or temp2 ... ! For...

    Hi,

    You dont use temp1 or temp2 ... !

    For the TX units:

    start by declaring this structure


    typedef struct {
  20. Hi By simply creating a payload typedef...

    Hi

    By simply creating a payload
    typedef struct PayloadFrame {
    unsigned int NodeId;
    float temperature;

    } PayloadFrame;

    static PayloadFrame Out_Payload;
  21. I suggest looking up how to create a 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...
  22. Try using google to find things out ... eg...

    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/
  23. Nice to hear that. Good on you to keep trying...

    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 ;)
  24. FNIGNERS crossed ;)

    FNIGNERS crossed ;)
  25. Yes, that looks as the reports you can see from...

    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...
  26. Thats indeed wrong ... getting all 0 means that...

    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 ?
  27. You said "no luck", but why do you conclude that ?

    You said "no luck", but why do you conclude that ?
  28. What was the output of the testconnection.ino ?

    What was the output of the testconnection.ino ?
  29. And you also tried the suggestion I made in...

    And you also tried the suggestion I made in message #38 ?
  30. Thread: Bat detector

    by CorBee
    Replies
    682
    Views
    68,367

    Hi, For those interested, I have just uploaded...

    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...
  31. The lines above the code state the logic behind...

    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...
  32. And finally (for today) this might be helpfull...

    And finally (for today) this might be helpfull (message #29) https://forum.arduino.cc/index.php?topic=421081.msg3653559#msg3653559
  33. Have you tried this advice "It is recommended to...

    Have you tried this advice "It is recommended to plce a 10F capacitor across VCC and GND"
    And furthermore, your measured all the connections ? No broken wires/disconnected breadboard points ?
  34. For the wires check for instance this thread for...

    For the wires check for instance this thread for arduino nano https://forum.arduino.cc/index.php?topic=500708.0
  35. When I work on things that are new to me I tend...

    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...
  36. Yes you can switch roles in the code but ... you...

    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...
  37. Hi, For me it is unclear what you are trying...

    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...
  38. Thread: Bat detector

    by CorBee
    Replies
    682
    Views
    68,367

    Hi, To get rid of the issues with possible...

    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.
    ...
  39. And does the data get transmitted ? Do you see it...

    And does the data get transmitted ? Do you see it on the RX side ?
  40. No Data sent in serial ? Also if you have no...

    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...
  41. OK. Than proceed as suggested, first make sure...

    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...
  42. Oh I now only get the point of your message ......

    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 !
  43. Should be easy to find out. Just make your TX...

    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...
  44. The & and size are logical, you send the data of...

    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...
  45. WOuld be got to be sure about what the TX has...

    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...
  46. And what does the serial on the TX and RX show ?

    And what does the serial on the TX and RX show ?
  47. No problem, this if often the only way to inspect...

    No problem, this if often the only way to inspect code and see where things might go wrong.

    Cor
  48. Share your code

    Share your code
  49. Hi, NaN stands for " Not a number " and could...

    Hi,

    NaN stands for " Not a number " and could be that there is something in the format of the data you are receiving ("." or "," as decimal separator for instance). Try printing the data not as a...
  50. Thread: Bat detector

    by CorBee
    Replies
    682
    Views
    68,367

    Hi, Edwin reported this morning that the code...

    Hi,

    Edwin reported this morning that the code to prevent the counter resetting to 0 during autorecord has worked. Some more testing will be done and after that I will probably update the code and...
Results 1 to 50 of 351
Page 1 of 8 1 2 3 4