Search found 55 matches

by claudemir
Sun Mar 29, 2020 11:43 pm
Forum: Flowcode V8
Topic: ATTINY85 + dht22
Replies: 13
Views: 1189

Re: ATTINY85 + dht22

Hello Benj I am very grateful for your help, when I disabled the CKDIV8 fuse, it returned to work as expected, but before that I still found a fault of mine (not forgiven by myself), I had programmed samplesensor equal to 1 for success, and not equal to 0, as specified "Returns 0 for success, 1 for ...
by claudemir
Thu Mar 26, 2020 2:35 am
Forum: Flowcode V8
Topic: ATTINY85 + dht22
Replies: 13
Views: 1189

Re: ATTINY85 + dht22

Hello Benj
I use the eXtreme burner recorder and to configure the fuses I count with the help of the AVR FUSES calculator, current fuses I used, and the fuses I send separately.

http://eleccelerator.com/fusecalc/fusec ... p=attiny85
by claudemir
Tue Mar 24, 2020 5:30 pm
Forum: Flowcode V8
Topic: ATTINY85 + dht22
Replies: 13
Views: 1189

Re: ATTINY85 + dht22

Hello Benj
Any suggestions for this problem?
by claudemir
Thu Mar 19, 2020 12:50 am
Forum: Flowcode V8
Topic: ATTINY85 + dht22
Replies: 13
Views: 1189

Re: ATTINY85 + dht22

Hello
Follow the two programs I use, one is flashing for 1 second and the other is with dht22, both are configured with 8 MHz.
I ended up burning my single attiny85, but until 03/20 more attiny85 will be arriving to test, I hope we created a solution to this problem, thank you for your support.
by claudemir
Wed Mar 18, 2020 12:42 am
Forum: Flowcode V8
Topic: ATTINY85 + dht22
Replies: 13
Views: 1189

Re: ATTINY85 + dht22

Hello You can tell if you are using an external crystal or an internal oscillator to power your microcontroller. Answer: I used 4MHz external crystal and 1MHz to 16MHz internal oscillator, the best result was 1MHz. If you are using an external crystal, you will need to use a higher speed crystal, sa...
by claudemir
Tue Mar 17, 2020 1:57 am
Forum: Flowcode V8
Topic: ATTINY85 + dht22
Replies: 13
Views: 1189

Re: ATTINY85 + dht22

Hello Benj was that I really did it, I put a blinker for one second, to blink with an interval of one second I had to set it to 1MHz, if I put 8MHz it blinks outside the one second interval, if I set it to 16MHz the interval is even bigger. The sensor return is always 0.00 for temperature and 0.00 f...
by claudemir
Sat Mar 14, 2020 6:19 pm
Forum: Flowcode V8
Topic: ATTINY85 + dht22
Replies: 13
Views: 1189

Re: ATTINY85 + dht22

hello Benj
Thanks for the answer.
Tested with various clock settings, also used various clock parameters and it still didn't work.
by claudemir
Fri Mar 13, 2020 11:32 pm
Forum: Flowcode V8
Topic: ATTINY85 + dht22
Replies: 13
Views: 1189

ATTINY85 + dht22

Hello I'm trying to use ATTINY85 to read a dht22 and convert it into a 0 to 5v output, but I can't make it work, as it has few resources, I have practically tested them all, but without success. It remains to be asked whether ATTINY85 and dht22 are compatible? In simulating everything is perfect, bu...
by claudemir
Wed Feb 19, 2020 12:17 am
Forum: Flowcode V8
Topic: BL0032 windspeed
Replies: 41
Views: 4607

Re: BL0032 windspeed

Hello Wayne Millard
Thanks for answering, my question was because on 16f1937 I can select rising edge, falling edge, and both edges, and on dspic30f4013 I don't have that option? because I didn't find anything listed on the data sheet of dspic30f4013.
by claudemir
Tue Feb 18, 2020 12:59 am
Forum: Flowcode V8
Topic: BL0032 windspeed
Replies: 41
Views: 4607

Re: BL0032 windspeed

Hello I am having difficulty configuring the "IOC PORT" of the dsPic30f4013, this event that has 3 actions per interuption, rising edge, falling edge and both edges, I need to select falling edge, but only have both edges, this is a characteristic microcontroller or error when performing the interru...
by claudemir
Tue Aug 13, 2019 1:03 am
Forum: 16-Bit PIC
Topic: Dspic30f4013
Replies: 6
Views: 1760

Re: Dspic30f4013

Good night Benj
I used your program to test my pic, even adding "\ n" at the end of each string sent to pic just printed as attachment.
I also changed return type to 16bit RS232 module, printed "yx" and send the string "test"
by claudemir
Sun Aug 11, 2019 4:24 pm
Forum: 16-Bit PIC
Topic: Dspic30f4013
Replies: 6
Views: 1760

Re: Dspic30f4013

Hello benj Thanks for answering, In the previous post I complained about RXINIT that was supposed to be in constant loop, but I solved what I imagined was a problem creating a new project, I didn't find what I was wrong but now RXINIT is ok. Now I'm having trouble receiving a string, in 18f works pe...
by claudemir
Wed Aug 07, 2019 12:30 am
Forum: 16-Bit PIC
Topic: Dspic30f4013
Replies: 6
Views: 1760

Re: Dspic30f4013

Good evening everyone I solved my problem with 30f4013, believe me soi pickit3 was doing something wrong, maybe not writing the .hex correctly. I solved this problem but I waited next, added an RS232 port, and enabled rxINIT1, the program goes into infinite loop, as would be receiving data in RX, al...
by claudemir
Mon Aug 05, 2019 3:04 am
Forum: 16-Bit PIC
Topic: Dspic30f4013
Replies: 6
Views: 1760

Dspic30f4013

Oi Preciso de mais uma ajuda, agora é com o dspic30f4013, uso a versão 7 para tentar programar o mesmo, comecei com fazer o led piscar num intervalo de tempo de um segundo, utilizando um oscilador externo de 12mhz e configurado para HS/2W/PLL4x, compila normalmente e sem erros, mas o difícil é que n...
by claudemir
Sun Dec 09, 2018 12:45 am
Forum: General Programming
Topic: Measurement of temperature and relative humidity using DHT11
Replies: 90
Views: 54187

Re: Measurement of temperature and relative humidity using DHT11

Good night Benj. I came back from a trip today, and I had the pleasure of seeing the DHT22 working, the only way the sensor worked was to leave the 4MHz crystal and configure the x4 PLL to give 16MHz, I put a 16MHz crystal and I configured it with HS, but this way the sensor does not work, I returne...
by claudemir
Thu Dec 06, 2018 9:24 pm
Forum: General Programming
Topic: Measurement of temperature and relative humidity using DHT11
Replies: 90
Views: 54187

Re: Measurement of temperature and relative humidity using DHT11

Hello benj
I'm sorry for the delay in responding, but I ended up taking a trip to meet a client and I did not have any way to verify the settings, but as soon as I return from the trip I will continue with my project and keep informed of the changes.
by claudemir
Wed Dec 05, 2018 3:10 pm
Forum: General Programming
Topic: Measurement of temperature and relative humidity using DHT11
Replies: 90
Views: 54187

Re: Measurement of temperature and relative humidity using DHT11

Thanks for the reply Benj I already changed the oscillator to 4MHz and set the oscillator to HS and XT. I put a delay of 5 seconds before the "SampleSensor" but none of it solved, the lowest oscillator I have is 4MHz, but I have an aggravation, I use a glcd in the original design and has many variab...
by claudemir
Tue Dec 04, 2018 9:48 pm
Forum: General Programming
Topic: Measurement of temperature and relative humidity using DHT11
Replies: 90
Views: 54187

Re: Measurement of temperature and relative humidity using DHT11

Hello Today I made a few attempts with the DHT22 with my Pic18f4620, I switched the external oscillator to 4MHZ, but it still does not work, anyhow the DHT22 in the mega arduino 2560 works, but in PIC18F it does not want to work, I always get a checksum error, that's it. I believe that the DHT22 doe...
by claudemir
Tue Dec 04, 2018 12:14 am
Forum: General Programming
Topic: Measurement of temperature and relative humidity using DHT11
Replies: 90
Views: 54187

Re: Measurement of temperature and relative humidity using DHT11

Hello I am having a very similar problem with DHT22, I am mounting a project with DHT22 next to PIC18F4620, where I can only get the checksum error response, in the simulation it works normally, I have another project with the mega 2560 and it runs perfectly on the hardware, but it does not I'm not ...
by claudemir
Fri Nov 23, 2018 10:00 pm
Forum: Flowcode V7
Topic: GLCD_ILI9341 & KS0108 *SOLVED!*
Replies: 20
Views: 10046

Re: GLCD_ILI9341 & KS0108 *SOLVED!*

Good night
GLCD_KS0108 Does it work with pic18f4620 ?, since I have tried several configurations but nothing works on the hardware, but does simulation work perfectly, or do you have some specific configurations that I do not know yet?
Please help me.
by claudemir
Sun Nov 18, 2018 11:11 pm
Forum: AVR & Arduino
Topic: Arduino compilation error (Windows Path problem)
Replies: 8
Views: 4403

Re: Arduino compilation error (Windows Path problem)

Something has changed in the software, since other projects previously compiled that did not generate this code are now generating this format.
Thanks for the feedback
by claudemir
Sun Nov 18, 2018 9:10 pm
Forum: AVR & Arduino
Topic: Arduino compilation error (Windows Path problem)
Replies: 8
Views: 4403

Re: Arduino compilation error (Windows Path problem)

Hello I had the same result when compiling a new project with pic18f4620. Target folder: C:\Users\AUTOMA~1\Desktop Source name: C:\Users\automacao\Desktop\PID_chocadeira.fcfx Title: Description: Device: PIC.18F.18F4620 Generated by: Flowcode v7.3.0.5 Date: Sunday, November 18, 2018 17:35:34 Users: 1...
by claudemir
Tue Jun 19, 2018 3:38 am
Forum: Bug reports
Topic: DS1307 F7.3
Replies: 21
Views: 5038

Re: DS1307 F7.3

Hello
I was reading better on ds1307 and ds 3231, actually the ds1307 can generate 5 minute shift per month, while the 3231 ds around 7 minutes a year, I will change the ds to see if I leave the clock more accurate.
by claudemir
Sat Jun 16, 2018 4:14 am
Forum: Bug reports
Topic: DS1307 F7.3
Replies: 21
Views: 5038

Re: DS1307 F7.3

Hello benj
Thanks for the feedback, I already use a capacitor of 0.01μF, but it did not help.
I use this template in the attachment
by claudemir
Fri Jun 15, 2018 4:06 am
Forum: Bug reports
Topic: DS1307 F7.3
Replies: 21
Views: 5038

Re: DS1307 F7.3

Ola Fiz varios prototicos usando RCT ds 1307, apos longo periodo comecei a receber reclamaçoes que os minutos dentro de um mes adianta 5 minutos, li num post do Benj onde corrigiu um problema parecido alterando a frequencia de 16 mhz para 15,88 mhz no componente flowcode , porem não encontro esse po...