Skip to content

Lottery number! Good luck to you

It performs TCP communication of APP of smartphone and W5100S-pico-evb.

irina

Published September 20, 2022 · © Apache License 2.0 (Apache-2.0)

Lottery number! Good luck to you

Components

Hardware components

x 1

Software Apps and online services
TCP/UDP TEST TOOL

x 1


Project description

This is the next project from the above link.
Use W5100s-pico-evb to get IP assigned through DHCP.
Here, IP of 192.168.100.14 was assigned and the port number was set to 5000.
Use W5100s-pico-evb as TCP Server.
Thonny_tcp.JPG

 

 
Then, make a TCP connection using the smartphone's APP.
Here, the smartphone and W5100S-pico-evb must be connected to the same AP.
Click TCP CLIENT in the app.
smart_app_1.JPG

 

 
Enter the IP and port number to connect to.
smart_app_2.JPG

 

 
When the connection is complete, data "get" is sent.
Then you can receive 6 random numbers from TCP Server (W5100s-pico-evb).
smart_app_3.JPG

 

 
pico+smart.jpg

 

 
Next time I will try using the random number generator in the RP2040.

Documents

Comments

Comments