74 Series Chips and 3.3V to 5V
#1
Posted 22 June 2011 - 08:55 PM
To be or not to be = 0xFF
Blogging about Netduino, .NET, STM8S and STM32 and generally waffling on about life
Follow @nevynuk on Twitter
#2
Posted 23 June 2011 - 03:35 AM
#3
Posted 23 June 2011 - 05:17 AM
To be or not to be = 0xFF
Blogging about Netduino, .NET, STM8S and STM32 and generally waffling on about life
Follow @nevynuk on Twitter
#4
Posted 23 June 2011 - 06:55 AM
#5
Posted 23 June 2011 - 07:08 AM
Just to be sure; 74HC595 or 74HCT595? They have a different input voltage range.
My .NETMF projects: .NETMF Toolbox / Gadgeteer Light / Some PCB designs
#6
Posted 23 June 2011 - 07:10 AM
I get data on QA but no other pins. The test signal I am sending is the same to each chip in the chain and it is a rotating pattern of bits i.e.Just a question: how do you say "is not working"? What's the behavior?
byte data; while (true) { data = 1; while (data != 0) { // output data data <<= 1; } }
Hmmm - never thought about the SPI speed - I'll check that later today when I get to sit in front of the kit.
I've checked and double checked the wiring (it was my first thought given this is a prototype board) and all looks good - no shorts, dry joints and the wires all go to where I expect them to go.
Thanks for the advice,
Mark
To be or not to be = 0xFF
Blogging about Netduino, .NET, STM8S and STM32 and generally waffling on about life
Follow @nevynuk on Twitter
#7
Posted 23 June 2011 - 07:46 AM
Just checked the site I ordered them from and the part is listed as 74HC595. Will have a close look at the part number on the chips later.Just to be sure; 74HC595 or 74HCT595? They have a different input voltage range.
Regards,
Mark
To be or not to be = 0xFF
Blogging about Netduino, .NET, STM8S and STM32 and generally waffling on about life
Follow @nevynuk on Twitter
#8
Posted 23 June 2011 - 11:40 AM
#9
Posted 23 June 2011 - 12:10 PM
Indeed, I could also modify the code so it changes the clock rate according to the amount of IC's connected.If that's true, the Stefan's tutorial should be adjusted to explain that the number of shifters is not unlimited, but should be accomplished to a lower clock rate.
Cheers
My .NETMF projects: .NETMF Toolbox / Gadgeteer Light / Some PCB designs
#10
Posted 23 June 2011 - 06:57 PM
To be or not to be = 0xFF
Blogging about Netduino, .NET, STM8S and STM32 and generally waffling on about life
Follow @nevynuk on Twitter
#11
Posted 23 June 2011 - 07:45 PM
Attached Files
To be or not to be = 0xFF
Blogging about Netduino, .NET, STM8S and STM32 and generally waffling on about life
Follow @nevynuk on Twitter
#12
Posted 23 June 2011 - 08:01 PM
Sorry to hijack, but my guess is that Netduino cannot output voltage high enough for HC's logic level - usually, the logic high voltage (VIH) is about 70% of VCC, so at VCC = 5V VIH = 3.5 V. You'd probably need a level shifter.Power supply configured to 5V. I see the first LED (QA) flickering about once per second.
#13
Posted 23 June 2011 - 08:04 PM
That was my original thought - and there is no hijacking as far as I'm concerned - only people willing to help and that help is appreciated.Sorry to hijack, but my guess is that Netduino cannot output voltage high enough for HC's logic level - usually, the logic high voltage (VIH) is about 70% of VCC, so at VCC = 5V VIH = 3.5 V. You'd probably need a level shifter.
Regards,
Mark
To be or not to be = 0xFF
Blogging about Netduino, .NET, STM8S and STM32 and generally waffling on about life
Follow @nevynuk on Twitter
#14
Posted 24 June 2011 - 03:43 AM
#15
Posted 24 June 2011 - 05:56 AM
I have tried this without the circuit attached and the distortion on the clock remains and it of a similar shape although the output never reached 2.5V, in fact it never reaches much more than 0.3V. I have also tried this with the N+ connected to 9V battery as well as USB and the results are the same.The HC595 specs says clearly that the typical Vih is about 2.4V when powered at 4.5V (NXP page 9), so let's say 2.5V @5V. There are several circuits (e.g. the Szymon LCD driver) are working perfectly even without level shifter. However that is true *only* using HCmos chips though.
Please, disconnect the SPI lines and have a look at the waves shape with the scope.
If you notice a voltage drop/distortion by attaching the chips there is *surely* something wrong in the circuit.
Cheers
Szymon's LCD driver only uses one 74HC595 - I can get this working with one, two and three, the circuit only fails when I get to four chips in the circuit. That's a problem for me as I need to get to eight.
Regards,
Mark
To be or not to be = 0xFF
Blogging about Netduino, .NET, STM8S and STM32 and generally waffling on about life
Follow @nevynuk on Twitter
#16
Posted 24 June 2011 - 06:22 AM
My .NETMF projects: .NETMF Toolbox / Gadgeteer Light / Some PCB designs
#17
Posted 24 June 2011 - 07:03 AM
#18
Posted 24 June 2011 - 07:33 AM
I can give that a go later as I have to build a 5V regulated supply for the project.I'm going to make a test circuit this weekend, I'm curious, I think it's the lack of amperes. I have an idea how to bypass that limitation; by adding an external power source to the netduino and add an own 5V/1.5A Voltage Regulator on the VIN pin and use that one instead of the 5V pin on the Netduino.
Regards,
Mark
To be or not to be = 0xFF
Blogging about Netduino, .NET, STM8S and STM32 and generally waffling on about life
Follow @nevynuk on Twitter
#19
Posted 24 June 2011 - 07:35 AM
Same here for my robot projectI can give that a go later as I have to build a 5V regulated supply for the project.
Was thinking of using voltage regulators but not sure how to yet, going to open a seperate thread
Edited by Stefan, 24 June 2011 - 07:51 AM.
had my question in this post but moved it to a seperate thread
My .NETMF projects: .NETMF Toolbox / Gadgeteer Light / Some PCB designs
#20
Posted 24 June 2011 - 05:09 PM
Click here for a large image
Only thing is, it only lets one led emitting at the same time, that's just because I didn't had 50 resistors on my hands at the moment
My .NETMF projects: .NETMF Toolbox / Gadgeteer Light / Some PCB designs
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users