Concept of a RS485 WLAN converter

Go To Last Post
11 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Hi all, I am now working with a concept of a RS485-WLAN-converter. I have searched in the internet and found a solution that may be implementable. The idea is to use EIA-485 transceiver, AVR ATmega microcontroller and an ethernet controller.

 

Because this is just the first step and only a concept, what I understand is the most difficulties are the programming of the microcontroller and maybe the ethernet controller. The RS485 is the specification for serial port and therefore I think what I should focus on is how to transform the data of the RS485 specification to the WLAN data type. The TCP/IP protocol should also be considered. I think it may be a very complicated task for the programming.

 

I have just a few experience in this field and I don't know if someone of you have some experience in this field and could give me some ideas on this concept. Thank you guys!

 

Bo

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

bobo320302 wrote:
ethernet controller.

Errr ... WLAN = Wireless LAN; so why Ethernet - which is wired?!

 

However, WLAN adds a whole layer of complexity on top of Ethernet - so perhaps you really should be starting with just serial-to-ethernet?

 

You should start by googling "serial to Ethernet" to see how others do it; eg,

 

http://www.usconverters.com/inde...

 

http://www.avrfreaks.net/forum/s...

 

https://www.sparkfun.com/product...

 

A common name for such products is Terminal Server - so also google that; eg,

 

https://en.wikipedia.org/wiki/Terminal_server

 

 

 

Is your choice of AVR based on any actual assessment of the requirements of this project?

 

 

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 2

Maybe an ESP8266 is suitable for you.

It does not have an AVR inside, but some other 100+ MHz uC.

 

There are a bunch of reasons why it's attractive for you:

It comes with built-in WiFi hardware.

It comes with built-in WiFi software.

It comes with plugins for the Arduino IDE (Which makes it easy to start with).

It's very popular in the hobby market. truck loads of info floating on the 'net.
It's Cheap. About USD 2 for a small FCC approved module, or USD3 for a breadboard friendly module with extra voltage regulator USB plug, etc.

 

Some hints to get your information.

Regular search engines will of course overwhelm you with info.

Hackaday has an overview of "more then average" documented projects which will give you a nice intro into what you can do with it.

Youtube is also a good resource for getting an idea of what you can do with these modules.

github has raw sourcecode for thousand's? of projects.

Ali / Ebay sells the modules for the cheapest.

All the other shops probably have shorter delivery time.

Other shops are more expensive, but you can consider buying your first modules there for the tutorials & other goodies they offer.

 

 

Paul van der Hoeven.
Bunch of old projects with AVR's:
http://www.hoevendesign.com

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Take a look at XBEE modules. With a little tweaking you should be able to get what you are lookin for

What kind of speed are you planning on communicating at?

Jim

If you want a career with a known path - become an undertaker. Dead people don't sue! - Kartman

Please Read: Code-of-Conduct

Atmel Studio6.2/AS7, DipTrace, Quartus, MPLAB user

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

thanks for the links. The target is WLAN. Unfortunately there is no concrete requirement, just some raw concepts/ideas are needed.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

really a huge amount of information for me, thank you! I will make use of them wellwink

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

there is now no concrete requirement. So I just collect the information as much as possible from the internet. 

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

If any one please tell me how can i use ESP8266 with atmega32A.

 

My concern is i want to transmit and receive data using ESP8266.

i want to glow an led(whenever button pressed) using two, microcontrollers Atmega32A and wifi module ESP8266 - 01.

But i don't understand how to configure ESP8266 to talk to ESP8266 and microcontroller as well.

 

All i have is Avr studio.

Avr USB-UART Bridge proggramer.

ATmel development board.

and 3.3v seperate supply.

Manish verma

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

There’s a zillion examples using esp8266 with Arduino. The same principles apply. Do youself a favour and use a mega328 rather than the mega32 so it becomes a no-brainer.
There’s also Arduino for the esp8266 and various other languages so you don’t need an extra microcontroller.

Last Edited: Thu. Sep 28, 2017 - 06:09 AM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Kartman wrote:
There’s a zillion examples using esp8266

Very first hit just putting "esp8266" into google:

 

Sparkfun wrote:

The ESP8266 WiFi Module is a self contained SOC with integrated TCP/IP protocol stack that can give any microcontroller access to your WiFi network. The ESP8266 is capable of either hosting an application or offloading all Wi-Fi networking functions from another application processor. Each ESP8266 module comes pre-programmed with an AT command set firmware, meaning, you can simply hook this up to your Arduino device and get about as much WiFi-ability as a WiFi Shield offers (and that’s just out of the box)! 

 

https://www.sparkfun.com/product...

Both general and ESP8266-specific AT-Command libraries have been mentioned here before ...

 

Sparkfun also wrote:

There is an almost limitless fountain of information available for the ESP8266, all of which has been provided by amazing community support. In the Documents section below you will find many resources to aid you in using the ESP8266, even instructions on how to transforming this module into an IoT (Internet of Things) solution!

Last Edited: Thu. Sep 28, 2017 - 08:27 AM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

staring.net@gmail.com wrote:
If any one please tell me how can i use ESP8266 with atmega32A.

Did you not read #3 ?

 

What's the point in hijacking a thread if you're not going to pay attention to what's already been said in the thread?