My video for Paul McWhorter's Arduino R4 Lesson 40 and also using the heart on the back of the board

แชร์
ฝัง
  • เผยแพร่เมื่อ 12 พ.ย. 2024

ความคิดเห็น • 12

  • @paulmcwhorter
    @paulmcwhorter 16 วันที่ผ่านมา +1

    Interesting. Thanks.

  • @leeg.1402
    @leeg.1402 16 วันที่ผ่านมา +1

    Nice video. The touch sensor is intriguing; I’ll have to put checking that out on my never-ending “to do” list. Thanks for posting.

    • @charlotteswift
      @charlotteswift  16 วันที่ผ่านมา +1

      @leeg.1402 Thanks, Lee. It would be really good to get it working with a finger. I don't know whether I've got any touch sensors included in various kit and I don't really understand the ins and outs of capacitors and what the differences between the ceramic ones and the electrolytic ones. The trouble is that the R4 hasn't been around long enough for other people to have done all the hard work for us😁 And Keith doesn't have one😿👎

  • @VeryUsMumblings
    @VeryUsMumblings 13 วันที่ผ่านมา +1

    We don't need no stinkin' variables! 😄 I did a touch sensor with an ESP32 and it's much easier. The R4 wifi board has an esp chip on it. I'll have to check out that video, but this one was pretty good, too! 👍

    • @charlotteswift
      @charlotteswift  13 วันที่ผ่านมา +1

      @VeryUsMumblings Agreed!! Variables and documentation are for wimps!! When I'm feeling REALLY lazy (which is most of the time), I just convert by dividing by 4 but I've just found out about analogReadResolution so I didn't need the conversion bit either. On the down side, 'analogReadResolution(8)' takes longer to type than '/ 4'. Thanks for watching (and commenting)👍

  • @VeryUsMumblings
    @VeryUsMumblings 12 วันที่ผ่านมา +1

    I got the touch sensor working. (not the heart button) on pin 9. I think you were right. It needs a ceramic capacitor abouot 10 nano farads. I happened to have one. I was thinking about posting a video on it. 😄

    • @charlotteswift
      @charlotteswift  12 วันที่ผ่านมา +1

      @VeryUsMumblings I've been rummaging around and I found a 330nF ceramic capacitor in my Monk's Makes Starter Kit for the Raspberry Pi (the very first kit that I ever bought in a big fairly empty box😿). The legs were very short so I had to put it on my breadboard with leads going to grd and pin 7 but ......... IT WORKS!!!!

    • @VeryUsMumblings
      @VeryUsMumblings 12 วันที่ผ่านมา

      @@charlotteswift Congratulations! 👍

  • @peterkarlsson7801
    @peterkarlsson7801 15 วันที่ผ่านมา

    EXCELLENT!
    In your first program, I think you should use local variables in the loop function, instead of doing all function calls in one line.
    Your second program shows how useful direct port/register access is. :-)
    I have an idea how to make an easy touch sensor, but I need the time to play with it.

    • @charlotteswift
      @charlotteswift  15 วันที่ผ่านมา

      @peterkarlsson7801 Ah, yes, I know that it would have been better to have used some variables but I wanted to see whether I could do it without any at all. I did say that 'This is how you COULD do it, not how you SHOULD do it'😁
      Normally I would do it all in one line without using functions but the homework was all about using functions. In fact I already had written the program which consisted of 2 variables, 1 line in setup and 1 line in loop. I hate typing!!!
      You ought to look at Delta_G Robotics's stuff. Like you, he actually understands the documentation.
      Thanks for watching (and commenting).

  • @keithlohmeyer
    @keithlohmeyer 11 วันที่ผ่านมา

    Look at you searching like a hunter gatherer. Welcome to the dark side.

    • @charlotteswift
      @charlotteswift  11 วันที่ผ่านมา

      @keithlohmeyer Strangely, my reply disappeared off my own video😿The YT peeps must REALLY hate me. I said that I won't make a habit of it.