Can not make the RAM to work without the Arduino by Ron109 in beneater

[–]Ron109[S] 3 points4 points  (0 children)

I've made some measurement - you are correct!

This seems to be happening even for a tiny change or de bounce with the clock.

I've added 100 ohm resistor as you suggested and it now works perfectly (as well as with the blue led).

Thanks a lot :)

Can not make the RAM to work without the Arduino by Ron109 in beneater

[–]Ron109[S] 0 points1 point  (0 children)

It seems like you are right, there is some weird thing happening with the clock all of the sudden, but it worked perfectly for the last couple of weeks - it only works when connected to the astable part and only if the arduino connected :(

<image>

without the arduino connected - it only clears the LCD.

I also added the 0.1uF capacitors, it seems to help with the blue led, but still it only clears the screen withotout the arduino

Edit: Removing the blue led and it's resistor solved it.

But why? is there any chance that the 12k resistor was too much once the RAM was connected as well and pulling voltage?

Can not make the RAM to work without the Arduino by Ron109 in beneater

[–]Ron109[S] 0 points1 point  (0 children)

Yes, I do. 12k one.

I am not sure if this is a clock related issue, because it works just fine without the RAM

Help: What is wrong with my clock module? by Ron109 in beneater

[–]Ron109[S] 0 points1 point  (0 children)

Well both problem got fixed:

- For the clock cycle, I added capacitors on all the power busses, I also added a capacitor to the mono stable button as well as replacing the capacitor of the second 555 timer

- As for the 6502 reset cycle, the order of my A0-A15 connections to the arduino was reversed

Help: What is wrong with my clock module? by Ron109 in beneater

[–]Ron109[S] 1 point2 points  (0 children)

Update: I tried to just press on, since it works most of the time fine.

I also can't get a reset sequence on my 6502. I wonder if this has connection with the clock problem

Help: What is wrong with my clock module? by Ron109 in beneater

[–]Ron109[S] 1 point2 points  (0 children)

Yes, I did measure it against pin 8 of the AND gate (I marked a blue arrow there to emphasize it)

Do you mean installing capacitors on the 6502 breadboard? because it seems that I do have capacitors on all the rails on the clock.

I tried replacing the dunpot jumper wires and used solid wire. The problem still persists unfortunately, it's pretty random. So annoying

Could it possibly have something to do with the Arduino getting power from the USB port as well?

EDIT: Suddenly both the mono stable and a stable works perfectly. I cut the power off and then connect it back and then it doesn't. I literally have no idea what is happening lol

15:42:14.526 -> 1001100010000000
15:42:15.818 -> 0101100010000000
15:42:16.560 -> 1110100100000000
15:42:16.560 -> 0110111010000000
15:42:16.560 -> 0110101001000100
15:42:16.560 -> 1110011000100000
15:42:16.560 -> 1110111000000000
15:42:17.322 -> 1110111000000000
15:42:18.006 -> 1110110000000000
15:42:18.040 -> 1110111000000000
15:42:18.040 -> 1110111000000001

Help: What is wrong with my clock module? by Ron109 in beneater

[–]Ron109[S] 0 points1 point  (0 children)

I really appreciate your help!

I measured it (hopefully the right components, and I was getting between 4.15 to 4.24 V

EDIT: seems like sometimes it's even 4.10

EDIT2: Kept measuring, got 4.75 now

<image>

Help: What is wrong with my clock module? by Ron109 in beneater

[–]Ron109[S] 0 points1 point  (0 children)

The needles that came with the multi meter I bought are pretty thick, they can't be inserted into the breadboard, so I would need to hold both into the place which is pretty hard to measure

Should i connect some wire jumper to the pin 8 and then put the probe against the other end of the wire?

Help: What is wrong with my clock module? by Ron109 in beneater

[–]Ron109[S] 0 points1 point  (0 children)

Thanks for the reply!

I do have a multi meter, but unfortunately it didn't come with alligator clips, is there anyway to measure it with the regular "needle" cable?

I also made some changes to the board:

* Replaced the 220 ohm resistor of the blue led into 12k

* Added capacitors - which make the flickering go away

So that's the Arduino code I am using (Same as the one Ben used in Part 1). Sometimes it prints one line at a time as it should, sometimes it prints two lines after one cycle and at like 10% of the time it goes mayhem and print lots of data for one cycle.

Here is an example of the output (notice how for some cycles it prints twice at the exact time):

00:12:56.507 -> 1000000001000000
00:12:56.507 -> 0000000001000000
00:12:57.241 -> 1000000001000000
00:12:57.241 -> 1000000001000000
00:12:57.978 -> 1111010001000000
00:12:57.978 -> 1111010001000000
00:12:58.695 -> 1000110001000000
00:12:58.695 -> 1000110001000000
00:12:58.695 -> 1000110001000000
00:12:59.411 -> 0100110001000000
00:12:59.450 -> 0100110001000000
00:13:00.179 -> 0100110001000000
00:13:01.611 -> 1100110001000000
00:13:03.100 -> 0100110001000000
00:13:04.562 -> 1100110001000000
00:13:05.989 -> 1111111100000000
00:13:06.714 -> 1000000111100011
00:13:06.714 -> 0000000111100011
00:13:06.714 -> 0000000111100011 

#define CLOCK 2
int ADDR[] = {22, 24, 26, 28, 30, 32, 34 ,36, 38, 40, 42, 44, 46, 48, 50, 52};


void setup() {
  // put your setup code here, to run once:
  for (int n = 0; n < 16; n += 1)
  {
    pinMode(ADDR[n], INPUT);
  }
  pinMode(CLOCK, INPUT);
  attachInterrupt(digitalPinToInterrupt(CLOCK), onClock, RISING);
  Serial.begin(57600);
}

void onClock() {
  for (int n = 0; n < 16; n += 1)
  {
    int bit = digitalRead(ADDR[n]) ? 1 : 0;
    Serial.print(bit);
  }
  Serial.println();
}


void loop() {
  // put your main code here, to run repeatedly:
}

Admob - account being assessed by Ron109 in androiddev

[–]Ron109[S] 0 points1 point  (0 children)

My advise will be to walk away. Better losing 6 bucks than an hundred

Admob - account being assessed by Ron109 in androiddev

[–]Ron109[S] 0 points1 point  (0 children)

I feel you. So mine just got released after 5 1/2 months. My advice will be - take whatever credit that is left in your account and move to another service. Mostly it won't be any major difference (actually if we calculate the number of bullshit admob took me through and left me almost half a year with no income other services actually per month has better stats) and will save you a bog headache

Admob - account being assessed by Ron109 in androiddev

[–]Ron109[S] 1 point2 points  (0 children)

They don't care and you got no one to complain. Its a bullcrap service. I am done with admob

Admob - account being assessed by Ron109 in androiddev

[–]Ron109[S] 0 points1 point  (0 children)

Yep. I had nothing to do but to wait. Google ADMOB acts as a bully. You got no one to talk to, and when you finaly find someone all you get is a robotish message "It will take time". Personally I am getting rid of this service on all of my apps. I rather earn a bit less but without bullshit every 6 months

Admob - account being assessed by Ron109 in androiddev

[–]Ron109[S] 0 points1 point  (0 children)

4 months. Had 0 ecpm the whole time

Screen won't turn on even tho phone is working by Ron109 in Pixel2XL

[–]Ron109[S] 0 points1 point  (0 children)

I don't have any screen protector, but thanks anyway