The intention of this device was to periodically start a water pump which provides bubbles which are entertaining to my cat and a pseudo-randomly moving laser dot which are entertaining to many cats.
Pseudo-code was translated to code for the Arduino. Some small errors and corrections were made. According to the first draft of the code the two functions couldn't run at the same time. So, if the laser show was running the pump could not start and if the pump was already running the laser couldn't start. This should be the case when the periodic timers expire but if the user presses the buttons sequentially there shouldn't be any reason both cannot run at the same time. The code compiled after some minor debugging and it was downloaded to an Arduino Duemilinove but not tested in hardware.
To Do:
The rest of the posts for this project have been arranged by date.
First time here?
Completed projects from year 1.
Completed projects from year 2.
My cat pondering her paw
Pseudo-code was translated to code for the Arduino. Some small errors and corrections were made. According to the first draft of the code the two functions couldn't run at the same time. So, if the laser show was running the pump could not start and if the pump was already running the laser couldn't start. This should be the case when the periodic timers expire but if the user presses the buttons sequentially there shouldn't be any reason both cannot run at the same time. The code compiled after some minor debugging and it was downloaded to an Arduino Duemilinove but not tested in hardware.
To Do:
Write codeProgram Arduino- Debug Program in breadboard
- Buy mirror
- Design structure and explain
- Write instructions
- Make a linkable parts list
- Draw schematic
The rest of the posts for this project have been arranged by date.
First time here?
Completed projects from year 1.
Completed projects from year 2.
Disclaimer for http://24hourengineer.blogspot.com/
This disclaimer must be intact and whole. This disclaimer must be included if a project is distributed.
All
information in this blog, or linked by this blog, are not to be taken
as advice or solicitation. Anyone attempting to replicate, in whole or
in part, is responsible for the outcome and procedure. Any loss of
functionality, money, property or similar, is the responsibility of
those involved in the replication.
All digital communication regarding the email address 24hourengineer@gmail.com becomes
the intellectual property of Brian McEvoy. Any information contained
within these messages may be distributed or retained at the discretion
of Brian McEvoy. Any email sent to this address, or any email account
owned by Brian McEvoy, cannot be used to claim property or assets.
Comments
to the blog may be utilized or erased at the discretion of the owner.
No one posting may claim claim property or assets based on their post.
This blog, including pictures and text, is copyright to Brian McEvoy.
2015-06-11 (Th)
2015-06-11 (Th)
Comments
Post a Comment