• Skip to main content
  • Skip to primary sidebar

RNTLab.com

The Ultimate Shortcut to Learn Electronics and Programming with Open Source Hardware and Software

  • Courses
  • Forum
    • Forum
    • Ask Question
  • Shop
  • Account
  • Blog
  • Login

controlling LED

Q&A Forum › Category: Raspberry Pi › controlling LED
0 Vote Up Vote Down
marcus luetolf asked 1 year ago

following section 2.5 I set up the circuit and created the flow as indicated.
However, beneath the rpi-gpio-out node I get a box named “not available”.
If I click the inject nodes nothing happens.

5 Answers
0 Vote Up Vote Down
Sara Santos Staff answered 1 year ago

Hi.
Can you show me a printscreen of the issue?
To share a picture, upload it to google drive, or dropbox, or imgur, for example, and then share a link to the file.
Regards,
Sara

0 Vote Up Vote Down
marcus luetolf answered 1 year ago

I finally got it to work:
first after switching to english and reloading nodered and
second, more important, after setting GPIO as output and driving it low
raspi-gpio set 18 dl op
It would probably be worthwile to mention it in tutorials etc.
Thanks four your support, Marcus.

0 Vote Up Vote Down
Sara Santos Staff answered 1 year ago

Hi again.
I’m sorry for that issue, but there must be something weird with your setup your something.
I’ve just tested everything again, and on my Raspberry Pi that doesn’t happen. The flow works right away without 
 
Can you tell me where you got that answer from? So that I can understand in which situations that specific error occurs.
 
Regards,
Sara

0 Vote Up Vote Down
marcus luetolf answered 1 year ago

Hi Sara,
the first problem the rpi-gpio out node not available was solved by switching from german to english and
reloading nodered. Probably the reloading did it. But I prefer english anyway.
The solution depicted above I found out myself:
When the LED didn’t lit up and no voltage was measurable at GPIO 18 I checked the pin status

raspi-gpio get 18 

and found it was set to input. Changing it to output still didn’t work. So I draw it to low. Then it worked.
On page 89 of your book there is a box “initialise pin state ?” where you can set the pin status to low.
This might work also but I haven’t tested it.
Kind regards, Marcus.

0 Vote Up Vote Down
Sara Santos Staff answered 1 year ago

Thank you for the clarification.
Probably it was set to input from a previous project you tested on the board?
I’ll make a little more research about it.
Thank you.
Regards,
Sara

Primary Sidebar

Login to Ask or Answer Questions

This Forum is private and it’s only available for members enrolled in our Courses.

Login »

Latest Course Updates

  • [eBook Updated] Learn Raspberry Pi Pico/Pico W with MicroPython eBook – Version 1.2 May 26, 2025
  • [New Edition] Build ESP32-CAM Projects eBook – 2nd Edition April 16, 2025

You must be logged in to view this content.

Contact Support - Refunds - Privacy - Terms - MakerAdvisor.com - Member Login

Copyright © 2013-2025 · RandomNerdTutorials.com · All Rights Reserved

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.