Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 06:56 02 Aug 2025 Privacy Policy
Jump to

Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.

Forum Index : Microcontroller and PC projects : MicroMite connected to 4016/4066

Author Message
OA47

Guru

Joined: 11/04/2012
Location: Australia
Posts: 986
Posted: 03:24am 23 Feb 2023
Copy link to clipboard 
Print this post

I have a project that uses a 4016 connected to a MX170 and it combines a bidirectional 9600 serial link. I have not been able to source the 4016 SMD chips easily so I decided to use the 4066 which is readily available, pin compatible and has lower on resistance.

The problem I have is that I cannot get the 4066 to work using the same MMBasic software.

Could anyone suggest why this is happening?

OA47
 
TassyJim

Guru

Joined: 07/08/2011
Location: Australia
Posts: 6283
Posted: 03:35am 23 Feb 2023
Copy link to clipboard 
Print this post

How are you driving the control pins?
Both versions claim 3.5V control when using a 5V supply but maybe the 4066 is fussier than the 4016.

Jim
VK7JH
MMedit
 
phil99

Guru

Joined: 11/02/2018
Location: Australia
Posts: 2642
Posted: 04:26am 23 Feb 2023
Copy link to clipboard 
Print this post

Have used one on a Pico with 3V3 supply and control and it worked ok but the "on" resistance was over 100 ohms.
 
OA47

Guru

Joined: 11/04/2012
Location: Australia
Posts: 986
Posted: 06:51am 23 Feb 2023
Copy link to clipboard 
Print this post

  Quote  Have used one on a Pico with 3V3 supply and control and it worked ok but the "on" resistance was over 100 ohms.


I believe that the 4016 has an ON resistance of 100's of OHMS but the 4066 is supposed to only a few OHMS.

OA47
 
OA47

Guru

Joined: 11/04/2012
Location: Australia
Posts: 986
Posted: 07:02am 23 Feb 2023
Copy link to clipboard 
Print this post

  Quote  How are you driving the control pins?


Here is a rough schematic of the offending circuit.



Serial data coming in is read on Com1 RX and serial data out is bit banged out of pin 30, inverted and increased to 5V pp and let thru to the data line via the 4016.

OA47
Edited 2023-02-23 17:09 by OA47
 
Martin H.

Guru

Joined: 04/06/2022
Location: Germany
Posts: 1234
Posted: 07:11am 23 Feb 2023
Copy link to clipboard 
Print this post

Maybe 3.3V Control Voltage are a little to low?!

Data Sheet
Edited 2023-02-23 17:12 by Martin H.
'no comment
 
Volhout
Guru

Joined: 05/03/2018
Location: Netherlands
Posts: 5091
Posted: 07:37am 23 Feb 2023
Copy link to clipboard 
Print this post

  Martin H. said  Maybe 3.3V Control Voltage are a little to low?!

Data Sheet


Good thinking..
The ON resistance (when 4066 powered from 5V) is between 470 ohm and 1050 ohm.
At 3.3V the ON resistance could be over 2k ohm (not 100 ohm).

I know the CMOS series (HEF40xx, CD40xx) are promoted as 3V compliant, but this switch does not have any specifications below 5V. Maybe if you connect pin 14 to +5V it may work.

Volhout
Edited 2023-02-23 17:38 by Volhout
PicomiteVGA PETSCII ROBOTS
 
phil99

Guru

Joined: 11/02/2018
Location: Australia
Posts: 2642
Posted: 07:48am 23 Feb 2023
Copy link to clipboard 
Print this post

"Maybe 3.3V Control Voltage are a little to low?"

Yes, that is why the channel resistance was over 100R on the 4066.

OA47 that is where you could start looking. Are you actually getting a 0 - 5v output swing when you set 4016/4066 pin 13 high?

For a static test only a multimeter is needed.

SetPin 30, dout

Pin(30) = 0 'measure pin 30 and 4016/4066 pin 1 & 2, expect 0 and 5V
Pin(30) = 1 'repeat, expect 3V3 and 0

If not you may need a level shifter to drive pin 13 at 5V.
Edited 2023-02-23 17:52 by phil99
 
OA47

Guru

Joined: 11/04/2012
Location: Australia
Posts: 986
Posted: 07:51am 23 Feb 2023
Copy link to clipboard 
Print this post

  Quote   Maybe if you connect pin 14 to +5V it may work.

Certainly worth a try

OA47
 
Print this page


To reply to this topic, you need to log in.

The Back Shed's forum code is written, and hosted, in Australia.
© JAQ Software 2025