I am working on a project. And thetask is to collect the data from a washing machine using a raspberry pi. I have followed many tutorials, and for reference I have mentioned the steps below,
- Set up:
From the Machine : 3 wires comes out(DATA, VCC, GND) which is based on UART communication
RASPI: connected my computer and RASPI to common router and accessing RASPI via Putty terminal
UART PINS : In the RASPI Pin 10 : Connected to DATA pin of the machine and Pin 6: Connected to GND pin of the machine
I am not connecting the VCC pin of the machine to the RASPI (5v), once i blew a Pi by doing so !
I disabled the serial console by following the link , https://github.com/lurch/rpi-serial-console
I have also set the baud rate to 9600,
I tried cat /dev/ttyAMA0 which shows me Junk Characters
ï· Ý[ »Ã viáï· Ý[ »Ã viá
ï· Ý[ »Ã viáï· Ý[ »Ã viá `ï· Ý[ #!/
- Tried to do a hexdump and this shows
sudo hexdump -C /dev/ttyAMA0
hexadecimal values, but the values are not the actual data which I am expecting !!
Can anyone help me with this ??