Search found more than 1101 matches

Return

by medelec35
Sat Mar 28, 2020 11:35 pm
Jump to forum
Jump to topic

Re: LCD compilation failure (I2C)

I agree with Jorgen,
Latest updates can be found here
by chipfryer27
Sun Mar 29, 2020 3:42 pm
Jump to forum
Jump to topic

Re: wired and buttom simulation

Hi I have had similar needs. FC allows you to assign keymappings whereby you can assign functions to the keyboard. In the attached example I have outputs on A0 and A1 and inputs on B0 and B1 In the example the program loops reading the value of Port B and outputting to Port A. If I click B0 then A0 ...
by medelec35
Fri Apr 03, 2020 1:07 pm
Jump to forum
Jump to topic

Re: Problems with PIC12F629 that doesn't program them to work

LED flashed when hex file was created using Flowocde V5 therefore we can say hardware is working. Since LED is not flashing with any of the flowcharts created with Flowcode V8, I have moved topic to the bugs section for Matrix staff to look into. To see if its a compiler issue, I recompiled using XC...
by mnf
Sun Apr 05, 2020 10:16 pm
Jump to forum
Jump to topic

Re: MFRC522 multible card/tag

Hi Jorgen, How about using an array of long (unsigned) ints (conveniently the card ID is 4 bytes or 32 bits as per a long int) - Then it is an easy task to look through the 'ids' using a loop - and possibly have a second array of names to pull up the user 'name' So, say with have 10 ids and a corres...
by viktor_au
Sun Apr 05, 2020 2:41 am
Jump to forum
Jump to topic

Embedded system ventilator

The world in a very hard situation right now. People try to protect, fight the coronavirus, organise some groups to help, etc. As I understood there are a lot of cases with people in need of ventilators. Some technical minded persons do try to create some projects and even managed to build the savin...
by mnf
Sun Apr 05, 2020 5:47 am
Jump to forum
Jump to topic

Re: Embedded system ventilator

Yes, difficult times. I work as a pharmacist so have been extremely busy - panic 'buying' hasn't just applied to food. I'd say a ventilator isn't a good idea - you need to be heavily sedated - not something to try at home. Or encourage others to try. A team (Italian I think) has come up with an auto...
by viktor_au
Sun Apr 05, 2020 10:02 am
Jump to forum
Jump to topic

Re: Embedded system ventilator

Interesting video
New innovation could help solve ventilator shortage.
https://www.youtube.com/watch?v=xdZtMgpxnPI
by AbhijitR
Sun Apr 05, 2020 10:05 am
Jump to forum
Jump to topic

Re: Embedded system ventilator

Hello! Viktor Actually I came across the below video few days back since the CORONA crises and eventually ventilator, the video is from Feb 2019 and this person has used an ANDROID phone, I guess this is what you wanted to know? https://www.youtube.com/watch?v=IgAR4yWDsg0&list=LLld-1ELLAJjWYhJTr...
by viktor_au
Sun Apr 05, 2020 11:42 am
Jump to forum
Jump to topic

Re: Embedded system ventilator

A very simplified diagram of device.
by medelec35
Sun Apr 05, 2020 1:09 pm
Jump to forum
Jump to topic

Re: Embedded system ventilator

I have moved this topic from the "Tips and Tricks" section as that is meant for sharing your knowledge.
Not for starting off with asking questions.
by viktor_au
Sun Apr 05, 2020 11:51 pm
Jump to forum
Jump to topic

Re: Embedded system ventilator

The main goal of this 'question' is to ask people to share their knowledge.
Do you plan to do it or not?
And yes, thank you for not deleting this topic.

MIT Emergency Ventilator (E-Vent) Project
by medelec35
Tue Mar 10, 2020 7:09 pm
Jump to forum
Jump to topic

Timer 2 Calculator

I prefer using timer 2 over other timers as it allows much more precise control. That is because you have a Postscaler, Prescaler and a rollover value to deal with. While having more options gives you much better flexibility, it's downfall is its more complicated to calculate correct values to give ...
by medelec35
Wed Mar 11, 2020 10:24 am
Jump to forum
Jump to topic

Re: Timer 2 Calculator

V2 shows a more instant values without having to select drop-down filter.
Timer 2_Calculator V2 Instant View.png

Also, selection bug fix.
by mnf
Mon Apr 06, 2020 8:51 am
Jump to forum
Jump to topic

Re: MFRC522 multible card/tag

Hi Jorgen, No problem I'll do an example this evening... To muddy the water slightly - how about saving valid keys and names in the eeprom (or elewhere?) - this would allow you to update the list of allowed cards without reprogramming the device (however adding the names might be trickier?). Glad to...
by MJU
Sun Apr 05, 2020 5:17 pm
Jump to forum
Jump to topic

Re: Circular buffer question (waitforvalue)

Hi MJU Could you post your chart please (or perhaps PM it)? Guessing your better placed for the shutdown with all those beers to keep you company :) Regards An Roman emperor (?) said: "Give the people what they want: Sun, beer and Flowcode" and this is just what we need in these Covid19 t...
by mnf
Mon Apr 06, 2020 10:51 pm
Jump to forum
Jump to topic

Re: MFRC522 multible card/tag

Looks very good. I like the case for the display too. i can only dream of having a powered door opener on our garage here - last few days have been so windy I haven't been able to open them... So a simple example for multiple cards. It works AOK in simulation - I've disabled the reader icons and (im...
by mnf
Wed Apr 08, 2020 11:53 am
Jump to forum
Jump to topic

Re: MFRC522 multible card/tag

Okay - I'll try. I did a bit of tidying - back to 4 byte UID and use CompareUID to match to current UID from valid card table... But - I can't actually get my card reader to register a card using FC... IsNewCardPresent always returns 0 :-( The hardware seems to work AOK (I've tested it using the Ard...
by mnf
Wed Apr 08, 2020 5:36 pm
Jump to forum
Jump to topic

Re: MFRC522 multible card/tag

There seems to be something amiss with the v8 RFID component.... Correction - then suddenly it worked.... I fear this could be related to the SPI on Arduino not always working correctly. I didn't change the code - I added a macro (actually an attempt to use the v7 RFID Initialise) and recompiled - n...
by mnf
Wed Apr 08, 2020 6:53 pm
Jump to forum
Jump to topic

Re: MFRC522 multible card/tag

Okay - and now up and running and checking cards... You'll need to use UART and setup some cards to suit the UIDs you have (I had three cards - and setup two - change the value of the constant Number_of_Cards if you have more) It displays the UID of the Card read and then then name attached (or 'int...
by mnf
Thu Apr 09, 2020 6:55 pm
Jump to forum
Jump to topic

Re: MFRC522 multible card/tag

A simple RFID card reader/recogniser. Card_Test v2.fcfx Set global constant Number_of_Cards to be number of cards you wish to recognise (each card takes 24 bytes of storage - 4 bytes id + 20 bytes string identifier) note that if you need more than 10 cards - you'll need to edit the array definitions...
by mnf
Thu Apr 09, 2020 10:07 pm
Jump to forum
Jump to topic

Re: MFRC522 multible card/tag

Glad it works for you - look forward to seeing what you create... A strange bug for Benj and co... I modified the above file (I changed card_id from a size of [10][5] to [10][4]) - FC crashed in a peculiar manner. On recompiling - none of the components were found (UART Initialise etc not found) giv...
by mnf
Fri Apr 10, 2020 6:07 pm
Jump to forum
Jump to topic

Re: MFRC522 multible card/tag

Just need to adjust the value of Number_of_Cards (a global constant) to 5. This could be set to 10 (or more with alterations to the arrays) - just makes searching slightly more efficient.. I think having this set by the program (so each call to SetupCard increments the number of cards - this would a...
by mnf
Fri Apr 10, 2020 9:46 pm
Jump to forum
Jump to topic

Re: MFRC522 multible card/tag

Glad it's working. Yes, it's set for up to 10 cards - just use AddCard for each . If you need more than 10 then you need to modify the two arrays - change the first value (currently 10) to how many you need to handle - bearing in mind the ram capacity of the mcu. The error messages you posted look l...
by mnf
Fri Apr 10, 2020 7:15 pm
Jump to forum
Jump to topic

Re: MFRC522 multible card/tag

Okay - strange - both compile and run AOK here.. Where is the error 1?

I'm happy to (try and) help - just ask anytime.....

Martin
by mnf
Sun Apr 12, 2020 8:57 pm
Jump to forum
Jump to topic

Auto Power Off for MCU

An Easter (and (sadly) covid-19 project... This started as a project for work - I need to record various info (time, temp etc) on a user input. I wanted battery power - which meant an auto shut off. So - to demonstrate - I created a thermometer (currently o.o.s. everywhere) - press the button, top l...