Skip to content
/ fog Public

This is Arduino Library to use with my board - Programming Fog

License

Notifications You must be signed in to change notification settings

soryone1/fog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Programming Fog

This is an Arduino library designed to be used with my own board - Programming Fog. With this board, you can easily control all liquid mist related projects, such as DIY humidifiers, DIY aromatherapy machines, and any other projects or installations you can imagine.

I implements two features which normal boards in those devices don't provide:

  • Be able to start the fog and stop the fog.
  • Be able to control the fog amount based on a simple 5v analogRead value.

Pin Connections

  • VCC -> 5V
  • GND -> GND
  • A0 -> Analog Pin

Functions

FogInit

void Fog::FogInit() 

Do the Init in the Setup(), this will setup all the base requirement to use the board.

FogOn

void Fog::FogOn()

This will start a continuous spray at maximum power.

FogOff

void Fog::FogOff()

This will stop the spray completely.

FogAnalog

void Fog::FogAnalog(int inputValue)

This will control the amount of fog in real time by reading in the analog signal ranging from 0 - 1023.

Acknowledgements

Thanks for Deqing Sun and Felix Praschak's support!

About

This is Arduino Library to use with my board - Programming Fog

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Languages