![]() |
Forum Index : Microcontroller and PC projects : Micromite Beta 6
![]() ![]() ![]() ![]() |
|||||
Author | Message | ||||
JohnS Guru ![]() Joined: 18/11/2011 Location: United KingdomPosts: 4036 |
Is IR the way to go? I've used NRF24L01+ (not on mites), maybe a better choice? I see some very cheap 433MHz & 315MHz things, too, but don't look to be bidirectional. John |
||||
Grogster![]() Admin Group ![]() Joined: 31/12/2012 Location: New ZealandPosts: 9590 |
I was wondering about RF modules too - LOTS to choose from these days, many of them are very cheap, but perform well. I suppose if the IR thing was implemented, it can all be done via the uM chip and an IR LED vs RF module, which would no doubt be cheaper(the IR way). Smoke makes things work. When the smoke gets out, it stops! |
||||
MicroBlocks![]() Guru ![]() Joined: 12/05/2012 Location: ThailandPosts: 2209 |
I have used those NRF24L01+ many times, i even have a few hundred lying around to be used soon. The NRF chip is not easy at all, only on the arduino i got it to work thanks to someones hard work making a library. I will try to get it to work through BASIC, but it won't be quick and easy. That is not necessarily a bad thing because meanwhile you learn a lot. If the uMite has both a receive and send over IR then using it will be super easy. The same for the NRF chips, but that kind of software is better done at a lower level. And i think the available bytes are running low already. :) Microblocks. Build with logic. |
||||
bigmik![]() Guru ![]() Joined: 20/06/2011 Location: AustraliaPosts: 2949 |
Lads, Of course if a learning IR mode was implemented a uMite could be the basis of a home media centre controller.. One press of a uMite button could turn on the TV select the appropriate input then turn on the Bluray player then turn on the amplifier and select the correct mode.... Would make it easy for the missus to play bambi for the kids when we are at work... Who hasnt been frustrated by a phone call... which remote do I use?? Its not working!!! etc? regards, Mick Mick's uMite Stuff can be found >>> HERE (Kindly hosted by Dontronics) <<< |
||||
Geoffg![]() Guru ![]() Joined: 06/06/2011 Location: AustraliaPosts: 3282 |
OK, I am implementing IR SEND using the Sony protocol - nearly finished. I don't think that an IR learning command will be practical. As far as I know learning remotes work by recording the incoming stream of IR pulses for each key as a sequence of numbers. For example, high for 1200uS, low for 300uS, high for 600uS, etc. Most codes are 15 or 20 bits long so one key would use 60 to 80 bytes of memory. I guess that if you wanted to only store 10 or 20 keys you could do it but it would be messy in a chip that is supposed to be an easy to program microcontroller - not a remote control. Mike, you should get yourself a Harmony remote control, they are expensive but they do exactly that - and with one key press. I have one and it is magic. Geoff Geoff Graham - http://geoffg.net |
||||
atmega8![]() Guru ![]() Joined: 19/11/2013 Location: GermanyPosts: 724 |
Where to store constants ? Hello experts, i need to store some constants, which are available after boot. How can i do this ??? DS |
||||
MicroBlocks![]() Guru ![]() Joined: 12/05/2012 Location: ThailandPosts: 2209 |
You could use VAR SAVE to store some variables in flash. You can retrieve them with VAR RESTORE. I am only not sure if you really mean constants, because those never change and are normally a part of a program, usually at the beginning. If you mean that then all you have to do is define some variables with the needed values. Microblocks. Build with logic. |
||||
atmega8![]() Guru ![]() Joined: 19/11/2013 Location: GermanyPosts: 724 |
Thank you for your help. Yes i need to initialize a temperature controll with a variable "constant" tha must be updatet in Flash, when the user changes it in the program. So i have to write it to the Flash. VAR save/restore is exactly what i need. Thank you very much. DS |
||||
dmasz Newbie ![]() Joined: 12/09/2013 Location: PolandPosts: 21 |
Hi All, As I would like to get involved in to beta testing of MicroMite where i can find board layout to build micromite board and part list? could you advice? br Dan |
||||
Grogster![]() Admin Group ![]() Joined: 31/12/2012 Location: New ZealandPosts: 9590 |
Hi there, and welcome aboard the forums. ![]() If you send a PM to Geoff(Geoffg - scroll up to his last post and click the PM button at the bottom of his post), and include your name and email address, he will probably send you the latest Beta and manual, depending on how close to final he thinks the uM chip now is. ![]() All you need for basic breadboard Beta testing, is the chip, a 10k resistor, and a PICKIT3 programmer. Parts list and circuit-diagram is all in the manual that comes as part of the Beta. You will also need the X-IDE software package from Microchip, which is free - perhaps you already have a PICKIT3 and the IDE software... Smoke makes things work. When the smoke gets out, it stops! |
||||
bigmik![]() Guru ![]() Joined: 20/06/2011 Location: AustraliaPosts: 2949 |
Hi Geoff, Yes probably impractical to implement learning mode due to data size etc... I was speaking from ignorance (as usual) With the Harmony, that was basically what I had in mind... I had a harmony 525 but it was near useless because I couldnt read the itty bitty text on the screen... I think the harmony ONE and a couple of top end units would be really good but they are very expensive... Hence the thought to use a $10 uMite but no drama Great to implement IR SEND... I will certainly have a play with it. Regards, Mick Mick's uMite Stuff can be found >>> HERE (Kindly hosted by Dontronics) <<< |
||||
jman![]() Guru ![]() Joined: 12/06/2011 Location: New ZealandPosts: 711 |
Possible bug Send attached file to MicroMite list and note the last couple of lines (normal at this stage) edit scroll to bottom of program confirm lines as per list scroll up a few lines (Random amount) edit a line or add a line (anything) F1 to save list and notice the last few lines edit scroll to the bottom and last few lines are missing or garbage 2014-02-16_035647_Odd1.zip Regards Jman |
||||
TassyJim![]() Guru ![]() Joined: 07/08/2011 Location: AustraliaPosts: 6269 |
Well, I did get the error you are describing a few times but after I added a CR to the end of the file, I was unable to reproduce the error. Jim VK7JH MMedit |
||||
Sir_M Newbie ![]() Joined: 14/01/2013 Location: SwedenPosts: 15 |
Hello all. Between celebrating Swedish medals ![]() I found that the editor is acting a bit weird. When scrolling, it stops at line 21 and just updating the next coming lines (22,23, etc). Lines above don’t scroll at all. I´ve got one uMite that runs Beta4 working ok. I switched pic and used the same breadboard and setup so I am quite sure that it has to be something in Beta 6. / Jörgen |
||||
Geoffg![]() Guru ![]() Joined: 06/06/2011 Location: AustraliaPosts: 3282 |
You must have your terminal emulator set to the same number of lines as the Micromite (which defaults to 24). You can change the number of lines that the Micromire uses with OPTION LINES. If you don't do this you will get strange results when you use the editor (like above). Before beta 6 the editor would completely redrew the screen to scroll just one line, which was very inefficient. Now it lets the terminal emulator do the scrolling but this requires that both the emulator and the Micromite use the same number of lines per screen. There is a note on this subject (in bold) in the new manual but I can see that it will catch a lot of people out. So everyone, please make sure that the emulator and the Micromite agree on the number of lines in a screen. Geoff Geoff Graham - http://geoffg.net |
||||
Geoffg![]() Guru ![]() Joined: 06/06/2011 Location: AustraliaPosts: 3282 |
I have had a brilliant idea (if I say so myself) which removes the dependence on the emulator and the Micromite having the same number of lines. I will put it into beta 7 so the above only applies to beta 6. Geoff Geoff Graham - http://geoffg.net |
||||
Geoffg![]() Guru ![]() Joined: 06/06/2011 Location: AustraliaPosts: 3282 |
Thanks John, that is a bug. It was caused by the program being very close to a 1KB boundary (the file was almost exactly 3KB in length). I have fixed the bug for the next beta. In the meantime the workaround is to append about 50 characters to the end of the file (ie, a comment line of 50 chars). This is only necessary if you strike this issue, which will not be often. Huge thanks for the precise instructions on reproducing the issue. That made it so easy to find and fix it. Geoff Geoff Graham - http://geoffg.net |
||||
plasma Guru ![]() Joined: 08/04/2012 Location: GermanyPosts: 437 |
hi, in beta 6 ill guess i found a bug ,sorry geoff dim a$(6) length 6 shows me 186536% in general ram iam really interested for the ir receiver as Geoff shows in the beta 6 manual ,but unfortunately i cant get this in germany . can i use other receivers ? |
||||
atmega8![]() Guru ![]() Joined: 19/11/2013 Location: GermanyPosts: 724 |
? What do you mean with this ? |
||||
plasma Guru ![]() Joined: 08/04/2012 Location: GermanyPosts: 437 |
sry after the dim use the micromite memory command to show the available ram. |
||||
![]() ![]() ![]() ![]() |
![]() |
![]() |
The Back Shed's forum code is written, and hosted, in Australia. | © JAQ Software 2025 |