Maker Pro
Maker Pro

Help with circuit design, radio receiver/car entry

Thankyou for understanding, the pressure has been high.

Like you with your hardware, I have started my code from scratch. The code will require 5 high pulses with no more than 4 seconds between pulses, with a 50 millisecond debounce after each input pulse. The output pulses are 100 miliseconds in high time duration. Again, input is on 12, output is on 13, change these around if the code does not work.

I appreciate your patience, I understand that I have been less than helpful, especially towards a new member.

Hope this helps,
 

Attachments

  • succesive_pulse1.ino
    385 bytes · Views: 58
Thanks for the new code and reply.

After i uploaded the code with no jumper wires connected to the board, the LED started flashing continuously on and off about 50ms

nothing else worked other than a flashing LED. i reconnected the pulldown resistor/switch circuit, added the LED and made all apropriate connections.

Pressing the button 5 time, fast and slow has no effect.

Upon looking over your code, did you set pin 1 as the input as it says in the header? i tried using pin 1 also but nothing happened

Thanks
 
OK, now I have something to work with.

Well spotted, the input is on 1, I am not exactly sure how that happened. Did you use a pulldown resistor when testing with pin 1? The only way, no exceptions, that the led could be made to blink continuously is if a pulldown resistor was not used on the input OR that a pull-UP resistor was used by mistake. Note in the code that there is a while(input == 0) Any code inside this MUST run if the input is low, there is no code in here for a blink. If the input was truly low, nothing would happen, it runs in a loop incrementing

Please can you provide detailed photos of your circuitry, the symptoms that you have described make me certain that there is a hardware fault your side. The updated code has been changed to use 12 as the input and has a 1 second delay before the execution of the code body and sets the output low upon start. Notify me of any differences and ensure that you use a pull-down resistor, correct power supply and a momentary push switch.
 

Attachments

  • succesive_pulse1.ino
    433 bytes · Views: 57
Top