Skip to content

Instantly share code, notes, and snippets.

View Electronza's full-sized avatar

Teodor Costachioiu Electronza

View GitHub Profile
@Electronza
Electronza / Arduino text to speech clock
Created May 4, 2020 13:18
Arduino text to speech clock
# Project page
#
@Electronza
Electronza / MPLAB Xpress: Altitude Click demo code
Created May 4, 2020 12:12
MPLAB Xpress: Altitude Click demo code
# Project page
#
@Electronza
Electronza / Lightning detection using AS3935 and PIC18F4520
Last active May 3, 2020 07:59
Lightning detection using AS3935 and PIC18F4520
# Project page
# https://medium.com/electronza/lightning-detection-using-as3935-and-pic18f4520-microcontroller-695bbfb9dfc5
@Electronza
Electronza / Heart Rate Click: On EasyPIC v7
Last active May 3, 2020 07:50
Heart Rate Click: On EasyPIC v7, with MikroC code
# Project page
# https://medium.com/electronza/heart-rate-click-on-easypic-v7-ab26fd558254
@Electronza
Electronza / SmartMP3_routines.c
Last active May 2, 2020 13:26
EasyPIC v7: Talking breathalizer
#include <built_in.h>
// CODEC V1053E connections
sbit MP3_CS_Direction at TRISC1_bit;
sbit MP3_CS at LATC1_bit;
sbit MP3_RST_Direction at TRISC2_bit;
sbit MP3_RST at LATC2_bit;
sbit DREQ_Direction at TRISC7_bit;
sbit DREQ at RC7_bit;
sbit BSYNC_Direction at TRISC6_bit;
@Electronza
Electronza / Arduino Due Text to Speech
Last active May 2, 2020 12:52
Arduino Due: S1V30120 text to speech
# Project page
# https://medium.com/electronza/arduino-due-s1v30120-text-to-speech-507eedeb18cb
@Electronza
Electronza / main.c
Created April 28, 2020 09:03
MPLAB Xpress: XC8 code for SHT1x click board
// get/set SDA_pin aliases
#define SDA_pin_TRIS TRISC3
#define SDA_pin_LAT LATC3
#define SDA_pin_PORT RC3
#define SDA_pin_WPU WPUC3
#define SDA_pin_ANS ANSC3
#define SDA_pin_SetHigh() do { LATC3 = 1; } while(0)
#define SDA_pin_SetLow() do { LATC3 = 0; } while(0)
#define SDA_pin_Toggle() do { LATC3 = ~LATC3; } while(0)
#define SDA_pin_GetValue() RC3
@Electronza
Electronza / main.c
Created April 23, 2020 11:43
MPLAB Xpress obstacle avoiding robot
/**
Generated Main Source File
Company:
Microchip Technology Inc.
File Name:
main.c
Summary:
@Electronza
Electronza / gardena.ino
Created December 13, 2019 09:01
Gardena water valve with Arduino Uno
/*******************************************************************
____ __ ____ ___ ____ ____ __ __ _ ____ __
( __)( ) ( __)/ __)(_ _)( _ \ / \ ( ( \(__ ) / _\
) _) / (_/\ ) _)( (__ )( ) /( O )/ / / _/ / \
(____)\____/(____)\___) (__) (__\_) \__/ \_)__)(____)\_/\_/
Project name: Gardena water timer controller using Arduino Uno
Project page: https://electronza.com/gardena-water-timer-controller-arduino-uno/
Description: Gardena T14E, Arduino Uno, Ardumoto and some passive components
********************************************************************/
@Electronza
Electronza / main.c
Created December 19, 2019 09:24
MPLAB Xpress: MP3 click piano
/*******************************************************************
____ __ ____ ___ ____ ____ __ __ _ ____ __
( __)( ) ( __)/ __)(_ _)( _ \ / \ ( ( \(__ ) / _\
) _) / (_/\ ) _)( (__ )( ) /( O )/ / / _/ / \
(____)\____/(____)\___) (__) (__\_) \__/ \_)__)(____)\_/\_/
Project name: MPLAB Xpress: MP3 click piano
Project page: https://electronza.com/mplab-xpress-mp3-click-piano/
********************************************************************/