Search found 101 matches

Return

by Kenrix2
Wed Feb 20, 2013 12:59 am
Jump to forum
Jump to topic

LCD displays and K series pic micro problems

If your having problems with LCD displays not working with this series chip at higher clock frequencies (20mhz or more), try changing reduced transition port slew rate to standard. Reduced transition is automatically enabled upon reset. Add a "C Code" icon at the beginning of your program ...
by Kenrix2
Sun Feb 24, 2013 10:00 am
Jump to forum
Jump to topic

Re: SPI reading

Looking at your nice picture it seems that the purple line is lifted up enough to trip the transistors to an on state, which would give you the 255 value. Try a 4.7k ohm pull down resistor on that data line. Just connect one end to that data line and the other to ground. As a rule I try to keep a lo...
by Kenrix2
Thu May 02, 2013 3:18 am
Jump to forum
Jump to topic

Re: Contend with 16F690´s Port A

Could you please try that using port C instead. RA3 is an input only, RA4 and RA5 are connected to your crystal.
by Kenrix2
Wed May 15, 2013 7:04 pm
Jump to forum
Jump to topic

Re: Need a fast way to switch to 31khz low power oscillator

This works great kersing, since there were only a few lines of code in the bootloader I just looked up the binary in the device data sheet and converted to hex with a calculator. It came out to this: 0021 0199 2810 3FFF 3180 2814 Using the PICkit2 I imported my program hex file from Flowcode and the...
by Kenrix2
Wed May 15, 2013 8:39 pm
Jump to forum
Jump to topic

Re: Flowcode 4 and compiler location

I am not sure but, apparently someone else had this same problem. Have a look at:

viewtopic.php?f=29&t=10024&p=31236&hilit=installing+flowcode#p31236

Perhaps you could send john a pm to see if he remembers the solution.
by Kenrix2
Thu May 16, 2013 10:22 pm
Jump to forum
Jump to topic

Re: Flowcode 4 and compiler location

Please try these settings in Compiler Options if you have a 64 bit machine. If they don't work maybe you could post your settings after hitting the "Restore Defaults" button in the lower left of that window. Compiler: Location: C:\Program Files (x86)\Matrix Multimedia\Flowcode V4\BoostC\bo...
by Kenrix2
Sat May 18, 2013 4:51 am
Jump to forum
Jump to topic

Re: 12F615 comparator programming

You might want to try the Comparator module instead of the CCP for the input, that way you can set the "reference voltage" or I would call it the "trip voltage" (input-) to whatever you want externally. Then have your photo diode connect to the comparator(input+). If (input +)vol...
by Kenrix2
Mon Jun 03, 2013 9:38 pm
Jump to forum
Jump to topic

Re: Pic12f1840 ADC problem

This post might answer your question:

viewtopic.php?f=29&t=8746&p=27866&hilit=adc+23+c+error#p27866

Note that there is also an update for PIC_ADC_26.c
by Kenrix2
Sun Jun 09, 2013 10:18 pm
Jump to forum
Jump to topic

Re: Microcontroller to trip sensors with precise timings.

This might get you started in your project. Press play to see if the logic is right. You can click on the switch and watch what happens. Adjust to suit your needs. The circuit design is up to you to get the exact voltages.

There is a very nice "Learning Center" on the website.
by Kenrix2
Sat Jun 08, 2013 8:51 am
Jump to forum
Jump to topic

Re: problème PWM sur PIC16F1847

I hope you can translate this. Look in C:/Program Files/Matrix Multimedia/Flowcode V4/FCD Edit 16F1847.fcd Add to [Defines] Define24=#define MX_PWM_TRIS2 trisb Define25=#define MX_PWM_2 6 Define26=#define MX_PWM_TRIS2a trisa Define27=#define MX_PWM_2a 7 change in [Device] HasAltPWM=0 to HasAltPWM=1 ...
by Kenrix2
Tue Jun 11, 2013 5:32 am
Jump to forum
Jump to topic

Re: Outputs in panel

I just did a search for "panel bug" and this post was listed which looks similar to your issue: http://www.matrixmultimedia.com/mmforums/viewtopic.php?f=30&t=6894&p=24031&hilit=panel+bug#p24031 It is for V4 and no remedy but, the last entry has an easy work around. Give it a tr...
by Kenrix2
Mon Jun 17, 2013 9:45 am
Jump to forum
Jump to topic

Re: Semiconductor Temperature Sensors

Some Pic micros have a temperature unit. I have used them in the past for various monitoring uses but not for getting the the exact degree centigrade.
Here is a sample. It is made with V4.5 ,however, it should work with V5.
by Kenrix2
Wed Jun 26, 2013 11:30 pm
Jump to forum
Jump to topic

Re: usar 115200 pic 16f648a

I asked myself a similar question after viewing a video of lights being turned on and off and dimmed all timed to music and I wanted to build it. I bought a copy of Flowcode Pro and actually did build it. The music part was handled by a PC. At first i was skeptical as to whether or not Flowcode was ...
by Kenrix2
Tue Jul 02, 2013 5:09 am
Jump to forum
Jump to topic

Re: problème TMR1 avec PIC16F1847

Sorry for the english. I hope you can translate this. Please try this. You need to edit the 16F1847.fcd file inside the C:/Program Files/Matrix Multimedia/Flowcode V4/FCD folder with a text editor. Find TMR1CS in the file and replace it with TMR1CS1. There will be two entries to edit. Save changes a...
by Kenrix2
Wed Jul 10, 2013 9:07 am
Jump to forum
Jump to topic

Re: SS bit not able to use on PIC18F86J60-i/pt in flow code

You can try this. Open the file 18F86J60.fcd located in C:\Program Files\Flowcode\v5\FCD with a text editor. Just below [PortMasks] is PortMask5=0x7E. Change it to PortMask5=0xFE. Save the change, close it and restart Flowcode.
by Kenrix2
Thu Jul 11, 2013 6:33 am
Jump to forum
Jump to topic

Re: SS bit not able to use on PIC18F86J60-i/pt in flow code

Change PortMask9=0x20 to PortMask9=0x30. If you convert the hex to binary you can see what is going on. 0x20 = 0b100000, just bit 5 is set.
0x30 = 0b110000, bits 5 and 4 are set.
by Kenrix2
Wed Aug 07, 2013 11:50 pm
Jump to forum
Jump to topic

Re: Schematic Drawing Program

I did finally find an easy to use free one after many internet downloads which is what I was trying to avoid by starting this post. It is called TinyCAD. Flowcode does have an issue with it though. A direct import results in a big black box, however, if i import the TinyCAD png output to a drawing p...
by Kenrix2
Fri Aug 09, 2013 10:07 pm
Jump to forum
Jump to topic

Re: spi 12bit digital to analog chip

Many Microchip Pic's have a built in DAC Module. Microchip's Product Selection Tool returns 41 different 8 bit Micro's with DAC's. The 8 bit micro's that are supported by Flowcode use a 5 bit DAC. There are some newer 8 bit micro's that have an 8 bit DAC but, these are not yet directly supported by ...
by Kenrix2
Mon Aug 19, 2013 1:14 am
Jump to forum
Jump to topic

Re: Capasitive Sensing

A while back I did several experiments with the Capacitive Sensing Module. It worked great but the current draw was more than I expected so I abandoned it since my application used a CR2032 battery. I am not sure if the code is wrong or just that my expected current draw calculation was in error. Th...
by Kenrix2
Tue Aug 20, 2013 8:53 pm
Jump to forum
Jump to topic

Re: Voice Demo

I can not get this to compile to hex. I get error code 1 using either the default boostc or HITECH C(PICC 9.83). It compiles to C just fine, it is 6248 lines when I press "View C...". Perhaps I will have to find and install the RealSpeak language pack.
by Kenrix2
Thu Aug 22, 2013 6:03 pm
Jump to forum
Jump to topic

Re: Component creation.

Benj, For me one of the biggest selling points of V6 is the component creation feature. For you to make the component for us is nice but, explaining how you do it in detail would allow me to learn how to create my own components which is what I am looking for. I realize that might take some time to ...
by Kenrix2
Thu Sep 05, 2013 2:13 am
Jump to forum
Jump to topic

Re: Sourceboost Licence and code size

I think you will be pleasantly surprised to learn that you can now upgrade your V5 Home to V6 Chip Pack for a very small fee. V6, as far as I know, has no program size restriction. Looking at your photo and the fact that you have programmed up to the V5 Home limit, you definitely have a knack for th...
by Kenrix2
Wed Sep 04, 2013 9:08 pm
Jump to forum
Jump to topic

Re: How to toggle power to an LCD Screen?

You might want to consider using just the glass for battery systems. From a typical LCD Display Module data sheet the current draw is around 1500ua while using just the glass I average just 2.1ua (with the display on and the micro in sleep). With a CR2032 your looking at a 10 year battery life using...
by Kenrix2
Mon Sep 16, 2013 9:35 pm
Jump to forum
Jump to topic

Re: PWM Outputs

Attached is a program to show how to do it so you can test it in hardware. In your program PWM FanIntake and PWM FanExhaust are using the same channels.
by Kenrix2
Sun Sep 15, 2013 10:35 pm
Jump to forum
Jump to topic

Re: PWM Outputs

Your trying to use alternate pins for CCP2 and CCP3. Flowcode will set the correct pins as outputs when you check the box "Use alternative pin" but it does not set the bits in the APFCON:ALTERNATE PIN FUNCTION CONTROL REGISTER so you have to do it manually. Drop a "c code icon" i...