212 views|2 replies

11

Posts

4

Resources
The OP
 

【Follow me Season 2 Episode 2】Unboxing + Environment Setup + Blink & Serial Port Printing [Copy link]

 This post was last edited by eew_gz8e7C on 2024-9-9 10:05

Unpacking of materials

This event is about Arduino UNO R4 WiFi. There are tasks related to using MQTT protocol to access the open source smart home platform HA (HomeAssistant). Therefore, we purchased an additional Raspberry Pi zerow for deploying HA.

The materials arrived about two weeks after I placed the order, and the Raspberry Pi ZeroW was also equipped with a case and heat sink.

Environment Construction

Since it is an Arduino board, the development environment is naturally Arduino.

After installing and opening Arduino, search and install the UNO R4 WIFI support library in the development board manager.

Then configure the development board and serial port.

Blink & Serial Printing

Check the LED pin information: LED_BUILTIN P102.

BLINK is implemented by demonstrating how to control the high and low levels of the LED pins and print out the LED status.

void setup() {
  // put your setup code here, to run once:
  //配置波特率
  Serial.begin(115200);
  while (!Serial) { }
  //配置LED引脚为输出模式
  //pinMode(102, OUTPUT);
  pinMode(LED_BUILTIN, OUTPUT);
}

void loop() {
  // put your main code here, to run repeatedly:
  //演示控制板载LED亮灭,并且打印LED状态
  digitalWrite(LED_BUILTIN, LOW);
  printf("LED ON\n");
  delay(1000);
  digitalWrite(LED_BUILTIN, HIGH);
  printf("LED OFF\n");
  delay(1000);
}

Effect

blink_print.ino

This post is from DigiKey Technology Zone

Latest reply

I think Arduino UNO R4 WiFi is quite interesting. Can I use this board for everything?   Details Published on 2024-9-13 09:00
 
 

56

Posts

0

Resources
2
 

I think Arduino UNO R4 WiFi is quite interesting. Can I use this board for everything?

This post is from DigiKey Technology Zone

Comments

Yes, HA can be installed on PC via docker  Details Published on 2024-9-30 10:39
 
 
 

11

Posts

4

Resources
3
 
The Glory of the Gobi Desert was published on 2024-9-13 09:00 I think Arduino UNO R4 WiFi is quite interesting. Can it be used for all kinds of tasks?

Yes, HA can be installed on PC via docker

This post is from DigiKey Technology Zone
 
 
 

Guess Your Favourite
Find a datasheet?

EEWorld Datasheet Technical Support

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

About Us Customer Service Contact Information Datasheet Sitemap LatestNews

Room 1530, Zhongguancun MOOC Times Building, Block B, 18 Zhongguancun Street, Haidian District, Beijing 100190, China Tel:(010)82350740 Postcode:100190

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京B2-20211791 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号
快速回复 返回顶部 Return list