chipKIT® Development Platform

Inspired by Arduino™

hc-sr04 on chipkit max32

Created Thu, 14 Nov 2013 22:22:59 +0000 by sancee22


sancee22

Thu, 14 Nov 2013 22:22:59 +0000

Hello,

I'm working on a project that requires to connect a hc-sr04 ultrasonic sensor to my chipkit max32 board. I've got a working source code, the wiring is right, the sensor works on my arduino board too and it's still doesn't work on chipkit(says 0 distance all time). Do i need any additional libraries to my mpide to make my sensor work?Or any other ideas? Help me please, thanks.


majenko

Fri, 15 Nov 2013 15:22:10 +0000

Can you maybe show us your wiring, and show us your source code? Without that it's like you calling the garage and saying "My car won't work. It's a green one. What's wrong with it?"