Skip to content

lastralab/L-Astra-Laboratory

Repository files navigation

Meeting Indicator

Home office: Let your people know when you are in a meeting.

Screen Shot 2021-09-02 at 11 42 23 AM

Arduino file: https://github.com/lastralab/L-Astra-Laboratory/blob/master/MeetingIndicator.ino
Tinkercad project: https://www.tinkercad.com/things/0seiGmH2P1Q-meeting-indicator

Electronics Laboratory

A virtual laboratory for random experiments.

screenshot 2017-04-09 11 37 49

Schematics:

screenshot 2017-04-09 12 18 20

Code:

//OSCILLOSCOPE LAB + ArduinoUno
//Author: Niam Moltta
#define Potentiometer A2
#define LED 13
   
int val = 10;        

void setup() {
  pinMode(LED, OUTPUT);  
}

void loop() {
  val = analogRead(Potentiometer);    
  digitalWrite(LED, HIGH);  
  delay(val);                  
  digitalWrite(LED, LOW);  
  delay(val);                  
}

/*OP AMP:

To use the oscilloscope with other components you have to wire the positive input
of the oscilloscope to the Vout of the Operational Amplifier and the negative
input of the oscilloscope to the positive input of the Op Amp (to get an Inverter Circuit).

*/

Circuits.io Simulator:

l astralab

555 TIMER experiment:

paprika

Schematics:

screenshot 2017-04-09 14 46 49

LT Spice Simulator:

screenshot 2017-04-09 14 48 15screenshot 2017-04-09 14 48 42

Circuits.io Simulator:

Bike Dynamo Basics

Parts:

4 diodes 1N4007

1 Capacitor 10,000uF min 0.4V

1 LED

screenshot 2017-04-24 15 49 24

Let the 3V battery be the voltage generated by the rotating wheel.

RGB color reference

rgb

Reversing a DC motor direction with two SPDT relays

dcr

Code for Arduino:

// Bird trap test
// Author: Niam Moltta
// L'Astra Lab

#include <IRremote.h>

int ActuatorF = 11;
int ActuatorR = 10;
int val = Serial.read();
int RECV_PIN = 7; 
IRrecv irrecv(RECV_PIN);
decode_results results;

  void setup(){
      pinMode(ActuatorF, OUTPUT);
      pinMode(ActuatorR, OUTPUT);
	  digitalWrite(ActuatorF, LOW);
      digitalWrite(ActuatorR, LOW);
      Serial.begin(9600);
      irrecv.enableIRIn();
    }

  void loop(){
    
        if (irrecv.decode(&results))
        {
         Serial.println(results.value, DEC);
         digitalWrite(ActuatorF, HIGH); //forwards
         digitalWrite(ActuatorR, LOW);
        }
       else 
       { digitalWrite(ActuatorF, LOW); //backwards
         digitalWrite(ActuatorR, HIGH);
       }
	}



l'astra lab icon