PROBLEM WITH A SCRIPT ON RIOX CARD
- Davidetwinp98
- Topic Author
- Offline
Less
More
- Posts: 59
- Thank you received: 0
4 years 10 months ago #29533754
by Davidetwinp98
PROBLEM WITH A SCRIPT ON RIOX CARD was created by Davidetwinp98
My problem is that i would connect and test an HCSR04 ultrasonic sensor with my riox card, someone know how it do?
please circuit scheme and an example for this situation on microbasic script
please circuit scheme and an example for this situation on microbasic script
Please Log in or Create an account to join the conversation.
- Gabriel_Isko
4 years 10 months ago #29533755
by Gabriel_Isko
Replied by Gabriel_Isko on topic PROBLEM WITH A SCRIPT ON RIOX CARD
Hey Davide,
If you are still having trouble connecting this, you should take a look at Parallax's PING sensor . They implement the trigger signal
using integrated circuitry on the sensor itself, so all you have to do is monitor the output signal using a pulse output.
If you are still having trouble connecting this, you should take a look at Parallax's PING sensor . They implement the trigger signal
using integrated circuitry on the sensor itself, so all you have to do is monitor the output signal using a pulse output.
Please Log in or Create an account to join the conversation.
- Davidetwinp98
- Topic Author
- Offline
Less
More
- Posts: 59
- Thank you received: 0
4 years 10 months ago #29533759
by Davidetwinp98
Replied by Davidetwinp98 on topic PROBLEM WITH A SCRIPT ON RIOX CARD
Isko my problem is that i dont know how to write the script because , when i was using arduino , the command for input an inpulse was "PULSEIN" but in microbasic the "pulse in " command " there isn't.
so i dont know how to program it . Now i connect the trigger on an outpup and the echo signal on an input, so the last thing that remain is the code for the script , i just see the parallax ultrasonic sensor , but my sensor have 1 VCC , 2 GND , 3 ECHO, 4 TRIGGER.
And i must connet this pin on the riox card before writing a script
so i dont know how to program it . Now i connect the trigger on an outpup and the echo signal on an input, so the last thing that remain is the code for the script , i just see the parallax ultrasonic sensor , but my sensor have 1 VCC , 2 GND , 3 ECHO, 4 TRIGGER.
And i must connet this pin on the riox card before writing a script
Please Log in or Create an account to join the conversation.
Time to create page: 0.056 seconds