# Node to link a string to pulse

**URL:** https://forum.xod.io/t/node-to-link-a-string-to-pulse/2856
**Category:** Uncategorized
**Created:** [November 18, 2019, 1:03am UTC](https://forum.xod.io/t/node-to-link-a-string-to-pulse/2856 "2019-11-18T01:03:37Z")
**Posts on this page:** 13
**Page:** 1

<div class="post-metadata">

### Author: ![claudetherrien53](https://avatars.discourse-cdn.com/v4/letter/c/f08c70/32.png) [@claudetherrien53](https://forum.xod.io/u/claudetherrien53)
#### Post date: [November 18, 2019, 1:03am UTC](https://forum.xod.io/t/node-to-link-a-string-to-pulse/2856/1 "2019-11-18T01:03:37Z")

</div>

I would like to make a bell wireless with button link with 433rf transmitter to buzzer timed node with 433rf receiver. I need a node to link 433 rf receiver with the pin SET of node buzzer-timed. This pin is a PULSE and the MSG pin of the node 433 receiver is a STRING  
 ![image](https://canada1.discourse-cdn.com/flex027/uploads/xod/original/2X/8/841d0126e0a0ebe2411a976a8159405bac9f40ae.png)

---

<div class="post-metadata">

### Author: ![wayland](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.xod.io/wayland/32/1590_2.png) [@wayland](https://forum.xod.io/u/wayland)
#### Post date: [November 19, 2019, 12:52pm UTC](https://forum.xod.io/t/node-to-link-a-string-to-pulse/2856/2 "2019-11-19T12:52:09Z")

</div>

Try the following:

 ![xod-buzzer-patch](https://canada1.discourse-cdn.com/flex027/uploads/xod/original/2X/9/984a8bdd069201c8c0668dbdd520b39968acdfcf.png)

When the string **1** is received a pulse will be sent to the **SET** input of the buzzer-timed node. The pulse-on-true node emits a pulse when false changes to true, so after sending the buzzer activation string **1** , you will need to send another string (anything other than **1** ) to reset the node to the false state.

---

<div class="post-metadata">

### Author: ![claudetherrien53](https://avatars.discourse-cdn.com/v4/letter/c/f08c70/32.png) [@claudetherrien53](https://forum.xod.io/u/claudetherrien53)
#### Post date: [November 19, 2019, 6:40pm UTC](https://forum.xod.io/t/node-to-link-a-string-to-pulse/2856/3 "2019-11-19T18:40:46Z")

</div>

I tried but didn’t work, may be the problem is the transmetter  
 ![image.png](https://canada1.discourse-cdn.com/flex027/uploads/xod/original/2X/6/6c624dc4a7f72b2e02f40d0f91b30d3d99d3fa8a.png)

---

<div class="post-metadata">

### Author: ![wayland](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.xod.io/wayland/32/1590_2.png) [@wayland](https://forum.xod.io/u/wayland)
#### Post date: [November 19, 2019, 10:05pm UTC](https://forum.xod.io/t/node-to-link-a-string-to-pulse/2856/4 "2019-11-19T22:05:46Z")

</div>

The problem here is that the **if-else** node is outputting 1.00 when true, because the **T** input is a number. Make the inputs to **if-else** strings by enclosing them in quotes:  
 ![xod-if-else-text-input](https://canada1.discourse-cdn.com/flex027/uploads/xod/original/2X/7/7350ac21ef76cfc370896315fd294649e5522f7d.png)

 ![xod-transmitter](https://canada1.discourse-cdn.com/flex027/uploads/xod/original/2X/d/d27c8c2fe048d0d3804d584c6a9bc4112f913e84.png)

---

<div class="post-metadata">

### Author: ![claudetherrien53](https://avatars.discourse-cdn.com/v4/letter/c/f08c70/32.png) [@claudetherrien53](https://forum.xod.io/u/claudetherrien53)
#### Post date: [November 20, 2019, 12:25am UTC](https://forum.xod.io/t/node-to-link-a-string-to-pulse/2856/5 "2019-11-20T00:25:42Z")

</div>

I put the quote but it doesn’t work. My button is pull up with resistor of 10K. When I push the button the watch node indicate True.  
When we link the node buzzer-timed with a Pulse the sound spend the time indicate on pin T, right?

Sorry to take you time.

---

<div class="post-metadata">

### Author: ![claudetherrien53](https://avatars.discourse-cdn.com/v4/letter/c/f08c70/32.png) [@claudetherrien53](https://forum.xod.io/u/claudetherrien53)
#### Post date: [November 20, 2019, 12:47am UTC](https://forum.xod.io/t/node-to-link-a-string-to-pulse/2856/6 "2019-11-20T00:47:19Z")

</div>

an other info, the node watch link with the exit of equal node read False either I push button or not

---

<div class="post-metadata">

### Author: ![wayland](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.xod.io/wayland/32/1590_2.png) [@wayland](https://forum.xod.io/u/wayland)
#### Post date: [November 21, 2019, 12:07am UTC](https://forum.xod.io/t/node-to-link-a-string-to-pulse/2856/7 "2019-11-21T00:07:13Z")

</div>

I’ve just tested this on my hardware and everything seems to be working. The transmitter patch I used is exactly the same as the one I pasted above. For the receiver I used pin D2 rather than D0 for the buzzer, so that serial was available for debugging. For the receiver you could run the following patch in debug mode to check that you are receiving the message “1” when the button is pressed on the transmitter:

 ![xod-receiver-buzzer-debug](https://canada1.discourse-cdn.com/flex027/uploads/xod/original/2X/8/81d84a08e7063b7831db3f20f1eaa902ff77a3a2.png)

The button node on the transmitter patch enables the internal pullup resistor on the digital pin (in this example D2), so you can simply connect one terminal of the switch to D2 and other terminal to ground (see: [https://www.arduino.cc/en/Tutorial/InputPullupSerial](https://www.arduino.cc/en/Tutorial/InputPullupSerial)).

---

<div class="post-metadata">

### Author: ![claudetherrien53](https://avatars.discourse-cdn.com/v4/letter/c/f08c70/32.png) [@claudetherrien53](https://forum.xod.io/u/claudetherrien53)
#### Post date: [November 21, 2019, 1:27am UTC](https://forum.xod.io/t/node-to-link-a-string-to-pulse/2856/8 "2019-11-21T01:27:53Z")

</div>

eureka,it works,THANK YOU SO MUCH  
You are a good person

thank you for the knowledge you gave me. I will explain to my grandson

I wish you the best

---

<div class="post-metadata">

### Author: ![thakursaajid](https://avatars.discourse-cdn.com/v4/letter/t/b782af/32.png) [@thakursaajid](https://forum.xod.io/u/thakursaajid)
#### Post date: [November 26, 2019, 10:22am UTC](https://forum.xod.io/t/node-to-link-a-string-to-pulse/2856/9 "2019-11-26T10:22:49Z")

</div>

Dear Sir,  
Really I simply understand you sketch of 433 RF.

Kindly help us for NRF24L01+ in programming node sketch.  
I search almost all google about **NRF24L01+** but not found any solid solutions. Always Arduino program not respont with NRF24L01+.

\*\*\*XOD program as NRF24L01+ Master & Salave “message: HELLO WORLD”

Kindly share something with us for **vast knowledge** & email.  
my email: [thakursaajid@yahoo.com](mailto:thakursaajid@yahoo.com)

---

<div class="post-metadata">

### Author: ![wayland](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.xod.io/wayland/32/1590_2.png) [@wayland](https://forum.xod.io/u/wayland)
#### Post date: [November 28, 2019, 2:03pm UTC](https://forum.xod.io/t/node-to-link-a-string-to-pulse/2856/10 "2019-11-28T14:03:22Z")

</div>

Hello,

I think it should be possible to create a XOD library for the NRF2401+ by wrapping the following Arduino library:

> **[nRF24/RF24](https://github.com/nRF24/RF24)**
>
> Optimized fork of nRF24L01 for Arduino & Raspberry Pi/Linux Devices - nRF24/RF24

If you have some C++ experience and want to give this a try, follow these instructions:  
[https://xod.io/docs/guide/wrapping-arduino-libraries/](https://xod.io/docs/guide/wrapping-arduino-libraries/)

Unfortunately I don’t have the hardware, so it would be difficult for me to create a XOD library. It might be worth requesting a node here:  
[https://forum.xod.io/c/i-want-a-node](https://forum.xod.io/c/i-want-a-node)

Sorry not to be of more help.

---

<div class="post-metadata">

### Author: ![thakursaajid](https://avatars.discourse-cdn.com/v4/letter/t/b782af/32.png) [@thakursaajid](https://forum.xod.io/u/thakursaajid)
#### Post date: [February 4, 2020, 10:32am UTC](https://forum.xod.io/t/node-to-link-a-string-to-pulse/2856/11 "2020-02-04T10:32:26Z")

</div>

Thanks Sir,  
Your reply is so helping me and my project  
Hole you will be support us with great knowledge and us an expert like you.  
See you soon.

Kindly share some about XOD + BlieTooth + Smart Phone controlling.

Best regards

---

<div class="post-metadata">

### Author: ![wayland](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.xod.io/wayland/32/1590_2.png) [@wayland](https://forum.xod.io/u/wayland)
#### Post date: [February 8, 2020, 7:40pm UTC](https://forum.xod.io/t/node-to-link-a-string-to-pulse/2856/12 "2020-02-08T19:40:14Z")

</div>

@gabbapeople’s smart garage project provides a great introduction to combining XOD, bluetooth and smart phone control:

> **[Smart Garage Model by Blynk and XOD](https://www.hackster.io/gabbapeople/smart-garage-model-by-blynk-and-xod-7f7645)**
>
> Making a smart garage model from the toy building using XOD and Blynk. By gabbapeople.

---

<div class="post-metadata">

### Author: ![thakursaajid](https://avatars.discourse-cdn.com/v4/letter/t/b782af/32.png) [@thakursaajid](https://forum.xod.io/u/thakursaajid)
#### Post date: [February 27, 2020, 3:23pm UTC](https://forum.xod.io/t/node-to-link-a-string-to-pulse/2856/13 "2020-02-27T15:23:45Z")

</div>

Thanks a lot sir,

This is specific for “Blynk”  
I tried by arduino UNO + HC-05 + MIT (mobile phone) with necessary changes but it’s not worked and shows error.

But ill try again, if there is still error I will call you for help.

Really I love XOD because I solve my many industrial projects by XOD.  
Like level sensor or pumps distribution, 4 duty one standby pumps and many

Best regards
