Search found 7315 matches

by medelec35
Mon Sep 21, 2020 9:01 pm
Forum: Flowcode V8
Topic: RTD temperature Reading
Replies: 39
Views: 604

Re: RTD temperature Reading

Nice.
I'm glad the LCD works, which then suggests the rest should work as well.
by medelec35
Mon Sep 21, 2020 11:35 am
Forum: General Programming
Topic: Digital Outputs - On Off states
Replies: 8
Views: 140

Re: Digital Outputs - On Off states

Jay Dee wrote:
Mon Sep 21, 2020 10:59 am
Output set to OFF will the pin Sink 25mA to ground.
Output Set to ON will the pin Souce 25mA to Vcc (5v).
These is not correct.
If output is low then can only sink from VDD
If the output is high it can only source to ground.
by medelec35
Sun Sep 20, 2020 8:51 pm
Forum: Flowcode V8
Topic: RTD temperature Reading
Replies: 39
Views: 604

Re: RTD temperature Reading

For basic testing you can run at 12MHZ instead?
by medelec35
Sat Sep 19, 2020 2:08 pm
Forum: Flowcode V8
Topic: RTD temperature Reading
Replies: 39
Views: 604

Re: RTD temperature Reading

Or you could use stackable headers, like they do for Arduino shields.
Anything on the display yet?
by medelec35
Sat Sep 19, 2020 11:39 am
Forum: Flowcode V8
Topic: RTD temperature Reading
Replies: 39
Views: 604

Re: RTD temperature Reading

Looks very good.
If going in to enclosure, would the LCD would be better if its the tallest object?
Powered up yet and showing something on the display?
by medelec35
Wed Sep 16, 2020 10:46 pm
Forum: User Components
Topic: DFPlayer mp3 player
Replies: 12
Views: 204

Re: DFPlayer mp3 player

you're welcome.
if not already seen one?
There are several data sheets floating about.
Not all cover command 0x12.
Here is one that does.
Also this one
by medelec35
Wed Sep 16, 2020 2:47 pm
Forum: Flowcode V8
Topic: ARRAYS in supplementary code
Replies: 8
Views: 146

Re: ARRAYS in supplementary code

I'm not sure in the answer. It was LeighM that said to use char const unsigned Since I was requiring lots of data. He will know far more than me. The topic is in a hidden section of the forum for staff and VC members. I have moved it to the public section for other people to learn from. Here is the ...
by medelec35
Wed Sep 16, 2020 12:27 am
Forum: Flowcode V8
Topic: ARRAYS in supplementary code
Replies: 8
Views: 146

Re: ARRAYS in supplementary code

I'm using 47K of bytes within supplementary code as loading images The only way all 47K could be loaded was by using the format: char const unsigned BATTERY4[] ={0xFF , 0x8F , 0x00, //LED 1 ORANGE 0xFF , 0x8F , 0x00, //LED 2 ORANGE 0xFF , 0x8F , 0x00, //LED 3 ORANGE 0x00 , 0x00 , 0x00, //LED 4 OFF 0...
by medelec35
Tue Sep 15, 2020 10:46 pm
Forum: User Components
Topic: DFPlayer mp3 player
Replies: 12
Views: 204

Re: DFPlayer mp3 player

Hi Martin, Sorry for the delay I have a lot going on at the moment. Just got around to testing DF Component. With the DF player, to play a precise track rather then the order it was placed on the card. Create a folder Called MP3. Then within the MP3 folder add the tracks in the format of 0001 Any na...
by medelec35
Tue Sep 15, 2020 2:09 am
Forum: Flowcode V8
Topic: RTD temperature Reading
Replies: 39
Views: 604

Re: RTD temperature Reading

Derrihj wrote:
Tue Sep 15, 2020 12:34 am
And is there a way we can move this knowledge starting at the 1.1v internal reference that is starting with your reply ("No it not") to the RTD post so that people don't miss out this useful info?
I have done that for you.
by medelec35
Mon Sep 14, 2020 11:46 pm
Forum: Flowcode V8
Topic: RTD temperature Reading
Replies: 39
Views: 604

Re: RTD temperature Reading

how about PIC18F47K40 Yes it does. To check open the datasheet and search for FVR The fixed voltages are as above. You will need to select FVR for the VRef option. Then you will need to add a C code clock at the start. If you look at page 544 & 545 of the datasheet , it shows the value of FVRCON re...
by medelec35
Mon Sep 14, 2020 11:05 pm
Forum: Flowcode V8
Topic: RTD temperature Reading
Replies: 39
Views: 604

RTD temperature Reading

another thing did i do the 1.1v internal reference the way it should be done in Flowcode? No it's not. When you changed the reference voltage to 110, that is for simulation purposes only. Nothing will change on the hardware. There are two ways of getting the reference voltage. First is to Change th...
by medelec35
Mon Sep 14, 2020 8:43 pm
Forum: Flowcode V8
Topic: NTC thermistor Temp sensor
Replies: 62
Views: 1033

Re: NTC thermistor Temp sensor

Hi Medelec35 hope you are having a good day. Is it ok with you if i want to read about your Beta version formula in a detailed writing? Hi Derrihj, Sorry for the delay, been really busy with other projects and personal things. I will post in two parts as it might look a bit confusing otherwise. The...
by medelec35
Sat Sep 12, 2020 12:58 am
Forum: User Components
Topic: DFPlayer mp3 player
Replies: 12
Views: 204

Re: DFPlayer mp3 player

Hi Martin,
Thank you for posting the component & test flowchart.
I have a few DF mini players.
They are great for putting audio to your projects.

I will have a play over the weekend with your component & let you know how it goes.
by medelec35
Thu Sep 10, 2020 2:27 am
Forum: Flowcode V8
Topic: RTD temperature Reading
Replies: 39
Views: 604

Re: RTD temperature Reading

Nicely designed PCB.
Looks very neat.
What PCB design package did you use?
by medelec35
Fri Sep 04, 2020 11:20 pm
Forum: General Programming
Topic: Multiplexing 7-segment 4-digit display with 74HC595
Replies: 2
Views: 232

Re: Multiplexing 7-segment 4-digit display with 74HC595

Hi Oderlando,
Thank you for posting ,
people will find it interesting.
What part number in proteus are you using for display?
by medelec35
Fri Sep 04, 2020 5:39 pm
Forum: Flowcode V8
Topic: Semiduplex asynchronism serial 10bit
Replies: 10
Views: 186

Re: Semiduplex asynchronism serial 10bit

If not got an analyser working, you can use Tera Term to view bytes instead of ASCII.
It needs to run in debug mode:
As you can see the 0x00 and 0x18 is not displayed as I believe the compiler is treating the 0x00 as a null terminator.
by medelec35
Fri Sep 04, 2020 4:48 pm
Forum: Flowcode V8
Topic: Semiduplex asynchronism serial 10bit
Replies: 10
Views: 186

Re: Semiduplex asynchronism serial 10bit

Yes 4 in a row if always the same value.
I was assuming the value would vary?
If that was the case, store as ulong then send bytes within a loop.
I can't take credit for this (Thanks Ben), but you could even send in a string like this

Code: Select all

"\xFF\xFF\xFF\xFF"
by medelec35
Fri Sep 04, 2020 1:05 am
Forum: Flowcode V8
Topic: Semiduplex asynchronism serial 10bit
Replies: 10
Views: 186

Re: Semiduplex asynchronism serial 10bit

Hi MJU,
What about using flowchart posted here to send ULong to UART rather than to EEPROM?
by medelec35
Thu Sep 03, 2020 8:02 pm
Forum: Flowcode V8
Topic: How to save ULong variable value in EEPROM?
Replies: 7
Views: 1149

Re: How to save ULong variable value in EEPROM?

Hi Sashinda ,
You're welcome.
I'm pleased you have your project working super.
Thank you for letting us know, really appreciate it.
by medelec35
Thu Sep 03, 2020 4:49 pm
Forum: Flowcode V8
Topic: NTC thermistor Temp sensor
Replies: 62
Views: 1033

Re: NTC thermistor Temp sensor

I calibrated your algorithm with my most accurate thermometer here and it tracks exactly. Hi Chad that's great! Thank you, information like that is always useful to know. I just found out that the chip I chose is yet another one that is only half- supported Best to bear in mind any company I contac...
by medelec35
Thu Sep 03, 2020 12:19 pm
Forum: Programming Tips & Tricks
Topic: New Flowcode Wii nunchuck component.
Replies: 11
Views: 608

Re: New Flowcode Wii nunchuck component.

Hi Stefan,
At least nunchucks are working now which is great news.
stefan.erni wrote:
Thu Sep 03, 2020 9:02 am
Is it possible to post where to shop working cheap Nunchuck?
Here's a link to the ones I bought which work fine for me.
by medelec35
Wed Sep 02, 2020 8:29 pm
Forum: Flowcode V8
Topic: NTC thermistor Temp sensor
Replies: 62
Views: 1033

Re: NTC thermistor Temp sensor

Hi Derrihj,
I will see what I can put together for you.
Did you sort out the internal reference side?
by medelec35
Wed Sep 02, 2020 5:11 pm
Forum: Flowcode V8
Topic: How to save ULong variable value in EEPROM?
Replies: 7
Views: 1149

Re: How to save ULong variable value in EEPROM?

Hi Sashinda,
Welcome to the forums.
I have attached a flowchart that works the way Ben suggested.
I have also included two alternative ways of saving and retrieving ULongs(disabled icons).
by medelec35
Wed Sep 02, 2020 1:42 pm
Forum: Bug Reports
Topic: flowcode 8 hangs
Replies: 6
Views: 137

Re: flowcode 8 hangs

Hi trigendsa,
Welcome to the forums.
It would be helpful if you listed all the steps you have taken, so we may be able to suggest something new.