SHENZHEN I/O

SHENZHEN I/O

Not enough ratings
IGNITION MODULE
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
8.449 KB
25 May, 2019 @ 3:43pm
1 Change Note ( view )

Subscribe to download
IGNITION MODULE

Description
The IGNITION MODULE is designed to fire the spark plugs on a V6 or V8 engine. As such it is a somewhat unusual puzzle, requiring all 8 outputs to be active most of the time. Don't worry if you're not a gearhead, it's just to give this puzzle some context, you don't need any car knowledge to solve this puzzle. You are afforded a generous amount of board space to handle not just the number of outputs but also two completely different output patterns.
  • ignition is a simple input indicating with a pulse when to fire the next spark plug.
  • cylinder 1 through cylinder 8 are simple outputs connected to their corresponding cylinder's ignition coil.
    To fire a spark plug interrupt power to its coil.
  • cylinders is a dial allowing configuration of the module for either 6 or 8 cylinders.
    Each configuration has its own specific firing order:
    6 cylinders: 1-4-2-5-3-6
    8 cylinders: 1-5-4-8-6-3-7-2

To solve this puzzle you'll need to find a way to translate the firing orders to code, while also managing to fit all your components and connections on the board. Or perhaps the board is really plenty large once you find a really ingenious solution - I haven't, but the clever solutions players come up with never cease to amaze me!

For those wanting to know why the outputs have to be high all the time and pulsed low to generate a spark, have a look at Ignition coil on Wikipedia[en.wikipedia.org].

My best score: 20 cost, 1251 power, 37 lines. Feel free to add me so we can compare scores!
7 Comments
Spartelfant  [author] 3 Aug, 2019 @ 1:17pm 
Thanks mx.2000!
mx.2000 3 Aug, 2019 @ 10:13am 
17Y/438/29 - interesting puzzle
Spartelfant  [author] 27 May, 2019 @ 10:59am 
Brilliant! I knew people were going to come up with way better solutions than my own, but you can stop now, I'm starting to feel ashamed :lunar2019crylaughingpig:
armin.rigo 27 May, 2019 @ 10:23am 
16 lines of code, with a 200P-14 full of random-looking numbers :-)
Spartelfant  [author] 27 May, 2019 @ 4:16am 
Wow, awesome improvement :cozybethesda:
Luca 26 May, 2019 @ 5:54pm 
Never mind, got it down to 19/483/39.
Luca 26 May, 2019 @ 4:42pm 
19/904/41 when aiming for minimal power.