The Raspberry Pi Thread [5]


  1. Posts : 5,707
    insider build 10586.3 win10 pro 64
       #1411

    yeah, likely who they got them for i guess
    alphanumeric said:
    Some of those that want two player (at the same time) on a Picade will likely buy one.
      My Computer


  2. Posts : 5,707
    insider build 10586.3 win10 pro 64
       #1412

    Pimoroni announced a new product today,,, not one I'll be getting . Grow – Pimoroni ,,,
    Last edited by caperjack; 18 Sep 2020 at 18:51.
      My Computer


  3. Posts : 15,037
    Windows 10 IoT
    Thread Starter
       #1413

    Just redid my modified enviro+ code that I run on my Breakout Garden. I was using the 160x80 LCD and wanted to now use the 240x240. My two 160x80's now have headers soldered on and are plugged into the solderless breadboard on my bread board rig. That rig takes up a lot of space to just to display my pressure graph on. Now I can keep track on my headless breakout garden Pi, and on a slightly bigger display. With these storms on the way I want a quick way to see if the pressure is dropping, and how fast. I graph 2 hours across the screen.
    Last edited by alphanumeric; 19 Sep 2020 at 11:12.
      My Computer


  4. Posts : 5,707
    insider build 10586.3 win10 pro 64
       #1414

    That sounds like an interesting setup .enjoy the storms ..
      My Computer


  5. Posts : 15,037
    Windows 10 IoT
    Thread Starter
       #1415

    If you go here, Enviro for Raspberry Pi - Monitor your world! – Pimoroni
    You will see the Temperature graph on the display in the product picture. The Enviro code lets you cycle through and watch any "one" of temp, humidity, or pressure.
    With a little editing that code will run on a breakout garden equivalent of a BME280 and that 160x80 display. That's the display you ordered for me. I have two now and with a third I can display all thee at the same time. Each graph on its own display.
    I have temp and humidity working now, just have to add in pressure.
    I got bored so I modified my single display code to show pressure on the 240x240 display I had just sitting there doing nothing. Now that my two 160x80's have headers soldered on I can no longer plug them into the breakout garden.
    The original Enviro+ code samples really fast, once a second or more. Not what I wanted for my pressure graph. Mine samples and plots once every 60 seconds. Barometric Pressure changes very slowly over time so I made mine show a wider time frame .
      My Computer


  6. Posts : 5,707
    insider build 10586.3 win10 pro 64
       #1416

    yeah,cool stuff for sure ,I see all that stuff ,I windows shop a lot on Pimoroni ,with envy! something I have to stop doing ,I always got thing in my cart ,and then delete them, but sometimes I hit the buy button ,LoL , my plan now is all my stuff is for winter projects ,LOL
    alphanumeric said:
    If you go here, Enviro for Raspberry Pi - Monitor your world! – PimoroniYou will see the Temperature graph
    on the display in the product picture. The Enviro code lets you cycle through and watch any "one" of temp, humidity, or pressure.
      My Computer


  7. Posts : 15,037
    Windows 10 IoT
    Thread Starter
       #1417

    I almost always have stuff in my cart. The Breakout Garden is just for testing if something will do what I want. No having to solder on a header to test it, if its breakout garden compatible of course. The mini SPI i2c was only 15 bucks. I'm going to get a second mini i2c only at some point, that will get me five i2c sockets and the one SPI. If the SPI were side by side instead of one behind the other on the Hat I would have gotten that instead of the mini.
      My Computer


  8. Posts : 15,037
    Windows 10 IoT
    Thread Starter
       #1418

    One step forward, sort of kind of?
    I've been playing around with my Barometric Pressure LCD graph display. One thing I wanted was a way to turn the display backlight off. So I can leave it running plotting data but be nice and dark at night when I'm asleep. Not lighting up the room its in etc.
    Annoyingly Pimoroni codes it something like this.
    Code:
    disp = ST7789.ST7789(
        port=0,
        cs=ST7789.BG_SPI_CS_FRONT,  # BG_SPI_CSB_BACK or BG_SPI_CS_FRONT
        dc=9,
        backlight=18, # 18 for back BG slot, 19 for front BG slot
        rotation=90,
        spi_speed_hz=80 * 1000 * 1000
    I had the cs= correct but the backlight= wrong, it should have been 19 not 18. The display still lights up though, but disp.set_backlight(0) doesn't work? Wrong pin is pulled low.
    Once I fixed that the display turned off, half way there, lol. That's fine while the Pi is running the code. It will do some of what I wanted. If you also code in a shutdown though, that pin goes back to a floating state when the Pi shuts down and the display lights back up. Not the end of the world but another one of those gotchas just when you thought you had it beat.
    It just means I have to unplug the power supply if and when I do a full shutdown. I may just wire in a switch that pulls the pin low and do it via hardware instead of software. The display won't know the difference.
      My Computer


  9. Posts : 5,707
    insider build 10586.3 win10 pro 64
       #1419

    I do that so much my Ball Cap doesn't fit any more ,falls down over my eyes lol. You will figure it out ,I know you wont stop till you do !
      My Computer


  10. Posts : 15,037
    Windows 10 IoT
    Thread Starter
       #1420

    I will hardly ever shut down the finale build so what I have now is usable. A switch wired to the backlight pin to ground it will work regardless of whether Raspbian is running or not so I'll probably go that route.
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 18:03.
Find Us




Windows 10 Forums