Search found 654 matches

by stefan.erni
Tue Dec 07, 2021 9:35 pm
Forum: General Programming
Topic: Possible ground issues
Replies: 2
Views: 4493

Re: Possible ground issues

Hi siliconchip

BUT if i then remove the negative feed to the emitter the circuit reads bang on to the flukes reading,
You can add a resistor from basis to emitter to be sure that the transistor turns off better

regards

Stefan
basis_2021-12-07_21-18-00.png
basis_2021-12-07_21-18-00.png (119.42 KiB) Viewed 4471 times
by stefan.erni
Wed Aug 25, 2021 12:37 pm
Forum: Bug Reports
Topic: PIC18F26K22 Not reading data UART [SOLVED]
Replies: 5
Views: 3752

Re: PIC18F26K22 Not reading data UART

Hi Sadık

I compiled your program and the error was like this
(103) #error: "Software UART Baud Rate Not Available At This Clock Speed" ^


So if I go down with the Baudrate to 19200 I can compile with softwaremode uart.

Try if its working to receive some byte.


regards
by stefan.erni
Tue Aug 24, 2021 8:03 am
Forum: Bug Reports
Topic: PIC18F26K22 Not reading data UART [SOLVED]
Replies: 5
Views: 3752

Re: PIC18F26K22 Not reading data UART

Hi Sadık Check the length of Your STR_Receive it's just 80 but You wait for 100Bytes. Change the waiting time. In the loop use a delay (1mSec) Use a text to display in the decision under yes, like "receive ok" then You know reciving ist ok but the ASCII are bad. Try to use what Martin told an IRQ is...
by stefan.erni
Wed Jul 07, 2021 2:03 pm
Forum: Electronics products
Topic: PCB layout and schematic software
Replies: 51
Views: 178081

Re: PCB layout and schematic software

Hi to All I downloaded and tried DipTrace. After few minutes I think DipTrace is a fast and good program. I'm always working with the Altium Designer (it's a little expensive) but very nice to work. I had a look if there is a freeware from Altium for Hobbyist and found one I also tested this freewar...
by stefan.erni
Thu May 06, 2021 6:50 pm
Forum: Flowcode V7
Topic: Help with Mikromedia 3 Dspic33ep + Shield
Replies: 1
Views: 3457

Re: Help with Mikromedia 3 Dspic33ep + Shield

Hi Ricardo I found your set: https://www.mikroe.com/mikromedia-starter-kit-dspic33ep and the DSP: https://ww1.microchip.com/downloads/en/DeviceDoc/70616g.pdf The board has a 8 Mhz OSCI . You can use this with the PPL. regards Stefan DSP33_2021-05-06_19-30-32.png PLL_2021-05-06_19-37-08.png
by stefan.erni
Tue Apr 27, 2021 2:16 pm
Forum: Forums d'aide en français
Topic: Flowcode V6 parametre Pickit2
Replies: 2
Views: 9239

Re: Flowcode V6 parametre Pickit2

Bonjour Pascal

J'espère que ceci vous aide .
au revoir
Stefan

https://www.flowcode.co.uk/wiki/index.p ... ming_Tools
by stefan.erni
Thu Mar 18, 2021 9:15 am
Forum: 8-Bit PIC
Topic: convert two Int to one Float
Replies: 7
Views: 8779

Re: convert two Int to one Float

Hi George

If you only have this value that you want to convert from float to integer then multiply the value by 1000 then you have an integer. You just have to divide by 1000 somewhere.

regards


Stefan
by stefan.erni
Thu Mar 04, 2021 2:27 pm
Forum: General Programming
Topic: Ads 1115 16bit adc module
Replies: 8
Views: 11455

Re: Ads 1115 16bit adc module

Hi Bob The component ADS1118 is ready to download. I think it's a very good and fast working Homepage Hi Qmesar Thank you for the component. It would be nice if there would also be a 2khz sampling rate converter I had a look for one and found some from TI. 2-kSPS, 16-Bit ADC with Integrated PGA and ...
by stefan.erni
Wed Feb 17, 2021 4:45 pm
Forum: Deutsch Support-Forum
Topic: PIC32mx150F128B hat kein USB
Replies: 3
Views: 21226

Re: PIC32mx150F128B hat kein USB

Hallo Speed64


Wenn Du mich fragst hat nur die Version 2xx USB
Schau mal auf Seite 3 im PDF.

Funktioniert bei Dir schon ein PIC32 mit USB?

Gruss

Stefan

0900766b81344eca.pdf

https://docs.rs-online.com/ef06/0900766b81344eca.pdf

PIC32MX2XX USB FAMILY FEATURES
by stefan.erni
Wed Feb 10, 2021 11:15 am
Forum: Flowcode V7
Topic: Low Baud Rate speeds- How to set up using C code
Replies: 15
Views: 9814

Re: Low Baud Rate speeds- How to set up using C code

Hi George

remove BAUDCONbits.BRG16=0; // You don't need it necessarily.
just

Code: Select all

TXSTAbits.BRGH=0;

SPBRG=32
;

regards

Stefan
by stefan.erni
Wed Feb 10, 2021 11:05 am
Forum: Flowcode V7
Topic: Low Baud Rate speeds- How to set up using C code
Replies: 15
Views: 9814

Re: Low Baud Rate speeds- How to set up using C code

Hi Martin
Thanks a lot
I think you are right;

Code: Select all

TXSTAbits.BRGH=0;
BAUDCONbits.BRG16=0;
SPBRGH=0;
SPBRG=32;
regards

Stefan
by stefan.erni
Tue Feb 09, 2021 10:14 am
Forum: Flowcode V7
Topic: Low Baud Rate speeds- How to set up using C code
Replies: 15
Views: 9814

Re: Low Baud Rate speeds- How to set up using C code

Hi Georg

Yes, something like this:

TXSTAbits.BRGH=0;

SPBRGbits.BRG16=0;

SPBRGH=0;
SPBRG=32;


regards

Stefan

https://docs.rs-online.com/a168/0900766b81382af8.pdf
by stefan.erni
Tue Jan 19, 2021 4:44 pm
Forum: Deutsch Support-Forum
Topic: PIC32MZ2048EFH064 mit 252MHz funktioniert nicht
Replies: 6
Views: 7497

Re: PIC32MZ2048EFH064 mit 252MHz funktioniert nicht

Hallo Speed64 Ja Du kannst den Wert anpassen Ich habe Dir nur berechnete Werte Gruss Stefan You can insert a C Code with a line like this. This C Code has to be after the init the Uart! U1BRG=2592; // setzt uart 1 auf 9600 U4BRG=216; // setzt uart 4 auf 115200 bei 200Mega U4BRG=259; // setzt uart 4 ...
by stefan.erni
Tue Jan 19, 2021 1:54 pm
Forum: Deutsch Support-Forum
Topic: PIC32MZ2048EFH064 mit 252MHz funktioniert nicht
Replies: 6
Views: 7497

Re: PIC32MZ2048EFH064 mit 252MHz funktioniert nicht

Hallo Speed64 Ich weis schon das Pic laufen mit 250 Mega. Ich habe das auch schon gemacht Du kannst zum testen dort 200Mega eingeben. Diese Zahl ist nur für das delay gebraucht. Also wenn Du delay 1Sekunde wählst dann hast du nur ein delay von 0.8 Sekunden. Probiere Mal. Noch ein kleine Hinweis, Der...
by stefan.erni
Mon Jan 18, 2021 12:21 pm
Forum: Deutsch Support-Forum
Topic: PIC32MZ2048EFH064 mit 252MHz funktioniert nicht
Replies: 6
Views: 7497

Re: PIC32MZ2048EFH064 mit 252MHz funktioniert nicht

Hallo Speed64

Ja Du kannst bei den Projekt Optionen sehr viele Clock Funktionen einstellen.
Meistens kannst Du Multiplizieren oder Dividieren. Es gibt auch extra Exceltabellen dazu.
Bei mir habe ich auf 100Mega eingestellt um Strom zu sparen.
Gruss

Stefan
ProjektOptionen_2021-01-18_12-15-24.png
ProjektOptionen_2021-01-18_12-15-24.png (127.75 KiB) Viewed 7488 times
by stefan.erni
Thu Jan 07, 2021 11:51 am
Forum: General Programming
Topic: Measure PIC's own battery voltage
Replies: 18
Views: 17440

Re: Measure PIC's own battery voltage

Hi picolino You are using Vref as reference Voltage on pin 6 and which pin is for the AD input? You need a stable voltage for vref (not dependent on the battery) that can be done with a small Ic with 3Pin, or you use a regulator for the PIC for 3.3volt and use VDD as Vref. or to test the battery you...
by stefan.erni
Wed Jan 06, 2021 10:53 am
Forum: General Programming
Topic: Measure PIC's own battery voltage
Replies: 18
Views: 17440

Re: Measure PIC's own battery voltage

Hi picolino That's no problem. I've done this many times. Can you post your program? I have a pic 12F675 powered by a single 4.2v lithium battery. Is your pic on the battery or do you have a 3.3volt psu additionally ? I use a voltage divider to take the sample of battery by Pin 6 (GP1/Vref) using a ...
by stefan.erni
Fri Dec 18, 2020 4:58 pm
Forum: Flowcode V7
Topic: Low Baud Rate speeds- How to set up using C code
Replies: 15
Views: 9814

Re: Low Baud Rate speeds- How to set up using C code

Hi George Can you post your program? I guess I forgot something... bits TXSTAbits.BRGH=0; BAUDCONbits.BRG16=0; For some baudrate you need a 16bit value. In a 8bit Pic you need two register for this value. You can choose if you just use a 8 bit Value (in SPBRG) If you set the bit BAUDCONbits.BRG16=0 ...
by stefan.erni
Fri Dec 18, 2020 9:13 am
Forum: Flowcode V7
Topic: Low Baud Rate speeds- How to set up using C code
Replies: 15
Views: 9814

Re: Low Baud Rate speeds- How to set up using C code

Hi Georg I hope it will help. You can read in the manual from page 216 - 229 how to calculate the value for SPBRG SPBRGH The C Code has to be after the init the Uart! You will "overwrite" the part with the speed for the uart from FC REGISTER 18-1: TXSTA: TRANSMIT STATUS AND CONTROL REGISTER bit 2 BR...
by stefan.erni
Thu Dec 17, 2020 8:59 am
Forum: Bug Reports
Topic: PIC32MX with 24C32 EEProm
Replies: 2
Views: 3811

Re: PIC32MX with 24C32 EEProm

Hi Patrick

Can you post you program?
What are value of the pull up resistor?
And is your EEprom with an A on the end? like 24AA32A
Is this IC pluggable with 8Pin?
regards

Stefan
by stefan.erni
Tue Dec 15, 2020 6:37 pm
Forum: Flowcode V8
Topic: ESP8266 as target chip
Replies: 43
Views: 37353

Re: ESP8266 as target chip

Hi Leigh

Thank you very much. Scanning is working now and I changed the array so it starts at 0.
For me is ok to work with 8 SSID.

regards

Stefan
by stefan.erni
Tue Dec 15, 2020 9:10 am
Forum: Flowcode V8
Topic: ESP8266 as target chip
Replies: 43
Views: 37353

Re: ESP8266 as target chip

Hi Ben

I went into the basement and there are only 9. But still no SSID in the display.

regards

Stefan
by stefan.erni
Tue Dec 15, 2020 9:01 am
Forum: Programming Tips & Tricks
Topic: Display!
Replies: 2
Views: 6086

Re: Display!

Hi Jorgen

Thank you, I like it.

regards

Stefan
by stefan.erni
Tue Dec 08, 2020 12:39 pm
Forum: Flowcode V8
Topic: ESP8266 as target chip
Replies: 43
Views: 37353

Re: ESP8266 as target chip

Hi Ben

It found 25 SSID and shows the counting up number but no SSID on the display.

regards

Stefan
FC9_heltec_esp32_wlan_scanning.fcfx
(17.63 KiB) Downloaded 297 times
by stefan.erni
Tue Dec 08, 2020 11:06 am
Forum: Flowcode V8
Topic: ESP8266 as target chip
Replies: 43
Views: 37353

Re: ESP8266 as target chip

Hi Ben

Wlan accespoint is working, I can see the "heltec" network, but scanning SSID is scanning but all the string later are empty.

Bluetooth init gives an error.


regards

Stefan
FC9_heltec_esp32_wlan_ap_BT_SSP.fcfx
(17.87 KiB) Downloaded 273 times