Search found 116 matches

by Bachman
Sun Sep 13, 2020 8:21 pm
Forum: Flowcode V6
Topic: I2C eating memory
Replies: 2
Views: 4277

Re: I2C eating memory

LM35 have only 0.5 °C resolution. Why are you using 0.125 multiplier? Try DS18B20, it has a resolution of 0.0625 °C, what is enough for displaying 0.1 °C precision. The main problem is the "TempdegC" variable, what is FLOAT. Try to never use FLOAT, you can make some tricks. From "calculate temperatu...
by Bachman
Sun Sep 13, 2020 7:35 pm
Forum: User Components
Topic: DFPlayer mp3 player
Replies: 12
Views: 6948

Re: DFPlayer mp3 player

Try this:
Stereo to mono.png
Stereo to mono.png (4.07 KiB) Viewed 6880 times
by Bachman
Tue Aug 01, 2017 11:19 am
Forum: Flowcode V6
Topic: PWM problems
Replies: 3
Views: 4299

Re: PWM problems

It's doesn't matter, where is the SetDutyCycle command. After the PWM enabled, the output goes to full duty until it's got another SetDutyCycle command. I've tested it on Flowcode 5, on that version, only the second problem exists, set duty to 255 is not 100 % duty on the HW.
by Bachman
Sat Jul 29, 2017 1:12 pm
Forum: Flowcode V6
Topic: PWM problems
Replies: 3
Views: 4299

Re: PWM problems

Second problem: Set the duty to 255, simulation shows az 100 %, but in the real HW, it's not 100 %.
Duty_255_1.jpg
Duty_255_1.jpg (65.37 KiB) Viewed 4298 times
Duty_255_2.jpg
Duty_255_2.jpg (64.54 KiB) Viewed 4298 times
by Bachman
Sat Jul 29, 2017 1:11 pm
Forum: Flowcode V6
Topic: PWM problems
Replies: 3
Views: 4299

PWM problems

Hello!

I made a little PWM test and i found two problems. See attached program.

First problem: When i power up the controller, after the PWM enable, it's turns on as full duty until it's get another command.
Trun_ON_1.jpg
Trun_ON_1.jpg (69.87 KiB) Viewed 4299 times
Turn_ON_2.jpg
Turn_ON_2.jpg (65.27 KiB) Viewed 4299 times
by Bachman
Mon May 01, 2017 3:09 pm
Forum: Flowcode V7
Topic: delay function problem
Replies: 3
Views: 4476

Re: delay function problem

The flowchart command sends the charaters to a buffer (SW, HW, both?) then waits 4 ms, the main process does not wait for the UART module to finish the job. This is why you see more pause at higher UART baudrate. I think.
Delay time.jpg
Delay time.jpg (36.14 KiB) Viewed 4460 times
by Bachman
Fri Oct 07, 2016 7:17 pm
Forum: General Programming
Topic: Nextion displays.
Replies: 13
Views: 23490

Re: Nextion displays.

Highly recommended, start testing the display via an USB - UART converter. Much-much faster. You can test the commands (with your program in the display), if everithing is ok, write the microcontroller program. Whit this procedure, you can thest the display first. Othervise, you won't know where is ...
by Bachman
Sat Oct 01, 2016 2:08 pm
Forum: General Programming
Topic: Nextion displays.
Replies: 13
Views: 23490

Re: Nextion displays.

I think, the best way using this displays as a normal display. Do everything by the controller, reading from the display only the touch event, nothing more. Reading by UART interrupt, sending data as normal UART communication, easy to use. Sedning "12345" text to object t0: SendRS232String("t0.txt="...
by Bachman
Fri Sep 30, 2016 9:23 pm
Forum: Flowcode V7
Topic: Oled (SSD1306) as slave SOLVED!
Replies: 6
Views: 5984

Re: Oled (SSD1306) as slave

Normally, the I2C bus needs 4.7 kOhm pull up. If you use 2.2 kOhm and the SSD1306 has built-in pull up, the result can be lower than 2.2 kOhm. Smaller resistance, harder to pull down by the RTC and/or SSD1306. Or try to monitor the I2C bus by a logic analyser.
by Bachman
Sat Aug 27, 2016 11:53 am
Forum: Flowcode V7
Topic: Compiler in FREE mode
Replies: 7
Views: 9205

Re: Compiler in FREE mode

Benj wrote:Would it be possible for you to share your v5 flowchart with us.
Yes: DS18B20 & Memory (ROM) usage (Flowcode v6 topic).
by Bachman
Sat Aug 20, 2016 8:36 pm
Forum: Flowcode V7
Topic: Compiler in FREE mode
Replies: 7
Views: 9205

Re: Compiler in FREE mode

PicoPuls wrote:Does that mean that the Microchip FREE mode compiles 10 times faster
than the previous compiler in Flowcode6?
Maybe only the hex generation is faster. Same flowchart tested in FC v5, v6 and v7:
TestResults.jpg
TestResults.jpg (128.08 KiB) Viewed 9065 times
by Bachman
Thu Jul 14, 2016 7:47 pm
Forum: Bug reports
Topic: System requirements
Replies: 8
Views: 10944

Re: System requirements

Yes, i'm using XP only for two reasons: Flowcode and Proteus. The main system is Mac OS. Ok, no problem to create a new virtual machine. The problem is simple: i can install, but not run. Message from the installer is missing: "Flowcode 7 requires Windows 7 or newer" -> "Quit Installer" (no other op...
by Bachman
Wed Jul 13, 2016 6:41 pm
Forum: Flowcode V7
Topic: Welcome to the Flowcode 7 Forums
Replies: 5
Views: 29657

Re: Welcome to the Flowcode 7 Forums

Hello!

A little mistake:
Shot_525.jpg
Shot_525.jpg (62.1 KiB) Viewed 29606 times
by Bachman
Wed Jul 13, 2016 5:46 pm
Forum: Bug reports
Topic: System requirements
Replies: 8
Views: 10944

System requirements

Hello!

Where is the System requirements? Flowcode 7 free version installed without any warnings, but if I want to start, i got this:
Shot_524.jpg
Shot_524.jpg (27.99 KiB) Viewed 10944 times
... FlowcodeV7.exe is not a Win32 application. :)


The Win system is very minimal in a virtual machine, separated from the world.
by Bachman
Mon May 23, 2016 8:07 pm
Forum: Flowcode V6
Topic: GSM Component
Replies: 22
Views: 20011

Re: GSM Component

Did you try pure UART (RS232) communication? I think, when you call the GSM module, it's sending the information via UART.
by Bachman
Mon May 23, 2016 8:05 pm
Forum: Flowcode V6
Topic: PIC16F1779 is not supported
Replies: 3
Views: 3886

Re: PIC16F1779 is not supported

External D/A converter.
by Bachman
Mon May 23, 2016 8:01 pm
Forum: Bug reports
Topic: KS0108 bugs or wrong settings??
Replies: 8
Views: 10930

Re: KS0108 bugs or wrong settings??

Use the fastest controller you got, clock it as fast as possible. In the gLCD properties panel, set the "Display Enable" to 1. Zero, or higher number than 1 will slow down the gLCD. I'm using some KS0108 with PIC18F26K22 at 64 MHz, but the display isn't too fast. Better than running the controller a...
by Bachman
Sun May 22, 2016 3:07 pm
Forum: Bug reports
Topic: ILI9341 after update
Replies: 10
Views: 17319

Re: ILI9341 after update

Hello!

Result of the last update:
ILI9341.jpg
(322.52 KiB) Downloaded 1923 times
by Bachman
Sun Apr 03, 2016 11:00 am
Forum: Bug reports
Topic: ILI9341 after update
Replies: 10
Views: 17319

Re: ILI9341 after update

Hello!

Better...
ILI9341.jpg
ILI9341.jpg (85.55 KiB) Viewed 17094 times
Suggestion :wink:
Programmer.jpg
Programmer.jpg (34.73 KiB) Viewed 17094 times
by Bachman
Sat Feb 20, 2016 11:43 am
Forum: Bug reports
Topic: ILI9341 after update
Replies: 10
Views: 17319

ILI9341 after update

Hello!
ILI9341.jpg
ILI9341.jpg (128.68 KiB) Viewed 17319 times
Pin "LED" is still in use. If disconneted, got "verbose error" message: "boostc_18F.exe reported error code 1". Portait - landscape problem still exists. Slow update (PIC is running at 64 MHz) problem is still exists.

All the best!
by Bachman
Sat Feb 13, 2016 8:31 pm
Forum: Flowcode V6
Topic: Because of the error?
Replies: 2
Views: 2330

Re: Because of the error?

Where did you got this problem? HW? Simulation? One interesting thing (accidental?):

7654321 - 7588785 = 65536 (0x10000)

Can you test it with other controller? Or try to multiply in two setps:

V_5 = V_5 * 5000
V_5 = V_5 *2

or

V_5 = V_5 * 100 * 100

...
by Bachman
Sat Feb 13, 2016 2:05 pm
Forum: General Programming
Topic: How to play Audio files using Flowcode V & Arduino
Replies: 15
Views: 18368

Re: How to play Audio files using Flowcode V & Arduino

What is the problem exactly? You have to send 9 bytes to control the player. Here is some example: Play: 7e,ff,06,0d,00,00,00,fe,ee,ef Pause: 7e,ff,06,0e,00,00,00,fe,ed,ef Stop: 7e,ff,06,11,00,00,00,fe,ea,ef Next: 7e,ff,06,01,00,00,00,fe,fa,ef Previous: 7e,ff,06,02,00,00,00,fe,f9,ef Play first file:...
by Bachman
Fri Jan 01, 2016 6:02 pm
Forum: Flowcode V6
Topic: GLCD's, a mistery treasure!!
Replies: 5
Views: 6131

Re: GLCD's, a mistery treasure!!

Try to connect the Reset pin to Vcc (3.3 V) or GND. Do not leave floating because it can generate continuous resets on the display.
by Bachman
Thu Dec 31, 2015 2:10 pm
Forum: Bug reports
Topic: DS18B20 & Memory (ROM) usage
Replies: 2
Views: 4983

Re: DS18B20 & Memory (ROM) usage

Other memory usage test. Simple, GPS* based clock with 4 x 7seg display (direct drive).
Memory.jpg
Memory.jpg (72.75 KiB) Viewed 4958 times
*ublox NEO 6M module
by Bachman
Mon Dec 28, 2015 7:57 pm
Forum: Flowcode V6
Topic: Working Ds18b20 chart
Replies: 30
Views: 29585

Re: Working Ds18b20 chart

I think the bug in Flowcode. This program working well with Flowcode V5, but not with V6. Other informations here: OneWire bug report.