Apr 7, 2017 - FREE and Open Source, Arduino Due based Telescope Control. 1 × 3.2' TFT 400.240 SD Touch Module With Shield for Arduino. The other clone made by Giacomo uses LI9488 480x320 px. Display in SPI, instead of the original HX8352B. RDUINOScope Boiana is now truly an Open Source Project! OPEN-SMART Store: 3.2INCH TFT LCD Shield: https://www.aliexpress.com/store/product/3-2-TFT-LCD-Display-module-Touch-Screen-Shield-board-onboard-temperature-s.
A diyaudio user had adapted the Hifiduino code to use a graphic display. Cool project.More information about the project here:. User “bigpandahk” has put together with a Buffalo III. On paper this is the “lowest” jitter DAC solution currently available.A later implementation looks like this:Another implementation by looks like this. Bigpandahk based his design on dimdim’s codeEven though these screens are all text based, they are already pretty good looking. For those inclined to further modify the code, you can do much more with the graphic display like using icons and even using the touch interface to change DAC parameters and volume.User DQ828 has this implementation here: Additional information on the Arduino libraries for the display.
There is currently only ONE model of Apple remote. You should look at those codes again.The codes from all Apple remotes ever made are identical.
The small exception is that the silver remote sends TWO codes for the Select and Play/Pause button.The big “aha” missing from this discussion comes from the assumption that Apple codes are NEC format. The next assumption is that the button codes are 8 bits. They’re not.Apple’s IR format is custom and only “based” on NEC. They have taken the premise and re-used all the command bits in a custom fashion.7 bits for the button code1 PARITY bit8 bits for IDThe parity is a XOR sum of the button and ID bits, and since it flips around between 1 and 0 depending on the other bits, of course you’ll think the codes are different between two remotes with two different IDs.I’ve corrected the information here:. When I get a chance, I’ll update the code so that it will work with any Apple remote. INTROPurchased a module plus its accompanying from iTead Studio.
The shield has been updated to version 2. See bottom of post for more information.The shield has, in addition to the connections to the display module, connections to a battery-backed real time clock that has been implemented in the shield. The display module consists of the display panel (the screen), a touch controller and a SD Card socket.The iTead description says:The ITDB02 LCD module is work in 3.3V voltage level and it’s not compatible with Arduino MEGA pins, so we make a shield for Arduino MEGA. Now user can directly plug the ITDB02 in the shield and stand on the Arduino MEGA board.In reality, the ITDB02 module IS fully compatible with Arduino MEGA pins.
The shield just makes it much, much easier to connect to the Arduino board. With respect to the 3.3 power, the shield merely connects the Arduino 5V power pin to the display module’s VCC pin which feeds a local LDO regulator that generates the required 3.3V.MEGA COMPATIBLE SHIELDThe real time clock: I2C interface. A clock board alone already the entire shield.(Update 9/7/12): The resistors in the shield are there to limit the current to the protection diodes in the display module, so they are just in series with the signal lines. The inputs of the display must be 5V tolerant even thought the display operates at 3.3V. The better solution is to implement a level conversion 5V-3.3V and this has been done in the new version of the shield.
More information in the Arduino forums COMPONENTS OF DISPLAY MODULEFull color, 400×240 pixel TFT screen with a 16:9 widescreen aspect ratio. S/W supports 24-bit RGB color. The ITDB02-3.2WD uses the HX8352-A controllerOn the back side of the display module:3.3v LDO regulator:. The jumper J1 is there to bypass the regulator if your VCC is already 3.3V. First time I see a Chinese-branded LDO regulator.Note that J1 is used to pass VCC if a regulator is not used. In this case, a regulator is used and thus J1 is open. There is also opportunity to increase C1.Touch controller: TI compatible:SD Card socketHere is the display module and the shield stacked on top of an Arduino MEGA 2560SOFTWARECheck out the latest libraries here: Screen:The library (“UTFT” for “Universal TFT”) for this display has been developed by Mr Karlsen and is available here:.
Support for the 240×400 pixel display is available with version 1.10 and higher as this is a new display. The software also supports the wiring of the Mega shield shown above.
(The control pins are assigned through s/w, though).The controller for this screen is HX8352-A (apparently it replaces the ILI9327 controller). You will need to enter the controller model in the code as “HX8352A”.
The enclosed documentation in the code tells you more. In addition, you need to know this controller model to take advantage of “memory saving” as specified in memorysaver.hTouch control:The library is ITDB02-TOUCH, also developed by Mr. Is also compatible with the wiring of the Mega shield shown above and any other wiring configuration as the 5 interface wires are assignable through s/w.Real Time Clock:Here is a tutorial on how to interface to the RTC device:. Here is another using a library:.SD Card:Mr. Karlsen also developed a library for the SD Card socket/reader. However it is limited to FAT16 formatted SD cards up to 2GB in size and 8.3 characters file names.
There is also the Arduino SD Library link that supports both FAT16 and FAT32 file systems on standard SD cards and SDHC cards. It is also limited to 8.3 characters file names. There is also a tutorial on SD Card interfacing at LadyAda.PINS USEDEven though the shield takes up all the pins in the Arduino MEGA board, not all the pins are used for the display module and the real time clock. You can connect other devices (e.g.
Soldering wires) to the free pins.Pin-out assignment of display moduleIncludes the screen, touch controller, SDCard reader and Flash. Designation to the different device interfaces are as follows:.
Dxx: TFT screen. SDxx: SDCard reader. Dxx: Touch controller. Fxx: Flash (not populated in this particular module)Here is the pin mapping of the Ardino MEGA 2560 board:Obviously the shield matches the 40-pin output of the display module with the pins of the Arduino. In addition, the shield has a real time clock that is separate from the display module and exports the interface pins of this device as well.These are the pins that are used by the shield.