Search found 15 matches

Return

by Benj
Mon Apr 20, 2015 12:08 pm
Jump to forum
Jump to topic

Re: Arduino Programming In Flowcode v6

Hello, Have you checked to see if the COM port shown in the project options is correct for your device on the Laptop. It could be that after the access denied message AVRdude is still running. If you press Control + Shift + Escape then this will bring up the Windows task manager. Go to the Processes...
by Benj
Thu May 21, 2015 4:27 pm
Jump to forum
Jump to topic

Re: Arduino Clock using I2C YwRobot LCM1602 11C V1

Hello Mark, This blog post might be helpful if you want to learn more about I2C. http://www.matrixtsl.com/blog/simplified-communications-i%C2%B2c-and-spi/ As for the display no longer working without the pull ups. The Flowcode I2C component will only ever output a low or allow the signal to float, i...
by Benj
Thu Jun 18, 2015 12:36 pm
Jump to forum
Jump to topic

Re: DS18B20 Temp sensor

Hello, Yes a AVR clocked at 16MHz will be running at something like 16 x 8-bit MIPs. A PIC clocked at 20MHz will be running at something like 5 x 8-bit MIPs. MIPs = Million instructions per second. It seems the AVR has the advantage but this is not the complete story, AVR has to do a lot more work w...
by medelec35
Sat Jun 20, 2015 2:49 pm
Jump to forum
Jump to topic

Re: DS18B20 Temp sensor

Just as an experiment I used the internal oscillatorset to 8, 16 & 32 MHz. Only did not work on 8MHz Posted flowcharts in case you wanted to give it a go. I agree with the comments about 1 wire being fussy with timings. To ensure it will work ok with internal osc: You can enable clock out, measu...
by medelec35
Sun Jun 21, 2015 1:09 pm
Jump to forum
Jump to topic

Re: DS18B20 Temp sensor

it looked like the signal came out were the xtal is connected so I removed that and the capacitor No that's wrong. Clock out from internal osc is at RA6 (pin14) and should be osc /4: internal 16MHz clock out.png As you can see with my set up clock out is 4MHz which is expected. No external componen...
by Benj
Mon Jun 22, 2015 1:00 pm
Jump to forum
Jump to topic

Re: DS18B20 Temp sensor

Thanks for reporting your findings. It could be that with the PIC we need to manually adjust the timings in the component to make it play nicely. I will have a quick go this afternoon comparing an AVR with a PIC and see if I can get anywhere. I'll also compare v5 and v6 to see if I can track down th...
by medelec35
Fri Jun 26, 2015 3:35 pm
Jump to forum
Jump to topic

Re: DS3231 - RTC Time Keeper

Hi Pactor But my day of week return is alway a day behind. Would it just be the cheap bit of hardware I've bought or am I making a mistake somewhere.bthanks for any advice. The day of the week (1 to 7) is not automatically calculated from the date and month, So if day of the week is out then it requ...
by medelec35
Fri Jun 26, 2015 3:18 pm
Jump to forum
Jump to topic

Re: DS3231 - RTC Time Keeper

Hi Daniel, Yes the DS1307 and Ds3231 use exactly the same commands. So if time is being displayed correctly with DS3231 and then you swap with DS1307, the time will be correctly displayed. I would recommend Ds3231 as they are accurate to 3 minutes per year and you can assess built in temperature sen...
by medelec35
Sat Jun 27, 2015 12:46 pm
Jump to forum
Jump to topic

Re: DS3231 - RTC Time Keeper

In that case you have two options. 1. Program the day using something like flowchart posted here Or 2) Modify Flowchart your using to either probram RTC with new day or to display a different day of the week so correct day is shown. Option one would probable be the easiest. Flowchart posted can be i...
by Benj
Mon Feb 20, 2017 11:55 am
Jump to forum
Jump to topic

Re: SD card end of line characters

Hi Mark, It should be a case of checking for the values when printing to the LCD using a decision icon. You read a byte from the file but before you print the byte to the LCD you check to see if it is valid printable ASCII. The first printable ASCII code is the space which is 32 decimal so your deci...
by Benj
Fri May 05, 2017 10:24 am
Jump to forum
Jump to topic

Re: 4 x 7 Segment LED and shift register help

Hello,

How about this. It should simplify things a bit for you by using arrays to store the 7-seg control values.

4 x 7 Seg LED and Shift Reg Test.fcfx


if I wanted to send for example, number 8 to digit 1


To do this you would simply call the new Digit display macro with the parameters 0 and 8.
by Benj
Fri May 05, 2017 4:50 pm
Jump to forum
Jump to topic

Re: 4 x 7 Segment LED and shift register help

Hello, Are the values static and you can write them and they stay for the different displays or do they need to be constantly multiplexed at high speed? Multiplexing is certainly possible but I didn't allow for this in the program I sent. Here is another version you can try which includes multiplexi...
by Benj
Fri Jul 14, 2017 10:08 am
Jump to forum
Jump to topic

Re: Circular buffer question help needed.

Hello, How's this. I have created a simple state machine that looks for the "6">" and then starts filling the buffer until we reach the next "<" character. 8266-1.fcfx You may want to finish the reading after you receive the '&' character instead of the '<' but it should...
by Benj
Fri Sep 28, 2018 10:16 am
Jump to forum
Jump to topic

Re: Starburst Display

Hello,

Please can you try this and hopefully it should solve the problem for you.

Simply copy the attached file into your "Flowcode 7/Components" folder and restart Flowcode to load the changes.

LED_Starburst.fcpx


Let us know how you get on.
by Benj
Mon Oct 07, 2019 5:19 pm
Jump to forum
Jump to topic

Re: ESP8266 AT question

Hello,

I beleive I have fixed this iss e already for v8 but I'll have another look and compare.

Maybe try and collect the IP and if you get a valid address then you should be connected ok.