Attaching inexpensive tactile switches to a breadboard is a fool's task.
Some tactile switches were soldered to scrap protoboard to make a testing rig for the TRIGGER and RELOAD buttons. They could be tested by using a jumper but the testing rigs will simplify testing later with a computer attached. Nothing special, just a common to each switch and a signal from each switch. The black component in the middle was a header pin socket so DuPont leads could be attached.
The button rigs were attached to each breadboard. In the programming, a signal (30, HEX) was sent when one button is pressed and another (31, HEX) was sent when it was released. There was some confusion in the code which resulted in a continuous string of PRESS and RELEASE for one of the buttons but it was solved. No debouncing was used but it could be added in the future since these are RISING EDGE and FALLING EDGE notifications.
Two outputs, the laser output and flashlight output, were programmed and tested. Each one was told to activate or deactivate by a serial command. All the automation will be handled in the computer so the trigger and reload button mentioned above have no bearing on the outputs shown below.
Downloads:
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
Completed projects from year 3
Disclaimer for http://24hourengineer.blogspot.com/ and 24hourengineer.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 property or assets based on a post.
This blog, including pictures and text, is copyright to Brian McEvoy.
2017-04-06 (Th)
Some tactile switches were soldered to scrap protoboard to make a testing rig for the TRIGGER and RELOAD buttons. They could be tested by using a jumper but the testing rigs will simplify testing later with a computer attached. Nothing special, just a common to each switch and a signal from each switch. The black component in the middle was a header pin socket so DuPont leads could be attached.
Hastily created buttons
The button rigs were attached to each breadboard. In the programming, a signal (30, HEX) was sent when one button is pressed and another (31, HEX) was sent when it was released. There was some confusion in the code which resulted in a continuous string of PRESS and RELEASE for one of the buttons but it was solved. No debouncing was used but it could be added in the future since these are RISING EDGE and FALLING EDGE notifications.
Testing physical buttons
Two outputs, the laser output and flashlight output, were programmed and tested. Each one was told to activate or deactivate by a serial command. All the automation will be handled in the computer so the trigger and reload button mentioned above have no bearing on the outputs shown below.
LED changing by serial data sent to Arduino
Downloads:
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
Completed projects from year 3
Disclaimer for http://24hourengineer.blogspot.com/ and 24hourengineer.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 property or assets based on a post.
This blog, including pictures and text, is copyright to Brian McEvoy.
2017-04-06 (Th)
Comments
Post a Comment