The WORKBENCH part 1

http://dangerousprototypes.com/blog/2016/09/04/app-note-battery-fuel-gauge-ic-lc709203f-for-1-cell-lithium-ion-li/

1 Like

x595

I was looking for parts in my junkbox and found this, not completely finished, single channel gateway.
Can I use the parts ? … No, to much work to get the parts in one piece of the proto board.

Then this morning I woke up with an idea, and I hope I get some feedback from fellow TTN’ers .
I realised (in my sleep ? :thinking:) that these parts also can be used for an :

  • TTN node with webinterface

Imagine that you can go to a webpage were you can create a real node by just filling in your Application ID , Integrations, PayloadFormats, OTAA / ABP, interval ect.
And imagine that you can switch on a tempsensor so that this node will transmit every minute a temp, or maybe a location or an air quality sensor.
You control these settings over the webinterface.

That would be handy for application development and also an easy way for international communities to work together.
You don’t have to buy or build a node to start with the TTN network, you just go online switch one on and it will be visible in your console.
You may use it for a certain time (rent A node ? :wink: ) then it will be switched of.

Nice Blynk / INA219 based DC Current/Voltage//Power measurement app + device:


3 Likes

x596
I am expecting my ReSpeaker 2-Mics Pi HAT today, so in preparation I am looking at the Pi zero (again), it was collecting dust lately.

I noticed that seeed studio has a new affordable 4-Mic array for RPI (backorder) , that will make voice input better.

and… ??

so I need an ‘alarm signal’ on a mobile when a pir LoRaWAN node detects movement.
I thought thats a nice way to learn IFTTT which is an TTN integration.

step 1 - create an account

IFTT-1

step 2 - install the IFTTT app from the playstore (absolutely crazy how much access they want)

IFTT-2

step 3 - final tweaking of the test pir node

IFTT-3

  • found a nice notification alarm sound mp3

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.

1 Like

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

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

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!

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

x597

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:

x598
bottom view :scream:

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

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

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!

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

The Arduino MKR WAN 1300

1 Like

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:

x599

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

x601

x602

x603

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 ?

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

1 Like

x605

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:

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

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 ?

x606