BBFuino is a clone of Arduino which is specially designed to fit onto breadboard for prototyping and learning purposes. Like Arduino, it can be used to develop interactive objects like taking inputs from switches or sensors, controlling a variety of light motors and other physical outputs. BBFuino is using Atmel microcontroller Atmega328 loaded with Optiboot bootloader. This feature makes it compatible to Arduino IDE and sample codes provided by Arduino. All pins of BBFuino are labeled as original Arduino boards. An on-board red led and a reset button are also reserved. Besides this, a LCD pad is provided on BBFuino for 2 x 8 LCD so user can install the LCD for message displaying purpose with additional header and header pins. BBFuino does not have on-board USB chip so it requires the use of external USB to serial board like UC00A connected to its programming pins to load program into it. In the next section, we are going to use BBfuino to display temperature from temperature sensor. This will be an interesting project since a buzzer will be added for overheat indication. Let’s Start!!
- BBFuino board – 1
- UC00A Rev2.0 – 1
- 2 x 8 LCD – 1
- 2 x 40 ways straight pin header (Male) – 1
- 2 x 10 ways straight header (Female) – 1
- Power adapter DC 12V – 1
- Breadboard – 1
- Transistor PN2222A – 1
- Temperature Sensor LM35DZ – 1
- Buzzer – 1
- Resistors: 330 Ohm – 1, 1kOhm – 1
- Jumper Male to Male (WR-JW-MM65)
- Soldering equipments
BBFuino Board UC00A Rev2.0 2 x 8 LCD
2 x 40 ways straight 2 x 10 ways straight Power adapter DC 12V
pin header (Male) header (Female)
Breadboard Transistor PN2222A Temperature Sensor LM35DZ
Buzzer Resistors: 330 Ohm , 1k Ohm
and jumper Male to Male (WR-JW-MM65)
**If older version of UC00A is used instead of UC00A Rev 2.0, some modifications have to be done on the older version of UC00A to extend its DTR pin. This issue can be referred to the BBFuino user manual for detail description on modifications to be made.
- Arduino IDE, can be downloaded from Arduino official website.
- USB driver, can be downloaded from Cytron Technologies website, UC00A.
**Installation of Arduino IDE can refers to User manual (Fun & Learning With Arduino Projects).
**Installation of USB driver can refers to USB driver installation guide.
- BBFuino user manual, can download here.
- USB driver installation guide, can download here.
- Arduino user manual (Fun & Learning With Arduino Projects), can be downloaded from Cytron Technologies, Arduino Tutorial.
- Arduino Home Page
- Getting Started
- Programming Reference
- Arduino Forum
**Users are encouraged to go through BBFuino user manual and Arduino user manual (Fun & Learning With Arduino Projects) for better understanding of BBFuino features and basic programming techniques used in Arduino.
Display Temperature From Temperature Sensor(LM35) Using BBFuino
1. We start from fitting the 2 x 8 LCD onto the BBFuino board.
2.First for all, a 2 x 40 ways straight pin header (Male) is cut into 2 x 8 ways by using a cutter. The resulted pin header (Male) is soldered onto the LCD as shown below:
a) Front side b) Back side
Figure 1: Solder pin header (Male) onto the LCD
3. Secondly, a 2 x 10 ways straight header (Female) is cut into 2 x 8 ways by using a cutter. The resulted header (Female) is soldered onto the LCD pad (DS3) of BBFuino board as shown below:
a) Front side b)Back side
Figure 2: Solder header onto the LCD pad of BBFuino Board
4.Next, solder the JP8 on BBFuino board so as to provided backlight for LCD as shown below:
a) Before solder b)After soldered
Figure 3: Solder the JP8 (labeled with LCD B/L) of BBFuino board
5. Plug the LCD into the header (Female) soldered previously and then fit the BBfuino board onto the breadboard as shown below.
Figure 4: Plug in the LCD and fit the BBFuino onto the breadboard (starting with the leftmost slots on breadboard)
6. With the schematics provided, connect the temperature sensor (LM35DZ) and buzzer (plus electrical components like transistor and resistors) with BBFuino board on the breadboard in the way as shown below:
a) Connection of temperature sensor (LM35DZ) and buzzer with BBFuino board
c) Schematics provided (including connections of LM35DZ and buzzer )
Figure 5 : Connections of temperature sensor (LM35DZ) and buzzer with BBFuino board with the schematics provided
7. The complete circuit design using designing sofware, Fritzing is shown below:
Figure 6: Complete circuit desgin using Fritzing
8. Connect the UC00A Rev 2.0 to the programming pins of BBFuino board in the correct way as shown below:
a) Connect the UC00A Rev 2.0 to the b) Correct connection (black pin of UC00A Rev 2.0 to black pin programming pins of BBFuino board ofBBFuino board, green pin of UC00A Rev 2.0 to green pin
of BBFuino board)
Figure 7: Connect the UC00A Rev 2.0 to the programming pins of BBFuino Board
9. Connect the USB cable to the UC00A Rev 2.0 from the host computer .
10. Open Arduino IDE, choose suitable type of Arduino board (for BBFuino, choose Arduino Uno) and the connected COM port (which can be checked through Device Manager ) as shown below:
a) Choose the type of Arduino board b) Choose the connected COM port
Figure 7: Choose the type of Arduino board and the connected COM port
11. After that, enter the code as shown below:
12. Compile the ready typed program code first to check any error occurs. After that, load the program into the BBFuino board.
13. Once the program is successfully uploaded, you can see the following result:
Figure 8: Sensed temperature is shown on LCD in Celsius
**Actually, the LCD draw much current for its operation. Hence, for the long term usage, it is advisable to use an external supply instead of power provided by the host computer through USB cable by connecting a power adapter DC 12V to adapter socket of BBFuino so as to provide enough current for BBFuino board, LCD and other peripheral circuits like buzzer in this case.
13. The project is considered almost done here. Next, we need to demonstrate the effect of overheating that will activate the buzzer. The reference temperature set in the program code is 32.5 Celsius. The buzzer will sound when the sensed temperature exceed 32.5 Celsius. The demonstration is shown by a short video below:
14. The program code with detail comments and explanations can be downloaded through the link provided below: