login|Register
Forum > C/C++
Post|
看15413|回9|Favorite
peterv6i 看全部
2017-6-5 15:15:39
Hi,
I have a need to use 4-5 UARTS on OrangePI. The only way for now is to use spi2UART board found on ebay. This board uses SPI bus so I'am looking for some example or library for C/C++ on how to use SPI bus on orangepi pc.
Thank you

regards
Peter
peterv6i 看全部
2017-6-5 21:40:32
Edited by peterv6i at 2017-6-5 21:46

Hi, can you explain me what you mean? What is ESP12/13?
If I google I can find some module (ESP-13 ESP8266 Serial Wi-Fi Wireless Transceive) + MQTT? (https://en.wikipedia.org/wiki/MQTT)..

Is there some example?

I have 5 sensors (for oceanography) with uart output to connect with orangepi and then parse received packages and send over ethernet to some other remote pc...

thank you for any info & idea!

regards
Peter

nopnop2002 看全部
2017-6-5 19:20:34
Edited by nopnop2002 at 2017-6-5 19:23

There is a different idea.

attachment: 您需要登录才可以下载或查看附件。没有账号?Register
nopnop2002 看全部
2017-6-6 04:20:47

quote:

peterv6i replied at 2017-6-5 21:40
Hi, can you explain me what you mean? What is ESP12/13?
If I google I can find some module (ESP-13  ...

ESP12/13 is a micro controller using ESP8266 chip.
There is many example in the INTERNET.

peterv6i 看全部
2017-6-6 14:27:47
Edited by peterv6i at 2017-6-6 14:30

The problem is that I have limited space in our project.. There are 5 sensors for (oxygen, temperature, salinity, chlorophile, pressure) and all of them have UART output. My job is to read all sensors connected over UART and parse datas and redirect the values in some other format over socket (ethernet) to the "boat" over ethernet (POE) cable...

The idea is to read all uarts over uart2spi board (4 uart input to spi).. the second idea is to use some arduino for this job..
12NextPage

OrangePi En

Powered by Discuz! X3.4

homepage|Simple edition|Touch edition|PC