Posts | Comments

Planet Arduino

Archive for the ‘TFT’ Category

Giu
02

Optimizing AVR LCD Libraries

arduino hacks, AVR, C, LCD, Microcontroller, microcontrollers, SPI, TFT, TFT Display Commenti disabilitati su Optimizing AVR LCD Libraries 

A while ago, [Paul Stoffregen], the creator of the Teensy family of microcontrollers dug into the most popular Arduino library for driving TFT LCDs. The Teensy isn’t an Arduino – it’s much faster – but [Paul]’s library does everything more efficiently.

Even when using a standard Arduino, there are still speed and efficiency gains to be made when driving a TFT. [Xark] recently released his re-mix of the Adafruit GFX library and LCD drivers. It’s several times faster than the Adafruit library, so just in case you haven’t moved on the Teensy platform yet, this is the way to use one of these repurposed cell phone displays.

After reading about [Paul]’s experience with improving the TFT library for the Teensy, [Xark] grabbed an Arduino, an LCD, and an Open Workbench Logic Sniffer to see where the inefficiencies in the Adafruit library were. These displays are driven via SPI, where the clock signal goes low for every byte shifted out over the data line. With the Adafruit library, there was a lot of wasted time in between each clock signal, and with the right code the performance could be improved dramatically.

The writeup on how [Xark] improved the code for these displays is fantastic, and the results are impressive; he can fill a screen with pixels at about 13FPS, making games that don’t redraw too much of the screen at any one time a real possibility.


Filed under: Arduino Hacks, Microcontrollers
Apr
30

A Simple And Inexpensive GPS Navigation Device

arduino, arduino hacks, bitmap, BMP, display, geotiff, Github, gps, LCD, navigation, TFT, uno Commenti disabilitati su A Simple And Inexpensive GPS Navigation Device 

There are plenty of GPS navigation units on the market today, but it’s always fun to build something yourself. That’s what [middelbeek] did with his $25 GPS device. He managed to find a few good deals on electronics components online, including and Arduino Uno, a GPS module, and a TFT display.

In order to get the map images on the device, [middelbeek] has to go through a manual process. First he has to download a GEOTIFF of the area he wants mapped. A GEOTIFF is a metadata standard that allows georeferencing information to be embedded into a TIFF image file.  [middelbeek] then has to convert the GEOTIFF into an 8-bit BMP image file. The BMP images get stored on an SD card along with a .dat file that describes the boundaries of each BMP. The .dat file was also manually created.

The Arduino loads this data and displays the correct map onto the 320×240 TFT display. [middelbeek] explains on his github page that he is currently unable to display data from two map files at once, which can lead to problems when the position moves to the edge of the map. We suspect that with some more work and tuning this system could be improved and made easier to use, of course for under $25 you can’t expect too much.


Filed under: Arduino Hacks
Dic
24

Arduino heart rate sensor

arduino, ATmega328, LCD, TFT Commenti disabilitati su Arduino heart rate sensor 

An Arduino pulse sensor project from Bajdi:

I found a little heart rate sensor @ ICstation. It is a clone of the open hardware pulse sensor. The sensor is well documented, and it comes with Arduino and Processing example code.
To try it out I connected the sensor to an ATmega328 running at 3.3V and loaded the example Arduino code. I could now see my heart beat on the Arduino serial monitor :)
I then connected a 2.2″ TFT display to the Arduino and tried to figure out how to display the sensor output on it. Sounds simple but unfortunately it isn’t. Updating the full screen (320×240 pixels) is really slow. So I needed some smarter code to update only the pixels that needed to change. I happened to stumble on Matthew McMillans blog, he wrote some smart code to use a similar display as a speedometer. So I borrowed some of his code and mixed it with the example code of the pulse sensor. You can see the result in the above video.

[via]

Arduino heart rate sensor - [Link]

Set
26

Arduino TFT Color Clock

arduino, clock, microSD, TFT Commenti disabilitati su Arduino TFT Color Clock 

FIBMI6CI0C8XQQD.MEDIUM

by Sound Guy @ instructables.com:

You may be familiar with a website in the UK called Colour Clock (http://thecolourclock.co.uk/) which converts the time into a hex value and then uses that value to update the background color. It’s very hypnotic and once you get used to how it works you can actually tell where you are in the day just by glancing at the screen from across the room.

I had an Arduino Uno R3 and an Adafruit 1.8″ Color TFT Shield w/microSD and Joystick that I was trying to use for another project that kept stalling out. One night just for fun I decided to see if I could recreate the Colour Clock and it only took a couple hours. If you’re familiar with Arduino you could easily swap parts out for a simple TFT breakout board and something tiny like a Beetle and make a very compact unit. You could even wear it as a badge.

Arduino TFT Color Clock - [Link]

Ago
19

Arduino GPS Map Navigation System

arduino, gps, TFT Commenti disabilitati su Arduino GPS Map Navigation System 

gps-navigation-system-based-on-Auduino

Built on the basis of Arduino UNO, GPS, SD card, TFT, GPS map navigation system is to obtain the real-time position information via GPS, to send it to UNO for calculation, according to the calculating results, and teamed up with the

map file stored in SD card, thus presenting the position on TFT. The GPS system, owing the function to store the current position information, can be applied to running positioning and to record the running tracing.

Arduino GPS Map Navigation System - [Link]

Giu
18

Reflow Oven Controller with graphics TFT

arduino, control, controller, JD-T1800, Oven, PID, Reflow, ST7735R, TFT Commenti disabilitati su Reflow Oven Controller with graphics TFT 

CycleWithOverflow

0xPIT @ github.com writes:

This Reflow Oven Controller relies on an Arduino Pro Micro, which is similar to the Leonardo and easily obtainable on eb*y for less than $10, plus my custom shield, which is actually more like a motherboard.

As I believe it is not wise to have a mess of wiring and tiny breakout-boards for operating mains powered equipment, I’ve decided to design custom board with easily obtainable components.

The hardware can be found in the folder hardware, including the Eagle schematics and PCB layout files. It should fit the freemium version of Eagle

Reflow Oven Controller with graphics TFT - [Link]

Mag
29

The Lightgame Project: A Multiplayer Arduino Game

arduino, arduino hacks, children, game, i2c, Kids, reflex, reflex game, student, TFT, TFT LCD, toy Commenti disabilitati su The Lightgame Project: A Multiplayer Arduino Game 

lightgame_3Summer is upon us. The Lightgame Project is a multiplayer reaction time based game built around the Arduino. It’s a perfect rainy day project for those restless kids (and adults!). Designed by two undergraduate students [Efstathios] and [Thodoris] for a semester long project, all the hard work has already been done for you.

There are tons of reasons we love games that you can build yourself. For one, it’s an amazing way to get children interested in hobby electronics, making, and hacking. Especially when they can play the game with (and show off to) their friends. Another reason is that it is a perfect way to share your project with friends and family, showcasing what you have been learning. The game is based on your reaction time and whether or not you press your button when another players color is shown. The project is built around two Arduinos connected via I2C. The master handles the mechanics of the game, while the slave handles the TFT LCD and playing music through a buzzer.

I2C is a great communication protocol to be familiar with and this is a great project to give it a try. [Efstathios] and [Thodoris] did a great job writing up their post, plus they included all the code and schematics needed to build your own. It would be great to see more university professors foster open source hardware and software with their students. A special thanks goes out to [Dr. Dasygenis] for submitting his student’s work to us!


Filed under: Arduino Hacks
Apr
26

Make an Oscilloscope using the SainSmart Mega2560

arduino, LCD, oscilloscope, SainSmart Mega2560, TFT Commenti disabilitati su Make an Oscilloscope using the SainSmart Mega2560 

FS80H0VHTVDY4H4.LARGE

This instructable will show you how to build a portable Touch Screen Oscilloscope for less than 40 U$! johnag @ instructables.com writes:

The oscilloscope is one of the most powerful electronic instruments that is available to electronics hobbyist, experimenters, and engineers. It is mainly used to measue time-varying signals. Any time you have a signal that varies with time( slowly, quickly, and /or periodically ) you can use an oscilloscope to measure it , visualize it, and to find any unexpected features in it.

Make an Oscilloscope using the SainSmart Mega2560 - [Link]

Feb
15

Generating Embroidery with an Arduino

arduino, arduino hacks, embrodermodder, embroidery, TFT Commenti disabilitati su Generating Embroidery with an Arduino 

Arduino Embroidery Generation

Want a nifty way to combine the craft of embroidery with electronics? The folks working on the open source Embroidermodder demoed their software by generating an embroidery of the KDE logo using a TFT screen and an Arduino.

Embroidermodder is an open source tool for generating embroidery patterns. It generates a pattern and a preview rendering of what the embroidery will look like when complete. It’s a cross-platform desktop application with a GUI, but the libembroidery library does the hard work in the background. This library was ported to Arduino to pull off the hack.

While generating pictures of embroidery with an Arduino might look neat, it isn’t too useful. However, since the library has been ported it is possible to use it to control other hardware. With the right hardware, this could be the beginning of an open source embroidery machine.

After the break, check out a video of the pattern being generated.


Filed under: Arduino Hacks
Ago
03

Your Image on an Arduino! – TFT LCD Screen Guide

arduino, LCD, microSD, TFT Commenti disabilitati su Your Image on an Arduino! – TFT LCD Screen Guide 

FMVEW3VHHS9LCUC.LARGE

Qtechknow @ instructables.com

Have you ever heard of TFT LCD screens? They are great ways to display information from your Arduino, or display pictures. The Arduino team just released an official TFT LCD screen with their new Robot at Maker Faire 2013. It’s very easy to get started with!! This tutorial will show you how to get the LCD up and running, load information from the SD card, and make a few simple projects.

The TFT LCD screen is a great way to detach your computer, and have the Arduino relay information that you need to know onto the LCD. A great part of the LCD is that it has a built in microSD card socket. You can store images on the microSD card socket, and even some text!

Your Image on an Arduino! – TFT LCD Screen Guide - [Link]



  • Newsletter

    Sign up for the PlanetArduino Newsletter, which delivers the most popular articles via e-mail to your inbox every week. Just fill in the information below and submit.

  • Like Us on Facebook