Ultrasonic Radar

Hello everyone,

 

Introduction

I have created a circuit that acquires range data from a sensor. This sensor is mounted onto a servo and is constantly being rotated 180 degrees, 5 steps at a time. I have also used a python code to generate a radar screen which should map out data found by the sensor as little white circles. The circuit and PC are connected using a PICAXE AXE027 USB Cable,

Problem

The problem I am having is that the Python program reads the data found from the sensor using COM3 in which the AXE027 cable is connected. This data should then be placed onto the Radar screen as the sensor detects objects, but it is not doing this...Does anyone have any idea why, If so, it would be of great help!

Kind Regards,

eafy131

Inverted signals

its good to knbow when that axe027 inverts the serial signals. This can be changed reflashing cable. But good to know maybe…

Thanks

Hello guys,

Thanks for the replies. I have used the sertxd command in picaxe and it is all working fine. I have come to the conclusion that it is my Python programming that is wrong, but i have no idea why. The picaxe and Python are both operating at 4800 speed, but i still get no display on the Python end. It does show a radar screen, but does not display any data on the radar…

Any other ideas would be appreciated!

Thanks,

Eafy131