Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Topics - SageSG

Pages: 1
TinyDuino Processors & TinyShields / HC-SR04 on proto board
« on: November 13, 2020, 12:37:43 PM »
Hi everyone I am new to this forum,

I am working on a school project for a collision prevention system using an ultrasonic range sensor (HC-SR04). It works perfectly with a buzzer(5V Piezo) and led lights on Arduino UNO.

I want to integrate this to the Tinyzero processor (ASM2021) with a proto board (ASD2009) as TinyDuino is somewhat the same as the UNO. The problem is the HC-SR04 stopped working entirely after connecting loosely on the proto board using male-to-male jumper wires. The buzzer and led lights works fine, but the reading from the HC-SR04 sensor is 0 on the serial monitor. It does not read anymore using the UNO board.

I checked the pins/ connections and tried resetting the HC-SR04 using GND and VCC but to no avail.

Reasons I can think of that causes the sensor to malfunction is the voltage difference between the boards, or the codes for UNO cannot be used directly on TinyZero.

I am really new with building tinycircuits and arduino, so please type in simple terms.
Really grateful if there is any suggestions for a fix.

- A lost soul

Pages: 1
SMF spam blocked by CleanTalk