Search Results - MEL PICBASIC Forum

# Search:

Type: Posts; User: pedja089; Keyword(s):

Page 1 of 4 1

1. ## Thread: with the pic16f628a off, a voltage on an1 comes out from main voltage pin, why?

by pedja089
Replies
23
Views
270

### Re: with the pic16f628a off, a voltage on an1 comes out from main voltage pin, why?

Why you don't connect A1 after switch?
2. ## Thread: Using Floating Point to integer subroutines

by pedja089
Replies
14
Views
3,419

### Re: Using Floating Point to integer subroutines

I do not have DEV_FAM.inc file.
I have:
FP1832L.bas
FP32.A18
MATH18.INC
3. ## Thread: Using Floating Point to integer subroutines

by pedja089
Replies
14
Views
3,419

### Re: Using Floating Point to integer subroutines

I have FP library running on few 18F46K80 and 18F87j50.

by pedja089
Replies
12
Views
347

### Re: AD8302 Phase and magnitude to complex impedance

First, I now see that I have mistake in formula, all items with "i" should be on right. I used online calc to solve it. Looks like that I need to solve by hand...

by pedja089
Replies
12
Views
347

### Re: AD8302 Phase and magnitude to complex impedance

Written in form Zx=R-jX
8927

by pedja089
Replies
12
Views
347

### Re: AD8302 Phase and magnitude to complex impedance

Step 6: Realize how stupid you are, and how some things are simple :)
Math is actually fairly simple.
...

by pedja089
Replies
12
Views
347

### Re: AD8302 Phase and magnitude to complex impedance

That is usually case. But I want it to be in real working condition(bolted to wall) or on other surface.
So trimming isn't problem.
Step 1: Make longer antenna,
Step 2: Just go to antenna clip...

by pedja089
Replies
12
Views
347

### Re: AD8302 Phase and magnitude to complex impedance

I need to design custom shape of antenna. Antenna is in plastic box, partially potted, low height etc. In short antenna is in place where no antenna should be.

by pedja089
Replies
12
Views
347

### Re: AD8302 Phase and magnitude to complex impedance

I want to create something like this:
From last video I'm missing Im and denominator.
Im/Denominator is...

by pedja089
Replies
12
Views
347

### Re: AD8302 Phase and magnitude to complex impedance

Pic and registers etc doesn't mater at all... I do not have problem with code, I have problem with math..
Complex impedance is just way of representing magnitude and phase. It looks like Z=R+jX,...

by pedja089
Replies
12
Views
347

### AD8302 Phase and magnitude to complex impedance

Hi,
I didn't know where to put topic, so if it is wrong place...

I have project where I need to match 868MHz antenna to 50R. So I build sort of antenna analyzer.
I used this bridge...
12. ## Thread: Low power accurate 6 month timer - suggestions?

by pedja089
Replies
15
Views
870

### Re: Low power accurate 6 month timer - suggestions?

Thanks for info. I'm wondering how much devices will be recovered...
Also please report your experience with microcrystal RTC. I have one dev board on shelf, but newer tried...
13. ## Thread: Low power accurate 6 month timer - suggestions?

by pedja089
Replies
15
Views
870

### Re: Low power accurate 6 month timer - suggestions?

How you will get data from bottom of sea?
14. ## Thread: Low power accurate 6 month timer - suggestions?

by pedja089
Replies
15
Views
870

### Re: Low power accurate 6 month timer - suggestions?

If you need low power, accurate, and small part I'll go with microcrystal RTC.
3.2x1.5x0.8mm, 40 nA @ 3 V, ±1 ppm @ 25°C, Fout 32768...to...1Hz, alarm with int pin.
Need more?

by pedja089
Replies
6
Views
385

### Re: Getting data from user, how to store it properly? (kinda dialog interface)

48 word array will hold 48 steps...
Just create array for x,y,z,s...
Eg

X VAR WORD[48]
Y VAR WORD[48]
Z VAR WORD[48]
S VAR WORD[48]

FOR steps=0 to NoOfSteps
16. ## Thread: PIC to PIC (3 digit LED display)

by pedja089
Replies
7
Views
448

### Re: PIC to PIC (3 digit LED display)

Also measure from GND to GND.
Schematic would help a lot.
17. ## Thread: HTML and PIC communication

by pedja089
Replies
43
Views
1,905

### Re: HTML and PIC communication

Just to say again to be clear...
https://pedja089.000webhostapp.com/index.php?x=8
and put variables name and value after ?

Unfortunately I can't log...
18. ## Thread: HTML and PIC communication

by pedja089
Replies
43
Views
1,905

### Re: HTML and PIC communication

Just remember that I already have that script up and running.

https://pedja089.000webhostapp.com/index.php?x=8

https://pedja089.000webhostapp.com/1.txt
19. ## Thread: HTML and PIC communication

by pedja089
Replies
43
Views
1,905

### Re: HTML and PIC communication

It contains PHP. It isn't pure HTML.
So script need to be hosted on server.
You can use free server for testing.
eg: www.000webhost.com
This isn't ad, just sharing one that worked for me.
Try...
20. ## Thread: HTML and PIC communication

by pedja089
Replies
43
Views
1,905

### Re: HTML and PIC communication

Here is script that I made for user on another forum

<html>
<body>
<?php
echo "POST Vars: <br/>";
print_r (\$_POST);
echo "<br/>GET Vars: <br/>";
print_r (\$_GET);
21. ## Thread: PIC to PIC (3 digit LED display)

by pedja089
Replies
7
Views
448

### Re: PIC to PIC (3 digit LED display)

Speed up comm speed. Also add Timeout to hserin. Look in manual for details.
22. ## Thread: PIC to PIC (3 digit LED display)

by pedja089
Replies
7
Views
448

### Re: PIC to PIC (3 digit LED display)

Try
Serout PortA.7,T1200,["No:",W2.highbYTE,W2.lowBYTE] ' Send two byte

hserin [WAIT("No:"),W1.HIGHBYTE,W1.LOWBYTE] ' Get char from serial port (UART)
23. ## Thread: It is Y2K19 but DS18B20PAR+ Returns either 127 or 85 depending on resistor value.

by pedja089
Replies
28
Views
1,742

### Re: It is Y2K19 but DS18B20PAR+ Returns either 127 or 85 depending on resistor value.

I guess it too much work, just count supported PIC. And it doesn't require more then 5min of reading datasheet.
So probably they cannot justify investment.
Also MCC(or what ever is called) have...
24. ## Thread: It is Y2K19 but DS18B20PAR+ Returns either 127 or 85 depending on resistor value.

by pedja089
Replies
28
Views
1,742

### Re: It is Y2K19 but DS18B20PAR+ Returns either 127 or 85 depending on resistor value.

I don't know why people have so much trouble setting port.
I always first set ANCON(ANSEL, etc), then TRIS, then optionally set port state (PORT or LAT register).
25. ## Thread: PIC 18F2431 PORTB.6 and 7 - strange behavior on restart after a few hours "rest"

by pedja089
Replies
20
Views
1,064

### Re: PIC 18F2431 PORTB.6 and 7 - strange behavior on restart after a few hours "rest"

Not really. For debugging it isn't desirable. For stand alone usage, it is recommended. Sometimes it wotn't works without it.
Pic should be released from reset, only when supply voltage is stable,...
Results 1 to 25 of 100
Page 1 of 4 1