CircuitPython nRF52840 & Raspberry Pi Tutorial

Поделиться
HTML-код
  • Опубликовано: 27 дек 2024

Комментарии • 32

  • @rdagger
    @rdagger  4 года назад

    UPDATE: Adafruit has made extensive changes to the CircuitPython BLE library. Please see my website for updated code (link in description).

  • @garrypkeogh
    @garrypkeogh 5 лет назад

    Finding Python and Micropyton a pure gift having trundled through Arduion IDE/C++. So intuative, simple to read and write, just a breath of fresh air for a non-programmer. Your tutorials are a gift, superbly put together and "fast pace" makes them superb reference guides, Thanks!

  • @AlexWhittemore
    @AlexWhittemore 4 года назад

    1) awesome video! 2) Dan and Scott are heroes when it comes to responding to users 3) my FAVORITE feature of CircuitPython is that literally anytime anything's broken or a feature you figure out you want is missing, when you ask, the answer is "oh yeah it's in

  • @ahmdsamir
    @ahmdsamir 5 лет назад

    Man I have been struggling to learn Nordic SDKs for over a year now, and they are really a headache. Never heard of circuitpython before but it looks much easier than getting ble example form the nrf sdk to work. Great work! please make more videos on circuit python. Thanks a million

  • @hc1770
    @hc1770 5 лет назад +3

    More BLE videos please! Great content.

  • @BrandInman
    @BrandInman 4 года назад +1

    This video really helped me out. Thanks so much!

  • @larsfagerbakke2140
    @larsfagerbakke2140 5 лет назад +2

    Wow! This was very useful! More BLE video please :-)

  • @dmurphydrtc
    @dmurphydrtc 5 лет назад +5

    Love your work. Would love more videos on Python/BLE anc connecting Pi/microcontrollers to BLE devices and read/write data. Would like to hack my Xiaomi Mi Band 3.. Thanks again

  • @unarvuiot
    @unarvuiot 5 лет назад

    Very nice video, thanks, I am new to CircuitPython and nRF52840, please make more on CircuitPython and BLE

  • @scolic03
    @scolic03 5 лет назад

    Incredibly useful, thanks for this video.

  • @ayasalama5539
    @ayasalama5539 Год назад

    I have problem my nrf52840 not appear as removable disk after double tap ... what is solution please ?

  • @AnthonyW07
    @AnthonyW07 4 года назад

    8:29 "Unfortunately everything is working, I was hoping for more debugging..." In all my years... I have never heard anyone say this before. LOL

  • @pjaro77
    @pjaro77 Год назад

    I would like to build a zigbee node with sensors based on raspberri pico. But even pico dont contain BLE , low power wifi or zigbee/matter protocols. Did anyone program communiction between pico with nRF52840 board by UART ?

  • @kevilay
    @kevilay 4 года назад

    Would it be possible using the ble on the nrf52 board to actually send a analog input from the nrf52 ADC to a raspberry Pi python script ? Essentially a Bluetooth remote ADC.

    • @rdagger
      @rdagger  4 года назад

      I haven't tried but it should work.

    • @kevilay
      @kevilay 4 года назад

      @@rdagger I would love a tutorial on that !. Your video was excellent. Just got my new pi and adafruit nrf62 today. I'm just starting my first python learning experience. Building a wireless scale from scratch using a load cell amp and nrf. Trying to make a little gui to n the pi to display. Any tips ?

  • @TheOldBlackCrow
    @TheOldBlackCrow 4 года назад

    Great video. Thanks!
    I'm looking to send analog sensor data from the nRF52840 Express to the raspberry pi zero via Bluetooth. Do you have any resources you can share? I have the code for the 52840 going out... But can't find python code for the Pi to receive it. Thanks again!

    • @rdagger
      @rdagger  4 года назад

      I don’t have one with a Pi, but I do have a BLE client/server tutorial that could be adapted to a Pi: ruclips.net/video/1J2wCvvjqDI/видео.html

    • @rdagger
      @rdagger  4 года назад

      btw: I haven't tried but Adafruit Blinka may support BLE which may allow you to use the same CircuitPython code on the Pi: pypi.org/project/adafruit-blinka-bleio/

    • @TheOldBlackCrow
      @TheOldBlackCrow 4 года назад

      @@rdagger thank you for that! I was glossing over the Blinks stuff and guess I got overwhelmed... Definitely take a look at that. 👍

    • @TheOldBlackCrow
      @TheOldBlackCrow 4 года назад

      @@rdagger it seems this would work fine if I could get my sgp30 gas sensor to talk with bluetooth. There are no tutorials or examples to do this and the Adafruit tutorial for getting the i2c data is, to say mildly, incomplete.
      Do you have any resources on this topic? Again, thank you for your help.

    • @rdagger
      @rdagger  4 года назад +1

      @@TheOldBlackCrow The Adafruit tutorial on the SGP30 looks OK:
      learn.adafruit.com/adafruit-sgp30-gas-tvoc-eco2-mox-sensor
      I don’t have any tutorials on the SGP30. Although I am planning on making a MicroPython (not CircuitPython) tutorial on the SGP30.

  • @dilectantetech8734
    @dilectantetech8734 4 года назад

    Why is the charging battery LED blinking all the time? It is very annoying. Is anyway to turn it off when we are not using or charging a battery?

    • @rdagger
      @rdagger  4 года назад

      The LED is controlled by the MCP73831/2 IC. According to table 5-1 in the datasheet it should not illuminate if no battery is present or the charge is complete. As shipped, there is no way to programmatically disable the LED because it is handled by the IC. You could rewire the STAT pin output to a GPIO pin on the MCU. Then you could programmatically monitor the charging status and control the LED with a 2nd GPIO. A level shifter may be necessary depending on what variant you have of the MCP73831/2. Another approach would be to add a switch to the STAT pin so you could manually disable the LED or you could just cover the LED with black tape.

  • @alzalame
    @alzalame 5 лет назад

    Good work , kudos

  • @naasikhendricks1501
    @naasikhendricks1501 5 лет назад

    Hi the Uart is locked down so it is not available

    • @rdagger
      @rdagger  5 лет назад

      Please post your troubleshooting questions to the Adafruit CircuitPython forum: forums.adafruit.com/viewforum.php?f=60

  • @ramezshkifi
    @ramezshkifi 5 лет назад

    Thanks