An open API service indexing awesome lists of open source software.

https://github.com/pgilbertschmitt/embertest

Jason, these are the two tests I could think of. Feel free to come up with more if you need them, of course.
https://github.com/pgilbertschmitt/embertest

Last synced: 10 months ago
JSON representation

Jason, these are the two tests I could think of. Feel free to come up with more if you need them, of course.

Awesome Lists containing this project

README

          

#JASON
These are the two tests.

## Sound Ramp Test
A test of the ability to change volume over time using the vs1053 chip. The three volume labels are clearly marked, so you can modify them if you feel the need. You can change the length of time that it plays for and whether or not it's the daytime via the variables totalTime and dayTime respectively. The length of time that the sound takes to ramp up/down and to change from full to half volume is changed via the preprocessor macros defined as PERIOD and SWITCH respectively. The way it's set right now is:

1. Ramp up to full volume for TWO seconds
2. Play for SIX seconds at full volume
3. Ramp down to half volume for TWO seconds
4. Play at half volume for the remaining amount of time (18 seconds, changes based on how long the total playtime is)
5. Ramp down to low volume (inaudible) for TWO seconds

The capitalized numbers are the set-in-stone values. Those can be changed in the macros.

## Strain Test
Prints a number between 0 and 255 (I think) every half second. That number is the signal being returned by the strain guage. I think it gets lower the more weight there is, I forget. All I know is you can use that to figure out the readings that you want, and I can simply plug that data into the final program to use as the weight threshold.