Working in progress !!!
Cosa è?
M&j Beep è una centralina di allarme modulare pilotata da un atmega1284.
Storia
Il progetto è nato dall’esigenza di installare un sistema di allarme in casa. La prima bozza prevedeva l’uso di un atmega328, ma poi con crescere delle funzionalità, sono stato costretto a trovare un microcontrollore con un po di memoria in più. La scelta è ricaduta su un atmega1284. Di seguito un comparazione tra i microcontrollori più diffusi (Arduino like)
Feature | 328P | 1284P | 2560P |
---|---|---|---|
Price | $2.99 | $4.66 | $11.28 |
RAM | 2k | 16k | 8k |
Flash | 32k | 128k | 256k |
EEPROM | 1k | 4k | 4k |
UART | 1 | 2 | 4 |
IO Pins | 23 | 32 | 86 |
Interrupts | 2 | 3 | 8 |
Analog Inputs | 6 | 8 | 16 |
Caratteristiche:
- RTC: modulo DS3231 per la gestione del tempo
- LCD 20×4 per impostazioni/visualizzazione stato, etc (collegato ad un PCF8574 che lo rende I2C)
- tastierino 4×4 (tastierino a membrana classico x arduino collegato ad un PCF8574 che lo rende I2C)
- 2 zone (da implementare)
- avviso tramite modulo GSM (al momento solo tramite sms)
- relay per attivizione sirena.
- batteria tampone al piombo 12v 7A
Librerie usate
- Keypad_I2C: libreria per la gestione del tastierino I2C.
- LCDMenuLib: libreria per la gestione del menu.
- secTimer: Simple seconds counter for Arduino boards and Atmel microcontrollers. The library can count from 0 to (2^32)-1 seconds. This is a really HUGE interval of time since (2^32)-1 seconds are about 136 years! So your device will cease to function before the library will overflow!
- MandjTimer: modificato la libreria Timer per utilizzare secTimer al posto di millis().
- Password: libreria per la gestione del codice di accesso.
- PCF8574: libreria per la gestione dei moduli sensore, gestione dell’integrato PCF8574.
- Rtc_by_Makuna: liberia per la gestione del modulo DS3231 pe la gestione del tempo.
- TimerOneThree: The arduino TimerOne library adapted for ATmega1284P and extended for timer3.
- GSM Shield: a library developed for Arduino’s shields that support SIM900/SIM908.
- Keypad: a library for using matrix style keypads with the Arduino. As of version 3.0 it now supports mulitple keypresses.
- NewLiquidCrystal: the LCD Library for Arduino and Chipkit. It is a derivate of the original LiquidCrystal Library as sourced in the Arduino SDK. It has been developed to be compatible with the current LiquidCrystal library, its performance is almost 5 times faster and fully extendable if need be.
- SoftwareSerial: library has been developed to allow serial communication on other digital pins of the Arduino, using software to replicate the functionality
- Wire: library allows you to communicate with I2C / TWI devices.
Author
- M&J
- Git: https://github.com/linvswin/mandjBeep
- Data inizio: 09/02/2016
- Versione: 1.0