The WORKBENCH


(Gry Kyo) #219

There is quite a bit of web server in David Bird’s example, use what you will, Github link in video description: https://youtu.be/q-erOgA-qdQ

In fact David’s Youtube and Github are jam packed full of just about anything you can think of doing with Espressif chips and code examples, libraries and work arounds for many of the common sensors we see here in TTN projects and nodes.


#220

reading this article… what about LoRaWAN dolls ? :sunglasses:


#221


he neighbour… seems you’re tracked :sunglasses:
great little free tool to clean persistant tracking cookies.


(Kees356) #222

Hello BoRRoz, great page with lots of fun to read and links!!

Have the same PIR node needs i’m really interested in the HW used for your node… looking at all the posts I’m lost what you have used for this small sweet PIR.

Keep up the good work, luv to read you log!


#223

tnx kees
actualy I’m working on the PIR at the moment :sunglasses:

I had ordered some new PIR’s with a very short (1.8 sec) delaytime.
That’s the time the output stays 'one after movement detection.
The signal wakes up the 32U4 (leonardo) processor and trigger an LoRaWAN alarm signal.
This very low current type has no adjustable time but you can order them between 1.8 sec and 1 hour delaytime.
Nice, now the processor can go to sleep faster, in the code I can set a counter or timer to prevent sending constant alarmsignals when a burglar is walking in the room.
And, if necessary I can count people :wink:


bottom view :scream:


(Gry Kyo) #224

Just curious (and probably too lazy to scan posts, sorry!) but including or excluding the 20uA of the PIR, what sort of quiescent current do you see with the 32U4 based node (sleeping)? Similar project scheduled for my workbench but likely design to be sealed for life for harsh in the wild deployment so ultimate node life == battery life. Still not sure which MCU I will start with.

Thx,
Garry


#225

the 32U4 is not the most energy efficient processor … and this usb node ‘thing’ has also a rn2483A / ams117 3v3 / dual level shifter so this is not designed for extreme low power (usb stick)
just for fun , it should run TTN UNO code to.

Just have a look at this CMWX1ZZABZ processor.
And the arduino IDE is coming soon


(Gry Kyo) #226

Thanks again @BoRRoZ! That looks like a very interesting module.
We are heading towards proprietary and cheap super low power solutions now. Bumps the regulatory/CE questions from that other thread up the priorities a bit… adds to the end of a very long list!


#227

I forgot to mention this one, uses the same processor.


The Arduino MKR WAN 1300


#228

I went to the shopping mall to buy some glue… and came back with a pir home alarmsystem with 2 remote controls for 8 euro :yum:

is there room for an arduino+rn2483 ??? … lets take it apart

there’s not alot of room inside, but he the thing works for the price of an empty enclosure.
interesting is that it uses the same chip BS00001 as all the other china PIR’s
If you take out the electronics there is room for your own pir loralarm … thing is not waterproof
maybe a TINY LoRa inside so you can still make use of the remotes leaving the original pcb ?


#229

Lol, what’s inside? I wonder… Didn’t we al start “fixing” tv’s or radios like that?


#230

3v3 ‘power’ unit with LIR 2450 - its also very easy to make your own charger for this type of LI-ION battery.
when charged connect it to this dc/dc converter which gives you a constant 3v3 output for your mini node :sunglasses:


#231

when I remember correctly, that one has no undervoltage protection …


#232

true … now I think about it, there’s a problem because I wanted to read the operating voltage internally but that’s stupid , its always 3v3 :rofl: because of the dc/dc board.

my idea was to free a pin, like mentioned in the 85 topic, and use that for a PIR so I can switch the use case : PIR or TEMP

have to think a bit now because you may drain these coin cells to ca 3v, drain more and you damage them.
so we have no pins left …how to detect ?


#233

and why not using the attiny167 board?
some more pins but not much larger?
removing the 3V3 regulator and the pwr led it shout not draw much current.


#234

yes sure… I can build it with any processor or RF module, but I was inspired by the ATtiny85 topic and I looked and found everything in my workplace that I thought I need to ’ quickly ’ build a small node… :wink:

btw the board you mentioned needs a levelshifter with the rfm95

this one has a 2.75V cutoff but maybe you can tweak that a bit by changing a resistor

  • update small lithium protection boards arrived… have to test the cut off voltage first


#235

I had this one in mind


#236

yes that’s the same idea, but be carefull, these little protection boards are specific designed for 18650 batteries and they have different characteristics then that LIR2450

I tested a few in the past … if they say 'cutoff voltage = 2.75v ’ don’t believe them … test it first and don’t be amazed when the protection kicks in @ 2.35v ’ :sunglasses: … or never


#237

finally … The REAL DEAL ! thank you


(Remko) #238

Good to see that stuff finally starts arriving. Enjoy it :tada: