77Views5Replies

Author Options:

Need help to creat a 8 bit parallel input serial output circuit.. Answered

Hey guise,

I am in a robotics project. and in the project i am using arduino. I want to use serial comunication in arduino. I am not a electronics expert. so, i need help to make a circuit to convert 8 bit parallel data to serial data. I want to make a instruction based key board with the circuit. Plz help me........

Tags:arduino

Discussions

None
-max-

4 years ago

If you have 8 pins on the arduino, and you need to just get a working solution quickly, I recommend just making some code which reads the state of the 8 pins, and serial Write the values. I would use a long math function which does something like:

serielWrite(Pin1 + Pin2 * 2 + Pin3 * 4 + Pin5 * 8 + Pin6 * 16.... you get the idea. To understand why I did it this way, do some research on serieal UART communication, and how to convert between decimal and binary.

None
-max-

4 years ago

The fun part of electronics in my opinion is to figure it out yourself, it is so much more gratifying when you figure out the solution to a complex problem, and it exercises your brain too. I have recently build up a circuit with a 74LS164N that converts UART serial at 9600 baud into parallel output. It is a huge mess of 2 555 chips (one as a monostable oscillator, the other as a clock frequency generator) and some BJY transistor logic, and recently I added a LOT of 100K resistors to create a R2R DAC. It took about half a week to make it work properly.

None
pijusdharaDownunder35m

Answer 4 years ago

thank u for the suggetion but the problem is the circuit connections of the chip. Plz heip me with the IC chip name and the circuit if u can...