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

Search:

Type: Posts; User: EmielcpNL

Search: Search took 0.00 seconds.

  1. @duff I tried your example. Added SPI SnoozeBlock...

    @duff I tried your example. Added SPI SnoozeBlock and SX1276.spiClockPin(14);

    Also tried :


    SPI.end()
    pinMode (xx, INPUT_DISABLE); (closed at SPI Pins

    Also tried:
  2. EDIT: Sorry really talking to myself right here...

    EDIT: Sorry really talking to myself right here xD But fixed it partly, now trying to fix SPI. I'm on 1.8mA in hibernate now, better than the 40mA I had first lol
  3. pinMode(xx, INPUT_DISABLE) isn't working for me,...

    pinMode(xx, INPUT_DISABLE) isn't working for me, I'm also switching off my sensors with a transistor. Everything works fine when I replace Snooze.hibernate for a simple delay. Sensors turn off, SPI...
  4. indeed, pinMode(13, INPUT_DISABLE) doesn't change...

    indeed, pinMode(13, INPUT_DISABLE) doesn't change anything. I understand what you mean, but it doesn't draw current when using an Arduino (and sleepmode). If it was the lora chip it would have done...
  5. SPI SCK draws current while in hibernate mode

    Hi guys,

    As mentioned before (in other topics) im using a teensy 3.2 with an SX1267 LoRa chip. Got everything working (almost) perfectly. Now I put it in hibernate (duff snooze library) mode and...
  6. Temp fix: after hibernate I reset the teensy with...

    Temp fix: after hibernate I reset the teensy with transistor. Not the most elegant way, but it does the job
  7. Tried it with the code below, change every alarm...

    Tried it with the code below, change every alarm to timer (20seconds). Changed who == 35 to 36. Exacly the same result! :( It's weird, because with the fix on the Arduino they do the same (update...
  8. Guy who made the custom lmic library said: ...

    Guy who made the custom lmic library said:

    Well, I tested Snooze in standalone with a Teensy32 and it appears that the millis()/micros() counter is preserved. So normally there is no need to...
  9. Okay good to know! Well, I found this modified...

    Okay good to know! Well, I found this modified LMIC library by Pham (Link). It adds an function to count the time while sleeping: hal_sleep_lowpower(u1_t sleepval)

    So I added this to my code after...
  10. Can't edit the post... @duff did I use the...

    Can't edit the post...

    @duff did I use the Snooze library correctly?
  11. Changed the serial printing but didn't solve my...

    Changed the serial printing but didn't solve my problem. Still delays in sending my data
  12. Alright thank you for your reply. I will try it...

    Alright thank you for your reply. I will try it today



    Got an example on how to do this?
  13. Teensy 3.2 + Snooze + LoRaWAN LMIC stack problem

    Hii guys,

    I'm using an Teensy 3.2 with an SX1276 LoRa chip. For the LoRaWAN stack I'm using the LMIC v 1.5 library (Link).

    Because it's battery powered I'm using duffs Snooze library in...
  14. Replies
    8
    Views
    1,143

    Sounds like your laptop can't give enough...

    Sounds like your laptop can't give enough milliamps to power your teensy
  15. Here you go (Code for the SCD30) :) change every...

    Here you go (Code for the SCD30) :) change every <Wire.h> to <i2c_t3.h> and TwoWire to i2C_t3 in the library :)


    #include <i2c_t3.h>

    //Click here to get the library:...
  16. Wiring is correct, checked it so many times haha....

    Wiring is correct, checked it so many times haha.

    The i2c_t3 with the reset did it! Thank you sir <3
  17. Found all my devices with the scanner: 16938 ...

    Found all my devices with the scanner:

    16938

    Measured the SDA line and it doesn't pull up to 3v3. So there's the problem I guess

    I want to try the i2c_t3 library with the SCD30 because the...
  18. Yes, i've seen that before and tried the...

    Yes, i've seen that before and tried the Wire.setClock (100000);

    No succes though.
  19. See pic, upperleft is the Teensy with 3v3, GND,...

    See pic, upperleft is the Teensy with 3v3, GND, SDA and SCL to the SCD30 left to right: SDA, SCL, GND, 3v3. It's hard to see because all of the other components. Measured all the connections, no...
  20. I understand, sorry for that. So yes, the code is...

    I understand, sorry for that. So yes, the code is running fine but no data is coming from the sensor
  21. @PaulStoffregen Pics coming :) There are pull-up...

    @PaulStoffregen Pics coming :) There are pull-up resistors on the sensor, don't know which value though :( Let me explain the situation when it does work: I run the code on the Teensy and open the...
  22. Well the wiring is easy (checked everything a...

    Well the wiring is easy (checked everything a couple of times):

    3v3 --> VCC
    GND --> GND
    SDA PIN 18 --> SDA
    SCL PIN 19 --> SCL

    I have multiple I2C sensors on my...
  23. Thank you for the reply :) unfortunately it...

    Thank you for the reply :) unfortunately it didn't work
  24. bump, anybody? (internal i2c pull-ups on SCD30...

    bump, anybody? (internal i2c pull-ups on SCD30 too high?)
  25. Scd30 in combination with teensy 3.2 problems

    Hallo,

    I'm using the SCD30 in combination with a Teensy 3.2 through I2C with the example code.

    When I upload the code and check the serial monitor it's giving me no data. However, when I unplug...
Results 1 to 25 of 25