The Arduino controls the fans speed as per room temperature and also displays temperature on an LCD.
Project tutorial by ambhatt
It uses LDR to sense light intensity and LEDs to vary light intensity. It uses arduino as controller and LCD to display light intensity.
Arduino is used to measure frequency and duty cycle of pulses and display them on LCD.
On this sample I would like to explain why PID-control should be used for speed controls and how the direction can be inverted.
Project tutorial by tolgadurudogan
yes. but you have to give input in decimal numbers like
as you want for
11100000 you have to send 224
01110000 you have to send 112
and like wise
you can make array of these values and sent them to any port pins
thanks for your comments.
I am already aware of AVR IO port manipulation with DDR/PIN/PORT because I have been working on AVR Attiny/ATMega/XMega since 8 years.
the library is given to combine any 8 IO pins of arduino to work as a port.
using this library it will be easier to write a program for different peripheral/IO devices like 8-bit DAC, DIP switches, 7-segment display, LED bargraph display and many more. I know that this may take more time in execution but all such IO devices are much slower as compared to speed of arduino.
so the beginners who are just aware of digitalWrite()/digitalRead() functions of arduino that works on 1 pin input/output, can use this library to send/get 8-bit digital input/output
thanks for pointing out an error. the new ZIP file is uploaded please download it
Or connect with your social account:
New here? Create an account