# CH2I ULP node library open source!

**URL:** <https://www.thethingsnetwork.org/forum/t/ch2i-ulp-node-library-open-source/28016>\
**Category:** LMIC\
**Created:** [July 12, 2019, 9:07am UTC](https://www.thethingsnetwork.org/forum/t/ch2i-ulp-node-library-open-source/28016 "2019-07-12T09:07:01Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![BoRRoZ](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/borroz/32/44234_2.png) [@BoRRoZ](https://www.thethingsnetwork.org/forum/u/BoRRoZ)\
**Post date:** [July 12, 2019, 9:07am UTC](https://www.thethingsnetwork.org/forum/t/ch2i-ulp-node-library-open-source/28016/1 "2019-07-12T09:07:01Z")

</div>

![17%20AM](https://www.thethingsnetwork.org/forum/uploads/default/original/3X/c/6/c651edd8b04274e48da19787bfacf56b2064e514.jpeg)

@Charles , CH2I , has decided that he will **open source** his **[ULP node](https://hallard.me/ulpnode-low-power-secret/)** library and that is very good news for all of us ultra low power users !!

![IMG_6084](https://www.thethingsnetwork.org/forum/uploads/default/original/3X/2/b/2b15ad6d258fdc39a1b5fe69ce8a3c226f994f4f.jpeg)

Because his library is only used for his customers until now and closed source , its not completely ready to present to the general public.

’ _And at least, but not least, since I’m not going to works on more (just maintenance) I will open source ULPNode library and some demo sketch, including this one._

_The library is very powerfull and can manage variety of sensors, LowPower and some feature such as removing power from sensors/RF modules if hardware is designed for. It could also manage TPL5110 and wake from switch interrupt._  
_But the drawback is that even if the code is completely commented, with so much features and so much boards involved, rich technical skills are needed butI can’t release it without any documentation nor code._

_**So if someone want to test it, use it, investigate and (help) write documentation (even a beautiful readme.md) I can create some private repo to my github and give you access before release to public.**_

_Anyway, **I would offer only to people that would invest time and that have proove their contribution to the community** (here or elsewhere, hardware or software). It can be several people of course, no matter. More than that people using my boards would be appreciated because they would be able to test and provide once finished, code and board totally open sourced.and working._  
_During test and documentation, of course I will be available to help and answer question._

- If you want to test and help writing documentation / demo sketches ect and are involved in this community please post here that you are interested,  
Charles will select a few users who will get access to the source code through github.

**thank you Charles !**

- [https://ch2i.eu/](https://ch2i.eu/)
- [https://twitter.com/ch\_2i](https://twitter.com/ch_2i)
- [https://github.com/ch2i](https://github.com/ch2i)
- [https://hallard.me/ulpnode-low-power-secret/](https://hallard.me/ulpnode-low-power-secret/)

---

<div class="post-metadata">

**Author:** ![BoRRoZ](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/borroz/32/44234_2.png) [@BoRRoZ](https://www.thethingsnetwork.org/forum/u/BoRRoZ)\
**Post date:** [July 12, 2019, 9:08am UTC](https://www.thethingsnetwork.org/forum/t/ch2i-ulp-node-library-open-source/28016/2 "2019-07-12T09:08:48Z")

</div>

list TTN’ers onboard _(will be edited)_

@BoRRoZ  
@pe1mew  
@jenertsA  
@Caspar  
@Verkehrsrot  
@Vaelid  
@Wijnand  
@cristianhumelnicu

---

<div class="post-metadata">

**Author:** ![jenertsA](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/jenertsa/32/37682_2.png) [@jenertsA](https://www.thethingsnetwork.org/forum/u/jenertsA)\
**Post date:** [July 12, 2019, 12:23pm UTC](https://www.thethingsnetwork.org/forum/t/ch2i-ulp-node-library-open-source/28016/3 "2019-07-12T12:23:44Z")

</div>

would be interested to document HW and can help on code doc as well. If possible sign me up as well.

---

<div class="post-metadata">

**Author:** ![Basse](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/basse/32/35697_2.png) [@Basse](https://www.thethingsnetwork.org/forum/u/Basse)\
**Post date:** [July 12, 2019, 12:39pm UTC](https://www.thethingsnetwork.org/forum/t/ch2i-ulp-node-library-open-source/28016/4 "2019-07-12T12:39:24Z")

</div>

I’m interested as well!

---

<div class="post-metadata">

**Author:** ![Caspar](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/caspar/32/46719_2.png) [@Caspar](https://www.thethingsnetwork.org/forum/u/Caspar)\
**Post date:** [July 12, 2019, 1:55pm UTC](https://www.thethingsnetwork.org/forum/t/ch2i-ulp-node-library-open-source/28016/5 "2019-07-12T13:55:17Z")

</div>

I would be interested in helping with the documentation of the ULPNodeLibrary - got the Mini-LoRa board from you on my desk atm, waiting for the smd electronics…

![ulp_node001](https://www.thethingsnetwork.org/forum/uploads/default/original/3X/d/e/de905e65d88beed9b19f53d44db33270b2ac20d6.jpeg)

---

<div class="post-metadata">

**Author:** ![Charles](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/charles/32/45146_2.png) [@Charles](https://www.thethingsnetwork.org/forum/u/Charles)\
**Post date:** [July 12, 2019, 4:03pm UTC](https://www.thethingsnetwork.org/forum/t/ch2i-ulp-node-library-open-source/28016/6 "2019-07-12T16:03:08Z")

</div>

Hi there,

Thanks to @BoRRoZ creating the topic and to all interested people.

I just published starting sketch I’m always using to flash OTAA config into node, like that no need to change values or put them in sketch,

This is the first starting point, once I give you access to the repo, read the readme file you will understand how things are going.

Rest to come (need some clean up before), but you can start reading this one

PM me on the forum with your github account so I can open access

---

<div class="post-metadata">

**Author:** ![Jeff-UK](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/jeff-uk/32/35697_2.png) [@Jeff-UK](https://www.thethingsnetwork.org/forum/u/Jeff-UK)\
**Post date:** [July 12, 2019, 5:10pm UTC](https://www.thethingsnetwork.org/forum/t/ch2i-ulp-node-library-open-source/28016/7 "2019-07-12T17:10:39Z")

</div>

@Charles 👍 Great move Charles, thanks from the community …and a particular ‘non-softie’, who needs all the help he can get! 😉

---

<div class="post-metadata">

**Author:** ![BoRRoZ](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/borroz/32/44234_2.png) [@BoRRoZ](https://www.thethingsnetwork.org/forum/u/BoRRoZ)\
**Post date:** [July 13, 2019, 8:23am UTC](https://www.thethingsnetwork.org/forum/t/ch2i-ulp-node-library-open-source/28016/8 "2019-07-13T08:23:45Z")

</div>

just a few names who could be interested too 🕶 _(I know there are a lot more experienced TTN’ers)_ who want to test and help out to make this a TTN community project.

@Amedee  
@IoT_Marco  
@bluejedi  
@Verkehrsrot  
@UdLoRa  
@kersing  
@LoRaTracker  
@lex_ph2lb  
@jmarcelino  
@mfalkvidd

![58%20AM](https://www.thethingsnetwork.org/forum/uploads/default/original/3X/4/4/44c02c251a35307a0a63904d02e74b1eb5b6e68f.jpeg)  
🙄🤔

---

<div class="post-metadata">

**Author:** ![BoRRoZ](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/borroz/32/44234_2.png) [@BoRRoZ](https://www.thethingsnetwork.org/forum/u/BoRRoZ)\
**Post date:** [July 13, 2019, 8:24am UTC](https://www.thethingsnetwork.org/forum/t/ch2i-ulp-node-library-open-source/28016/9 "2019-07-13T08:24:11Z")

</div>

_continue_

@Disk91  
@Vinduino  
@paulb  
@Arjan  
@cultsdotelecomatgmai  
@JBraam  
@Wijnand  
@terrillmoore  
@adrewetx  
@jpmeijers

---

<div class="post-metadata">

**Author:** ![IoT\_Marco](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/iot_marco/32/45432_2.png) [@IoT\_Marco](https://www.thethingsnetwork.org/forum/u/IoT_Marco)\
**Post date:** [July 13, 2019, 9:06am UTC](https://www.thethingsnetwork.org/forum/t/ch2i-ulp-node-library-open-source/28016/10 "2019-07-13T09:06:11Z")

</div>

Thanks for all the work you did!

---

<div class="post-metadata">

**Author:** ![Verkehrsrot](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/verkehrsrot/32/46588_2.png) [@Verkehrsrot](https://www.thethingsnetwork.org/forum/u/Verkehrsrot)\
**Post date:** [July 13, 2019, 9:18am UTC](https://www.thethingsnetwork.org/forum/t/ch2i-ulp-node-library-open-source/28016/11 "2019-07-13T09:18:28Z")

</div>

Yes, i would be interested to take a closer look!  
@Charles great move! Thanks!

---

<div class="post-metadata">

**Author:** ![kersing](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/kersing/32/44777_2.png) [@kersing](https://www.thethingsnetwork.org/forum/u/kersing)\
**Post date:** [July 13, 2019, 9:24am UTC](https://www.thethingsnetwork.org/forum/t/ch2i-ulp-node-library-open-source/28016/12 "2019-07-13T09:24:32Z")

</div>

I am interested, however I have too much going on already so I decided not to get involved for now.

---

<div class="post-metadata">

**Author:** ![Amedee](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/amedee/32/39610_2.png) [@Amedee](https://www.thethingsnetwork.org/forum/u/Amedee)\
**Post date:** [July 13, 2019, 10:12am UTC](https://www.thethingsnetwork.org/forum/t/ch2i-ulp-node-library-open-source/28016/13 "2019-07-13T10:12:29Z")

</div>

> [@Caspar](#):
>
> got the Mini-LoRa board from you on my desk atm, waiting for the smd electronics

Looks like you made the little MOSFET breakout as well 😉

---

<div class="post-metadata">

**Author:** ![cultsdotelecomatgmai](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/cultsdotelecomatgmai/32/35697_2.png) [@cultsdotelecomatgmai](https://www.thethingsnetwork.org/forum/u/cultsdotelecomatgmai)\
**Post date:** [July 13, 2019, 10:14am UTC](https://www.thethingsnetwork.org/forum/t/ch2i-ulp-node-library-open-source/28016/14 "2019-07-13T10:14:24Z")

</div>

Hi @BoRRoZ and @Charles, I’m too busy to get involved in immersive software development but I’m very happy to buy a bunch of prototype devices with zero warranty and get them onto TTN coverage long-term with any useful info such as battery voltage going back to the developers. Also happy to just send them back to the developers once testing is done.

---

<div class="post-metadata">

**Author:** ![BoRRoZ](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/borroz/32/44234_2.png) [@BoRRoZ](https://www.thethingsnetwork.org/forum/u/BoRRoZ)\
**Post date:** [July 13, 2019, 10:17am UTC](https://www.thethingsnetwork.org/forum/t/ch2i-ulp-node-library-open-source/28016/15 "2019-07-13T10:17:02Z")

</div>

Hi Tim,

you don’t have to active developping… if you want to have a look at the source and test it, its fine too  
tnx for your offer… appriciated

---

<div class="post-metadata">

**Author:** ![BoRRoZ](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/borroz/32/44234_2.png) [@BoRRoZ](https://www.thethingsnetwork.org/forum/u/BoRRoZ)\
**Post date:** [July 13, 2019, 10:19am UTC](https://www.thethingsnetwork.org/forum/t/ch2i-ulp-node-library-open-source/28016/16 "2019-07-13T10:19:14Z")

</div>

that’s for switching the sensor power on/off ? to save extra battery juice …

are you 'onboard as tester Amedee ? IOT\_Marco ? (you should 😉 )

---

<div class="post-metadata">

**Author:** ![Caspar](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/caspar/32/46719_2.png) [@Caspar](https://www.thethingsnetwork.org/forum/u/Caspar)\
**Post date:** [July 13, 2019, 10:25am UTC](https://www.thethingsnetwork.org/forum/t/ch2i-ulp-node-library-open-source/28016/17 "2019-07-13T10:25:38Z")

</div>

@Amedee yeah i did and some spare ones too for older nodes 😉 But had not the time to test them for now…

---

<div class="post-metadata">

**Author:** ![Amedee](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/amedee/32/39610_2.png) [@Amedee](https://www.thethingsnetwork.org/forum/u/Amedee)\
**Post date:** [July 13, 2019, 10:27am UTC](https://www.thethingsnetwork.org/forum/t/ch2i-ulp-node-library-open-source/28016/18 "2019-07-13T10:27:22Z")

</div>

> [@BoRRoZ](#):
>
> that’s for switching the sensor power on/off ?

Yes, that’s what I am using for the MaxBotix sensor which are not ULP…

> [@BoRRoZ](#):
>
> are you 'onboard as tester Amedee?

I pass, I have my own fully functional library and not enough time to work on my own projects 😉

---

<div class="post-metadata">

**Author:** ![Vaelid](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/vaelid/32/36194_2.png) [@Vaelid](https://www.thethingsnetwork.org/forum/u/Vaelid)\
**Post date:** [July 13, 2019, 10:57am UTC](https://www.thethingsnetwork.org/forum/t/ch2i-ulp-node-library-open-source/28016/19 "2019-07-13T10:57:19Z")

</div>

Hi Charles,

I am Interested in working on documentation of your great boards and designs, for the community. I am a charted engineer with many years’ experience in electronics and software and have built a number of your boards, the latest using the SX1262 stamp replacements for RFM95 using your ULP mini node., and currently working on the software.

As I am now retired, I have the time for such projects and like to give back to the Lora community.

![image](https://www.thethingsnetwork.org/forum/uploads/default/original/3X/7/2/72558cdc2e96131694aee43ed790aa41790cfc44.jpeg)

---

<div class="post-metadata">

**Author:** ![Wijnand](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/wijnand/32/39170_2.png) [@Wijnand](https://www.thethingsnetwork.org/forum/u/Wijnand)\
**Post date:** [July 13, 2019, 11:18am UTC](https://www.thethingsnetwork.org/forum/t/ch2i-ulp-node-library-open-source/28016/20 "2019-07-13T11:18:33Z")

</div>

Hello @Charles and @BoRRoZ,  
I like this concept very much (and have my own implementation with the TPL5111 working, see: [IoT LoRa Sandwiches](http://alf4all.demon.nl/engineering/topics/digital_system_design/targets/Arduino-Pro-Mini_RFM95/index.htm)), but… still interested to look and test Charles implementation. I am retired as @Vaelid but have to make time (with help of Albert Einstein?) because a lot of projects (grandchildren) have more priority. 😇

[Next page](https://www.thethingsnetwork.org/forum/t/ch2i-ulp-node-library-open-source/28016.md?page=2)
