Today we’ll be taking a quick look at the Solar Charge Controller CMTP02 which is rated for 10A and used to recharge your 12V or 24V battery and power your load; they say that your solar panels / batteries should be matched, this was given to me and I believe it’s damaged.
A few seconds later and we’re in.
We’ve got all analog components, a fuse and 3 transistors or mosfets with no part number labeling and the back plate acts as a heatsink for them. The first 2 are connected together and configured to recharge the battery and the last one is used to switch the load. This solar charger uses PWM to charge the battery which means the solar panels voltage would directly be applied to the battery for a certain amount of time, it would probably be more efficient than using a DC-DC or transistor to step it down but not the best if something does go wrong. PCB date code is July 2009 to March 2014.
There’s a Ti CD40106B Hex Schmitt Trigger which is likely being used as an oscillator for the PWM and Ti LM324 op-amp with lots of resistors around it which would be used to control the transistors/mosfets and LEDs. Apart from that there isn’t much else.
It’s been a few years since I’ve updated the hardware/software for Standalone Temperature/Voltage Logger but my recent Mini Temp Logger (MTL) project has made me think about improvements that I could also put back into the SATVL so there’s just a few quick things worth mentioning for the v1.3 update.
There has been a small hardware change, the 2 diodes have been removed which now allows for up to ~28V input voltage logging and the automatic voltage switcher has also been updated like I designed in the MTL, the PCB’s size was reduced slightly too. The reason for the 2 diodes was to protect against high input voltages because I believed that if we exceeded the 1.1V ADC reference voltage that the ATtiny would be damaged.
However after careful reading of the datasheet it turns out that all that would happen is it would read close to max value of 1023 so all is good.
A while ago I bought ten 8×8 LED matrix from Ebay for about $7 and was thinking what I could do with them. Initially I was going to hook them up in a 3×3 arrangement but thought I could a better use if I connected them all together in a row to display text and potentially I could make this all wireless. Also I could use this to display the time as 10 LED matrices are just enough to fit the time, e.g, 12:34:00PM.
I milled out a quick board to mount the LED matrix, 595 shift register, connected it to an ATtiny84 and got it to a working point. It wasn’t really worth my time to mill out 9 more so a few weeks later the PCBs arrive and I start putting everything together.
On the PCB there were some headers which would connect each matrix to each other but what I didn’t realise is that connecting the boards together was a very long process as I had to individually wire each header to each other, a few hours later and it’s done. If I were to re-do this project I would have laid out the PCBs better so they could just connect to each other without wires.
Today we’ll be taking a look at the Optus Huawei E960 3G Wireless Gateway (user guide) which is a 3G 802.11b/g hot spot with 4x 10/100 network ports, RJ45 port for connecting your phone and a USB port for power / ability to act as a modem on your PC.
4 screws later and we’re in, the top just pops right off without any effort.
We’ve got a 2 board construction with a 16 pin interconnect and lots of shielding for each major component. There’s 3 antennas mounted on a plastic base which are screwed in place, I guess the reasoning could be that they are easily replaceable to suit the frequency band that’s needed. PCB date code is 36th week of 2007.
I’ve been looking to upgrade the way that I have been sending SMS’s which is through a Nokia phone using F-Bus and came across the SIM900A module. If you can spare the cash, I would recommend it over Nokia F-bus as it’s easier to use.
It’s a relatively cheap module for $20 on Ebay but you need to check that the SIM900A works in your country before buying it. By using AT commands, we can send and receive SMS quite easily and I was going to cover this but there are already tutorials around that cover it quite well.
So instead I’ll be explaining how we can use the SIM900A’s GPRS to fetch a file from a webpage and print it out so we can process the data. Potentially you could use this instead of waiting to receive an SMS, for greater data transfer rates vs price per SMS or better yet for control of a device such as a remote control car/quadcopter as long as you have mobile reception.
The one I bought is the “SIM900A Mini V3.0.2, 2014.10″ which comes with an external antenna. The PCB has a MAX232 on board if you wish to hook it up to your computer directly.
Today we’ll be taking a look at the D-Link Wireless N300 ADSL2+ Modem Router (DSL-2750B), an ADSL2+ wireless N router with 4x 10/100 network ports, a USB port for device/printer sharing and dual antennas.
4 screws later and we’re in.
We’ve got quite a few 25V 1000uF caps but they are CapXon branded ones and 2x Lelon 10V 470uF caps too. The antennas are soldered directly to the PCB and glued down, one of them has an RF choke and they’ve skipped the shielded can on the Wifi chip.
There is a header near an inductor which could be a serial header and instead of placing a thermal pad or paste on the main chip they’ve just placed glue and the heatsink on top, eh I guess they wanted to save cost.
I’ve been playing around with the idea of rebuilding the temperature loggers I’ve done in the past (SATVL / A25TTL); both have their advantages and disadvantages. I’m looking at going a little bit larger than the A25TTL so it would have a proper SMD battery holder, combine the logger and reader into one again like the SATVL and look at having an option to use the TMP102 temperature sensor (0.5C accuracy), upgrading the EEPROM to 1Mbit and possibly look into adding a RTC later on.
Recombining the logger and reader into one means the ATtiny13/25 that I’m using won’t do the job so an ATtiny44/84 or ATtiny841 should have enough pins however if we do go with the TMP102 its supply voltage is 1.4 to 3.6V which means we’ll need to use an 3.3V LDO or similar when connecting up to the USB. With 3.3V to the MCU we’re limited to a 12 MHz which is just enough to run V-USB.
I did a quick mock up of how the PCB could look like (29×15.5mm). To keep the PCB as small as possible, I’ll be using all SMD parts and going with a SOT23 LDO (Ritek RT9166) and a small 12MHz crystal (3.2 x 2.5mm). The MCU will still be using the watchdog timer (for the time being) when it’s doing the delay time so the accuracy is still going to be around 10% -/+. I’ll have the battery holder on the back like the SATVL does and the TMP102 (which is smaller than I expected) on the bottom right without the ground plane near it to reduce any effect it might have on the temperature reading.
From our last part we added trigger options/sample rates, made small hardware changes and came up with possible design changes which could give us an 100MHz logic analyser. It’s been 6 months since my last update – I’ve just been working on little improvements and have enough that I can report on them all now. In this part we’ll take a look at our PCBs, move from MiniLA to Sigok Pulseview, a simple GUI interface and a few software modifications.
First things first, the PCBs arrived so I built one up quickly, the SRAM was a little tricky to solder and I reflow soldered the oscillator and Mini USB connector (I seem to always have issues with the pins bridging on the Mini USB when using an iron). Both the ATmega and CPLD were programmed successfully however the logic analyser just didn’t work properly. The CPLD was getting quite hot and turns out that some pins were stuck at VCC or GND no matter what I did and 1 pin on the ATmega also had an issue.
I found that the 1.5K resistor used for the USB was connected to 5V instead of the 3.3V regulator so potentially this could have caused the issue, good thing a cap with 3.3V was close by so I soldered it to that. I replaced the CPLD and jumper wired another pin on the ATmega to it and everything worked this time around. Just to be sure that everything was really ok, I built up a second PCB and confirmed it all worked.
I tested the logic analyser on a Gameboy cartridge and found that even when using 100K resistors, you could see a pretty bad load that its applied. I increased the resistors to 1M and then I settled with 4.7M.
Faster USB transfer
Previously I was using 2 bytes when transferring the 8 bits worth of data, the main reason being that I wasn’t able to use “0” as an actual result as it would mark the end of the string.
Today we’ll be taking a look at the Feeltech 12MHz DDS Function Generator (FY2100S), it’s function generator that can do square, sine and triangle waves with sweep plus it’s a 1Hz to 60MHz frequency counter. It seems to work reasonably ok however there is a bit of jitter. Once you go over 8-9MHz – square waves don’t look like they should and the sine / triangle waves look similar too.
Once I picked up the case, it was very light so there’s probably not a lot going on inside.
A few notches later and we’re in, this thing is pretty much empty with all the components being on the front panel – I might just remove the case and make a small back panel for it. We’ve got 5V input from USB, an MC34063 to invert the voltage to -6V (which gives us 12Vpp) and an AMS1117 3.3V LDO.
The Gameboy Cart Shield has now been updated to v1.3 which allows us to increase our speed by using SPI to communicate to the 74HC595 shift registers and also features a power button which allows us to switch cartridges without having to unplug the USB cable and supports the Gameboy Camera now. Previously I used to only provide the PCB / assembled version but I’ve decided that I’ll also start providing the kit version too now that there’s a bit more parts to it (will be in stock in 1-2 weeks).
I’ve had two users contact me with various improvements that could be made – the biggest ones were using SPI, increasing the baud rate, a cartridge sensor idea and a bug fix for reading the cartridge title so I updated GBCartRead to v1.6 to included these improvements.
Instead of using shiftOut, digitalWrite and the delay, we’re able to use hardware SPI to increase the speed and after testing the latch timing, 1 nop wait is all we need. I’ve replaced all digitalWrites and changing the DDR/PORTs directly for switching between inputs/outputs and high/low.