ycliper

Популярное

Музыка Кино и Анимация Автомобили Животные Спорт Путешествия Игры Юмор

Интересные видео

2025 Сериалы Трейлеры Новости Как сделать Видеоуроки Diy своими руками

Топ запросов

смотреть а4 schoolboy runaway турецкий сериал смотреть мультфильмы эдисон
Скачать

MicroPython for XBee Setup using XCTU

Автор: Greg Compton

Загружено: 2020-10-22

Просмотров: 4423

Описание: My goal with these videos is to pass along some of the most basic information you need to start experimenting with your XBee radios. These are things that weren't explained very clearly in the documentation and I couldn't find really clear, concise tutorials to get me started. You see, I'm the type of person who can really benefit from a lot of hand-holding in the very beginning when I'm learning something new, because I don't even know what questions to ask.

So that's that's what these videos are. I'm treating you the way I wish I had been treated when I first started using these radios. I assume you know nothing so I'm going to show you every step in minute detail. And when we are done, you should have enough knowledge to start asking the right questions to learn more. Feel free to ask those questions in the comments and I'll make a video about it.
*****************************************************************
MicroPython for XBee Setup using XCTU

Resources:
Digi MicroPython Guide: https://www.digi.com/resources/docume...
XCTU: https://www.digi.com/products/embedde...

1) Configure radio for MicroPython mode
AP=4
BD=115200 (default is 9600, I like to use 115200)

2) Open MicroPython terminal in XCTU
Tools - MicroPython Terminal
Configure
Select Port
Select Baud rate (the same rate as you chose in configuration
Click OK
Click Open

3) Direct entry
print("Hello World")
3+6

4) Paste mode
Ctrl-E to enter paste mode
right-click - paste
Ctrl-D to exit paste mode and run the code
Ctrl-C to exit paste mode without running the code
copy this:
print("Hello World")
x=4+9
print(x)

5) Flash mode
Save code to Flash memory
Ctrl-F to enter Flash mode
right-click - paste
Ctrl-D to exit and save to flash memory
Enter "N" to NOT automatically run this code at startup (we will look at this later)
Ctrl-R to run the code that is saved in flash memory

Remove code from Flash memory
Ctrl-F to enter Flash mode
Ctrl-D to exit and save
Ctrl-R
Note the message "no bundled code to run"

6) File System
In XCTU menu: Tools- File System Manager
Configure
Select Port
Select Baud rate (the same rate as you chose in configuration
Click OK
Click Open (if the connection doesn't open, check that your baud rate settings)
Click Format. You will be prompted with "Are you sure you want to format the XBee file system?" Click Yes. NOTE: If this is the first time the file system has been accessed, you may be prompted to format the file systme when the connection is opened. If so, then click OK.

in left window, navigate to the folder with your xbeeTest.py file
click and drag main.py to the right window
close the connection
open MicroPython Terminal
type "import xbeeTest.py"
the code should run.
press CTRL-R to run the code again

press CTRL-D to perform a soft reboot.
Note that the radio reboots and the python prompt appears...that's it.

7) Run code automatically on startup
in XCTU Configuration
PS = 1
in File System, copy main.py to /flash
close connection in File System window
open connection in MicroPython Terminal
pres CTRL-D to perform a soft reboot
Note that main.py runs automatically
you can wait for the code to end, or press CTRL-C to stop.

** Note: It is not best practice to run .py files. Instead, you should load .mpy files, because it reduces overhead. There is more information in the guide, linked in the description.

*** And now the sky is the limit. You can write your program and have it run on XBee, independently.

Не удается загрузить Youtube-плеер. Проверьте блокировку Youtube в вашей сети.
Повторяем попытку...
MicroPython for XBee Setup using XCTU

Поделиться в:

Доступные форматы для скачивания:

Скачать видео

  • Информация по загрузке:

Скачать аудио

Похожие видео

Complete Beginner's Guide to Setup XBEE3 in Transparent Mode with Arduino

Complete Beginner's Guide to Setup XBEE3 in Transparent Mode with Arduino

XBee Transparent Mode versus API Mode

XBee Transparent Mode versus API Mode

ЛИПСИЦ ШОКИРУЕТ: Газпром УМЕР, нефть в минус — 3 месяца до коллапса РФ!

ЛИПСИЦ ШОКИРУЕТ: Газпром УМЕР, нефть в минус — 3 месяца до коллапса РФ!

ЦЕНА ОШИБКИ: 13 Инженерных Катастроф, Которые Потрясли Мир!

ЦЕНА ОШИБКИ: 13 Инженерных Катастроф, Которые Потрясли Мир!

Самая недооценённая идея в науке

Самая недооценённая идея в науке

Не только VPN. Что еще поможет с блокировками

Не только VPN. Что еще поможет с блокировками

🚨 НАМ НЕ НУЖНА БЫЛА ЭТА ВОЙНА! Мураев: клоуна из цирка вывезти можно, а цирк из клоуна нет - Мураев

🚨 НАМ НЕ НУЖНА БЫЛА ЭТА ВОЙНА! Мураев: клоуна из цирка вывезти можно, а цирк из клоуна нет - Мураев

Лучший Гайд по Kafka для Начинающих За 1 Час

Лучший Гайд по Kafka для Начинающих За 1 Час

Complete Beginner's Guide to XBEE3

Complete Beginner's Guide to XBEE3

Сможет ли Кремль победить Telegram, и почему Дуров не уступит. Михаил Фишман

Сможет ли Кремль победить Telegram, и почему Дуров не уступит. Михаил Фишман

Complete Beginner's Guide to XBEE3 API Mode - How to transmit data from arduino using XBee API MODE

Complete Beginner's Guide to XBEE3 API Mode - How to transmit data from arduino using XBee API MODE

Переполох в Кремле:: СВР пугает “ядерной Украиной” /№1099/ Юрий Швец

Переполох в Кремле:: СВР пугает “ядерной Украиной” /№1099/ Юрий Швец

Getting Started with the Digi XBee 3 ZigBee Mesh Kit

Getting Started with the Digi XBee 3 ZigBee Mesh Kit

Мир AI-агентов уже наступил. Что меняется прямо сейчас

Мир AI-агентов уже наступил. Что меняется прямо сейчас

Docker за 20 минут

Docker за 20 минут

Arduino with Python LESSON 15: Wireless Communication with Xbee Radios

Arduino with Python LESSON 15: Wireless Communication with Xbee Radios

Настройте XBEE с помощью Arduino менее чем за 5 минут. Никаких дополнительных плат не требуется.

Настройте XBEE с помощью Arduino менее чем за 5 минут. Никаких дополнительных плат не требуется.

⚡️Срочное обращение Зеленского | Медведев дал жёсткий ответ

⚡️Срочное обращение Зеленского | Медведев дал жёсткий ответ

XBee Basics - Lesson 1 - General Information and Initial Setup

XBee Basics - Lesson 1 - General Information and Initial Setup

XBee 3 - Join Device to a Network Using Software (AT Commands)

XBee 3 - Join Device to a Network Using Software (AT Commands)

© 2025 ycliper. Все права защищены.



  • Контакты
  • О нас
  • Политика конфиденциальности



Контакты для правообладателей: [email protected]