Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: Displaying my PM post count and XP on an LCD with RPi::WiringPi

by jmlynesjr (Hermit)
on Aug 25, 2016 at 19:54 UTC ( #1170483=note: print w/replies, xml ) Need Help??


in reply to Displaying my PM post count and XP on an LCD with RPi::WiringPi

stevieb

Nice work!

Check RPi::WiringPi::LCD init(%args) section. The comments eg: 16 or 20 and eg: 2 or 4 are flipped.

And yes, I'm a picky proof reader...

James

There's never enough time to do it right, but always enough time to do it over...

  • Comment on Re: Displaying my PM post count and XP on an LCD with RPi::WiringPi

Replies are listed 'Best First'.
Re^2: Displaying my PM post count and XP on an LCD with RPi::WiringPi
by stevieb (Abbot) on Aug 25, 2016 at 20:44 UTC

    Thanks! :)

    There are a few issues in the docs that I missed before release, but I've been cleaning them up today. That's one I've missed again.

    There are certainly some issues remaining, particularly with interrupts. Although they work properly most of the time, in certain situations they fail and don't halt the main app, but do hinder it. I'll debug this over the next few days.

    Other than that, it seems to work quite well so far. I'm going to test it out on some more complex applications and see how it fares.

    If you get a chance to test it out, I'm all ears for feedback for certain. Very soon I'll want to discuss the points you brought up on the other thread, so I'll ping you via email when I've got the time.

      stevieb

      "Call" anytime...

      I see a lot of RPi/Python discussions in the amateur radio world, so, I like to see some Perl alternatives becoming available.

      James

      There's never enough time to do it right, but always enough time to do it over...

        Will do, likely over the weekend. I took a look at your home node; very interesting stuff!

        The next phase of this project will be tying a bunch of things together into one cohesive application that will (for my indoor grow room):

        • turn on/off a 120v exhaust fan when temperature goes above/below threshold (already done, RPi::DHT11::EnvControl)
        • turn on/off a 120v humidifier if humidity goes above/below threshold (already done (same module as above))
        • allow the temp/humidity limits to be modified (up/down) by pressing buttons
        • open/close servos on my automatic drip systems on a schedule (or when a soil moisture sensor says so) for automatic plant feeding (have the hardware, just need to interface the servos with the Pi)
        • display all of this information on the LCD (90% done)

        Then, after I've got all that done, I am going to pick up a few different sized TFT displays, and write a GUI to wrap all this stuff, so on my wall, I have touch screen access to make adjustments and view statuses, instead of the LCD. This'll take me some time, because I haven't done any GUI programming in quite some time.

        Thereafter, I'll buy/build a nice box for the whole shebang, put external connectors for the various sensors (instead of having them hard-wired), screw it to the wall outside of the grow area, and voila, I've created my very own complete indoor grow environment control centre :)

        The only thing that won't be controlled by this device (at least not yet), are my HID lamps.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1170483]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (7)
As of 2017-12-12 14:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What programming language do you hate the most?




















    Results (333 votes). Check out past polls.

    Notices?