Search found 122 matches
- Sun Dec 13, 2015 8:30 pm
- Forum: Flowcode V6
- Topic: There is any way to achieve a higher ADC resolution?
- Replies: 11
- Views: 13053
Re: There is any way to achieve a higher ADC resolution?
Can you be a little more specific? Thanks for the quick response and for your help.
- Mon Dec 07, 2015 2:59 pm
- Forum: Flowcode V6
- Topic: There is any way to achieve a higher ADC resolution?
- Replies: 11
- Views: 13053
There is any way to achieve a higher ADC resolution?
I have a chip to convert frequency to analog voltage, I did my program and circuit and it works great, the only problem is that the resolution is about 19.5 hertz/bit. There is any way to increase the resolution? A 16 bit processor will give me about 5 hertz/bit but I know that Arduino is 8 bit proc...
- Wed Sep 23, 2015 7:43 pm
- Forum: Flowcode V6
- Topic: Is it possible to use arduino functions with Flowcode?
- Replies: 6
- Views: 4529
Re: Is it possible to use arduino functions with Flowcode?
It's working as needed! thanks a lot for your help and support.
- Wed Sep 16, 2015 8:15 pm
- Forum: Flowcode V6
- Topic: Is it possible to use arduino functions with Flowcode?
- Replies: 6
- Views: 4529
Re: Is it possible to use arduino functions with Flowcode?
I appreciate your help, I believe is the same concept because the minimum signal it can read (the Arduino pulseIn() ) is 10 us. There is a way to get the value of the whole period? Here is my arduino program. If I can read the whole period I can read speed and distance, I did the math to display her...
- Tue Sep 15, 2015 7:20 pm
- Forum: Flowcode V6
- Topic: Is it possible to use arduino functions with Flowcode?
- Replies: 6
- Views: 4529
Is it possible to use arduino functions with Flowcode?
I'm been trying to developed a program to capture frequency for different projects such as speed calculations. So far, I was not able to get it going with flowcode because there is no timing functions available. I was able to do it with the arduino software but I want to take the advantage of flowco...
- Fri Sep 11, 2015 3:27 pm
- Forum: Flowcode V6
- Topic: Custom interrupt, does it works?
- Replies: 2
- Views: 2263
Re: Custom interrupt, does it works?
Thanks a lot for your help Benjamin . Now the program goes through but the macro never gets enable. I don't know if the application is right, it supposed to run when PB0 (ICP1) goes high but it does not capture.
- Tue Sep 08, 2015 2:15 pm
- Forum: Flowcode V6
- Topic: Custom interrupt, does it works?
- Replies: 2
- Views: 2263
Custom interrupt, does it works?
I found an example of a custom interrupt for capture mode of timer1 but flowcode displays error when I'm trying to use it. The website shows the setup and how to retrieve the value of ICR1 register onto a variable, well, the problem is: If I place the line FCV_CAPTVAL = ICR1; on a "C Box" it retriev...
- Thu Sep 03, 2015 12:55 pm
- Forum: Flowcode V6
- Topic: Capture frequency
- Replies: 5
- Views: 4280
Re: Capture frequency
Hello my friend, I checked the Arduino website and I found the datasheet for atmega 328p which is the processor of the arduino 1 and nano. Datasheet Chapter 16 is about the 16 bit timer/counter 1 and it can be configured into capture mode at pin 12 which is the ICP1 pin. I believe that I just missin...
- Wed Sep 02, 2015 5:35 pm
- Forum: Flowcode V6
- Topic: Capture frequency
- Replies: 5
- Views: 4280
Re: Capture frequency
Thanks a lot for your quick response. I did the changes you suggest to the program. It does display values without input. I had the comparator switch off and I got values without any input but when I switch the comparator on (ACSR bit 7 = 0) it does not work. Looks like the code is more complex than...
- Tue Sep 01, 2015 8:09 pm
- Forum: Flowcode V6
- Topic: Capture frequency
- Replies: 5
- Views: 4280
Capture frequency
Hi my friend how are you? I hope your are doing well. I got a problem trying to make a program to capture frequency. I'm using the atmel 328p but I'm not sure if I set the registers correctly. Can you take a look at it? You may be able to guide me in the right direction. Thanks a lot for your help. ...
- Fri Aug 28, 2015 5:56 pm
- Forum: Flowcode V6
- Topic: Arduino C code headache!!
- Replies: 1
- Views: 1834
Arduino C code headache!!
I'm trying to adapt a program for capture a frequency and display the value. This is an original project from the book "30 PIC projects using Flowcode 6" for PIC16F877A. When I tried to convert this to arduino (atmega 328) it does not compile to chip, it just return an error code 1. According with t...
- Sun Aug 23, 2015 6:08 pm
- Forum: Flowcode V6
- Topic: High Temperature and humidity meltdown!!
- Replies: 5
- Views: 3661
Re: High Temperature and humidity meltdown!!
Thanks a lot.
- Sun Aug 23, 2015 6:01 pm
- Forum: Forums d'aide en français
- Topic: Capteurs d'humidité et de température DHT11, DHT22, AM2302
- Replies: 8
- Views: 13381
Re: Capteurs d'humidité et de température DHT11, DHT22, AM23
Got it, thank you very much. I will see you soon.
- Sun Aug 23, 2015 12:02 am
- Forum: Forums d'aide en français
- Topic: Capteurs d'humidité et de température DHT11, DHT22, AM2302
- Replies: 8
- Views: 13381
Re: Capteurs d'humidité et de température DHT11, DHT22, AM23
I finally did it! Thanks a lot my friend, I really appreciated. I believe I found the way to display the humidity and temp.in real numbers. I have to check vs. a digital humidity temp. I got at work. I would not accomplished this without your expertise. See you soon.
- Sat Aug 22, 2015 5:51 pm
- Forum: Forums d'aide en français
- Topic: Capteurs d'humidité et de température DHT11, DHT22, AM2302
- Replies: 8
- Views: 13381
Re: Capteurs d'humidité et de température DHT11, DHT22, AM23
Hello my friend, now I can see some activity in my display but the variable values are in a 16 bit format right? How do I separate the integers numbers from the decimal numbers? It's 8 bit integral humidity - 8 bit decimal humidity - 8 bit integral temp. - 8 bit decimal temp. How can I achieve the r...
- Sat Aug 22, 2015 2:31 pm
- Forum: Forums d'aide en français
- Topic: Capteurs d'humidité et de température DHT11, DHT22, AM2302
- Replies: 8
- Views: 13381
Re: Capteurs d'humidité et de température DHT11, DHT22, AM23
Thanks for your reply. I did run it in the micro-controller but it just display 255 as a value at both, temperature and humidity. I did try to open your program but is in a different format, I could not opened it with Flowcode. How can I see it? Thanks a lot for your help.
- Fri Aug 21, 2015 8:13 pm
- Forum: Flowcode V6
- Topic: Time to suffer!!!
- Replies: 16
- Views: 9972
Re: Time to suffer!!!
How you doing cubitus54, I'm glad to work with you again. I really appreciate your time and help. I study your program an it looks awesome. I tried to run it yesterday but it did not work, I'm not sure in what phase but is getting locked up in one of the loops because my display macro is at the end ...
- Fri Aug 21, 2015 7:02 pm
- Forum: Forums d'aide en français
- Topic: Capteurs d'humidité et de température DHT11, DHT22, AM2302
- Replies: 8
- Views: 13381
Re: Capteurs d'humidité et de température DHT11, DHT22, AM23
How you doing cubitus54, I'm glad to work with you again. I really appreciate your time and help. I study your program an it looks awesome. I tried to run it yesterday but it did not work, I'm not sure in what phase but is getting locked up in one of the loops because my display macro is at the end ...
- Thu Aug 20, 2015 6:01 pm
- Forum: Flowcode V6
- Topic: High Temperature and humidity meltdown!!
- Replies: 5
- Views: 3661
High Temperature and humidity meltdown!!
Have you ever experience a high temp. and humidity weather? It's very bad! I'm trying to design a control to track the ambient temp. and humidity to control a plant environment. I'm using the DHT11 humidity/temp. combination sensor with "One-Wire communication protocol. There is a couple examples in...
- Wed Aug 19, 2015 1:52 am
- Forum: Flowcode V6
- Topic: Time to suffer!!!
- Replies: 16
- Views: 9972
Re: Time to suffer!!!
Thanks a lot Cubitus54, I really appreciated. Do you have a One-Wire communications program? I'm trying to make a program that displays the humidity and temperature using the DHT11 sensor. I gives the data in a 40 bit format: 8 bit humidity+8 bit tenths humidity + 8 bit temperature + 8 bit tenths te...
- Sun Aug 16, 2015 7:58 pm
- Forum: Flowcode V6
- Topic: Time to suffer!!!
- Replies: 16
- Views: 9972
Re: Time to suffer!!!
Hello Cubitus54, I'm glad to tell you that finally I was able to interface with the DS1307. I could not achieve this withouth your help, Thank you!! I really thought that I had a defective DS1307, I did start with the clock program you share with me. I did some changes to be able to use it with a 4x...
- Fri Aug 14, 2015 8:34 pm
- Forum: Flowcode V6
- Topic: Time to suffer!!!
- Replies: 16
- Views: 9972
Re: Time to suffer!!!
Yes I do.
- Fri Aug 14, 2015 5:26 pm
- Forum: Flowcode V6
- Topic: Time to suffer!!!
- Replies: 16
- Views: 9972
Re: Time to suffer!!!
I want to thank Cubitos54 for sharing his I2C program with me; so far I tried different ways to write to this chip to enable the SQW function by writing to register 7 a value of 16 to get a 1Hz. pulse at this pin, the positive transition will light the LED in pin 13. I tried several times without su...
- Tue Aug 11, 2015 12:07 am
- Forum: Flowcode V6
- Topic: Time to suffer!!!
- Replies: 16
- Views: 9972
Re: Time to suffer!!!
Thanks a lot my friend, I would like to speak French as well but I just speak English and Spanish. I really appreciate that you share your work with me, I'm going to try studying the way your program is done to comprehend the dynamics of I2C communications. Right now I have a better idea. Thanks a l...
- Mon Aug 10, 2015 2:10 am
- Forum: Flowcode V6
- Topic: Time to suffer!!!
- Replies: 16
- Views: 9972
Re: Time to suffer!!!
Hi Cubitus54, thanks a lot for your quick response. Obviously you are far better than me in this topic because I still lost, let me ask you, I've seen that you also showed me what I did wrong on my first attempt and some corrections done on it. This is how I should proceed? Or I should follow the se...