Wi fi hilink hlk rm04

Модуль со встроенными интерфейсами UART, USB, Ethernet и Wi-Fi. Для того что бы воспользоваться Ethernet выходами нужно подключить соответствующие пины к дифференциальным сигналам приема/передачи Ethernet-трансформаторы. Модуль поддерживает стек TCP/. Перейти к полному описанию

Модуль со встроенными интерфейсами UART, USB, Ethernet и Wi-Fi. Для того что бы воспользоваться Ethernet выходами нужно подключить соответствующие пины к дифференциальным сигналам приема/передачи Ethernet-трансформаторы. Модуль поддерживает стек TCP/IP, и может при соответствующей настройке передавать трафик между всеми имеющимися интерфейсами. Wi-Fi поддерживает режим как точки доступа, так и беспроводного клиента. С помощью этого модуля обычные микроконтроллерные устройства можно довольно легко подключить как к локальной сети, так и к сети интернет. Полное руководство пользователя

Таблица портов Ввода/вывода:

Пин Тип Назначение
1 VCC5V Напряжение питания +5V.
2 GND Аналоговая земля.
3 WIFILED Светодиод активности Wi-Fi.
4 VO3.3 Выход стабилизатора 3.3V/300mA.
5 LINK1 Светодиод активности 1-го порта 10/100 PHY (LAN Ethernet), активный уровень лог. 0.
6 USB_P Зарезервировано. Может использоваться как сигналы порта USB.
7 USB_M
8 GPIO0 Порт ввода/вывода, может использоваться как SDA интерфейса I2C.
9 GPIO1 Порт ввода/вывода, может использоваться как SCK интерфейса I2C или сигнал управления приемопередатчиком RS485.
10 ES/RST Вход для выхода из режима прозрачной передачи данных. Также используется для восстановления заводских настроек по умолчанию (подключается к кнопке SW2 Exit/Default).
11 TXOP1 Дифференциальные сигналы передачи 1-го порта 10/100 PHY Ethernet (должен подключаться к трансформатору наподобие HR911105A).
12 TXON1
13 RXIP2 Дифференциальные сигналы приема 2-го порта 10/100 PHY Ethernet (должен подключаться к трансформатору наподобие HR911105A).
14 RXIN2
15 RXIN1 Дифференциальные сигналы приема 1-го порта 10/100 PHY Ethernet (должен подключаться к трансформатору наподобие HR911105A).
16 RXIP1
17 TXON2 Дифференциальные сигналы передачи 2-го порта 10/100 PHY Ethernet (должен подключаться к трансформатору наподобие HR911105A).
18 TXOP2
19 GPIO2 Порт ввода/вывода, может использоваться как RTS_N (сигнал RTS аппаратного управления потоком интерфейса RS232).
20 UART_RX UART RXD
21 UART_TX UART TXD
22 GPIO3 Порт ввода/вывода, RX второго интерфейса UART.
23 LINK2 Светодиод активности 2-го порта 10/100 PHY (WAN Ethernet), активный уровень лог. 0.
24 GPOI4 Порт ввода/вывода, может использоваться как CTS_N (сигнал CTS аппаратного управления потоком интерфейса RS232).
25 WPS/RST WiFi Protected Setup (WPS) / восстановление заводских настроек по умолчанию (подключается к кнопке SW1 WPS/Default).
26 GPIO5 Порт ввода/вывода, TX второго интерфейса UART.
27 VO1.8 Выход стабилизатора 1.8V/300mA.
28 VCC5V Напряжение питания +5V.
Читайте также:  Чем вайфай отличается от мобильного интернета

Источник

Product

We have been deeply involved in the industry for more than ten years, and have served more than 10W+ customers. WiFi modules, Bluetooth modules, power modules and other products are in more than 80 countries and regions, providing customers with professional and reliable IoT module products.

Home > Product > Communication > Routing WIFI Modules > Hlk-rm04 wireless routing/serial Port Ethernet/serial port WIFI module

HLK-RM04

  • HLK-RM04
  • HLK-RM04
  • HLK-RM04
  • HLK-RM04
  • HLK-RM04

Hlk-rm04 wireless routing/serial Port Ethernet/serial port WIFI module

Intelligent Gateway Bluetooth Gateway Zigbee Gateway Lora Gateway Serial port -WIFI- network port exchange PageView : 13506

Intelligent serial port to WiFi module of Internet of Things RM04N double serial port and double network port full-function wireless routing module

  • Overview features
  • Specifications
  • Download
  • Quiz
  • Solution
  • Purchase

Wireless standards: IEEE 802.11N, IEEE 802.11g, IEEE 802.11B

Cable standard:IEEE 802.3、IEEE 802.3u

Wireless communication Speed

11n:up to 150Mbps
11g:up to 54Mbps
11b:up to 11Mbps

1个10/100Mbps LAN/WAN mutiplex interface

Onboard antenna/external antenna

Function parameter

WDS wireless bridging is supported

Wireless MAC address filtering

Wireless safety function switch

64/128/152 bit WEP encryption

WPA-PSK/WPA2-PSK、WPA/WPA2 Security mechanism

Profile imports and exports

Profile imports and exports

Serial port to network

50~ 500000 bps

The Other Parameter

Frequency band bandwidth is optional:20MHz、40MHz,auto

  • Development Information HLK-RM04:HTTP执行AT指令说明 RM04测试底板的资料 RM04用户手册 RM04的串口三种模式配置指导说明书
  • Software Application APP源码 P2P透传测试 APP
  • Universal Software TCP&UDP测试工具 串口&TCP_UDP调试工具 串口工具 串口配置工具
  • Common Problem
  • RM04常见问题 11.11.2020 16:45:19Details>
  • RM04模块参数 27.08.2020 11:12:07Details>

Key Account Channel Sample Application [Will reply within 2 working days] Request samples now Bulk purchases [Contact the key account manager of the province] View Contact Custom Application [Will reply within 2 working days] Apply for customization now

Источник

Saved searches

Use saved searches to filter your results more quickly

You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session.

License

bogdanr/HLK-RM04

This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?

Читайте также:  Usb wifi адаптер uwa br100 аналог

Sign In Required

Please sign in to use Codespaces.

Launching GitHub Desktop

If nothing happens, download GitHub Desktop and try again.

Launching GitHub Desktop

If nothing happens, download GitHub Desktop and try again.

Launching Xcode

If nothing happens, download Xcode and try again.

Launching Visual Studio Code

Your codespace will open once ready.

There was a problem preparing your codespace, please try again.

Latest commit

Git stats

Files

Failed to load latest commit information.

README.md

Build guide for a firmware based on OpenWrt for HiLink HLK-RM04

HLK-RM04 is a small wifi module which is produced by HiLink. It is based on the Ralink RT5350 with some GPIOs raised out.
HLK-RM04 has 4M flash and 16M SDRAM on-package, 1 USB port, 2 UART ports (lite and full), 1 I2C, 2 GPIO (GPIO0, RIN), and 2 Ethernet ports (LAN and WAN). In different configurations, you can get different numbers of GPIO pins (for example 8 GPIOs + 1 serial port).

Even though the module can be upgraded to have twice as much flash and RAM, our purpose is to use it without hardware modifications. Everything here is compatible with the standard 16M RAM module.

The main purpose is to have the module connected to a WiFi network and somehow access the serial port and GPIOs over TCP/IP. Eventually it should be nice to hook it up to some rellays and/or use it as a remote serial console.

There are 3 prebuild images with different features but the recommended one is mini-serial which has the following features:

  • Output the console on the serial interface by default.
  • Connects to a WiFi router and automatically goes online both with IPv4 and IPv6 if available.
  • When the module goes online it automatically sets it’s clock via NTP.
  • Listen for SSH connections and accepts authentication via SSH keys. By default no password is set so you either rebuild the image with your own ssh key or set a password via the serial console.
  • Automatically start ser2net configure it to listen on ports 2001, 3001 and 3003 with various settings.
  • Preconfigured the lan interface with the 192.168.11.1 IP address and /24 network if setting the wifi router is not convenient.
  • The WAN interface will automatically configure an IP address via DHCP.
  • AccessPoint mode support
  • Bridge and VLAN support

16M of RAM really isn’t that much and because of that the image includes bare minimum software.

  • With hostapd and dnsmasq running it uses almost all the memory and it works slow so using it as an AccessPoint is possible but unpractical. Since this is not our scope anyways, dnsmasq and iptables were removed from our mini firmware image.
  • Running a web interface will be a tall order and it will probably have to be something custom that uses very little memory.
  • In the files directory there are the custom OpenWRT config files available in the image which will be built automatically
  • The .config file contains build options for our latest image. Almost nothing 🙂
  • The images directory contains 3 prebuild images and a uboot image for allowing reflasing the module over TFTP and serial.
git clone git@github.com:bogdanr/HLK-RM04.git make menuconfig make 

After it compiles successfully, you’ll find images in bin/ramips/ which are named openwrt-ramips-rt305x-hlk-rm04-*.bin . openwrt-ramips-rt305x-hlk-rm04-squashfs-sysupgrade.bin will be used for when upgrading from another OpenWRT image. openwrt-ramips-rt305x-hlk-rm04-initramfs-factory.bin will be used only once, when upgrading the HLK-RM04 module for the first time.

Читайте также:  Arduino nano wifi esp8266

The most important thing is to flash the uboot128.img bootloader image. This one will then allow you to flash system images over and over again. Accessing the device via the serial interface will also be absolutely necessary.

The standard UBoot is silent so we can’t see any messages from it that would allow us to easily flash the module. At the http://192.168.16.254/adm/hlk_update_www_hlktech_com.asp address we are allowed to flash a new bootloader. Obviously this is just the standard IP address of the module. You should know what to use if you changed it. After you flash it, check if it still boots 🙂

With the serial cable connected and configured as 57600,8,n,1 you shouls start seeing stuff when the module boots. If this doesn’t happend STOP here!

  • Run a TFTP server and make sure you can GET the image from it. From the CLI you can just do something like in.tftpd -L /tmp if your image is in /tmp
  • Connect HLK-RM04 LAN port to your PC, power up HLK-RM04
  • Push 2 quickly and only once to enter in TFTP flash mode. Then push Y to proceed.
  • Set device IP to 192.168.16.1 . Set server IP to 192.168.16.100 .
  • Set the IP address on your computer from the connected interface to 192.168.16.100 .
  • Input the file name to something like /tmp/openwrt-ramips-rt305x-hlk-rm04-squashfs-sysupgrade.bin .
  • Hope it boots 🙂

Источник

Оцените статью
Adblock
detector