1x 74HC595/TPIC6B595 via SPI interface, driving multiplexed 4x 7-segment display

Use this section to discuss your embedded Flowcode projects.
mnfisher
Valued Contributor
Posts: 2091
http://meble-kuchenne.info.pl
Joined: Wed Dec 09, 2020 9:37 pm
Has thanked: 163 times
Been thanked: 960 times

Re: 1x 74HC595/TPIC6B595 via SPI interface, driving multiplexed 4x 7-segment display

Post by mnfisher »


andeug
Posts: 109
Joined: Thu Jan 07, 2021 1:42 pm
Location: Stockholm (SE)
Has thanked: 38 times
Been thanked: 6 times

Re: 1x 74HC595/TPIC6B595 via SPI interface, driving multiplexed 4x 7-segment display

Post by andeug »

Thank you for your support, Martin! I am experiencing some issues with the device's programming at the moment, using the ATMEL-ICE programmer, and I need to do further troubleshooting before working on the code. Also, note that I am using TPIC6B595 in my project, regarding which I commented in the link that you have posted above.
FC11 Professional + ARD + AVR + ARM license + Matrix TSL E-blocks2 boards
Mikroe Click boards + Arduino Nano/Uno Click Shield

andeug
Posts: 109
Joined: Thu Jan 07, 2021 1:42 pm
Location: Stockholm (SE)
Has thanked: 38 times
Been thanked: 6 times

Re: 1x 74HC595/TPIC6B595 via SPI interface, driving multiplexed 4x 7-segment display

Post by andeug »

Hi Martin,


You have helped me to solve my problem, thank you! I was able to build the proto board with the TPIC6B595 and the display I wanted, but my need is a bit different than only counting or displaying numbers.
IMG_0687.jpeg
IMG_0687.jpeg (145.99 KiB) Viewed 203 times
IMG_0686.jpeg
IMG_0686.jpeg (124.13 KiB) Viewed 203 times
I also want to display custom characters and the alphabet's letters in 7 segments, so I will need a flow code similar to the 7Segment (74HC595) component, which has:

ShowDigit -
ShowDigits -
ShowSegments -

The most wanted feature is ShowDigit, as I will use it as a reference to create a lookup table for characters and letters, since I currently have only one for numbers from 0 to 9.

Would it be possible to customize the enclosed example to work with what I need? (I do not know how to do it myself)


Andreas
Attachments
ShiftReg.fcfx
(22.34 KiB) Downloaded 20 times
FC11 Professional + ARD + AVR + ARM license + Matrix TSL E-blocks2 boards
Mikroe Click boards + Arduino Nano/Uno Click Shield

andeug
Posts: 109
Joined: Thu Jan 07, 2021 1:42 pm
Location: Stockholm (SE)
Has thanked: 38 times
Been thanked: 6 times

Flowcode v11 Re: 1x 74HC595/TPIC6B595 via SPI interface, driving multiplexed 4x 7-segment display

Post by andeug »

Hi Martin,

I figured out how your component works, and I can confirm to the community that it's designed for the TPIC6B595.

Andreas
Attachments
TPIC6B595 - Display 1504 example.fcfx
(9.89 KiB) Downloaded 11 times
TPIC6B595 - Count 1.23.fcfx
(22.34 KiB) Downloaded 11 times
TPIC6B595 - Count 0.001.fcfx
(10 KiB) Downloaded 11 times
FC11 Professional + ARD + AVR + ARM license + Matrix TSL E-blocks2 boards
Mikroe Click boards + Arduino Nano/Uno Click Shield

Post Reply