Tuesday, October 15, 2024

NEW GUIDE: DIY Turbo Button Controller #Hacks #AdafruitLearningSystem @Adafruit

the controller next to a gamepad tester. buttons are pressed along with the turbo button combo

In this project, you’ll use a Feather RP2040 USB Host to listen for a specific button combination from your attached gamepad to trigger “turbo mode” aka rapidly sending A button presses. Otherwise, the Feather acts as a passthrough for your controller, sending all of your gamepad inputs as pressed.

Read more at DIY Turbo Button Controller

Monday, October 14, 2024

Raspberry Pi Pico enhances a vintage Radio Shack microcomputer kit #RaspberryPi #RadioShack @AllAboutCircuit #ShackToberFest

Don Wilcher uses a Raspberry Pi Pico to build an adjustable clock with an LED display then integrate the clock with a vintage Radio Shack Science Fair Microcomputer Trainer programmed to function as a 7-bit binary counter.

Long before the Heathkit 6800 microcomputer learning system, the Arduino Uno, or the Basic Stamp, there was Radio Shack’s Science Fair Microcomputer Trainer kit. Introduced in 1985, this easy-to-program kit was intended to teach users how microcomputers worked.

In this project article, we’ll upgrade this vintage microcomputer by building and adding an adjustable Raspberry Pi Pico clock with an LED display. After assembling the hardware, we’ll program the trainer to operate as a 7-bit binary counter. Before any of that, though, let’s spend some time learning about the trainer’s features—and, in particular, about the TMS1100 microcontroller at its core.

Don adds a Raspberry Pi Pico programmed in MicroPython, making an adjustable digital clock.

Read the details in the post here.

On the heels of #SepTandy, Adafruit is celebrating #ShackToberFest, a celebration of all things Radio Shack and Tandy. Tag your social media posts #ShackToberFest!

 

Friday, October 11, 2024

Turn Your Pi into a Wi-Fi Router

PiMyLifeUp shares how to turn your Raspberry Pi into a Wi-Fi router using Pi-Fi.

PiFi is a distribution that makes setting up your Raspberry Pi as a speedy OpenWrt-based Wi-Fi router significantly easier. It is definitely a project you will want to consider using if you want a super portable travel router.

OpenWrt, for those who do not know, is an open-source operating system with a focus on network routing. It has become a popular choice for anyone wanting to set up their very own router. PiFi utilizes its own customized version with improvements to work better on the Raspberry Pi and be controllable through their app.

Read more.


3055 06Each Friday is PiDay here at Adafruit! Be sure to check out our posts, tutorials and new Raspberry Pi related products. Adafruit has the largest and best selection of Raspberry Pi accessories and all the code & tutorials to get you up and running in no time!

Haunted House Using a Raspberry Pi #piday #raspberrypi #ElectronicHalloween

With some sensors, servos and of course a Raspberry Pi, you can create some spooky effects. Hack into store bought props to induce the ultimate chills.

NetworkChuck set up a haunted house to scare his daughters. The power of the Pi lets you set the level of scares. He goes through 1,2,3….and 4!

This is my Raspberry Pi Haunted house. In this video, I’m going to show you how to program your Raspberry Pi in Python to scare EVERYONE for Halloween. For a solid basic scare, all you’ll need is a Raspberry Pi and some speakers. For more advanced users….you’re going to have some fun.

See more!


Learn all about PIR Motion Sensor to create your own motion triggered props like Erin St Blaine’s Fog Machine with Motion Sensor and Adafruit IO


Adafruit electronic halloween darkIt’s Saving time! Subscribers to the Newsletter get 15% off The Halloween Gift Guide with the Code HALLOWEEN15

Working on a project for Halloween this year? Share it with us in the comments below, the Adafruit forums, Facebook, Discord, Instagram or Twitter [aka X]– (tag your posts #ElectronicHalloween). You can also send us a blog tip!


3055 06Each Friday is PiDay here at Adafruit! Be sure to check out our posts, tutorials and new Raspberry Pi related products. Adafruit has the largest and best selection of Raspberry Pi accessories and all the code & tutorials to get you up and running in no time!

WALKPi Breadboard Version @Raspberry_Pi #PiDay #RaspberryPi

For most a walkman is a hopelessly dated piece of personal musical equipment, fit for the technological cemetery. But makers no gadget is without its use-value or inspirational power. The WALKPi takes its inspiration from the dearly departed Walkman, re-made DIY-style for makers Here’s more from via instructables:

Similar to a traditional walkman, WalkPi is an audio player setup that plays audio files stored on an SD card by pairing a Raspberry Pi Pico with the DFMini Player. It has an SSD1306 OLED screen, an interactive menu with various buttons for selecting tracks, volume controls, and additional functions.

…

The Raspberry Pi Pico, the project’s brain, is linked to the DF Mini Player, a compact, inexpensive MP3 module that has a simplified output directly to the speaker.

See project!

Raspberry Pi Face Recognition Treasure Box

Check out our Raspberry Pi Face Recognition Treasure Box learn guide in the adafruit learning system! Tony DiCola shared this video on Youtube!

Face recognition is an exciting field of computer vision with many possible applications to hardware and devices. Using embedded platforms like the Raspberry Pi and open source computer vision libraries like OpenCV, you can now add face recognition to your own maker projects! In this project I’ll show you how to build a treasure box which unlocks itself using face recognition running on a Raspberry Pi.

Check out the full guide!



Thursday, October 10, 2024

CircuitPython 9.2.0 Beta 1 Released!

From the GitHub release page:

This is CircuitPython 9.2.0-beta.1, a beta release for 9.2.0. It has known bugs that wil be fixed before the final release of 9.2.0.

WARNING for nRF52 boards only: If your board has an nRF52 UF2 bootloader whose version is before 0.6.1, you will not be able to load CircuitPython 8.2.0 and later, due to increased size of the firmware. See these instructions for updating your bootloader.

Highlights of this release

  • New busio.I2C.probe() and bitbangio.I2C.probe() methods to check for a single device address.
  • Use new ESP-IDF I2C driver.
  • ESP32-S3: implement sdioio.
  • Incompatible change: Change default hostname for all Espressif boards to the ESP-IDF default, which is espressif. Previous board-specific names were not applied consistently. Use wifi.radio.hostname to set a custom hostname.
  • Incompatible change: Use default hostname for mDNS. Fix mDNS collision mangling.

Notable changes in 9.2.0 from 9.1.x

  • Raspberry Pi RP2350 support.
  • Update to Espressif ESP-IDF V5.3.1, including new I2C driver.
  • Merge MicroPython updates from v1.22.2 and v1.23.
  • Espressif BLE improvements.
  • Add math.dist().
  • _eve updates.
  • New busio.I2C.probe() and bitbangio.I2C.probe() methods to check for a single device address.
  • ESP32-S3: implement sdioio.
  • Incompatible change: Change default hostname for all Espressif boards to the ESP-IDF default, which is espressif.
  • Incompatible change: Use default hostname for mDNS. Fix mDNS collision mangling.

Incompatibility warnings

  • Change default hostname for all Espressif boards to the ESP-IDF default, which is espressif. Previous board-specific names were not applied consistently. Use wifi.radio.hostname to set a custom hostname.
  • Use default hostname for mDNS. Fix mDNS collision mangling. DNS hostnames will be different.

Download from circuitpython.org

Firmware downloads are available from the downloads page on circuitpython.org. The site makes it easy to select the correct file and language for your board.

Installation

To install follow the instructions in the Welcome to CircuitPython! guide. To install the latest libraries, see this page in that guide.

Try the latest version of the Mu editor for creating and editing your CircuitPython programs and for easy access to the CircuitPython serial connection (the REPL).

Documentation

Documentation is available in readthedocs.io.

Port status

CircuitPython has a number of “ports” that are the core implementations for different microcontroller families. Stability varies on a per-port basis. As of this release, these ports are consider stable (but see Known Issues below):

  • atmel-samd: Microchip SAMD21, SAMx5x
  • cxd56: Sony Spresense
  • espressif: Espressif ESP32, ESP32-S2, ESP32-S3, ESP32-C2, ESP32-C3, ESP32-C6
  • nordic: Nordic nRF52840, nRF52833
  • raspberrypi: Raspberry Pi RP2040, RP2350
  • stm: ST STM32F4 chip family

These ports are considered alpha and will have bugs and missing functionality:

  • broadcom: Raspberry Pi boards such as RPi 4, RPi Zero 2W
  • espressif: ESP32-P4 (currently no USB support)
  • litex: fomu
  • mimxrt10xx: NXP i.MX RT10xxx
  • renode: hardware simulator
  • silabs: Silicon Labs MG24 family
  • stm: ST non-STM32F4 chip families

Changes since 9.2.0-beta.0

Fixes and enhancements

  • Incompatible change: Use default hostname for mDNS. Fix mDNS collision mangling. #9699. Thanks @tannewt.
  • Fix epaperdisplay to handle delays properly when two_byte_sequence_length=True. #9694. Thanks @sola85.
  • Fix crash when printing DeepSleepRequest exception, used internally by alarm. #9692. Thanks @jepler.
  • Fix internal check for connected BLE workflow, which was preventing deep sleep on some BLE boards. #9679. Thanks @dhalbert.
  • New busio.I2C.probe() and bitbangio.I2C.probe() methods to check for a single device address. #9671. Thanks @dhalbert.
  • Add slight delay in KeyMatrix scanning to allow time for signal setting. #9665. Thanks @SeanCline.
  • Update to tinyusb v0.17.0. #9664. Thanks @samblenny.
  • Fix MP3Decoder infinite loop when file ends in a partial frame. #9653. Thanks @eric321.

Port and board-specific changes

Broadcom

Espressif

  • Save space when copying default hostname. #9677. Thanks @RetiredWizard.
  • Fix BLE Characteristic deinit checking. #9676. Thanks @dhalbert.
  • Switch to using new ESP-IDF I2C driver. #9671. Thanks @tannewt and @dhalbert.
  • Incompatible change: Change default hostname for all Espressif boards to the ESP-IDF default, which is espressif. #9656. Thanks @RetiredWizard.
  • ESP32-S3: implement sdioio. #9641. Thanks @jacobcrigby and @RetiredWizard.
  • Remove ESP_CONSOLE_UART settings for ESP32-S3 666 display boards. #9583. Thanks @RetiredWizard.

i.MX

nordic

renode

RP2

  • Move RP2040 divider wrapper to RAM. #9698. Thanks @tannewt.
  • Fix os.uname() values for RP2350. #9683. Thanks @dhalbert.
  • Fix rotaryio on RP2350. #9682. Thanks @jepler.
  • Clear any pending interrupt flag in rp2pio. #9680. Thanks @jepler.

SAMx

SiLabs

Spresense

STM

Individual boards

  • Adafruit Feather RP2350: Add board.IO4 and board.IO7. #9668. Thanks @tannewt.
  • Datanoise PicoADK V2. #9696. Thanks @DatanoiseTV.
  • Makerfabs TFT7: Allow specifying CIRCUITPY_DISPLAY_WIDTH in settings.toml. #9654, #9634. Thanks @RetiredWizard.
  • Sunton ESP32 2432S028: Allow specifying CIRCUITPY_DISPLAY_ROTATION in settings.toml. #9654, #9627. Thanks @RetiredWizard.

Documentation changes

  • Fix floppyio documentation formatting. #9658. Thanks @jepler.
  • Correct memorymap.AddressRange example. #9639. Thanks @jepler.

Build and infrastructure changes

  • Use MP_PROPERTY_GETTER, etc. everywhere. #9684. Thanks @diamant3.
  • Keep PYTHONPATH setting when running tests. #9655. Thanks @jepler.

Translation additions and improvements

  • Thanks for translations:
    • @andibing (English – UK)
    • @diamant3 (Filipino)
    • Kamborio (weblate user) (Spanish)
    • @wtuemura (Portugese – Brazil)

New boards since 9.2.0-beta.0

  • Espressif ESP32-S# LCD EV Board v1.5. #9608. Thanks @sanhu88.
  • Makerdiary iMX RT1011 Nano Kit. #9645. Thanks @makerdiary.
  • Maker Go C6 SuperMini. #9687. Thanks @bill88t.
  • Sunton ESP32 8048S050 [ESP32-S3]. #9661. Thanks @sanhu88.

Known issues

  • See https://ift.tt/0sAt2lU for other issues, including issues still to be addressed for:
  • Native-code .mpy files are not working. This capability is currently enabled only on the winterbloom_sol board.

Thanks

Thank you to all who used, tested, and contributed toward this release, including the contributors above, and many others on GitHub and Discord. Join us on the Discord chat to collaborate.