The WORKBENCH


(Jeff Uk) #829

Do you know if its CE/ETSI cert?


#830

probably not Jeff :roll_eyes:

x819

x820

Theoretically I can use/lend a big chunk of the LoRaWAN_TTN_Env_Node code from @lex_ph2lb and lowpower from @Charles :wink:
I’m thinking of an indoor double function node, PIR alarm and/or TempHum

x821
no turning back now :sunglasses:

x822

x823
hardware almost done

x824
I will use this lv power switch from Pololu as a test.
One push is on and another is off… but, you can do that under software control too, remote completely switch off the power of the node hence alarm

x825

  • update : found the switches in an NL based online shop and they have a lot more nice parts

#832

Respect !!!

Wich techno, Mesh BT? Definitively not LoRa compliance :wink:


#833

x826

4 timers one bus


#834

In the space shuttle they used 3 systems (2 for backup) but you need 4? :wink:
But the switch is still a single point of failure. :speak_no_evil:


#835

Did you already check how accurate these PCF8563 RTC’s are ?
The 32768Hz Xtals used on those RTC boards are sometimes really bad. (Ofcourse depending on the manufacturer of the modules). I’ve had RTC modules that were off time more than 10 seconds/day and could not be corrected.
Now I only use the DS3231 with it’s oscillator inside the chip with can be finetuned +/- 10ppm in steps of 0.1ppm. Stability of a DS3231 can be as good as +/- 1 second/month.


#836

yes I know… its only for the /poc / picture :wink:

I have some 3231 modules and I ordered some 3231’s to make my own ’ I2C multiple timerboard.

maybe I can use one external x oscillator for multiple RTC’s ?


#837

I think you can, usually the on-chip oscillator circuit has an output (pin) and an input (pin), leave the output open and inject capacitive an external timing signal on the input pin.


#838

and I have to write / extend an RTC lib to set and sync them before use (and later once a month/year ?)


#839

@bluejedi


#840

I’m not sure what the application is, but syncing with NTP (e.g. with an ESP-01) is not possible?


#841

yes that’s possible… but only on the workbench, later in ‘the field’ I must find another way to sync them (remote)


#842

If in the field, couldn’t you sync by GPS?.
Power a ublox module up for a minute once a week or so to save battery.


#843

good plan :sunglasses:

Olga%20Willner%20
Olga :blush:


#844

That’s even more fancy, time synchronisation via multiple satellites. :sunglasses:


#845

That is even a better plan, sync your in the field RTC with LoRa. :sweat_smile:


#846

what would be the (data) flow of an RTC node sync over LoRaWAN ? :thinking:


#847

I do not know. Maybe send a short dummy packet at exactly the whole hour so your node can sync minutes/seconds on that ?


#848

No that can’t work… there’s always a delay, so first determ the network delay and then correct the time before flashing the RTC ? we can always ask Olga from 'Deutsche Bahn


(Thomas Graf) #849

I don’t know how they do it at DB but that should be really easy. Uplink packets get the timestamp from TTN/Gateway - then just add the current timestamp from the clock for the tx-packet. That is enough to calculate the clock-offset and then if needed send a correction value via a downlink packet.