Search found 654 matches

by stefan.erni
Fri Sep 04, 2020 8:57 am
Forum: Bug Reports
Topic: MPU9250 results are not stable
Replies: 5
Views: 4167

MPU9250 results are not stable

Hi Ben I have a problem with the component MPU9250. When I read data from the MPU it's reading 10 times correct values and then some wrong data. I tried the Accelerometer alone or Giroscope or Compass. All the tree have the same problem. Even if I only read the temperature, it jumps to wrong values....
by stefan.erni
Fri Sep 04, 2020 8:44 am
Forum: Programming Tips & Tricks
Topic: New Flowcode Wii nunchuck component.
Replies: 11
Views: 9546

Re: New Flowcode Wii nunchuck component.

Hi Martin

Thank you for the info.
Yes the nunchuck is working very nice and stable.
regards

Stefan
by stefan.erni
Thu Sep 03, 2020 9:02 am
Forum: Programming Tips & Tricks
Topic: New Flowcode Wii nunchuck component.
Replies: 11
Views: 9546

Re: New Flowcode Wii nunchuck component.

Hi Ben, Hi Martin Is it possible to post where to shop working cheap Nunchuck? There is a problem with hardware I2C and PIC32MZ. But just in the 100khz and custom mode. The 400kHz and 1Mhz are working in hardwaremode with the nunchuck. The software mode is not working for the nunchuck Accelerometer ...
by stefan.erni
Wed Sep 02, 2020 10:20 am
Forum: Programming Tips & Tricks
Topic: New Flowcode Wii nunchuck component.
Replies: 11
Views: 9546

Re: New Flowcode Wii nunchuck component.

Hi Martin Yes the flashtest is ok. I2C softwaremode: The two switch are working. If I press one, the first and second value change from 0 to 1. The 3 Axis from Accelerometer are always -512 and the Joystick always 0. I2C hardwaremode: There is no clock on the SCL pin. regards Stefan Flip-and_Click_P...
by stefan.erni
Tue Sep 01, 2020 6:12 pm
Forum: Programming Tips & Tricks
Topic: New Flowcode Wii nunchuck component.
Replies: 11
Views: 9546

Re: New Flowcode Wii nunchuck component.

Hi Martin It's a nice idea to use the wii nunchuck. To connect it's also simple. I just shoped a small print. I changed few line for an another display and it's working fine (in software mode) with the both switch but not with the Accelerometer and Joystick. In the simulation everything looks fine. ...
by stefan.erni
Mon Aug 24, 2020 2:29 pm
Forum: Feature Requests
Topic: Interrupt set rollover value with a variable
Replies: 3
Views: 3722

Re: Interrupt set rollover value with a variable

Hi Steve

Thanks a lot. It's working nice the way you wrote.

regards

Stefan
by stefan.erni
Thu Aug 20, 2020 9:02 am
Forum: Flowcode V8
Topic: Create a PDF on an STM32
Replies: 2
Views: 2510

Re: Create a PDF on an STM32

Hi Kisen

Instead of a pdf you can maybe create a csv file .This is an excel file and is very, very easy to create.
I also suspect an HTML file would be easy to create.
regards

Stefan
by stefan.erni
Tue Aug 18, 2020 9:53 am
Forum: Flowcode V8
Topic: GPS - Using Mikroe BL0106 Click Adaptor
Replies: 4
Views: 1861

Re: GPS - Using Mikroe BL0106 Click Adaptor

Hi Gavin I do this with a "virtual" LED. From the component output I get a LED (5mm, Panel). Then I give this LED a name and determine the port in the propertis. If you use the the clickboard on connector D, in your case it would be maybe D7. You can set the pin with a component macro to TurnOn. For...
by stefan.erni
Thu Aug 13, 2020 10:48 am
Forum: Flowcode V8
Topic: GPS - Using Mikroe BL0106 Click Adaptor
Replies: 4
Views: 1861

Re: GPS - Using Mikroe BL0106 Click Adaptor

Hi Gavo

Can you post a foto from your hardware?
Do you have a drawing or wiring list to the clickboard?

Pin 2 from the Clickboard is reset => set it to hi

Pin 13 RX to Arm TX
PIN 14 TX to Arm RX


regards

Stefan
by stefan.erni
Thu Jul 09, 2020 7:27 am
Forum: Flowcode V8
Topic: ADC Problem
Replies: 2
Views: 1311

Re: ADC Problem

Hi Dave 256 looks like a Byte....Then it's maybe a bug. But can you control if your PIC is on 5Volt or 3.3V. because you set Analog Ref to 5Volt. In the AD-component try to change convesionspeed , set to osc/64. How is your input to the AD-converter? Did you use a potmeter or the real motor? regards...
by stefan.erni
Wed Jul 08, 2020 10:25 am
Forum: Flowcode V8
Topic: ESP8266 as target chip
Replies: 43
Views: 43190

Re: ESP8266 as target chip

Hi Gonzogozo There are some new targets from ESP and these looks good. I also hope that ESP Board's will become a Flowcode target in the future. I'm especially interested in the very small board's . But I would also be satisfied with even better support for the ESP8266 as component. I miss a (very) ...
by stefan.erni
Fri Jul 03, 2020 10:37 am
Forum: Feature Requests
Topic: Interrupt set rollover value with a variable
Replies: 3
Views: 3722

Interrupt set rollover value with a variable

Hi Ben At first.. Interrupt with FC8 are very nice to use. It is so easy to set the desired frequency and the later in the hardware the frequency is correct. Sometimes you want to change this frequency during the program. For the next flowcode version... Would it be possible to set the rollover valu...
by stefan.erni
Mon Jun 29, 2020 3:48 pm
Forum: Flowcode V7
Topic: ENC28J60 - Component
Replies: 4
Views: 4775

Re: ENC28J60 - Component

Hi Steve, Hi Ben

How would it be if this ran over SCADA?
Map a network drive on the computer where SCADA is running. Or the computer with SCADA could also save without NAS. I have a PIC32 with an ENC28J60 that works relatively well.....

regards

Stefan
by stefan.erni
Wed Jun 24, 2020 4:21 pm
Forum: Flowcode V8
Topic: sd card read-write
Replies: 4
Views: 1756

Re: sd card read-write

Hi kabouras Have you already tried to write the two files to the card and then read both with the computer? Without your are reading a file with the PIC? Are both files ok? And why did you choose the return string size just to 240 when you read max 255 byte? Sometimes reduce the spi speed help, chan...
by stefan.erni
Wed Jun 24, 2020 10:53 am
Forum: Flowcode V8
Topic: sd card read-write
Replies: 4
Views: 1756

Re: sd card read-write

Hi kabouras

Can you post your program so I can have a look?
by stefan.erni
Wed Jun 24, 2020 10:09 am
Forum: Flowcode V6
Topic: OLED Design
Replies: 7
Views: 8550

Re: OLED Design

Hi John In my FC8 it looks different how to connect the Oled. It's working nice this Oled I used. Do you have some more info about your OLED? I saw that your PIC is on 5Volt PSU. I hope your OLED is also on 5volt and working with it. For my OLED modul I have to use 2 additional pins. One pin to turn...
by stefan.erni
Thu Jun 11, 2020 1:35 pm
Forum: Bug Reports
Topic: Serial EEPROM 24C32
Replies: 2
Views: 1709

Re: Serial EEPROM 24C32

Hi Lord Grezington I guess this PIC has only 1channel which you can connect to either B4 B5 or B8 B9. If you have a few more I2C components on board, check which PIN they are connected to. Maybe you can switch these others to software, to try out whether the EEprom runs with I2C. regards Stefan DSP-...
by stefan.erni
Wed Jun 03, 2020 9:40 am
Forum: General Programming
Topic: sd card project
Replies: 2
Views: 3045

Re: sd card project

Hi Soman Flowcode has a FAT Component. This works very stably and it offers a lot of comfort when programming. And if you like to use WAV file (Audiofiles) there is a anther component available : WAVPlayerFAT1 You can just drag and trop it from the component menue Data--> the component FAT(SD, SDHC)...
by stefan.erni
Tue May 19, 2020 2:32 pm
Forum: Flowcode V7
Topic: help with data logging shield v 1.0
Replies: 2
Views: 4087

Re: help with data logging shield v 1.0

Hi Ricardo For the SD card you can use the pins for SPI. This pins are on the right side on a "strange" connector To start program the SD Card just drag and trop from the component Data the component FAT(SD, SDHC) on your dashboard and try it! regards Stefan Sd.PNG Arduino2.PNG Arduino.PNG
by stefan.erni
Fri May 15, 2020 1:18 pm
Forum: Programming Tips & Tricks
Topic: Microchip Programmer MPLAB SNAP
Replies: 1
Views: 6479

Microchip Programmer MPLAB SNAP

Hi Ben There is a cheap programmer for PIC's (less than 20$) and it's working fine with Flowcode 8 Just change to /TPSNAP in the --compileroption ----programmer -----parameter like this: /P$(chip) /F"$(outdir)$(target).hex" /TPSNAP /M /OL I suspect this applies to all programmers in the same way Fol...
by stefan.erni
Wed May 13, 2020 4:45 pm
Forum: General Programming
Topic: Setting PB2CLK for PIC32MZ2048EFG144 - Unlock Sequence
Replies: 2
Views: 3751

Re: Setting PB2CLK for PIC32MZ2048EFG144 - Unlock Sequence

Hi Brendan

There is like sample how to unlook:

http://www.matrixtsl.com/mmforums/viewt ... nce#p91247

But for the UART Speed read this:

http://www.matrixtsl.com/mmforums/viewt ... 76&t=22017

I hope it helps

regards
Stefan
by stefan.erni
Mon May 11, 2020 8:50 am
Forum: Bug reports
Topic: SD Card file name
Replies: 2
Views: 3617

Re: SD Card file name

Hi Alan A long time ago, filenames had 8 characters and 3 characters for the extension as standard. I also hope that the flowcode will be able to process long file names in the future. I have been working with the Flowcode file system for a long time and it works very reliably. My suggestion for you...
by stefan.erni
Fri Apr 24, 2020 4:05 pm
Forum: Flowcode V8
Topic: Pic32MZ2048EFH100 /200Mhz Uart's too slow
Replies: 6
Views: 3487

Re: Pic32MZ2048EFH100 /200Mhz Uart's too slow

Hi Speed64, Hi Medelec

PIC32MX and PIC32MZ have different value for the Baudrateregister and there is a BRGH Bit to set or clear.

I don't really know that either. But the problem is just in the PIC32MZ and not in another PIC like PIC16.

regards

Stefan
by stefan.erni
Fri Apr 24, 2020 10:18 am
Forum: Flowcode V8
Topic: Pic32MZ2048EFH100 /200Mhz Uart's too slow
Replies: 6
Views: 3487

Re: Pic32MZ2048EFH100 /200Mhz Uart's too slow

Hi Speed64


You can insert a C Code with a line like this.
This C Code has to be after the init the Uart!
I did not try the 9600 baud but for the 115200 it's working nice.

U1BRG=2592; // setzt uart 1 auf 9600
U4BRG=216; // setzt uart 4 auf 115200

regards

Stefan
by stefan.erni
Fri Apr 17, 2020 4:23 pm
Forum: Feature Requests
Topic: PIC-IoT WA Development Board EV54Y39A
Replies: 0
Views: 6127

PIC-IoT WA Development Board EV54Y39A

Hi Ben What about a Microchip board with a Wlan Modul for Flowcode? Would it be possible to include the Wlan Modul ATWINC1510 from the board in Flowcode? This small board can be programed with drag and drop via USB. Soon I will trie how it works to program a PIC with this drag and drop and Flowcode....