Navigation

    • Register
    • Login
    • Search
    • OpenHardware.io
    • Categories
    • Recent
    • Tags
    • Popular
    1. Home
    2. maggie
    • Profile
    • Following
    • Followers
    • Topics
    • Posts
    • Best
    • Groups

    maggie

    @maggie

    0
    Reputation
    2
    Posts
    334
    Profile views
    0
    Followers
    0
    Following
    Joined Last Online

    maggie Follow

    Best posts made by maggie

    This user hasn't posted anything yet.

    Latest posts made by maggie

    • How can I implement this?

      Hello,

      I am doing a project which consists of having 9 cubes that form a puzzle. When a cube is positioned correctly it emits a green light, otherwise a red light. How can it be possible for a specific cube to know whether or not is in the right position?
      p.s I'm a beginner in Arduino.

      Thank you in advance!

      posted in Development
      maggie
      maggie
    • Separate msg.payload into Temperature,Humidity,Luminosity objects.

      Hi,
      I am trying to read sensor data from a telosb and I am using node-red to save the data but first I wanted to display it correctly. I have used a serial port listener node as an input and it shows the output in the debug pane like this (due tot he printf function in the coding):
      0_1493986639438_Capture.PNG
      I used msg.payload=temp.match(/[a-zA-Z]+|[0-9]+/g); to somehow separate them into ["Humidity","45"] and tried to create message topics to divide. msg.payload = {temp:temp.match(/\d+/)[0],hum:temp.match(/\d+/)[0],light:temp.match(/\d+/)[0]}; I shows this: 0_1493987052249_Capture.PNG Which I know is totally wrong. I cannot seem to figure out how to "tell" which value is for temperature, which for humidity since all it does is output it as a string and I want to save it into csv file or a database.
      I am a beginner in all this so please be patience 🙂

      posted in Troubleshooting
      maggie
      maggie