This is a very similar example to our ATMEGA16 and LCD example. We simply connect our 16×2 LCD display to our Attiny2313 PORTB. Again for simplicity the code is written …
-
-
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 sbit LCD_RS at RB4_bit; …