The Raspberry Pi Thread [4]


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

    I have Raspbian desktop installed on a really old heavy laptop ,I must did it out again and play with it some .... My Astro Pi candle doesn't flicker as much as the one in space

    alphanumeric said:
    I'm running the desktop version of Raspbian on my spare desktop PC. It's not bad speed wise. Haven't done a whole lot with it to be honest though. A little web browsing etc. It's handy for working with the SD cards out of your Pi, it can see both partitions. I'd imagine the Pi 4 is in the works, Pi Foundation are mum about it as usual though. I was hoping the 3A would have been released by now.
      My Computer


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

    my sense hat shows the Birthday candle upside down?..In the python file it has set rotation (270 ) I changed it to 90. Also i just had to change the date[down the bottom of the file ] in the file to a later year year, [just found the info to do that when looking for some other info on the file ] to get it to continue working,and i changed the message to Happy 2nd birthday RYE ..my grandson is 2 in April , I'll make sure he has a dry moth when i get him to blow on it ,lol
      My Computer


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

    caperjack said:
    my sense hat shows the Birthday candle upside down?..In the python file it has set rotation (270 ) I changed it to 90. Also i just had to change the date[down the bottom of the file ] in the file to a later year year, [just found the info to do that when looking for some other info on the file ] to get it to continue working,and i changed the message to Happy 2nd birthday RYE ..my grandson is 2 in April , I'll make sure he has a dry moth when i get him to blow on it ,lol
    I had my weather clock file flip the sense hat 180, so the GPIO is down on the bottom when its standing up. That's not the normal orientation. I did that so that hot air gets out easier. That was the plan anyway. If you've only been running my THP.py file for a while you likely got used to the sense hat being upside down and thinking that's its normal setup. That's my guess anyway. I'll have a go at the candle latter on today. I have a spare SD card for that. I'll have to take the diffuser off of my spare sense hat.

    My birthday is on the 23rd of this month. Been playing with my Micro Bit getting it to display a cake with 2 candles on the led matrix. It's only 5 x 5 so not a whole lot of pixels to work with. I played with the brightness levels to highlight the flams on the candles. It also plays happy birthday through the piezo speaker, lol. Can't blow the candles out though. Not with my breath anyway, button press maybe. I was bored.
    I was running a virtual pet on it for a while, some of the younger grand kids get a kick out of it. If you lay the Micro Bit down it goes to sleep. Ignore it long enough and it cry's. Big smiley face when its happy. etc. Some sounds out of the speaker when it cry's. Not my code though, I just copied what was already out there.
      My Computer


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

    sounds right ,I have in on the Hack3 board using the ribbon cable .
    That all i use it what examples are out there ,thats why i like Pimoroni hats,I bought another touch hat from adafruit ,but i can find any for it yet ,Adafruit says they are working on some examples,but that was written almost 2 yrs ago according to a post on there forums ..even having issues with installing the hat,my knowledge of Linux being an issue ,bought it in October Adafruit Capacitive Touch HAT for Raspberry Pi - Mini Kit [MPR121] ID: 2340 - $14.95 : Adafruit Industries, Unique fun DIY electronics and kits.

    alphanumeric said:
    If you've only been running my THP.py file for a while you likely got used to the sense hat being upside down and thinking that's its normal setup. That's my guess anyway. .
      My Computer


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

    Adafruit always seems to be way behind Pi wise. They are Arduino orientated. A lot of their breakout boards have Arduino code posted but no Python etc stuff. All they say is "easily ported to a raspberry Pi" but don't say how? I really like their stuff, they have some stuff I can't get anywhere else. It's just sometimes painful to get it up and running with a Pi. Their loss, if I can get something similar I know will work someplace else, like Pimoroni, I will.

    I also use a lot of examples for code. Mostly to get me started with something working. Then I modify it to my tastes. It was a lot of trial and error at first. Not so much now. I'm over a lot of the common mistakes.
      My Computer


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

    It looks like your supposed to do this, https://learn.adafruit.com/mpr121-ca...black/software I can see why you might have problems.
    They need to follow Pimoroni and introduce a one line installer.
      My Computer


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

    Hmm, looks like my Powerboost battery charging issue is the power pack I was using? I plugged it into my spare 3B and I'm getting the yellow lightning bolt under volt flashing on screen. It's 5.2 V 2 A. I've had it for a long time, probably one of the first ones I bought. Swapped it out for another power pack with the same 2A rating and no warning. All that's plugged into the 3B is a monitor and keyboard. Was just doing up a fresh stretch install for it. So that's why that battery took forever to charge. That Pi runs headless and the power pack was plugged into the powerboost anyway. I wouldn't ever see the warning as the Pi was running off of the power boost. I think I'll just cut the cord off it and recycle it. Can't really trust it now.
      My Computer


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

    Just set the candle up on my sense hat. I set the rotation to 180 and its right side up for me. Didn't have to take my diffuser off either. I just blow where the joystick hole is and it works. Flickers the right way too. Also changed the date and message, then set it to auto run via crontab. I'll just swap SD cards on the 23rd. That py file will be a keeper. =)
      My Computer


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

    Tried to roll in my button press shut down code but couldn't get it to work? I might have put it in the wrong location, not sure. There is a lot happing in that birthday.py file that I'm unsure about. Plus I don't want to break it so I'll just unplug that Pi to swap its original SD card back in. I run it headless. Nifty bit of coding going on in there, I must say.
      My Computer


  10. Posts : 5,707
    insider build 10586.3 win10 pro 64
       #340

    yeah i found that and just need to wait till i have more time ,, my wife's mother is dying so my daughter and grandson are home,so sad times ,she's in a special bed in the living room for when VON comes ,bed wouldn't fit down the hall to her room ,
    alphanumeric said:
    It looks like your supposed to do this, https://learn.adafruit.com/mpr121-ca...black/software I can see why you might have problems.
    They need to follow Pimoroni and introduce a one line installer.
      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 19:33.
Find Us




Windows 10 Forums