Find Jobs
Hire Freelancers

Advanced Arduino Programming Analysis

$30-250 USD

Selesai
Disiarkan lebih dari 10 tahun yang lalu

$30-250 USD

Dibayar semasa penghantaran
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
ID Projek: 4931983

Tentang projek

5 cadangan
Projek jarak jauh
Aktif 11 tahun yang lalu

Ingin menjana wang?

Faedah membida di Freelancer

Tetapkan bajet dan garis masa anda
Dapatkan bayaran untuk kerja anda
Tuliskan cadangan anda
Ianya percuma untuk mendaftar dan membida pekerjaan
Dianugerahkan kepada:
Avatar Pengguna
Hello, I'm interested in your project. Please read my PM. Thanks!
$222 USD dalam 3 hari
4.6 (11 ulasan)
5.5
5.5
5 pekerja bebas membida secara purata $339 USD untuk pekerjaan ini
Avatar Pengguna
hi, i am an electrical engineer and an embedded system designer.i can help you with this project.
$450 USD dalam 7 hari
4.8 (57 ulasan)
7.6
7.6
Avatar Pengguna
Dear Sir, We have completed several Arduino Projects. Please see PM and our profile for more information. Best Regards, Lasantha Prasad
$244 USD dalam 5 hari
4.8 (28 ulasan)
6.7
6.7
Avatar Pengguna
Hi there I can do it.
$555 USD dalam 15 hari
5.0 (2 ulasan)
2.6
2.6
Avatar Pengguna
Hi, I am an embedded systems designer with over 9 year experience. I can debug and correct this for you.. Thanks
$222 USD dalam 10 hari
0.0 (0 ulasan)
2.6
2.6

Tentang klien

Bendera UNITED STATES
Orlando, United States
4.7
9
Ahli sejak Apr 18, 2013

Pengesahan Klien

Terima kasih! Kami telah menghantar pautan melalui e-mel kepada anda untuk menuntut kredit percuma anda.
Sesuatu telah berlaku semasa menghantar e-mel anda. Sila cuba lagi.
Pengguna Berdaftar Jumlah Pekerjaan Disiarkan
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Memuatkan pratonton
Kebenaran diberikan untuk Geolocation.
Sesi log masuk anda telah luput dan telah dilog keluar. Sila log masuk sekali lagi.