https://github.com/xanthium-enterprises/atmega328p-to-pc-rs485-communication-tutorial
Tutorial on interfacing your PC with an ATmega328P microcontroller using RS485 Protocol for Bidirectional Communication.
https://github.com/xanthium-enterprises/atmega328p-to-pc-rs485-communication-tutorial
atmega328p avr-programming c csharp embedded-systems rs485 rs485-comunication serial-communication tutorial-sourcecode usb usb-to-rs485
Last synced: 4 months ago
JSON representation
Tutorial on interfacing your PC with an ATmega328P microcontroller using RS485 Protocol for Bidirectional Communication.
- Host: GitHub
- URL: https://github.com/xanthium-enterprises/atmega328p-to-pc-rs485-communication-tutorial
- Owner: xanthium-enterprises
- License: mit
- Created: 2020-07-09T11:31:56.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2020-07-10T14:17:48.000Z (almost 5 years ago)
- Last Synced: 2024-12-27T09:12:06.495Z (6 months ago)
- Topics: atmega328p, avr-programming, c, csharp, embedded-systems, rs485, rs485-comunication, serial-communication, tutorial-sourcecode, usb, usb-to-rs485
- Language: C#
- Homepage: https://www.xanthium.in/atmel-microchip-avr-atmega328p-rs485-communication-with-computer-tutorial-for-beginners
- Size: 4.21 MB
- Stars: 0
- Watchers: 3
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Interfacing ATmega328P with PC using RS485 Protocol
-------------------------------------------------------------------------------------------------------------------------------------------
## Online Tutorial
- [RS485 communication from ATmega328p microcontroller to PC Tutorial](https://www.xanthium.in/atmel-microchip-avr-atmega328p-rs485-communication-with-computer-tutorial-for-beginners)
## IntroductionTutorial on interfacing your Windows 10 PC with an ATmega328P microcontroller using RS485 Protocol for Bidirectional Communication.
- **In the first case**,
- ATmega328P will send a text string "Hello from ATmega328P" to PC where a C# application will read and display it on the console Window.- **In the second case**,
- PC will send ASCII charcters to the ATmega328P microcontroller through the RS485 link and the LED's connected to the Microcontroller will light up depending upon the command## Toolchain /IDE
- The Code for ATmega328P is written in **AVR C** using **ATMEL Studio 7**.
- C# code is written using **Microsoft Visual Studio Community Edition 2019**.## Tools used
- ATmega328P Microcontroller
- MAX485 RS485 chip
- [USB to RS485 Converter](https://www.xanthium.in/ft232-based-usb-to-serial-rs485-converter-industrial-scientific-applications)
- 