Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - MyNameIsMud

Pages: [1]
1
TFTs / Arduino DUE + 4.3" TFT + NHD-4.3-480272MF-20: PIO issues
« on: June 16, 2017, 12:17:15 AM »
Hi,

I'm struggling a bit with the setup: I have the NHD-4.3-480272EF-ASXN display plus the NHD-4.3-480272MF-20 controller board. The example code provided for the setup works nicely with Mega but I'm having issues porting it for Arduino DUE.

The main issue is the PIO register manipulation, does anybody have idea how it should be done?

I've tried the following to configure the PIO (from Arduino forum):

  PIOC->PIO_PER = 0x01FF;  // Configure PORTC to PIO controller, pins 33-40
  PIOC->PIO_OER = 0x01FF;  // Enable PORTC to output
  PIOC->PIO_ODSR = something; // Write something on pins 33-40

It does not seem to work. Am I missing something completely?

I verified the wiring setup by digitalwriting the parallel port, and it works but is terribly slow.

BR,
Lassi

2
Customer Projects / Custom Motorcycle Instrumentation
« on: January 16, 2017, 04:23:33 AM »
Hi,

Decided to share a hobby project I've been working on lately. :)

Its a custom instrumentation for a turbocharged Suzuki Hayabusa. It uses two NHD-0420CW-AR3 OLED displays, showing the speed, rpm and other sensor data. The software development is ongoing but the basic layout can be seen from the pics.

The cover lens also has warning lights integrated to it, the cover lens print openings have been done using Laser. There is also a ambient light sensor sniffing the Lux level.

The casing is black anodized aluminum, and the machining marks on the front bezel have been designed to create some visual effect.

The gauge is connected to a self made control unit which communicates with the engine management unit and water injection system.


--
Lassi

Pages: [1]