Search found 514 matches

by Jordy101091
Tue Nov 22, 2011 12:08 pm
Forum: Flowcode V4
Topic: FAT16 and breakout board form adafruit
Replies: 14
Views: 2188

Re: FAT16 and breakout board form adafruit

mmh, sorry steve, Im a little disapointed that there is no other way around this problem. I'm afraid that the internet webpage solution is not a good idea because I dont have much space left on my microcontroller. The idea of an windows based program is that even possible to make. do you have any mo...
by Jordy101091
Mon Nov 21, 2011 10:22 pm
Forum: Flowcode V4
Topic: FAT16 and breakout board form adafruit
Replies: 14
Views: 2188

Re: FAT16 and breakout board form adafruit

Hi, Benj or Steve, I have something on my mind that I want to build for my project but I have one problem. I dont know how to program a windows based program. My Idea is as follow. With my flowcode program, I want to create one or more log files for each item: Light Level, Temperature ect. Lets say ...
by Jordy101091
Sun Nov 20, 2011 8:13 pm
Forum: Flowcode V4
Topic: FAT16 and breakout board form adafruit
Replies: 14
Views: 2188

Re: FAT16 and breakout board form adafruit

Hi, Benj I Finally got it working, the problem was that I have twisted the data in and data out lines. So i connected it wright and it al works perfectly. I can even wright data into my .csv file. I'm hoping that you can help me one more time to do the following thing: So the goal here is to make a ...
by Jordy101091
Sat Nov 19, 2011 5:02 pm
Forum: Flowcode V4
Topic: FAT16 and breakout board form adafruit
Replies: 14
Views: 2188

Re: FAT16 and breakout board form adafruit

Benj, I have attached a couple of pictures of what the output is on my scoop http://i43.tinypic.com/wrfepi.jpg Output signal on CLK pin (Clock) http://i42.tinypic.com/288s5qg.jpg Output signal on the DO pin (Data Out) The signal on the datain is something like a sawtooth figure. When the timebase st...
by Jordy101091
Sat Nov 19, 2011 3:40 pm
Forum: Flowcode V4
Topic: FAT16 and breakout board form adafruit
Replies: 14
Views: 2188

Re: FAT16 and breakout board form adafruit

Hi benj,

Do I need to use pull-up or pull-down resistors on my DO-DI and CS pins.
by Jordy101091
Fri Nov 18, 2011 6:20 pm
Forum: Flowcode V4
Topic: FAT16 and breakout board form adafruit
Replies: 14
Views: 2188

Re: FAT16 and breakout board form adafruit

Hi Benj,

I have updated to version 4.5 and have created a simple loop in the main program to init the micro SD card with a small delay in it.
But it keeps hanging on waiting for MMC Card.

I dont know what the problem is.

I post my flowchart here

Regards Jordy
by Jordy101091
Fri Nov 18, 2011 6:18 pm
Forum: Flowcode V4
Topic: PWM and RTC DS1307 going haywire????
Replies: 3
Views: 1172

Re: PWM and RTC DS1307 going haywire????

Hi Ben thanks for you reply,

When the fan Turned on the voltage droped below the tricker point of the PICs brownout.
So I fixed it whit a cap and some resistors.

It works fine now.

Regards Jordy
by Jordy101091
Thu Nov 17, 2011 8:36 pm
Forum: Flowcode V4
Topic: FAT16 and breakout board form adafruit
Replies: 14
Views: 2188

FAT16 and breakout board form adafruit

Hi, all Today I have recieved my micro SD card breakout board from adafruit. http://www.electronics-lab.com/blog/wp-content/uploads/2011/08/fetch-14.jpg I have connected everything correctly CLK to port.A - 2 CS to port.A - 0 Data in portA.- 4 Data out port.A - 5 I started with the following macro's...
by Jordy101091
Wed Nov 16, 2011 10:15 pm
Forum: Flowcode V4
Topic: PWM and RTC DS1307 going haywire????
Replies: 3
Views: 1172

Re: PWM and RTC DS1307 going haywire????

Guys, quick update, situation: My FAN was turned on with PWM Dcycle @ 1023 (100%) display going crazy. I was going to bed so I turned the FAN of with Dcycle @ 0 (0%) display shows normal time and date value, my LED (PWM) regulates fine. Seems to me like abracadabra whats going on...? Hope somebody h...
by Jordy101091
Wed Nov 16, 2011 10:08 pm
Forum: Flowcode V4
Topic: PWM and RTC DS1307 going haywire????
Replies: 3
Views: 1172

PWM and RTC DS1307 going haywire????

Hi all, Im verry close to finishing my project. But now I have some trouble to get things working. I have made a little board with two transistor that drive a LED and FAN. LED simulates the night/day cycle and I control it with a PWM signal the same for the FAN. The PWM signal is: frequency: 46.875 ...
by Jordy101091
Sat Nov 12, 2011 10:29 pm
Forum: Flowcode V4
Topic: Tell us about your projects...
Replies: 29
Views: 39937

Re: Tell us about your projects...

(Of course I want to tell you all about my project) Hi, all I'm happy to share with you my latest creation, its an aquarium monitor/controller application that can control the temperature, filter(s),heater,lighting and pH. I started the built of it just around 10 months ago white no experience in pr...
by Jordy101091
Sun Nov 06, 2011 10:48 pm
Forum: Flowcode V4
Topic: Anybody have ideas how to fix this
Replies: 4
Views: 1127

Re: Anybody have ideas how to fix this

Hi JonnyW I have found the problem with the temperature reading. I have fixed and it works perfectly. The problem was that I have put an integer value in a byte variable. Know a want to go a step further in my project and make a menu with some settings, my goal is to navigate trough the menu and alt...
by Jordy101091
Thu Nov 03, 2011 8:15 pm
Forum: Flowcode V4
Topic: Anybody have ideas how to fix this
Replies: 4
Views: 1127

Anybody have ideas how to fix this

Hi all, I i'm working on a project that requires a DS18B20 Temp sensor from maxim. I can read the and display the temperature but when it comes over 32.76 degrees, it shows negative numbers. I know what the problem is, and it is because im using integers but how im do i fix this. does somebody have ...
by Jordy101091
Fri Sep 02, 2011 7:40 pm
Forum: Flowcode V4
Topic: C Code Error but dont use C Code HELP
Replies: 3
Views: 922

Re: C Code Error but dont use C Code HELP

Thank you verry much John, It works fine know.

Regards Jordy
by Jordy101091
Fri Sep 02, 2011 7:40 pm
Forum: Flowcode V4
Topic: Push Button Hold (1s) Little Help
Replies: 1
Views: 793

Push Button Hold (1s) Little Help

Hi, All Can somebody help me to figure out on how to make something like this. To Go out of a menu screen I would like to make the user hold a button for several seconds before turning back the menu will exit. If the user presses this button quick the program will return to the top of the menu, this...
by Jordy101091
Thu Sep 01, 2011 7:16 pm
Forum: Flowcode V4
Topic: C Code Error but dont use C Code HELP
Replies: 3
Views: 922

C Code Error but dont use C Code HELP

Hi, All I Have A really stranges problem with flowcode. When I try to compile my program into my chip It gives me a error: Launching the compiler... C:\Program Files (x86)\Matrix Multimedia\Flowcode V4\BoostC\boostc.pic16.flowcode.exe -v -t PIC16F877A "Aquarium Controller Version 011-a00.c"...
by Jordy101091
Mon Aug 01, 2011 6:48 pm
Forum: Flowcode V4
Topic: MCP4921 DAC SPI Help Please
Replies: 5
Views: 1547

Re: MCP4921 DAC SPI Help Please

Hi all, I have figured out on how to get the config bits first in the MSB byte. Vset_setpoint_DAC = Vset_setpoint * 100 DAC_DATA_lowByte = Vset_setpoint_DAC AND 0xFF DAC_DATA_HighByte = (Vset_setpoint_DAC >> 8 ) AND 0xFF As you can see this is the formule that I have used to make 2 8bit words, but w...
by Jordy101091
Sun Jul 31, 2011 11:14 pm
Forum: Flowcode V4
Topic: MCP4921 DAC SPI Help Please
Replies: 5
Views: 1547

Re: MCP4921 DAC SPI Help Please

This thay I have made some progress on my flowcode program. The intention of this program is to set the output voltage of my dac using up and down buttons. up/down steps are 0.1 Volts. I'm using a integer at starting point from 10 with incremants of 1 (11,12,13,...150) witch then been converterd to ...
by Jordy101091
Sun Jul 31, 2011 10:37 pm
Forum: Flowcode V4
Topic: MCP4921 DAC SPI Help Please
Replies: 5
Views: 1547

Re: MCP4921 DAC SPI Help Please

O man,

You are the best, thanks. I didnt read the datasheet that carefull.
Thanks for youre reply.

Regards Jordy
by Jordy101091
Fri Jul 29, 2011 9:51 pm
Forum: Flowcode V4
Topic: MCP4921 DAC SPI Help Please
Replies: 5
Views: 1547

Re: MCP4921 DAC SPI Help Please

HI, All I have checked all my connections to and from the device (MCP4921). I checked the timing diagram from the datasheet and all looks to be correct. I have changed my flowcode a little because of the Pin LDAC. http://img202.imageshack.us/img202/2784/testspidacmcp49211.png Send Upper Half: 0b 001...
by Jordy101091
Fri Jul 29, 2011 4:04 pm
Forum: Flowcode V4
Topic: MCP4921 DAC SPI Help Please
Replies: 5
Views: 1547

MCP4921 DAC SPI Help Please

Hi all, I need to control this particular part MCP4921 DAC from Microchip. It uses the SPI protocol. I have read the datasheet many times to find out what im missing but cant find it. The datasheet tells me to do as follow: drive the CS pin Low send the config bytes and the 12 data bits into the SDI...
by Jordy101091
Mon Jul 25, 2011 9:29 pm
Forum: Flowcode V4
Topic: 1 phase inverter frequentie adjust?
Replies: 8
Views: 2075

Re: 1 phase inverter frequentie adjust?

Yes voltage is stable up to 0.001 volt.
in combination with an RC filter 1k ,0.1uf
by Jordy101091
Mon Jul 25, 2011 7:35 pm
Forum: Flowcode V4
Topic: 1 phase inverter frequentie adjust?
Replies: 8
Views: 2075

Re: 1 phase inverter frequentie adjust?

I noticed something when I was testing the modified flowcode programs. The frequentie adjustment by delays is not reliable. My results are jumping all over the place. from 25 Hz to 296 Hz back to 68,9 Hz. Its really crazy. So I was thinking How can i do this so precise as possible. I need something ...
by Jordy101091
Fri Jul 22, 2011 6:37 pm
Forum: Flowcode V4
Topic: 1 phase inverter frequentie adjust?
Replies: 8
Views: 2075

Re: 1 phase inverter frequentie adjust?

He,

Thanks for youre reply but I dont exactly know what you mean.
Maybe you can modify my flowcode so I can see what you mean.

Thanks,

Regards Jordy

PS. How did you calculate this.
by Jordy101091
Thu Jul 21, 2011 7:42 pm
Forum: Flowcode V4
Topic: 1 phase inverter frequentie adjust?
Replies: 8
Views: 2075

1 phase inverter frequentie adjust?

Hi all, I'm currently working on an application for driving a 1 phase FAN and if all goes well I'm going a step further and try to drive a 1 phase induction motor. I have searched online how other people have done the same thing and did some research myself and with some help of a online calculator ...