Search found 7716 matches

by medelec35
Fri Dec 25, 2009 4:12 pm
Forum: Electronics products
Topic: Temperature/humidity sensor
Replies: 8
Views: 9767

Re: Temperature/humidity sensor

Ben that is a Very useful sheet indeed! there may be an easier way Im a bit rusty on this new excel). This generated the code to go directly into the array so you dont actually have to type in all those values. I have fully automated your excel sheet. You can aslo apply this sheet to non miac applic...
by medelec35
Tue Dec 22, 2009 11:25 am
Forum: Electronics products
Topic: Temperature/humidity sensor
Replies: 8
Views: 9767

Re: Temperature/humidity sensor

This is another possibility is using KTY81 series of sensor. See: http://docs-europe.electrocomponents.com/webdocs/0423/0900766b80423e40.pdf. It’s a two wire silicon temperature with a PTC, and it is vitally linear (unlike thermistors) which could mean a formula can be derived to calculate the tem...
by medelec35
Wed Dec 16, 2009 11:22 pm
Forum: Flowcode V4
Topic: Code pieces work indipendently but not together
Replies: 13
Views: 6494

Re: Code pieces work indipendently but not together

Glad its working for you.
If you need Flowcode 4 examples to learn from see here: http://www.matrixmultimedia.com/Flowcode3a-X.php
Good luck.
by medelec35
Wed Dec 16, 2009 4:40 pm
Forum: Flowcode V4
Topic: Code pieces work indipendently but not together
Replies: 13
Views: 6494

Re: Code pieces work indipendently but not together

Your welcome. Opps sorry forgot GP3 is input only on 12F675 :oops: was just following: -GP2 input to GP3 output--blink. lol Corrected version. A question. I can’t make out the colours on your resistors. What are value and colour please? From what I can make out they look like brown, black and blue...
by medelec35
Wed Dec 16, 2009 4:17 pm
Forum: Flowcode V4
Topic: Code pieces work indipendently but not together
Replies: 13
Views: 6494

Re: Code pieces work indipendently but not together

Here you are as promised.
All three LED's and Switches are working independently.

There are several different ways of achieving same results.
This is just one of them.
by medelec35
Wed Dec 16, 2009 10:22 am
Forum: General / Misc
Topic: Sensor LM50BIM3 in Celsius
Replies: 13
Views: 9250

Re: Sensor LM50BIM3 in Celsius

What I have posted won’t stop the instability, that’s caused by your hardware. The program I posted just formats display slightly better and gives less of a flicker. It’s as broad as is long. Supply decoupling capacitors are just low value non-polarised capacitors connected across power supply...
by medelec35
Wed Dec 16, 2009 7:40 am
Forum: General / Misc
Topic: Sensor LM50BIM3 in Celsius
Replies: 13
Views: 9250

Re: Sensor LM50BIM3 in Celsius

Formula looks OK. Only thing I can think of is lack of supply decoupling capacitor can cause instability, whether you are using a voltage regulator or batteries. Just remembered. When I made my temperature sensor, I was using batteries for a power source. The instability threw me. Was sorted by usin...
by medelec35
Wed Dec 16, 2009 12:12 am
Forum: Flowcode V4
Topic: Code pieces work indipendently but not together
Replies: 13
Views: 6494

Re: Code pieces work indipendently but not together

Your welcome Ahh. Whats confusing me is you say Only one (GP5/GP4) will stay constant when called upon To me GP5/GP4 is a quantity of two LEDs that will stay on. So I'm assuming you mean switch connected to GP4 (since that's an input only) controls LED connected to GP5? Also Switch connected to GP0 ...
by medelec35
Tue Dec 15, 2009 7:08 pm
Forum: Flowcode V4
Topic: Code pieces work indipendently but not together
Replies: 13
Views: 6494

Re: Code pieces work indipendently but not together

I want to be able to have GP4/GP5 permanently on or off regardless if GP0/GP1 or GP3/GP2 is called upon to flash. Only GPO/GP1 or GP3/GP2 will be flashing at one time, but in no particular order. If you want to use all available pins as outputs , then no pins left for inputs! one problem is you onl...
by medelec35
Mon Dec 14, 2009 9:17 pm
Forum: Flowcode V4
Topic: Code pieces work indipendently but not together
Replies: 13
Views: 6494

Re: Code pieces work indipendently but not together

So you want the code to have GP4 and GP5 permanently on and at the same time GPO/GP1, GP3/GP2 flashing?
In any particular sequence?
I would not recommend connecting LEDs up without a series limiting resistor for each one , you could exceed the power rating of pic chip.
by medelec35
Mon Dec 14, 2009 4:28 pm
Forum: Programming Tips & Tricks
Topic: Is your Project Not working? Help and General Advice
Replies: 17
Views: 79328

Is your Project Not working? Help and General Advice

Here are some basic solutions. First make a very simple 1Hz flasher, using an LED and something like 270R resistor in series. E.g: Loop while 1 A0=1 Delay 500ms A0=0 Delay 500ms If LED not flashing at correct rate (or at all) then check: A) All voltages are correct. VDD or VCC = +5V. VSS or VEE=0V. ...
by medelec35
Sat Dec 12, 2009 1:11 pm
Forum: Flowcode V2 & V3
Topic: Lost???
Replies: 6
Views: 4807

Re: Lost???

I would strongly advise against posting any key on here: anything regarding keys should be sent in a pm to matrix staff. Anyway to register, assuming you have got correct keys: 1st you put CD key in with no name. CD key is 5 lots of six chars Then you can put your user name and key. User name key is...
by medelec35
Fri Dec 11, 2009 6:29 pm
Forum: Flowcode V4
Topic: Please help with the keyboard 4x4¡¡¡¡¡
Replies: 3
Views: 3233

Re: Please help with the keyboard 4x4¡¡¡¡¡

I had a similar problem. With my setup I had keypad in port A. One of the pins of port A was unable to go-to 5V. This made a character appear without any key pressed. My advice would be to set your whole port to logic1 then measure the voltage to confirm all of port pins measure 5V. I would assume s...
by medelec35
Wed Dec 09, 2009 10:29 am
Forum: General / Misc
Topic: Sensor LM50BIM3 in Celsius
Replies: 13
Views: 9250

Re: Sensor LM50BIM3 in Celsius

You can place a delay that will slow down the rapid change, so you can read display. This may seem a daft question but. If change is too rapid, then is o/p connected to pin you have set up to read? If pin is floating then you will get allsorts of rapidly changing figures. Measure the o/p from your s...
by medelec35
Wed Dec 09, 2009 8:20 am
Forum: Flowcode V4
Topic: 4 button latchin project
Replies: 6
Views: 4135

Re: 4 button latchin project

I see what you mean. I did not look into that because you said your simulation is working correctly. Anyway the problem you have is the masking. You have ticked the ports you want to have effect on, the unticked ports will not be affected. So if you have ports C 0, 2, 4 & 6 ticked then if you 0 as v...
by medelec35
Wed Dec 09, 2009 12:12 am
Forum: Flowcode V4
Topic: 4 button latchin project
Replies: 6
Views: 4135

Re: 4 button latchin project

I believe can see several things wrong. 1) you are using internal oscillator (looking at your config settings) but you have not place a C box at the beginning of main with osccon=0x70; this will set internal oscillator to 8MHz. Othwise I believe the default frequency will be 4MHz 2) You have set the...
by medelec35
Mon Dec 07, 2009 9:27 pm
Forum: MIAC
Topic: Countdown Timer Dual toggle Relays- Working Project
Replies: 3
Views: 6735

Re: Countdown Timer Dual toggle Relays- Working Project

Thanks.
Its a bit complex for a countdown timer because is a dual timer which activate two relays, and is using same icons for both displays.
If you need any help simplifying for just 1 countdown timer just ask. That's what we are here for.
by medelec35
Mon Dec 07, 2009 1:20 pm
Forum: Flowcode V4
Topic: Pulse Width Timing
Replies: 9
Views: 6357

Re: Pulse Width Timing

Ben, If it's a piracy thing, then the way flowcode 3 displayed the name on the main grey window was good. Taking your point, there could be an editable field in options menu. Then whatever name is entered in this field will then be transferred to flowchart in the form of 'This file was created by: n...
by medelec35
Sun Dec 06, 2009 10:40 pm
Forum: General / Misc
Topic: Using STK500 with Flowcode
Replies: 23
Views: 26713

Re: Using STK500 with Flowcode

The problem is that no new laptops has a serial port today - so no of the students can use a serial port for the STK500. Just a thought. Would either a USB to RS232 serial lead or a RS232 Bluetooth adaptor work? I don't believe every lead works with every application. This has something to do with ...
by medelec35
Fri Dec 04, 2009 12:53 pm
Forum: E-blocks
Topic: EB006 Rev7 USB power needed to run program?
Replies: 17
Views: 13868

Re: EB006 Rev7 USB power needed to run program?

I have attempted to attached two bitmap files however I find Forum cannot receive bmp files. If you have windows xp or Vista the Paint program will convert bitmap to jpeg. If you do a screen shot, you can then open paint, then save as jpeg. Alternatively a great freeware package that will not only ...
by medelec35
Thu Dec 03, 2009 12:55 pm
Forum: Flowcode V4
Topic: Pulse Width Timing
Replies: 9
Views: 6357

Re: Pulse Width Timing

If you look at the file name generated ':\PK2CMD_MTX\pk2cmd_mtx.exe -PPIC16F88 -FPULSEW~2.hex -M -A5 -H' It not the same as your original file name. Take a look here: http://www.matrixmultimedia.com/mmforums/viewtopic.php?f=29&t=6482&p=14006&hilit=pickit#p14006 Especially post dated Fri July 03, 200...
by medelec35
Wed Dec 02, 2009 10:40 pm
Forum: Flowcode V4
Topic: Variables Manager - notes and edit
Replies: 1
Views: 2253

Re: Variables Manager - notes and edit

F22-Raptor wrote:Hello Moderators,

I tried to add this post to the Flowcode 4 Suggestions but there is no option to post there.


D.
have you seen this?:
http://www.matrixmultimedia.com/mmforum ... =29&t=6524
by medelec35
Wed Dec 02, 2009 10:36 pm
Forum: Flowcode V4
Topic: Multiple instances of Flowcode running at the same time
Replies: 2
Views: 2614

Re: Multiple instances of Flowcode running at the same time

F22-Raptor wrote:Is it OK to run multiple instances of Flowcode at the same time on one PC?
D.
I always do!
I have had 4 lots running simultaneously with no problems at all
by medelec35
Wed Dec 02, 2009 1:06 pm
Forum: Flowcode V4
Topic: Failing to program 18F2431
Replies: 8
Views: 6553

Re: Failing to program 18F2431

Thanks anyway. It is not really an issue. To resolve problem, I have a single core wire from +5V pushed into a empty IC socket that's connected to Avdd of chip to be programmed.
Note to self: Read datasheet if chip fails programming :p
by medelec35
Sun Nov 29, 2009 10:18 am
Forum: Flowcode 4 Bugs
Topic: Trace/Debug info not available
Replies: 1
Views: 2422

Re: Trace/Debug info not available

It's not a bug. You need to go to 'View' and 'Project Options' Select a slower simulation speed. Variables or macros are not shown when simulation speed is set to 'As fast as possible' (only shown by pressing 'pause') Alternately with simulation stopped or on pause just keep F8 key held down to run ...