Introduction: NUC140 Serial Communication
In this project, we will be making a communication between Arduino and Nuvoton NUC140 which transfer vital information by sending data one bit at a time.
Serial communications are essential for every Micro-controllers to communicate between Micro-controllers and another device. The Micro-controller sends these 1 and 0 (bits) that contain necessary information one by one, or Serially. These bits form together and turn into bytes (composed of 8 bits). For further information, check it out sparkfun binary tutorials.
It’s a fairly easy project and can be used either on its own or part of something bigger (check it out >> Automatic Weather Station).
Step 1: List of Material
For this project, we will be using:
- Arduino boards (mine Arduino Uno Rev3)
- Nuvoton NUC140
- Jumper Wire
Step 2: Hardware Connections
In common, the connections are fairly easy. Just connect Arduino Transmitter (TX) to Nuvoton Reciever (PB0) with jumper wire, connect both GND (Ground)* and you should have no problems.
*P.S. Grounding is an essential factor for serial communication (make sure the high binary voltage is 5V)
Step 3: Nuvoton Programming
Below is the Nuvoton Serial Communication code. Upload Serial_test.ino code to your Arduino (Mine Arduino Uno Rev3) , NUC140-Ardu.c code to Nuvoton (Check it out how to upload the code >> Introduction to Nuvoton NUC140), and you should have no problems.
You can clone and edit the code in any way you prefer.
Step 4: Enjoy!
After making sure that everything works smoothly, you can take this project into bigger project (check it out >> Automatic Weather Station)!
Power through batteries or a plug and you’re good to go!
1 Person Made This Project!
- sorata2nara made it!