Path: ...!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Clive Arthur Newsgroups: sci.electronics.design Subject: Re: Microcontroller (AVR) programming from smartphone Date: Wed, 27 Mar 2024 12:48:26 +0000 Organization: A noiseless patient Spider Lines: 34 Message-ID: References: Reply-To: clive@nowaytoday.co.uk MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Wed, 27 Mar 2024 12:48:32 +0100 (CET) Injection-Info: dont-email.me; posting-host="cedf1dd4c3aa8202687c980439e97018"; logging-data="2991578"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18LMvtLrgQx8yiWGMq+Yjew7TPH1mTA1fY=" User-Agent: Mozilla Thunderbird Cancel-Lock: sha1:04JcowlMeKFByOc/UECU+TJ5PmU= Content-Language: en-GB In-Reply-To: Bytes: 2313 On 27/03/2024 11:08, Clive Arthur wrote: > On 27/03/2024 05:10, RodionGork wrote: >> Hi Friends! >> >> Briefly: considering ways of uploading code to microcontroller >> (particularly some Atmel's AtMega - same as used for Arduino) from the >> smartphone. > > > >> - blinking data with display and catching it with photo-transistor >> attached to ADC or digital pin, haven't tried for it seems like >> bitrate would be very low (even though we generally need to upload >> firmware of few dozens bytes). > > Maybe play a suitable (uncompressed?) video with bits encoded as frames? > Don't ask me how, just a thought. > >> Thus I'm open to any ideas / hints / articles on improving either of >> these two approaches - or perhaps something completely different which >> I may have missed. > With, for example, an MJPEG file playing, you could have say a grid of 3x4 or more squares, each with a different file encoded. Select your file simply by placing your phototransistor in the appropriate square. Also, using an RGB phototransistor (if there is such a thing, if not three phototransistors with filters) could triple the data rate. -- Cheers Clive