Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.
Frank N. Furter Guru Joined: 28/05/2012 Location: GermanyPosts: 939
Posted: 10:22am 07 Mar 2014
Copy link to clipboard
Print this post
Oder was!
plasma Guru Joined: 08/04/2012 Location: GermanyPosts: 437
Posted: 10:24am 07 Mar 2014
Copy link to clipboard
Print this post
oder Sonst ! ( Demolition Man , german translation )!
Frank N. Furter Guru Joined: 28/05/2012 Location: GermanyPosts: 939
Posted: 10:30am 07 Mar 2014
Copy link to clipboard
Print this post
No, no, no, no!!! Frank N. Furter (from "The Rocky Horror Picture Show") is only my nickname in this forum, but my real name is realy Frank (but I am not a Sweet Transvestite from Transexual, Transylvania)...
plasma Guru Joined: 08/04/2012 Location: GermanyPosts: 437
Posted: 10:34am 07 Mar 2014
Copy link to clipboard
Print this post
omg what a Forum ....
plasma Guru Joined: 08/04/2012 Location: GermanyPosts: 437
Posted: 10:36am 07 Mar 2014
Copy link to clipboard
Print this post
btw u say the ir comands in vers. 10 is working ?
where can i find some Doku for ?
WhiteWizzard Guru Joined: 05/04/2013 Location: United KingdomPosts: 2927
Posted: 10:36am 07 Mar 2014
Copy link to clipboard
Print this post
Hey Frank,
So where exactly did you buy your 'problem' from? I got an email two minutes ago saying that mine is on my way (ordered earlier today from ebay) and I just want to check I chose a different supplier to you!!
Frank N. Furter Guru Joined: 28/05/2012 Location: GermanyPosts: 939
Posted: 10:38am 07 Mar 2014
Copy link to clipboard
Print this post
Yeah, I like this forum!
Maximite and µMite are really great!!!
FrankEdited by Frank N. Furter 2014-03-08
Frank N. Furter Guru Joined: 28/05/2012 Location: GermanyPosts: 939
Posted: 10:49am 07 Mar 2014
Copy link to clipboard
Print this post
Hi White Wizzard,
I bought it from a german distributer over EBAY (chipabuy_de) in Hagen. It looks like exact as all the others HC-SR04 but it doesn't work satisfying with our new command and the characteristics are not so as described in the gettable documents...
Frank
Frank N. Furter Guru Joined: 28/05/2012 Location: GermanyPosts: 939
Posted: 10:50am 07 Mar 2014
Copy link to clipboard
Print this post
Hi plasma,
I used the description from beta 8 for my IR-test. It works very fine! I used the TSOP34136, 36kHz from pollin.de for the test. This device work from 2.7 to 5.5V.
This IR-command is a great enrichment!!! I want to build a little hexpod roboter with IR-control...
FrankEdited by Frank N. Furter 2014-03-08
Frank N. Furter Guru Joined: 28/05/2012 Location: GermanyPosts: 939
Posted: 05:30am 08 Mar 2014
Copy link to clipboard
Print this post
Hi White Wizzard,
does your ultrasonic sensor work as expected?
I am helpless with my two sensors...
Frank
plasma Guru Joined: 08/04/2012 Location: GermanyPosts: 437
Posted: 01:59pm 08 Mar 2014
Copy link to clipboard
Print this post
ok ,
my friend give me one device for testing.
same error as above.
but if i run the device with 3,3 v it give me results , but only 2 in random.
it looks like the 5v needs better regulated
plasma Guru Joined: 08/04/2012 Location: GermanyPosts: 437
Posted: 02:23pm 08 Mar 2014
Copy link to clipboard
Print this post
after moving the pins to 15 and 16 i got good results with pause 120.
but moving in a distance under 5.1 cm it comes the transducer not responding error.
ill guess it is to near.
Edited by plasma 2014-03-10
WhiteWizzard Guru Joined: 05/04/2013 Location: United KingdomPosts: 2927
Posted: 02:30pm 08 Mar 2014
Copy link to clipboard
Print this post
I have just got back in after being out all day - I will try tomorrow and let you know how I get on . . .
Frank N. Furter Guru Joined: 28/05/2012 Location: GermanyPosts: 939
Posted: 09:19pm 08 Mar 2014
Copy link to clipboard
Print this post
@Plasma:
Thanks a lot for your test! I will try to filter/better regulate my 5V and try my tests again.
@White Wizzard:
I am very impatient to your result!
Frank
WhiteWizzard Guru Joined: 05/04/2013 Location: United KingdomPosts: 2927
Posted: 10:11pm 08 Mar 2014
Copy link to clipboard
Print this post
Hi Frank,
Just fired up a test rig for my one Ultrasonic module. No fancy software, just trying a Distance command in a loop pausing 1 second between reads.
This is set up on my 44-pin PIC TQFP MicroMite Module and have tried three so far all with same result. Using Pin 1 (Trig) & Pin 2 (Echo) driving Ultrasonic module at 5v.
I get two random values displayed 0.0562089 & 0.0449671.
These don't seem to have any pattern to them and not related to an object placed in front of the sensors.
So at this moment I am in same position as you.
I will get my Logic Analyser out and carry out some more detailed troubleshooting.
Speak soon . . . .
WhiteWizzard Guru Joined: 05/04/2013 Location: United KingdomPosts: 2927
Posted: 11:10pm 08 Mar 2014
Copy link to clipboard
Print this post
Has anyone out there got the UltraSonic Module working on Beta 8 or Beta 10??.
If so please confirm:
- Beta version
- Driving voltage
- any pull ups
- Pins used for Trig & Echo
- Code snippet used
- PIC device 28/44pin; MX150/MX250
plus any other info
Thanks for any replies . . . .
plasma Guru Joined: 08/04/2012 Location: GermanyPosts: 437
Posted: 11:30pm 08 Mar 2014
Copy link to clipboard
Print this post
Beta 8
5,1 volt from Palm Pre Handy Loader
no pull ups
pin 15 & 16
15 - trigger
16 - echo
28 pin pic32mx 150f128
15 cm wires lenght
the next code runs 7 h with correct distance
40 Mhz
iam shure a 5 volt tolerant Pin is needed for echo / trigg
Pause 100
Do
Pause 85
range = Distance (15,16)
print int(range)
pause 85
loop
the splittet pause isnt really needed its a rest from a test , this code works 100% here.
if the pause too small it maybe works ,but if you move an object in the Range really fast over a long distance you get the error from above .
hope this help
Edited by plasma 2014-03-10
WhiteWizzard Guru Joined: 05/04/2013 Location: United KingdomPosts: 2927
Posted: 11:53pm 08 Mar 2014
Copy link to clipboard
Print this post
Thanks Plasma,
As you were writing this I managed to get success.
It looks like the GND connection requires connecting first to the U/S module otherwise I randomly get strange results?
So Im on Beta 10, 44pin MX150 Pin 1 (trig) Pin 2 (echo) at 5v driving (GND CONNECTED FIRST!!)
Works very well now.
And now I can't get it not to work at all - something strange going on here making it difficult to fault find.
If I point to open space I get the -1 value as documented by Geoff. The program then stops saying 'Transducer not responding'. If you then bring something into range again, I keep getting the same 'Transducer not responding' message (and program crashes out) for a random number of times. Then suddenly all works ok again until open space once more.
Plasma{/B] Can you check what happens with your module if pointed to open space (i.e. no object in range)
THANKS
plasma Guru Joined: 08/04/2012 Location: GermanyPosts: 437
Posted: 12:01am 09 Mar 2014
Copy link to clipboard
Print this post
too near spit -1
too far also
make your pause bigger !Edited by plasma 2014-03-10
plasma Guru Joined: 08/04/2012 Location: GermanyPosts: 437
Posted: 12:05am 09 Mar 2014
Copy link to clipboard
Print this post
fishing time ! Brb
Page 2 of 6
Print this page
The Back Shed's forum code is written, and hosted, in Australia.