| ??? 12/14/04 10:26 Read: times |
#83046 - 8051 controlling switches |
Hello,
I was wondering could you describe the code i need and the hardware configuration i need to control input swtiches on a medical device. The switches are driven by 5 volts, could I just attach say P2 on my AduC812 microcontroller to the switches. I need the code to activate every 10 mins. This is the algorithm: Switch 1 pressed, delay (1 sec).Switch 2 pressed, delay (1 sec).Switch 4 pressed, delay (1sec). Switch 2 pressed delay (1 sec). Switch 2 pressed again delay (1sec). Switch 2 pressed once more, delay 1 sec. Switch 3 pressed, delay 15 secs. Finally, switch 1 pressed. 10 mins later start the process again. A code example would be great.Thanks. |
| Topic | Author | Date |
| 8051 controlling switches | 01/01/70 00:00 | |
| Switches | 01/01/70 00:00 | |
| Medical Device?!! | 01/01/70 00:00 | |
| 51 probably really controlling switches | 01/01/70 00:00 | |
| maybe it is... | 01/01/70 00:00 | |
| ... although ... | 01/01/70 00:00 | |
| elementary | 01/01/70 00:00 | |
| Switches | 01/01/70 00:00 | |
| Crouzet | 01/01/70 00:00 | |
| SAmple | 01/01/70 00:00 | |
| Isn't a PLC an overkill for this? | 01/01/70 00:00 | |
| Isn't a PLC an overkill for this? | 01/01/70 00:00 | |
| PCB ? | 01/01/70 00:00 | |
| Depends on circumstances, I said. | 01/01/70 00:00 | |
| Pictures in the post | 01/01/70 00:00 | |
| I doubt it | 01/01/70 00:00 | |
| PLC | 01/01/70 00:00 | |
| MII | 01/01/70 00:00 | |
| Re:MII | 01/01/70 00:00 | |
| Switch or Relay? | 01/01/70 00:00 | |
| Is a PLC an overkill for this? | 01/01/70 00:00 | |
| I wrote this is not pro... | 01/01/70 00:00 | |
| you forgot | 01/01/70 00:00 | |
| Repeating myself... | 01/01/70 00:00 | |
| plc cost | 01/01/70 00:00 | |
| ...includes case | 01/01/70 00:00 | |
| Make the bet! | 01/01/70 00:00 | |
| I do not bet, but | 01/01/70 00:00 | |
| No compilation, | 01/01/70 00:00 | |
| Re: Basic | 01/01/70 00:00 | |
| BASIC details | 01/01/70 00:00 | |
| BASIC details | 01/01/70 00:00 | |
| BASIC 52 | 01/01/70 00:00 | |
| BASIC details | 01/01/70 00:00 | |
| re: | 01/01/70 00:00 | |
| Oh yes you would | 01/01/70 00:00 | |
| BASIC does not need line numbers | 01/01/70 00:00 | |
| It was nice | 01/01/70 00:00 | |
| It was 10 years ago... | 01/01/70 00:00 | |
| line numbers | 01/01/70 00:00 | |
| Not necessarily | 01/01/70 00:00 | |
| BASIC for ADuC | 01/01/70 00:00 | |
re:Basic52 | 01/01/70 00:00 | |
| Totally agree | 01/01/70 00:00 | |
| Ladder logic ? | 01/01/70 00:00 | |
| ladder | 01/01/70 00:00 |



