How to Get Real-Time Stocks Price With W5500 Ethernet Board

by Longan Labs in Circuits > Arduino

277 Views, 0 Favorites, 0 Comments

How to Get Real-Time Stocks Price With W5500 Ethernet Board

cover.jpg

I'm an electronic engineer, and do some investment in stocks during my spare time. So I plan to combine these two parts and DIY a stocks-monitoring device.

Part List

1050002-1-demo.jpg
buzzer.jpg
HY2.jpg
RJ45.jpg
router.jpg

Squama Ethernet PoE is an Arduino development board with Ethernet function, built-inATSAMD21 micro-controller and W5500 network chip. The PoE tape mounted on the board provides power supply through network interface, so that you don’t need additional power device and cable.

NOTE:

  • Squama Ethernet PoE includes an ethernet board and a PoE Tape.
  • A Type-C cabe is necessary for code uploading.
  • if you don't have a network device with PoE, it is also OK to give power supply through a Type-C cable.

Hardware

connect.jpg

Connect the modules as picture shown.

Get Codes

gh.png

This application is going to achieve two functions:

  • 1. The buzzer rings when the stock price you are watching reaches the target line.
  • 2. A red light flashes on the board when the stocks price you are watching goes up, and a green light flashes when it goes down.

First, you can get codes for the application from following link: https://github.com/Longan-Labs/Squama_US_Stock_Price_Buzzer

Upload Codes

ide.png
sm.png

And then, you need to open it with Arduino IDE, and upload the codes onto Squama Ethernet PoE.

After uploaded, you can see datas in Serial Monitor as picture shows.