Attiny2313 and flashing LED example
This was another Attiny micro that I had in the tool box, so I decided to create a simple DIY development board (more on that later) and create some basic…
This was another Attiny micro that I had in the tool box, so I decided to create a simple DIY development board (more on that later) and create some basic…
This example is the hello world of LCD examples, we display that text on the LCD in question. Connection is straightforward and you can see it at the top of…
A couple of simple examples, we used an RGB LED breakout. This was a common anode type, so to switch an LED on you need to switch the appropriate port…
Sometimes in your projects you simply do not have enough I/O lines available, take for example a lot of the multiple LED examples, these use 8 outputs to control 8…
In this example we connect the ever popular DS18B20 temperature sensor to our PIC, we will then display the temperature on our LCD We used the DS18S20 in our example…
In this example we will read the temperature and humidity using a DHT11 sensor and display the readings on our LCD. We have linked to the datasheet at the bottom…
In this example we will connect an LDR again but this time when the ADC value goes below a certain number we will switch an LED on, in real life…
In this example we connect an LDR to ADC channel 2 which is PA 2. Once again you will get a value in theory between 0 and 1023. The more…
In the following example project we will convert an analog input to channel 0 to 10 bit digital number and display it on an LCD Schematic Code [c] sbit LCD_RS at…
In this example we connect a push button switch to RD0 when the button is pressed we will light an LED(s), when the button is not pressed the LED(s) will not…