Skip to main content
Bob Cameroon
Associate II
January 11, 2018
Solved

Using stm32f4 on website

  • January 11, 2018
  • 9 replies
  • 2170 views
Posted on January 11, 2018 at 13:52

Hello

I'm using stm32f411 and I have my server written in node.js.

I want to make that my stm32 would send random string to my web server so it will be like a kind of a captcha when logging in.

Is this even possible to make, or what is the easiest way to achieve it?

Thanks in addition.

#stm32-f4 #web-page #stm32f411 #websocket

Note: this post was migrated and contained many threaded conversations, some content may be missing.
This topic has been closed for replies.
Best answer by Bogdan Golab
Posted on January 11, 2018 at 14:52

https://www.npmjs.com/package/serialport

 

9 replies

Bogdan Golab
Lead
January 11, 2018
Posted on January 11, 2018 at 14:25

I used node serial module to be able to read UART data generated by the STM32 directly by nodejs

Bogdan Golab
Bogdan GolabBest answer
Lead
January 11, 2018
Posted on January 11, 2018 at 14:52

https://www.npmjs.com/package/serialport

 
Bogdan Golab
Lead
January 11, 2018
Posted on January 11, 2018 at 14:53

I used to use ESP8266 to air the IP packets and receive them on a web server (separate process - tcp server)

MAny ways. It depands on your needs.

Bob Cameroon
Associate II
January 11, 2018
Posted on January 11, 2018 at 19:39

Golab.Bogdan

‌ Oh damn, that's bad. Since I can't use UART than, I guess I'm gonna use USB OTG. Am I still able to communicate with my server via serialport?

Or what is the easiest way to communicate with server now?

Thank you a lot!

EDIT: Looks like you tried to upload file, but something went wrong.