Become a leader in the IoT community!

Join our community of embedded and IoT practitioners to contribute experience, learn new skills and collaborate with other developers with complementary skillsets.

Step 1 of 5

CREATE YOUR PROFILE *Required

OR
Step 2 of 5

WHAT BRINGS YOU TO DEVHEADS? *Choose 1 or more

Connect & collaborate 🤝with other tech professionals
Learn & Grow 📚
Contribute Experience & Expertise 🔧
Step 3 of 5

WHAT'S YOUR INTEREST OR EXPERTISE? *Choose 1 or more

Hardware Design 💡
Embedded Software 💻
Edge Networking
Step 4 of 5

Personalize your profile

Step 5 of 5

Read & agree to our COMMUNITY RULES

  1. We want this server to be a welcoming space! Treat everyone with respect. Absolutely no harassment, witch hunting, sexism, racism, or hate speech will be tolerated.
  2. If you see something against the rules or something that makes you feel unsafe, let staff know by messaging @admin in the "support-tickets" tab in the Live DevChat menu.
  3. No age-restricted, obscene or NSFW content. This includes text, images, or links featuring nudity, sex, hard violence, or other graphically disturbing content.
  4. No spam. This includes DMing fellow members.
  5. You must be over the age of 18 years old to participate in our community.
  6. You agree to our Terms of Service (https://www.devheads.io/terms-of-service/) and Privacy Policy (https://www.devheads.io/privacy-policy)
By clicking "Finish", you have read and agreed to the our Terms of Service and Privacy Policy.

Discussion on STM32U0 Series Features

Last year ST released the STM32U0 line of chips boosting some nice features https://www.st.com/en/microcontrollers-microprocessors/stm32u0-series.html. I like what I am reading has anyone made use of them @umeshlokhande @josephogbonna I am considering switching from the L0 to the U0

  1. superbike_z#0000

    one adc, one basic timer and one general timer. Thats very small you do almost single function systems?

  2. afuevu_#0000

    It actually has more than that

  3. afuevu_#0000

    It has one dac, six usarts, three i2c, two spi, 18 capacitive sensing channel

  4. afuevu_#0000
  5. superbike_z#0000

    i actuall Havent used a capacitive sensibg

  6. superbike_z#0000

    oooh i guess you can use this to implement a touch controller

  7. afuevu_#0000

    Yeah yeah something like that

  8. JeremyCook#0000

    Capacitive sensing is such a cool feature. That being said, if your microcontroller doesn’t have it built-in you can typically get it to work via external resistors. Which is kind of inconvenient, but fairly inexpensive.

    For example, I made this board to add touch sensitivity to the Raspberry Pi Pico: https://www.tindie.com/products/jeremycook/pico-touch-2-raspberry-pi-pico-capacitive-touch/ (which works well, though I haven’t sold a lot, ha)

    OTOH, this technique allows you to use capacitive sensing on the ATtiny series (without an external resistor): https://embeddedcomputing.com/technology/software-and-os/ides-application-programming/attiny85-capacitive-touch-sensing-sans-external-resistors though I’m not sure if it has touch sensing as an official feature.

  9. Afuevu#0000

    This is nice @jeremycook. I’ll give it a try

  10. JeremyCook#0000

    The resistor method (~1M resistors etc) is pretty cool. It charges a pin up as high, which has a certain amount of capacitance by itself, and is connected to ground through a large-value resistor. IIRC, it then sets itself to an input, which initially senses the pin as high/1. However, the large-value resistor connected to ground (and the output) slowly (in microcontroller terms) lets the charge drain out until the pin reads low. Adding your body (finger etc) on the pin in parallel with the resistor adds capacitance to the system, changing the rate of discharge (how long it takes to go low) which can be detected as an input.

    So in theory, any microcontroller that can assign pins an output or input should be able to be used as a capacitive input with the addition of a resistor. This is all from memory though, so take that for what you will… Of course, if the chip HAS capacitive sensing built in, then that makes things a bit easier!

CONTRIBUTE TO THIS THREAD

Browse other questions tagged 

Leaderboard

RANKED BY XP

All time
  • 1.
    Avatar
    @Nayel115
    1620 XP
  • 2.
    Avatar
    @UcGee
    650 XP
  • 3.
    Avatar
    @melta101
    600 XP
  • 4.
    Avatar
    @chitour
    600 XP
  • 5.
    Avatar
    @lifegochi
    250 XP
  • 6.
    Avatar
    @Youuce
    180 XP