Since a suitable replacement for the controller could not be found the program was altered to send serial data instead of keyboard data. This was done simply by finding all the Keyboard commands and replacing them with Serial commands. Both used print commands so a find/replace worked for everything at once.
Program debugging was started. The second problem was the data registers for the voltage was meant to be float values, which are values which aren't limited to whole numbers. 1, 4, 6, 9 are all integers while 4.7, 9.25, 100.96 are all float values. When integers are rounded or truncated they lose precisions so no readings were visible.
There are still problems with the program. Only station five reported a voltage readout, but that readout corresponded with previously measured voltages. Unfortunately the station generating voltage was station one. A continuity test was performed and all wires showed correct connections but signals seemed weak. Since most wires are similar in distance relative readings can still be taken.
Files for Wind Generator Test Base:
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.
Program debugging was started. The second problem was the data registers for the voltage was meant to be float values, which are values which aren't limited to whole numbers. 1, 4, 6, 9 are all integers while 4.7, 9.25, 100.96 are all float values. When integers are rounded or truncated they lose precisions so no readings were visible.
Replacing Keyboard commands with Serial commands
Poorly formatted readout
Properly formatted readout
There are still problems with the program. Only station five reported a voltage readout, but that readout corresponded with previously measured voltages. Unfortunately the station generating voltage was station one. A continuity test was performed and all wires showed correct connections but signals seemed weak. Since most wires are similar in distance relative readings can still be taken.
Testing continuity with a meter
Files for Wind Generator Test Base:
- Arduino code
- STL model for bearing holder no longer used but maybe useful for someone
- STL model for 3/4" PVC bearing adapter
- STL model for pulley
- OpenSCAD code
Connect electrical to stations- Buy Arduino or Teensy
- Test each station
- Debug program
- Go to next phase and test turbine designs
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-05-24 (Su)
2015-05-24 (Su)
Comments
Post a Comment