Find Jobs
Hire Freelancers

Advanced Arduino Programming Analysis

$30-250 USD

Completed
Posted over 10 years ago

$30-250 USD

Paid on delivery
I2C Audio Trigger and Switch Sensing Assembly Bug Repair on Audio Prioritization ===================================================================== PROBLEM: System is failing to prioritize which MP3 to play when certain events occur. SOLUTION: Bidders must analyze the code and determine how to correct the code so the system works properly. It is understood that bidders will not likely have the hardware to completely test their code changes. Advanced Arduino skills are required to successfully resolve this problem. CIRCUIT DESCRIPTION Using Arduino open source hardware and firmware platforms, the circuit sends and receives one byte of data when requested by the master under address 0x30. The received byte triggers the audio circuit to play predefined tones based on the bits set. When multiple bits are set, a prioritization determines which mp3 to play. The circuit also monitors 5 switch positions, and sends corresponding bit status to the I2C Master via one byte of data 12.5 times per second. BYTE OF DATA TO SEND (SWITCH POSITION SENSING) ================================= bit 0 = FIRE bit 1 = BCU bit 2 = ACTUATOR bit 3 = NONE bit 4 = IFF_INTERROGATE bit 5 = NONE bit 6 = UNCAGE bit 7 = None BYTE OF DATA TO RECEIVE (TONES TO PLAY) ================================== bit 0 = None bit 1 = IFFunknown bit 2 = IFFmode3 bit 3 = IFFmode4 bit 4 = Spinup bit 5 = Acquisition bit 6 = LockTone bit 7 = BaseTone SYSTEM TEST CONFIGURATION 1 Arduino Uno to simulate the master and to monitor data transfer. 1 Arduino Uno to test the code of the main board. 1 MP3 Trigger Board. PN WIG1102 1 SD card containing the audio tracks 5 switches connected to the main board to test sensing 1 computer with Arduino software to test code and monitor serial data. Prioritizations are as follows: Bit 1,2 and 3 (IFF modes) are the highest priorities. They are short tracks (beeps) identifying one of 3 conditions friendly, unfriendly, and unknown. If one of these bits are set, whatever tone is play must stop, and the IFF tone must play. Only one of the three tones are set at one time. Bit 6 (lock) is next highest priority, all other tones should stop, and the bit 6 six should play. Only IFF tones (Bit 1,2 & 3) interrupt bit 6. Bit 5 (Acquisition)is the next highest priority, and should play unless an IFF bit is set, or the lock bit is set. Then bit 4 (Spinup) Then bit 7 (BaseTone) Bit 0 is not used. All switch positions test fine. The problems with playing the correct MP3 are as follows: Test with ORC4 The prioritization from bit 5 to 6 fails when both bits are set. Should play bit 6, but plays bit 5 if it is set first. Interestingly, the bit 5 to 6 transition does work when bit 0 and is set (in addition to 5 and 6). If bit 7 is set along with 5 and 6, the bit 5 to 6 transition does work fine too. None of the IFF tones override bit 5 or 6, if they are set individually set. If 5 and 6 are both set, then IFF toned do override. IFF tones do consistently override bit 7 and bit 7 and 4 together. But do not override the IFF when 4 is set independently. When 2 IFF tones play the systems locks up and flashes an error code. I know you talked about this before, but can’t you just make it play bit 1 (unknown) or bit 0 (do nothing) if multiple IFF bits are set? This way the system doesn’t have to to rebooted. Bit 4 plays through without 5 or 7 overriding it. When bits 4 through 7 are all set together, the prioritization works as it should. bit 0 = None bit 1 = IFFunknown bit 2 = IFFmode3 bit 3 = IFFmode4 bit 4 = Spinup bit 5 = Acquisition bit 6 = LockTone bit 7 = BaseTone
Project ID: 4931983

About the project

5 proposals
Remote project
Active 11 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
Awarded to:
User Avatar
Hello, I'm interested in your project. Please read my PM. Thanks!
$222 USD in 3 days
4.6 (11 reviews)
5.5
5.5
5 freelancers are bidding on average $339 USD for this job
User Avatar
hi, i am an electrical engineer and an embedded system designer.i can help you with this project.
$450 USD in 7 days
4.8 (57 reviews)
7.6
7.6
User Avatar
Dear Sir, We have completed several Arduino Projects. Please see PM and our profile for more information. Best Regards, Lasantha Prasad
$244 USD in 5 days
4.8 (28 reviews)
6.7
6.7
User Avatar
Hi there I can do it.
$555 USD in 15 days
5.0 (2 reviews)
2.6
2.6
User Avatar
Hi, I am an embedded systems designer with over 9 year experience. I can debug and correct this for you.. Thanks
$222 USD in 10 days
0.0 (0 reviews)
2.6
2.6

About the client

Flag of UNITED STATES
Orlando, United States
4.7
9
Member since Apr 18, 2013

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.