Use case: BB8 & node-red

223 views
Skip to first unread message

Johnny Baillargeaux

unread,
May 16, 2016, 5:12:41 PM5/16/16
to Node-RED
Hi,

I am a big fan of my Sphero BB8 and wanted to interact with him using node-red. He is connected via Bluetooth on my rasp pi where node-red is also installed.
Using the sphero node as well as several other nodes such as repeat or salesforce or the famous node red UI, I have been able to put in place various use cases :

UI: I can press buttons to control my BB8 (sorry in french...):



Salesforce monitoring: Each time an error is raised in my salesforce web site, by BB8 blinks and turns his head in the left and then right. :

Voice recognition: I created a small client written in node.js that capture and understand what I am saying (speech to text) using the microsoft oxford API and the output is submitted to node-red. I can then say things like "stop", "move forward", etc... and almost immediately my bb8 obeys...

This is just a start and I would like your opinion on how I can add more scenarios. Any ideas of awesome use cases?

Thanks!


M.R. Smith

unread,
Mar 20, 2017, 10:30:25 PM3/20/17
to Node-RED
I am setting up demonstrations next month with BB8 and node-red flows. Have  you posted your flows so that others can see how you accomplished your demonstration in node-red?

Tx, Mark

Johnny Bx

unread,
Mar 23, 2017, 1:33:31 PM3/23/17
to node...@googlegroups.com
Hi,

Well, I have indeed created some nodes for my BB8. First of all, I have now decided to use BB8-commander (https://github.com/mintuz/BB8-Commander) instead of the sphero node for node-red. BB8-commander is more powerful and exposes all interactions provided by the device. You can start an express server and post the requests via node-red.
I have also created a morse plugin for BB8-commander that mean, I can submit a text message which are translated in a sequence of blinks. 
Next step would be to create nodes to mimic some of the behaviors from the iOS app but it's still on my todo list. I would like these nodes because I created a node.js script that analyse my emotion in real time using microsoft emotion api (https://www.microsoft.com/cognitive-services/en-us/Emotion-api/documentation) and ideally, I would like my BB8 to react based on my emotions....a bit like in the movie....
Not sure which level of details you need because these nodes are embedded into other nodes but I can try to give you more info if you need.

Regards,
Johnny -

--
http://nodered.org
 
Join us on Slack to continue the conversation: http://nodered.org/slack
---
You received this message because you are subscribed to a topic in the Google Groups "Node-RED" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/node-red/L45-rNDLlZI/unsubscribe.
To unsubscribe from this group and all its topics, send an email to node-red+unsubscribe@googlegroups.com.
To post to this group, send email to node...@googlegroups.com.
Visit this group at https://groups.google.com/group/node-red.
To view this discussion on the web, visit https://groups.google.com/d/msgid/node-red/7e7099da-6412-43f7-8824-edeef07c9c8f%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

Csongor Varga

unread,
Mar 23, 2017, 1:42:37 PM3/23/17
to Node-RED
I integrated Google Now (voice recognition on pre-Pixel android phones) with node-red. That could be useful as well.
Reply all
Reply to author
Forward
0 new messages