Search found 161 matches

by bercioiu
Fri Sep 04, 2015 9:30 am
Forum: Flowcode V6
Topic: Water level tank
Replies: 9
Views: 9359

Water level tank

Hi all! I need to build a simple sensor for water. The classic method with one transistor with the probe in it`s base is not viable, the probe is "vanish" in time because of the electrolysis phenomenon :D . I did a sketch with an ADC input and one output. The problem is that I want to disable the AD...
by bercioiu
Wed Apr 01, 2015 1:37 pm
Forum: Flowcode V5
Topic: RFID RC522
Replies: 2
Views: 4610

Re: RFID RC522

Thank you a lot for the reply and for the link! I did not know that blog,for me it is a fortune!
I have not worked with SPI yet but I will try, if I`ll get stuck, I`ll be back :-)
Thanks again!

Puiu,
by bercioiu
Tue Mar 31, 2015 5:05 pm
Forum: Flowcode V5
Topic: RFID RC522
Replies: 2
Views: 4610

RFID RC522

Hi guys!
I need your help again!
I have this RFID and I want to interface it with FC 5.
There is a way to do it? If yes, how?
Thank you!

Puiu
by bercioiu
Tue Nov 25, 2014 2:01 pm
Forum: Electronics products
Topic: Remote Control Handset "1"
Replies: 11
Views: 26352

Re: Remote Control Handset "1"

Thanks for your reply!
In the mean time, I manage to alter your original flowchart with RC5 component and its working ok!
by bercioiu
Fri Nov 21, 2014 5:58 pm
Forum: Electronics products
Topic: Remote Control Handset "1"
Replies: 11
Views: 26352

Re: Remote Control Handset "1"

Hi there!
I want to make a remote control with 10 buttons.
For this, I chose pic16F1828 because that has 10 IOC. All well and good, but I can not manage to alter your code for my needs ... I post my altered version for the 16F1828 and please, when you have time, to correct my code.
Regards, Puiu!
by bercioiu
Fri Nov 14, 2014 7:55 pm
Forum: Flowcode V5
Topic: DS3231 on FCV5
Replies: 8
Views: 7862

Re: DS3231 on FCV5

When will be ready, i`ll post all files. It is an wrist clock with 7 segment leds.
For the moment, I have some trouble with the charger on board for the Li-Po accu...
by bercioiu
Wed Oct 29, 2014 5:02 pm
Forum: Flowcode V5
Topic: DS3231 on FCV5
Replies: 8
Views: 7862

Re: DS3231 on FCV5

I already solved, thanks for the support.
by bercioiu
Tue Oct 28, 2014 10:33 am
Forum: Flowcode V5
Topic: DS3231 on FCV5
Replies: 8
Views: 7862

Re: DS3231 on FCV5

Just out of curiosity: For version 5 of Flowcode is still providing support?
Thank you!
by bercioiu
Sat Oct 25, 2014 5:51 pm
Forum: Flowcode V5
Topic: DS3231 on FCV5
Replies: 8
Views: 7862

Re: DS3231 on FCV5

Yep, mean time I manage to communicate with it... But still need help to use all feature of the chip (temp, alarm, etc.).
Also, I need help to display on 7segment some custom characters.
Thank you!

Puiu,
by bercioiu
Sat Oct 25, 2014 12:58 pm
Forum: Flowcode V5
Topic: DS3231 on FCV5
Replies: 8
Views: 7862

DS3231 on FCV5

I`m working on a wristwatch. The HV it`s almost ready. In the mean time, I want to work at the software, but encountered a problem, I cant handle with DS3231. I thought it is the same as in 1307 but it does not work at all... There is anybody on that forum to help me with an example with DS3231 for ...
by bercioiu
Tue Oct 07, 2014 3:01 pm
Forum: Flowcode V5
Topic: 18F252 Internal pull-up
Replies: 4
Views: 3841

Re: 18F252 Internal pull-up

The same situation... RB1 is low :-(
This is the schematic:
by bercioiu
Tue Oct 07, 2014 2:05 pm
Forum: Flowcode V5
Topic: 18F252 Internal pull-up
Replies: 4
Views: 3841

Re: 18F252 Internal pull-up

I need to enable weak pull up for all bytes of the port B, thank you!
by bercioiu
Tue Oct 07, 2014 7:35 am
Forum: Flowcode V5
Topic: 18F252 Internal pull-up
Replies: 4
Views: 3841

18F252 Internal pull-up

I need to activate for the 18F252 internal pull-up and I cant handle... I put a C code icon with the "intcon2 = 0;" but it activate INT1 at the RB!. How can I clear only the RBPU (bit7) of the INTCON2 register? I tried with "clear_bit(intcon2 , 7);" to but the result was the same: All port B is "up"...
by bercioiu
Fri Jun 06, 2014 9:52 pm
Forum: Programming Tips & Tricks
Topic: Basic 8 Channel RC5 Infrared Remote Control
Replies: 35
Views: 47679

Re: Basic 8 Channel RC5 Infrared Remote Control

I think you forgot to put a pull-up resistor (10k) on the data pin of the TSOP.
by bercioiu
Thu Mar 13, 2014 12:04 am
Forum: Flowcode V5
Topic: Deactivate RS232 component for a while
Replies: 24
Views: 16650

Re: Deactivate RS232 component for a while

The goal of this "controller" is to run 6 stepper motors in a loop a while (the timer is set in master too). Once all settings are transmitted, the slave wait a start command (a sw). All it have to do is to run all 6 motors with the parameters transmitted in cycle, when the number of steps in one di...
by bercioiu
Wed Mar 12, 2014 4:16 pm
Forum: Flowcode V5
Topic: Deactivate RS232 component for a while
Replies: 24
Views: 16650

Re: Deactivate RS232 component for a while

I have 6 sets (6 motors) by 4 parameter and another 2 variable that represents hours and minutes of a timer. The 4 parameters of the motors are: 1) on/of (active -1, inactive - 0) 2) speed from 1 to 30 3) Cycle (how much steps to run, in fact, represents degree because the motors are connected to so...
by bercioiu
Wed Mar 12, 2014 12:10 pm
Forum: Flowcode V5
Topic: Deactivate RS232 component for a while
Replies: 24
Views: 16650

Re: Deactivate RS232 component for a while

I think that I find the way out :-) But, There is only one problem, for the very first time, when I receive the bits, I lost the first byte. If I made "Counter=255" at the beginning of the program, I catch the first byte. Why is that? In the example I have made only for 5 variable, but I have 26 to ...
by bercioiu
Wed Mar 12, 2014 12:21 am
Forum: Flowcode V5
Topic: Deactivate RS232 component for a while
Replies: 24
Views: 16650

Re: Deactivate RS232 component for a while

Sorry, it was a typo... *.fcf tried to upload... I can not upload archives too.
by bercioiu
Tue Mar 11, 2014 11:43 pm
Forum: Flowcode V5
Topic: Deactivate RS232 component for a while
Replies: 24
Views: 16650

Re: Deactivate RS232 component for a while

I have all the buttons but when I push the "Add the file", the answer is "The extension is not allowed.". The file is *.FCV
I can not access the forum directly from the browser and I use an proxy server to access here, it is a problem with my IP class or something, don`t know...
by bercioiu
Tue Mar 11, 2014 11:07 pm
Forum: Flowcode V5
Topic: Deactivate RS232 component for a while
Replies: 24
Views: 16650

Re: Deactivate RS232 component for a while

I have 26 bytes to send and receive. I made an macro for RX_INT where is an RS232 receive macro component and the received bytes are return value in the RX variable. In the Main macro, I have an decision and when RX <> 255, then, to the yes answer, increment an counter and after that, is an switch c...
by bercioiu
Tue Mar 11, 2014 4:50 pm
Forum: Flowcode V5
Topic: Deactivate RS232 component for a while
Replies: 24
Views: 16650

Re: Deactivate RS232 component for a while

I give up ! Can' t "catch" all bytes... I think that I will return to my loops...
by bercioiu
Mon Mar 10, 2014 10:02 pm
Forum: Flowcode V5
Topic: Deactivate RS232 component for a while
Replies: 24
Views: 16650

Re: Deactivate RS232 component for a while

Aha, so this was the mystery, it cannot be simulate... I`ll try in pic :-)
Thanks Martin!
by bercioiu
Mon Mar 10, 2014 7:28 pm
Forum: Flowcode V5
Topic: Deactivate RS232 component for a while
Replies: 24
Views: 16650

Re: Deactivate RS232 component for a while

Thank you for your reply!
Yes I have the last ver. of Flowcode (5.5.2.1)
And Yes, I check the C code and all that lines are there ...
Strange, if I push the erase button on the received or sent bytes, the bytes appear in the queue window...
by bercioiu
Mon Mar 10, 2014 9:07 am
Forum: Flowcode V5
Topic: Deactivate RS232 component for a while
Replies: 24
Views: 16650

Re: Deactivate RS232 component for a while

I still have not managed to use the RX interrupt.
Any help is welcome.
Thank you!
by bercioiu
Wed Mar 05, 2014 9:09 am
Forum: Flowcode V5
Topic: Deactivate RS232 component for a while
Replies: 24
Views: 16650

Re: Deactivate RS232 component for a while

I alter my Slave_test with RX_INT but nothing happens. When I send the bytes, the receive window on the Slave_test is black but if I push erase button (at received bytes), in the buffer window of the Slave, appear all the bytes and stay there. I can`t put the file here today (don`t know why), i put ...