MOD54415 Projects.

Discussion to talk about hardware related topics only.
Vernon
Posts: 177
Joined: Sat Oct 10, 2009 6:33 pm

MOD54415 Projects.

Post by Vernon »

I scored a MOD5441X development set up on Ebay for $39!

I have not drafted up a carrier board yet but did write functions to run an I2C display, the on board RTC, RC servo compatible PWM, and the A/D.

https://www.youtube.com/watch?v=-WKdFDBbrxE

The above video shows control of a servo on PIN 19 over the internet using a gamepad. I just got a graphic SPI display from China and will be playing with that next.
Attachments
MOD5441PWM.jpg
MOD5441PWM.jpg (344.57 KiB) Viewed 34918 times
MOD5441Display.jpg
MOD5441Display.jpg (491.37 KiB) Viewed 34918 times
MOD5441TIME.jpg
MOD5441TIME.jpg (34 KiB) Viewed 34918 times
Vernon
Posts: 177
Joined: Sat Oct 10, 2009 6:33 pm

Re: MOD54415 Projects.

Post by Vernon »

Bad Day. I bought a display from China supposedly configured as a 3 wire SPI. I discovered that it required a 9 bit transfer with the most significant (9th) bit being a command or data directive. I can set it for 9 bits and move the least significant bit to the most significant of the next byte in the buffer but I didn't think of that until after I disconnected it. So I will get a different model that uses a separate GPIO to signal command or data. Wasted all that mail time - and I thought I would have something to do.
User avatar
TomNB
Posts: 569
Joined: Tue May 10, 2016 8:22 am

Re: MOD54415 Projects.

Post by TomNB »

The last project I did used a sparkfun uart display: https://www.sparkfun.com/products/9067
Probably more expensive than the one you mention though. Although the non-serial version is less. I think it uses a parallel interface.
Vernon
Posts: 177
Joined: Sat Oct 10, 2009 6:33 pm

Re: MOD54415 Projects.

Post by Vernon »

TomNB wrote:The last project I did used a sparkfun uart display: https://www.sparkfun.com/products/9067
Probably more expensive than the one you mention though. Although the non-serial version is less. I think it uses a parallel interface.
http://www.ebay.com/itm/Blue-Serial-IIC ... 1968358604?

Interesting but somewhat pricey. I use the above 4 x 20 I2C display at $8.75 (even less if you want to wait for mail from China). Essentially it has an I2C port expander mounted on the back and those modules are about 62 cents each. Port expander below and you could use it for any GPIO application if you wanted.

http://www.ebay.com/itm/2PCS-5V-IIC-I2C ... 1042782490?

http://www.buydisplay.com/default/3-2-i ... le-display

The above, at $15.57, is the graphical display with the 9 bit issue. I should have bought and likely will buy the configuration advertised as "4 wire" SPI. The SPI routines of course use a buffer of bytes making it difficult to send 9 bit values. That would seem to require wasting a whole byte to send that one bit if I configure it to send 9 bits. The 4 wire uses an extra GPIO to differentiate between data and command so I can easily send bytes. I should have read the info more carefully before I clicked the mouse. I will note that you can get a 4.3" graphical I2C display on that site (with a character ROM) for about the price of the Sparkfun offering. Might get one of those.
Vernon
Posts: 177
Joined: Sat Oct 10, 2009 6:33 pm

Re: MOD54415 Projects.

Post by Vernon »

My name in lights! I got the $29, 4.3" LCD display at the website below.

http://www.buydisplay.com/

It was a pain. I ordered it configured for I2C and the little solder jumpers were wrong. Had to fix that. Then they don’t know the standard for an I2C address and the number they give is shifted one bit. And while it only responds to its own address it acknowledges any address which creates a problem if you want to use another device on the bus. The display is the only I2C connection in the case of my current MOD5213 applications so that is OK and the MOD54415 in the picture has multiple I2C. But I am going to complain because this ain’t right. Pretty nice for $29 however. Pic attached is with the PWM for the backlight turned down to save power – it looks a lot better with a normal backlight.

I might try selling these on Ebay for $50 with a Netburner sample program. I have a lot of work to do on said sample program however so that will be awhile. I know the background looks pink on here - but it is actually red. I can of course set the background color as required.
Attachments
nameinlights.jpg
nameinlights.jpg (448.31 KiB) Viewed 34873 times
Vernon
Posts: 177
Joined: Sat Oct 10, 2009 6:33 pm

Re: MOD54415 Projects.

Post by Vernon »

Made a spectrum graph using random numbers (limited to a range) just to see how it looks. A 4.3” display is about the right size for various projects and is about the size of the phone people are used to looking at. It is also thin so nothing projects close to any circuit board you might want to mount underneath it.
Attachments
spectrum.jpg
spectrum.jpg (329.03 KiB) Viewed 34869 times
Vernon
Posts: 177
Joined: Sat Oct 10, 2009 6:33 pm

Re: MOD54415 Projects.

Post by Vernon »

https://www.youtube.com/watch?v=U9us5KUdxcQ

YOUTUBE link above. Got the touch screen working, two fonts, and the bar graph. Work continues.

Great display for the price and, with the MOD5441X and it's A/D, it would be great for an IoT thermostat. Might even be cheaper than that NEST thing.
Vernon
Posts: 177
Joined: Sat Oct 10, 2009 6:33 pm

Re: MOD54415 Projects.

Post by Vernon »

And then any IoT device needs precise data acquisition so I put an AD7606 module ($17 on Ebay) on a board I normally use with a MOD5213 and connected it with jumpers to the MOD54415. Works great. The values coming out the serial port are very close (see inset in the picture), there is very little noise, and it reads 5.2353 basically. The reading on the Keithley DMM is 5.23586 so about 0.01% error and that is the error between 0 and 8V. The range is +/- 10 but the wall wart is 8V and I have a big multi turn potentiometer attached to it. Just wanted to make sure my DSPI function worked.

Will probably make a circuit board to carry the MOD54415 module, this AD, and a few other useful chips. It will connect to the new display. Would be good for stuff like a permanently installed and internet connected AC power system meter. Or a NEST like thermostat. This A/D offers a 200KSPS sample rate and is good for anything from DC to getting 60HZ amplitude and phase angle - and even digitizing audio. The +/- 10V bipolar range lets you do about anything with precision.
Attachments
AD5441.jpg
AD5441.jpg (377.62 KiB) Viewed 34852 times
Vernon
Posts: 177
Joined: Sat Oct 10, 2009 6:33 pm

Re: MOD54415 Projects.

Post by Vernon »

Picture shows the MOD514415 putting the AD result from the AD7606 on the internet and the display at the same time. The values are slightly different because the internet only updates every 500 milliseconds and each sample is slightly different. Any reading across the voltage range is within 0.02% of the standard Keithley lab DMM however.

I am also going to attempt walking and chewing gum at the same time - since this could be my day!
Attachments
Screeninternet.jpg
Screeninternet.jpg (388.61 KiB) Viewed 34845 times
Vernon
Posts: 177
Joined: Sat Oct 10, 2009 6:33 pm

Re: MOD54415 Projects.

Post by Vernon »

Fonts out the wazoo!

You know you want one. This display $50 plus shipping and I email you the functions that you can cut and paste in to get started. This saves you the wait on mail from China, about a days work getting it going, and it is tested so you know it works! Hook up 4 wires and read the screen!

7" display, same IC with a few relevant numbers changed in the code, $65!

Carrier board with the A/D and relay drivers (8 of them) available soon.
Attachments
fontsgalore.jpg
fontsgalore.jpg (429.74 KiB) Viewed 34840 times
Post Reply