The Raspberry Pi Thread [6]


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

    Pull Up resistors are sometimes used to make the default state of a pin high. A high value insures that other signals can still pull it low to send data.
    The ones I added are 10K, 10000 ohms. They go from the 3.3V pin to the SDA and SCL pins on the PICO. There is just a trickle of current going through them with no signal at the pin so you see 3.3V, which is a logic Hi. Pull the pin low and that end becomes 0V. The resistor has the 3.3V across it and will draw some current. It's minimal though as its such a high resistance.

    Long story short, some of the RGB keypads have the wrong value resistor. 100000 maybe instead of 10000? Micro Python doesn't seem to care, but Circuit Python does.
      My Computer


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

    thanks ,I will just make sure I only use Micro Python ,if and when I ever get in the mood to tinker .
    alphanumeric said:
    Pull Up resistors are sometimes used to make the default state of a pin high. A high value insures that other signals can still pull it low to send data.
    The ones I added are 10K, 10000 ohms. They go from the 3.3V pin to the SDA and SCL pins on the PICO. There is just a trickle of current going through them with no signal at the pin so you see 3.3V, which is a logic Hi. Pull the pin low and that end becomes 0V. The resistor has the 3.3V across it and will draw some current. It's minimal though as its such a high resistance.

    Long story short, some of the RGB keypads have the wrong value resistor. 100000 maybe instead of 10000? Micro Python doesn't seem to care, but Circuit Python does.
      My Computer


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

    I can fix it if it is an issue. I've been hinting to Pimoroni that they maybe should be adding USB HID support to their Micro python image. Time will tell.
      My Computer


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

    Is this the issue that soldering on a resistor fixes ,seen it mentioned on the forums
      My Computer


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

    caperjack said:
    Is this the issue that soldering on a resistor fixes ,seen it mentioned on the forums
    I don't think so? I looked at mine and they all appear soldered OK. I "think" the pick and place machine, that puts the components on the board, put the wrong value resistor on. My fix was to solder two 10K axial lead resistors (old type with the wires on the ends) on. I just soldered them to the extra row of holes on each side of the PICO header. I put them on the bottom where you can't see them.
    I may get my magnifying glass out and have another look at the one I have with the issue, that I haven't done anything too yet. The SMT componenets on these boards are really tiny.
      My Computer


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

    got our 5yr old grandson with us for a week ,he's busy, non stop and a tad bit bossy , we had a bit of fun with a drone and his new bike , he's a know it all ,lol, cant tell him nuthing,for 5 he does know a lot,a lot more than i did at 5. hurry up Friday
    Last edited by caperjack; 26 Aug 2021 at 07:11.
      My Computer


  7. Posts : 5,707
    insider build 10586.3 win10 pro 64
       #407

    finally got around to doing the code fix for the drumhat ,changing the code you suggested, DRUM_FOLDER = "drums2"to DRUM_FOLDER = "drums.... the differnce in the sound was 100% better ,almost unbelievable,
      My Computer


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

    Been tinkering on and off. Nothing special just random stuff. I was hoping my Pimoroni order would arrive, would have been a quick turn around if it had. Should have it early next week though.

    Took me a while to figure out the Drum Hat Pad Mappings. You can mix and match them if you rename the files and put them in your own drums 3 folder.
    It goes 4, 3, 2, 1, 7, 6, 5, 8
    pad > drums 2 > drums

    4 > 000_base > clap
    3 > 001_cowbell > crash
    2 > 002_clash > hat
    1 > 003_whistle > hit
    7 > 004_rim > rim
    6 > 005_hat > smash
    5 > 006_snare > thud
    8 > 007_clap > ting

    There is a Piano Hat tweak too, to make it a Piano by default. I forget what instrument it starts out as in the Itty Bitty Beat Box, but for some reason its not a Piano?
    cd /home/pi/Pimoroni/pianohat/examples
    python simple-piano.py

    edit simple-piano.py and change
    patch_index = 0
    to
    patch_index = 1
    It will then default to piano sounds.
      My Computer


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

    didnt need to change Piano ,its started with piano.TY
      My Computer


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

    Things are back to normal [if there is a normal ] Rye is gone home after a week visit ,hes a busy boy for sure ,had some fun with a Drone I have , mostly chasing it to turn it over or get it out of a tree. same as this one ,only black. Amazon.ca
    Im going to [try] do some Pi stuff, get all Pi's running something and get some cameras running and didplaying outside activity .. thats the plan anyway ..might have to stash some Beer or Rum under my desk to keep me there
      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 10:55.
Find Us




Windows 10 Forums